diff options
Diffstat (limited to 'src/server/proto')
127 files changed, 29053 insertions, 24024 deletions
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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include <functional> +#include <type_traits> +// @@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<uint32, 0xB5DD8A75u> OriginalHash; + typedef std::integral_constant<uint32, 0x7A5BE496u> 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include <functional> +#include <type_traits> +// @@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<uint32, 0x8E8F5FB0u> OriginalHash; + typedef std::integral_constant<uint32, 0xC78E3381u> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const* request, ::bgs::protocol::block_list::v1::client::GetStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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<const char*>(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/channel_types.pb.cc b/src/server/proto/Client/api/client/v1/channel_types.pb.cc index e89e077498b..ffa9b89b4f4 100644 --- a/src/server/proto/Client/channel_types.pb.cc +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: channel_types.proto +// source: api/client/v1/channel_types.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "channel_types.pb.h" +#include "api/client/v1/channel_types.pb.h" #include <utility> @@ -54,11 +54,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_channel_5ftypes_2eproto() { - protobuf_AddDesc_channel_5ftypes_2eproto(); +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( - "channel_types.proto"); + "api/client/v1/channel_types.proto"); GOOGLE_CHECK(file != NULL); Message_descriptor_ = file->message_type(0); static const int Message_offsets_[1] = { @@ -228,7 +228,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_channel_5ftypes_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -255,7 +255,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_channel_5ftypes_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { delete Message::default_instance_; delete Message_reflection_; delete ListChannelsOptions::default_instance_; @@ -277,7 +277,7 @@ void protobuf_ShutdownFile_channel_5ftypes_2eproto() { delete SubscriberId_reflection_; } -void protobuf_AddDesc_channel_5ftypes_2eproto() { +void protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; @@ -287,56 +287,56 @@ void protobuf_AddDesc_channel_5ftypes_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_api_2fcommon_2fv1_2finvitation_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); + "\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( - "channel_types.proto", &protobuf_RegisterTypes); + "api/client/v1/channel_types.proto", &protobuf_RegisterTypes); Message::default_instance_ = new Message(); ListChannelsOptions::default_instance_ = new ListChannelsOptions(); ChannelDescription::default_instance_ = new ChannelDescription(); @@ -357,15 +357,15 @@ void protobuf_AddDesc_channel_5ftypes_2eproto() { MemberState::default_instance_->InitAsDefaultInstance(); Member::default_instance_->InitAsDefaultInstance(); SubscriberId::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_channel_5ftypes_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_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(); +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_channel_5ftypes_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -414,7 +414,7 @@ const ::google::protobuf::Descriptor* Message::descriptor() { } const Message& Message::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -509,7 +509,7 @@ const ::google::protobuf::Descriptor* ListChannelsOptions::descriptor() { } const ListChannelsOptions& ListChannelsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -589,7 +589,7 @@ const ::google::protobuf::Descriptor* ChannelDescription::descriptor() { } const ChannelDescription& ChannelDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -664,7 +664,7 @@ const ::google::protobuf::Descriptor* ChannelInfo::descriptor() { } const ChannelInfo& ChannelInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -785,7 +785,7 @@ const ::google::protobuf::Descriptor* ChannelState::descriptor() { } const ChannelState& ChannelState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -861,7 +861,7 @@ const ::google::protobuf::Descriptor* MemberAccountInfo::descriptor() { } const MemberAccountInfo& MemberAccountInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -939,7 +939,7 @@ const ::google::protobuf::Descriptor* MemberState::descriptor() { } const MemberState& MemberState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -1017,7 +1017,7 @@ const ::google::protobuf::Descriptor* Member::descriptor() { } const Member& Member::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } @@ -1099,7 +1099,7 @@ const ::google::protobuf::Descriptor* SubscriberId::descriptor() { } const SubscriberId& SubscriberId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); return *default_instance_; } diff --git a/src/server/proto/Client/channel_types.pb.h b/src/server/proto/Client/api/client/v1/channel_types.pb.h index 8875e428527..7d6a145d481 100644 --- a/src/server/proto/Client/channel_types.pb.h +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: channel_types.proto +// source: api/client/v1/channel_types.proto -#ifndef PROTOBUF_channel_5ftypes_2eproto__INCLUDED -#define PROTOBUF_channel_5ftypes_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED #include <string> @@ -29,7 +29,7 @@ #include "attribute_types.pb.h" #include "entity_types.pb.h" #include "account_types.pb.h" -#include "invitation_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) @@ -40,9 +40,9 @@ 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(); +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; @@ -140,9 +140,9 @@ class TC_PROTO_API Message : public ::google::protobuf::Message { ::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(); + 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_; @@ -288,9 +288,9 @@ class TC_PROTO_API ListChannelsOptions : public ::google::protobuf::Message { ::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(); + 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_; @@ -378,9 +378,9 @@ class TC_PROTO_API ChannelDescription : public ::google::protobuf::Message { ::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(); + 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_; @@ -459,9 +459,9 @@ class TC_PROTO_API ChannelInfo : public ::google::protobuf::Message { 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(); + 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_; @@ -661,9 +661,9 @@ class TC_PROTO_API ChannelState : public ::google::protobuf::Message { ::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(); + 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_; @@ -732,9 +732,9 @@ class TC_PROTO_API MemberAccountInfo : public ::google::protobuf::Message { ::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(); + 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_; @@ -836,9 +836,9 @@ class TC_PROTO_API MemberState : public ::google::protobuf::Message { ::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(); + 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_; @@ -916,9 +916,9 @@ class TC_PROTO_API Member : public ::google::protobuf::Message { 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(); + 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_; @@ -1008,9 +1008,9 @@ class TC_PROTO_API SubscriberId : public ::google::protobuf::Message { ::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(); + 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_; @@ -2359,4 +2359,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::channel::v1::Ch // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_channel_5ftypes_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_ban.pb.cc b/src/server/proto/Client/api/client/v1/club_ban.pb.cc index 974c08ee893..993b7c757fd 100644 --- a/src/server/proto/Client/club_ban.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_ban.proto +// source: api/client/v1/club_ban.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_ban.pb.h" +#include "api/client/v1/club_ban.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -32,11 +33,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fban_2eproto() { - protobuf_AddDesc_club_5fban_2eproto(); +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( - "club_ban.proto"); + "api/client/v1/club_ban.proto"); GOOGLE_CHECK(file != NULL); AddBanOptions_descriptor_ = file->message_type(0); static const int AddBanOptions_offsets_[3] = { @@ -82,7 +83,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fban_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -95,51 +96,52 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fban_2eproto() { +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_club_5fban_2eproto() { +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::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_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\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); + "\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( - "club_ban.proto", &protobuf_RegisterTypes); + "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_club_5fban_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fban_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fban_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -151,7 +153,7 @@ const int AddBanOptions::kReasonFieldNumber; AddBanOptions::AddBanOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddBanOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddBanOptions) } void AddBanOptions::InitAsDefaultInstance() { @@ -162,7 +164,7 @@ AddBanOptions::AddBanOptions(const AddBanOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AddBanOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanOptions) } void AddBanOptions::SharedCtor() { @@ -174,7 +176,7 @@ void AddBanOptions::SharedCtor() { } AddBanOptions::~AddBanOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddBanOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanOptions) SharedDtor(); } @@ -198,7 +200,7 @@ const ::google::protobuf::Descriptor* AddBanOptions::descriptor() { } const AddBanOptions& AddBanOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fban_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); return *default_instance_; } @@ -235,19 +237,19 @@ const int ClubBan::kCreationTimeFieldNumber; ClubBan::ClubBan() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubBan) + // @@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::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::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.ClubBan) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBan) } void ClubBan::SharedCtor() { @@ -262,7 +264,7 @@ void ClubBan::SharedCtor() { } ClubBan::~ClubBan() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubBan) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBan) SharedDtor(); } @@ -290,7 +292,7 @@ const ::google::protobuf::Descriptor* ClubBan::descriptor() { } const ClubBan& ClubBan::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fban_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); return *default_instance_; } @@ -315,6 +317,7 @@ void ClubBan::Swap(ClubBan* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_ban.pb.h b/src/server/proto/Client/api/client/v1/club_ban.pb.h index 735539a5e71..bf42f4ff348 100644 --- a/src/server/proto/Client/club_ban.pb.h +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_ban.proto +// source: api/client/v1/club_ban.proto -#ifndef PROTOBUF_club_5fban_2eproto__INCLUDED -#define PROTOBUF_club_5fban_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED #include <string> @@ -25,8 +25,8 @@ #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> #include "global_extensions/field_options.pb.h" -#include "club_member.pb.h" -#include "api/client/v2/attribute_types.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) @@ -34,11 +34,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -118,7 +119,7 @@ class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message { inline ::std::string* release_reason(); inline void set_allocated_reason(::std::string* reason); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AddBanOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanOptions) private: inline void set_has_target_id(); inline void clear_has_target_id(); @@ -132,9 +133,9 @@ class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message { ::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(); + 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_; @@ -202,14 +203,14 @@ class TC_PROTO_API ClubBan : public ::google::protobuf::Message { inline ::std::string* release_battle_tag(); inline void set_allocated_battle_tag(::std::string* battle_tag); - // optional .bgs.protocol.club.v1.MemberDescription creator = 3; + // 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::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); + 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; @@ -242,7 +243,7 @@ class TC_PROTO_API ClubBan : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBan) private: inline void set_has_id(); inline void clear_has_id(); @@ -261,13 +262,13 @@ class TC_PROTO_API ClubBan : public ::google::protobuf::Message { mutable int _cached_size_; ::bgs::protocol::club::v1::MemberId* id_; ::std::string* battle_tag_; - ::bgs::protocol::club::v1::MemberDescription* creator_; + ::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_club_5fban_2eproto(); - friend void protobuf_AssignDesc_club_5fban_2eproto(); - friend void protobuf_ShutdownFile_club_5fban_2eproto(); + 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_; @@ -295,13 +296,13 @@ inline void AddBanOptions::clear_target_id() { 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) + // @@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.AddBanOptions.target_id) + // @@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() { @@ -318,7 +319,7 @@ inline void AddBanOptions::set_allocated_target_id(::bgs::protocol::club::v1::Me } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanOptions.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.target_id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -329,25 +330,25 @@ 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) + // @@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.AddBanOptions.attribute) + // @@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.AddBanOptions.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.AddBanOptions.attribute) + // @@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.AddBanOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AddBanOptions.attribute) return &attribute_; } @@ -368,7 +369,7 @@ inline void AddBanOptions::clear_reason() { clear_has_reason(); } inline const ::std::string& AddBanOptions::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanOptions.reason) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.reason) return *reason_; } inline void AddBanOptions::set_reason(const ::std::string& value) { @@ -377,7 +378,7 @@ inline void AddBanOptions::set_reason(const ::std::string& value) { reason_ = new ::std::string; } reason_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AddBanOptions.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanOptions.reason) } inline void AddBanOptions::set_reason(const char* value) { set_has_reason(); @@ -385,7 +386,7 @@ inline void AddBanOptions::set_reason(const char* value) { reason_ = new ::std::string; } reason_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.AddBanOptions.reason) + // @@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(); @@ -393,14 +394,14 @@ inline void AddBanOptions::set_reason(const char* value, size_t size) { reason_ = new ::std::string; } reason_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.AddBanOptions.reason) + // @@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.AddBanOptions.reason) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.reason) return reason_; } inline ::std::string* AddBanOptions::release_reason() { @@ -424,7 +425,7 @@ inline void AddBanOptions::set_allocated_reason(::std::string* reason) { clear_has_reason(); reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanOptions.reason) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.reason) } // ------------------------------------------------------------------- @@ -446,13 +447,13 @@ inline void ClubBan::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& ClubBan::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.id) + // @@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.ClubBan.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* ClubBan::release_id() { @@ -469,7 +470,7 @@ inline void ClubBan::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.id) } // optional string battle_tag = 2; @@ -489,7 +490,7 @@ inline void ClubBan::clear_battle_tag() { clear_has_battle_tag(); } inline const ::std::string& ClubBan::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.battle_tag) + // @@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) { @@ -498,7 +499,7 @@ inline void ClubBan::set_battle_tag(const ::std::string& value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubBan.battle_tag) + // @@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(); @@ -506,7 +507,7 @@ inline void ClubBan::set_battle_tag(const char* value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubBan.battle_tag) + // @@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(); @@ -514,14 +515,14 @@ inline void ClubBan::set_battle_tag(const char* value, size_t size) { battle_tag_ = new ::std::string; } battle_tag_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubBan.battle_tag) + // @@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.ClubBan.battle_tag) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.battle_tag) return battle_tag_; } inline ::std::string* ClubBan::release_battle_tag() { @@ -545,10 +546,10 @@ inline void ClubBan::set_allocated_battle_tag(::std::string* battle_tag) { 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.battle_tag) } -// optional .bgs.protocol.club.v1.MemberDescription creator = 3; +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 3; inline bool ClubBan::has_creator() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -559,26 +560,26 @@ 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(); + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubBan::mutable_creator() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubBan::release_creator() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::release_creator() { clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; creator_ = NULL; return temp; } -inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { +inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { delete creator_; creator_ = creator; if (creator) { @@ -586,7 +587,7 @@ inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::MemberDesc } else { clear_has_creator(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.creator) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.creator) } // repeated .bgs.protocol.v2.Attribute attribute = 4; @@ -597,25 +598,25 @@ 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) + // @@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.ClubBan.attribute) + // @@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.ClubBan.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.ClubBan.attribute) + // @@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.ClubBan.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubBan.attribute) return &attribute_; } @@ -636,7 +637,7 @@ inline void ClubBan::clear_reason() { clear_has_reason(); } inline const ::std::string& ClubBan::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.reason) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.reason) return *reason_; } inline void ClubBan::set_reason(const ::std::string& value) { @@ -645,7 +646,7 @@ inline void ClubBan::set_reason(const ::std::string& value) { reason_ = new ::std::string; } reason_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubBan.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.reason) } inline void ClubBan::set_reason(const char* value) { set_has_reason(); @@ -653,7 +654,7 @@ inline void ClubBan::set_reason(const char* value) { reason_ = new ::std::string; } reason_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubBan.reason) + // @@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(); @@ -661,14 +662,14 @@ inline void ClubBan::set_reason(const char* value, size_t size) { reason_ = new ::std::string; } reason_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubBan.reason) + // @@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.ClubBan.reason) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.reason) return reason_; } inline ::std::string* ClubBan::release_reason() { @@ -692,7 +693,7 @@ inline void ClubBan::set_allocated_reason(::std::string* reason) { clear_has_reason(); reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.reason) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.reason) } // optional uint64 creation_time = 6; @@ -710,17 +711,18 @@ inline void ClubBan::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 ClubBan::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.creation_time) + // @@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.ClubBan.creation_time) + // @@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 @@ -735,4 +737,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fban_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_core.pb.cc b/src/server/proto/Client/api/client/v1/club_core.pb.cc index 6f1d25cb6c4..83df2d99f02 100644 --- a/src/server/proto/Client/club_core.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_core.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_core.proto +// source: api/client/v1/club_core.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_core.pb.h" +#include "api/client/v1/club_core.pb.h" #include <utility> @@ -20,12 +20,10 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { 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; @@ -38,9 +36,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection* 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; @@ -65,28 +60,13 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fcore_2eproto() { - protobuf_AddDesc_club_5fcore_2eproto(); +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( - "club_core.proto"); + "api/client/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)); - SetBroadcastOptions_descriptor_ = file->message_type(1); + SetBroadcastOptions_descriptor_ = file->message_type(0); static const int SetBroadcastOptions_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, content_), }; @@ -101,7 +81,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SetBroadcastOptions)); - Broadcast_descriptor_ = file->message_type(2); + 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_), @@ -118,7 +98,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Broadcast)); - ClubCreateOptions_descriptor_ = file->message_type(3); + 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_), @@ -146,7 +126,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubCreateOptions)); - Club_descriptor_ = file->message_type(4); + 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_), @@ -179,34 +159,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::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); + 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_), @@ -222,7 +175,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubView)); - ClubStateOptions_descriptor_ = file->message_type(7); + 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_), @@ -249,7 +202,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubStateOptions)); - ClubStateAssignment_descriptor_ = file->message_type(8); + 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_), @@ -278,7 +231,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubStateAssignment)); - StreamSettings_descriptor_ = file->message_type(9); + 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_), @@ -294,7 +247,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(StreamSettings)); - ClubSettings_descriptor_ = file->message_type(10); + 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_), @@ -312,7 +265,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubSettings)); - ClubSettingsOptions_descriptor_ = file->message_type(11); + 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_), @@ -329,7 +282,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ClubSettingsOptions)); - ClubSettingsAssignment_descriptor_ = file->message_type(12); + 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_), @@ -352,14 +305,12 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fcore_2eproto); + &protobuf_AssignDesc_api_2fclient_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( SetBroadcastOptions_descriptor_, &SetBroadcastOptions::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( Broadcast_descriptor_, &Broadcast::default_instance()); @@ -368,8 +319,6 @@ void protobuf_RegisterTypes(const ::std::string&) { ::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()); @@ -387,9 +336,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fcore_2eproto() { - delete AvatarId::default_instance_; - delete AvatarId_reflection_; +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto() { delete SetBroadcastOptions::default_instance_; delete SetBroadcastOptions_reflection_; delete Broadcast::default_instance_; @@ -398,8 +345,6 @@ void protobuf_ShutdownFile_club_5fcore_2eproto() { 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_; @@ -416,130 +361,125 @@ void protobuf_ShutdownFile_club_5fcore_2eproto() { delete ClubSettingsAssignment_reflection_; } -void protobuf_AddDesc_club_5fcore_2eproto() { +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::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::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\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); + "\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( - "club_core.proto", &protobuf_RegisterTypes); - AvatarId::default_instance_ = new AvatarId(); + "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(); - ClubDescription::default_instance_ = new ClubDescription(); ClubView::default_instance_ = new ClubView(); ClubStateOptions::default_instance_ = new ClubStateOptions(); ClubStateAssignment::default_instance_ = new ClubStateAssignment(); @@ -547,12 +487,10 @@ void protobuf_AddDesc_club_5fcore_2eproto() { 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(); @@ -560,87 +498,15 @@ void protobuf_AddDesc_club_5fcore_2eproto() { ClubSettings::default_instance_->InitAsDefaultInstance(); ClubSettingsOptions::default_instance_->InitAsDefaultInstance(); ClubSettingsAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fcore_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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_) { +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); } -} - -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; -} - +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fcore_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -650,7 +516,7 @@ const int SetBroadcastOptions::kContentFieldNumber; SetBroadcastOptions::SetBroadcastOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetBroadcastOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) } void SetBroadcastOptions::InitAsDefaultInstance() { @@ -660,7 +526,7 @@ SetBroadcastOptions::SetBroadcastOptions(const SetBroadcastOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetBroadcastOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) } void SetBroadcastOptions::SharedCtor() { @@ -671,7 +537,7 @@ void SetBroadcastOptions::SharedCtor() { } SetBroadcastOptions::~SetBroadcastOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetBroadcastOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetBroadcastOptions) SharedDtor(); } @@ -694,7 +560,7 @@ const ::google::protobuf::Descriptor* SetBroadcastOptions::descriptor() { } const SetBroadcastOptions& SetBroadcastOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -728,18 +594,18 @@ const int Broadcast::kCreationTimeFieldNumber; Broadcast::Broadcast() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Broadcast) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Broadcast) } void Broadcast::InitAsDefaultInstance() { - creator_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); + 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.Broadcast) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Broadcast) } void Broadcast::SharedCtor() { @@ -752,7 +618,7 @@ void Broadcast::SharedCtor() { } Broadcast::~Broadcast() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Broadcast) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Broadcast) SharedDtor(); } @@ -776,7 +642,7 @@ const ::google::protobuf::Descriptor* Broadcast::descriptor() { } const Broadcast& Broadcast::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -821,14 +687,14 @@ const int ClubCreateOptions::kTimezoneFieldNumber; ClubCreateOptions::ClubCreateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubCreateOptions) + // @@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::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::default_instance()); - stream_ = const_cast< ::bgs::protocol::club::v1::CreateStreamOptions*>(&::bgs::protocol::club::v1::CreateStreamOptions::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()); } @@ -836,7 +702,7 @@ ClubCreateOptions::ClubCreateOptions(const ClubCreateOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubCreateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubCreateOptions) } void ClubCreateOptions::SharedCtor() { @@ -858,7 +724,7 @@ void ClubCreateOptions::SharedCtor() { } ClubCreateOptions::~ClubCreateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubCreateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubCreateOptions) SharedDtor(); } @@ -898,7 +764,7 @@ const ::google::protobuf::Descriptor* ClubCreateOptions::descriptor() { } const ClubCreateOptions& ClubCreateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -948,22 +814,22 @@ const int Club::kTimezoneFieldNumber; Club::Club() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Club) + // @@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::Broadcast*>(&::bgs::protocol::club::v1::Broadcast::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::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::default_instance()); - role_set_ = const_cast< ::bgs::protocol::club::v1::ClubRoleSet*>(&::bgs::protocol::club::v1::ClubRoleSet::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.Club) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Club) } void Club::SharedCtor() { @@ -988,7 +854,7 @@ void Club::SharedCtor() { } Club::~Club() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Club) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Club) SharedDtor(); } @@ -1028,7 +894,7 @@ const ::google::protobuf::Descriptor* Club::descriptor() { } const Club& Club::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1054,117 +920,6 @@ void Club::Swap(Club* other) { // =================================================================== #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 @@ -1172,7 +927,7 @@ const int ClubView::kMarkerFieldNumber; ClubView::ClubView() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubView) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubView) } void ClubView::InitAsDefaultInstance() { @@ -1183,7 +938,7 @@ ClubView::ClubView(const ClubView& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubView) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubView) } void ClubView::SharedCtor() { @@ -1194,7 +949,7 @@ void ClubView::SharedCtor() { } ClubView::~ClubView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubView) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubView) SharedDtor(); } @@ -1215,7 +970,7 @@ const ::google::protobuf::Descriptor* ClubView::descriptor() { } const ClubView& ClubView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1259,13 +1014,13 @@ const int ClubStateOptions::kSearchAttributeFieldNumber; ClubStateOptions::ClubStateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStateOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateOptions) } void ClubStateOptions::InitAsDefaultInstance() { - broadcast_ = const_cast< ::bgs::protocol::club::v1::SetBroadcastOptions*>(&::bgs::protocol::club::v1::SetBroadcastOptions::default_instance()); + 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::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::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()); } @@ -1273,7 +1028,7 @@ ClubStateOptions::ClubStateOptions(const ClubStateOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateOptions) } void ClubStateOptions::SharedCtor() { @@ -1294,7 +1049,7 @@ void ClubStateOptions::SharedCtor() { } ClubStateOptions::~ClubStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateOptions) SharedDtor(); } @@ -1333,7 +1088,7 @@ const ::google::protobuf::Descriptor* ClubStateOptions::descriptor() { } const ClubStateOptions& ClubStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1379,20 +1134,20 @@ const int ClubStateAssignment::kTagClearedFieldNumber; ClubStateAssignment::ClubStateAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStateAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateAssignment) } void ClubStateAssignment::InitAsDefaultInstance() { - broadcast_ = const_cast< ::bgs::protocol::club::v1::Broadcast*>(&::bgs::protocol::club::v1::Broadcast::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::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::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.ClubStateAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateAssignment) } void ClubStateAssignment::SharedCtor() { @@ -1414,7 +1169,7 @@ void ClubStateAssignment::SharedCtor() { } ClubStateAssignment::~ClubStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStateAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateAssignment) SharedDtor(); } @@ -1452,7 +1207,7 @@ const ::google::protobuf::Descriptor* ClubStateAssignment::descriptor() { } const ClubStateAssignment& ClubStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1485,7 +1240,7 @@ const int StreamSettings::kFilterFieldNumber; StreamSettings::StreamSettings() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamSettings) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamSettings) } void StreamSettings::InitAsDefaultInstance() { @@ -1495,7 +1250,7 @@ StreamSettings::StreamSettings(const StreamSettings& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamSettings) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamSettings) } void StreamSettings::SharedCtor() { @@ -1506,7 +1261,7 @@ void StreamSettings::SharedCtor() { } StreamSettings::~StreamSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamSettings) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamSettings) SharedDtor(); } @@ -1526,7 +1281,7 @@ const ::google::protobuf::Descriptor* StreamSettings::descriptor() { } const StreamSettings& StreamSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1561,7 +1316,7 @@ const int ClubSettings::kPushNotificationFilterAllFieldNumber; ClubSettings::ClubSettings() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettings) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettings) } void ClubSettings::InitAsDefaultInstance() { @@ -1571,7 +1326,7 @@ ClubSettings::ClubSettings(const ClubSettings& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSettings) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettings) } void ClubSettings::SharedCtor() { @@ -1582,7 +1337,7 @@ void ClubSettings::SharedCtor() { } ClubSettings::~ClubSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettings) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettings) SharedDtor(); } @@ -1602,7 +1357,7 @@ const ::google::protobuf::Descriptor* ClubSettings::descriptor() { } const ClubSettings& ClubSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1636,18 +1391,18 @@ const int ClubSettingsOptions::kVersionFieldNumber; ClubSettingsOptions::ClubSettingsOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettingsOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) } void ClubSettingsOptions::InitAsDefaultInstance() { - settings_ = const_cast< ::bgs::protocol::club::v1::ClubSettings*>(&::bgs::protocol::club::v1::ClubSettings::default_instance()); + 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.ClubSettingsOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) } void ClubSettingsOptions::SharedCtor() { @@ -1658,7 +1413,7 @@ void ClubSettingsOptions::SharedCtor() { } ClubSettingsOptions::~ClubSettingsOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettingsOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsOptions) SharedDtor(); } @@ -1679,7 +1434,7 @@ const ::google::protobuf::Descriptor* ClubSettingsOptions::descriptor() { } const ClubSettingsOptions& ClubSettingsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1712,18 +1467,18 @@ const int ClubSettingsAssignment::kSettingsFieldNumber; ClubSettingsAssignment::ClubSettingsAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettingsAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) } void ClubSettingsAssignment::InitAsDefaultInstance() { - settings_ = const_cast< ::bgs::protocol::club::v1::ClubSettings*>(&::bgs::protocol::club::v1::ClubSettings::default_instance()); + 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.ClubSettingsAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) } void ClubSettingsAssignment::SharedCtor() { @@ -1733,7 +1488,7 @@ void ClubSettingsAssignment::SharedCtor() { } ClubSettingsAssignment::~ClubSettingsAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettingsAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) SharedDtor(); } @@ -1754,7 +1509,7 @@ const ::google::protobuf::Descriptor* ClubSettingsAssignment::descriptor() { } const ClubSettingsAssignment& ClubSettingsAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); return *default_instance_; } @@ -1779,6 +1534,7 @@ void ClubSettingsAssignment::Swap(ClubSettingsAssignment* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_core.pb.h b/src/server/proto/Client/api/client/v1/club_core.pb.h index 0059761594a..04661fcb3b9 100644 --- a/src/server/proto/Client/club_core.pb.h +++ b/src/server/proto/Client/api/client/v1/club_core.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_core.proto +// source: api/client/v1/club_core.proto -#ifndef PROTOBUF_club_5fcore_2eproto__INCLUDED -#define PROTOBUF_club_5fcore_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED #include <string> @@ -24,13 +24,15 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#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 "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) @@ -39,18 +41,17 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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 AvatarId; class SetBroadcastOptions; class Broadcast; class ClubCreateOptions; class Club; -class ClubDescription; class ClubView; class ClubStateOptions; class ClubStateAssignment; @@ -61,72 +62,6 @@ 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(); @@ -179,7 +114,7 @@ class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message { inline ::std::string* release_content(); inline void set_allocated_content(::std::string* content); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetBroadcastOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetBroadcastOptions) private: inline void set_has_content(); inline void clear_has_content(); @@ -189,9 +124,9 @@ class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message { ::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(); + 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_; @@ -250,14 +185,14 @@ class TC_PROTO_API Broadcast : public ::google::protobuf::Message { inline ::std::string* release_content(); inline void set_allocated_content(::std::string* content); - // optional .bgs.protocol.club.v1.MemberDescription creator = 2; + // 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::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); + 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; @@ -266,7 +201,7 @@ class TC_PROTO_API Broadcast : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Broadcast) private: inline void set_has_content(); inline void clear_has_content(); @@ -280,11 +215,11 @@ class TC_PROTO_API Broadcast : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* content_; - ::bgs::protocol::club::v1::MemberDescription* creator_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -411,23 +346,23 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { 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; + // 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::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); + 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.CreateStreamOptions stream = 11; + // 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::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); + 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; @@ -474,7 +409,7 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { inline ::std::string* release_timezone(); inline void set_allocated_timezone(::std::string* timezone); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubCreateOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubCreateOptions) private: inline void set_has_type(); inline void clear_has_type(); @@ -513,15 +448,15 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { ::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::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_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); + 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_; @@ -620,14 +555,14 @@ class TC_PROTO_API Club : public ::google::protobuf::Message { inline ::std::string* release_description(); inline void set_allocated_description(::std::string* description); - // optional .bgs.protocol.club.v1.Broadcast broadcast = 6; + // 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::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); + 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; @@ -666,34 +601,34 @@ class TC_PROTO_API Club : public ::google::protobuf::Message { 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; + // 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::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); + 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.ClubRoleSet role_set = 13; + // 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::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); + 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.MemberDescription leader = 14; + // 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::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 >& + 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::MemberDescription >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* mutable_leader(); // optional string short_name = 15; @@ -756,7 +691,7 @@ class TC_PROTO_API Club : public ::google::protobuf::Message { inline ::std::string* release_timezone(); inline void set_allocated_timezone(::std::string* timezone); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Club) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Club) private: inline void set_has_id(); inline void clear_has_id(); @@ -798,245 +733,29 @@ class TC_PROTO_API Club : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* description_; - ::bgs::protocol::club::v1::Broadcast* broadcast_; + ::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::StreamPosition* stream_position_; - ::bgs::protocol::club::v1::ClubRoleSet* role_set_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_; + ::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_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); + 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 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(); @@ -1093,7 +812,7 @@ class TC_PROTO_API ClubView : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubView) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -1106,9 +825,9 @@ class TC_PROTO_API ClubView : public ::google::protobuf::Message { 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(); + 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_; @@ -1191,14 +910,14 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { inline ::std::string* release_description(); inline void set_allocated_description(::std::string* description); - // optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4; + // 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::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); + 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; @@ -1216,14 +935,14 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -1289,7 +1008,7 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* mutable_search_attribute(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateOptions) private: inline void set_has_name(); inline void clear_has_name(); @@ -1321,9 +1040,9 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* description_; - ::bgs::protocol::club::v1::SetBroadcastOptions* broadcast_; + ::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast_; ::bgs::protocol::club::v1::AvatarId* avatar_; - ::bgs::protocol::club::v1::StreamPosition* stream_position_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; int privacy_level_; int visibility_level_; ::std::string* short_name_; @@ -1331,9 +1050,9 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { ::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(); + 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_; @@ -1423,14 +1142,14 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { inline ::std::string* release_description(); inline void set_allocated_description(::std::string* description); - // optional .bgs.protocol.club.v1.Broadcast broadcast = 5; + // 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::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); + 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; @@ -1448,14 +1167,14 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -1531,7 +1250,7 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { inline bool tag_cleared() const; inline void set_tag_cleared(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateAssignment) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -1566,9 +1285,9 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* description_; - ::bgs::protocol::club::v1::Broadcast* broadcast_; + ::bgs::protocol::club::v1::client::Broadcast* broadcast_; ::bgs::protocol::club::v1::AvatarId* avatar_; - ::bgs::protocol::club::v1::StreamPosition* stream_position_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; int privacy_level_; int visibility_level_; ::std::string* short_name_; @@ -1577,9 +1296,9 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { ::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(); + 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_; @@ -1633,14 +1352,14 @@ class TC_PROTO_API StreamSettings : public ::google::protobuf::Message { inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2; + // 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::StreamNotificationFilter filter() const; - inline void set_filter(::bgs::protocol::club::v1::StreamNotificationFilter value); + 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.StreamSettings) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamSettings) private: inline void set_has_stream_id(); inline void clear_has_stream_id(); @@ -1653,9 +1372,9 @@ class TC_PROTO_API StreamSettings : public ::google::protobuf::Message { 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(); + 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_; @@ -1702,16 +1421,16 @@ class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1; + // 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::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 >& + 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::StreamSettings >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* mutable_stream(); // optional bool stream_notification_filter_all = 2; @@ -1740,7 +1459,7 @@ class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { 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) + // @@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(); @@ -1751,13 +1470,13 @@ class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_; + ::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_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); + 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_; @@ -1804,26 +1523,26 @@ class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; + // 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::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 >& + 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::StreamSettings >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* mutable_stream() PROTOBUF_DEPRECATED; - // optional .bgs.protocol.club.v1.ClubSettings settings = 2; + // 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::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); + 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; @@ -1832,7 +1551,7 @@ class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { inline ::google::protobuf::uint32 version() const; inline void set_version(::google::protobuf::uint32 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettingsOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsOptions) private: inline void set_has_settings(); inline void clear_has_settings(); @@ -1843,12 +1562,12 @@ class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { ::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::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_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); + 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_; @@ -1895,28 +1614,28 @@ class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; + // 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::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 >& + 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::StreamSettings >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* mutable_stream() PROTOBUF_DEPRECATED; - // optional .bgs.protocol.club.v1.ClubSettings settings = 2; + // 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::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); + 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.ClubSettingsAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsAssignment) private: inline void set_has_settings(); inline void clear_has_settings(); @@ -1925,11 +1644,11 @@ class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { ::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(); + ::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_; @@ -1940,34 +1659,6 @@ class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { // =================================================================== -// 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; @@ -1987,7 +1678,7 @@ inline void SetBroadcastOptions::clear_content() { clear_has_content(); } inline const ::std::string& SetBroadcastOptions::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetBroadcastOptions.content) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetBroadcastOptions.content) return *content_; } inline void SetBroadcastOptions::set_content(const ::std::string& value) { @@ -1996,7 +1687,7 @@ inline void SetBroadcastOptions::set_content(const ::std::string& value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetBroadcastOptions.content) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetBroadcastOptions.content) } inline void SetBroadcastOptions::set_content(const char* value) { set_has_content(); @@ -2004,7 +1695,7 @@ inline void SetBroadcastOptions::set_content(const char* value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.SetBroadcastOptions.content) + // @@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(); @@ -2012,14 +1703,14 @@ inline void SetBroadcastOptions::set_content(const char* value, size_t size) { content_ = new ::std::string; } content_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.SetBroadcastOptions.content) + // @@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.SetBroadcastOptions.content) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetBroadcastOptions.content) return content_; } inline ::std::string* SetBroadcastOptions::release_content() { @@ -2043,7 +1734,7 @@ inline void SetBroadcastOptions::set_allocated_content(::std::string* content) { clear_has_content(); content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetBroadcastOptions.content) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetBroadcastOptions.content) } // ------------------------------------------------------------------- @@ -2067,7 +1758,7 @@ inline void Broadcast::clear_content() { clear_has_content(); } inline const ::std::string& Broadcast::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.content) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.content) return *content_; } inline void Broadcast::set_content(const ::std::string& value) { @@ -2076,7 +1767,7 @@ inline void Broadcast::set_content(const ::std::string& value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Broadcast.content) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.content) } inline void Broadcast::set_content(const char* value) { set_has_content(); @@ -2084,7 +1775,7 @@ inline void Broadcast::set_content(const char* value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Broadcast.content) + // @@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(); @@ -2092,14 +1783,14 @@ inline void Broadcast::set_content(const char* value, size_t size) { content_ = new ::std::string; } content_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Broadcast.content) + // @@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.Broadcast.content) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.content) return content_; } inline ::std::string* Broadcast::release_content() { @@ -2123,10 +1814,10 @@ inline void Broadcast::set_allocated_content(::std::string* content) { clear_has_content(); content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.content) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.content) } -// optional .bgs.protocol.club.v1.MemberDescription creator = 2; +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; inline bool Broadcast::has_creator() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -2137,26 +1828,26 @@ 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(); + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* Broadcast::mutable_creator() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* Broadcast::release_creator() { +inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::release_creator() { clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; creator_ = NULL; return temp; } -inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { +inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { delete creator_; creator_ = creator; if (creator) { @@ -2164,7 +1855,7 @@ inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::MemberDe } else { clear_has_creator(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.creator) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.creator) } // optional uint64 creation_time = 3; @@ -2182,13 +1873,13 @@ inline void Broadcast::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 Broadcast::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.creation_time) + // @@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.Broadcast.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.creation_time) } // ------------------------------------------------------------------- @@ -2210,13 +1901,13 @@ inline void ClubCreateOptions::clear_type() { clear_has_type(); } inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.type) + // @@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.ClubCreateOptions.type) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.type) return type_; } inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() { @@ -2233,7 +1924,7 @@ inline void ClubCreateOptions::set_allocated_type(::bgs::protocol::club::v1::Uni } else { clear_has_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.type) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -2244,25 +1935,25 @@ 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) + // @@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.ClubCreateOptions.attribute) + // @@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.ClubCreateOptions.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.ClubCreateOptions.attribute) + // @@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.ClubCreateOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) return &attribute_; } @@ -2283,7 +1974,7 @@ inline void ClubCreateOptions::clear_name() { clear_has_name(); } inline const ::std::string& ClubCreateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.name) return *name_; } inline void ClubCreateOptions::set_name(const ::std::string& value) { @@ -2292,7 +1983,7 @@ inline void ClubCreateOptions::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.name) } inline void ClubCreateOptions::set_name(const char* value) { set_has_name(); @@ -2300,7 +1991,7 @@ inline void ClubCreateOptions::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.name) + // @@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(); @@ -2308,14 +1999,14 @@ inline void ClubCreateOptions::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.name) + // @@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.ClubCreateOptions.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.name) return name_; } inline ::std::string* ClubCreateOptions::release_name() { @@ -2339,7 +2030,7 @@ inline void ClubCreateOptions::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.name) } // optional string description = 4; @@ -2359,7 +2050,7 @@ inline void ClubCreateOptions::clear_description() { clear_has_description(); } inline const ::std::string& ClubCreateOptions::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.description) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.description) return *description_; } inline void ClubCreateOptions::set_description(const ::std::string& value) { @@ -2368,7 +2059,7 @@ inline void ClubCreateOptions::set_description(const ::std::string& value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.description) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.description) } inline void ClubCreateOptions::set_description(const char* value) { set_has_description(); @@ -2376,7 +2067,7 @@ inline void ClubCreateOptions::set_description(const char* value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.description) + // @@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(); @@ -2384,14 +2075,14 @@ inline void ClubCreateOptions::set_description(const char* value, size_t size) { description_ = new ::std::string; } description_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.description) + // @@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.ClubCreateOptions.description) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.description) return description_; } inline ::std::string* ClubCreateOptions::release_description() { @@ -2415,7 +2106,7 @@ inline void ClubCreateOptions::set_allocated_description(::std::string* descript clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.description) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.description) } // optional .bgs.protocol.club.v1.AvatarId avatar = 5; @@ -2433,13 +2124,13 @@ inline void ClubCreateOptions::clear_avatar() { clear_has_avatar(); } inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.avatar) + // @@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.ClubCreateOptions.avatar) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) return avatar_; } inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() { @@ -2456,7 +2147,7 @@ inline void ClubCreateOptions::set_allocated_avatar(::bgs::protocol::club::v1::A } else { clear_has_avatar(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.avatar) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) } // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; @@ -2474,14 +2165,14 @@ inline void ClubCreateOptions::clear_privacy_level() { 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) + // @@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.ClubCreateOptions.privacy_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level) } // optional string short_name = 7; @@ -2501,7 +2192,7 @@ inline void ClubCreateOptions::clear_short_name() { clear_has_short_name(); } inline const ::std::string& ClubCreateOptions::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.short_name) + // @@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) { @@ -2510,7 +2201,7 @@ inline void ClubCreateOptions::set_short_name(const ::std::string& value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.short_name) + // @@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(); @@ -2518,7 +2209,7 @@ inline void ClubCreateOptions::set_short_name(const char* value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.short_name) + // @@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(); @@ -2526,14 +2217,14 @@ inline void ClubCreateOptions::set_short_name(const char* value, size_t size) { short_name_ = new ::std::string; } short_name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.short_name) + // @@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.ClubCreateOptions.short_name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) return short_name_; } inline ::std::string* ClubCreateOptions::release_short_name() { @@ -2557,7 +2248,7 @@ inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_nam 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) } // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; @@ -2575,17 +2266,17 @@ inline void ClubCreateOptions::clear_visibility_level() { 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) + // @@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.ClubCreateOptions.visibility_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level) } -// optional .bgs.protocol.club.v1.CreateMemberOptions member = 10; +// optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10; inline bool ClubCreateOptions::has_member() const { return (_has_bits_[0] & 0x00000100u) != 0; } @@ -2596,26 +2287,26 @@ 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(); + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::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) +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::CreateMemberOptions* ClubCreateOptions::mutable_member() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateMemberOptions* ClubCreateOptions::release_member() { +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::release_member() { clear_has_member(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = member_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = member_; member_ = NULL; return temp; } -inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::CreateMemberOptions* member) { +inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member) { delete member_; member_ = member; if (member) { @@ -2623,10 +2314,10 @@ inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::C } else { clear_has_member(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.member) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.member) } -// optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11; +// optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11; inline bool ClubCreateOptions::has_stream() const { return (_has_bits_[0] & 0x00000200u) != 0; } @@ -2637,26 +2328,26 @@ 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(); + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::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) +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::CreateStreamOptions* ClubCreateOptions::mutable_stream() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateStreamOptions* ClubCreateOptions::release_stream() { +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::release_stream() { clear_has_stream(); - ::bgs::protocol::club::v1::CreateStreamOptions* temp = stream_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = stream_; stream_ = NULL; return temp; } -inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions* stream) { +inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream) { delete stream_; stream_ = stream; if (stream) { @@ -2664,7 +2355,7 @@ inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::C } else { clear_has_stream(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.stream) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.stream) } // optional .bgs.protocol.club.v1.TagOptions tag = 12; @@ -2682,13 +2373,13 @@ inline void ClubCreateOptions::clear_tag() { clear_has_tag(); } inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.tag) + // @@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.ClubCreateOptions.tag) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.tag) return tag_; } inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() { @@ -2705,7 +2396,7 @@ inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagO } else { clear_has_tag(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.tag) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.tag) } // repeated .bgs.protocol.v2.Attribute search_attribute = 13; @@ -2716,25 +2407,25 @@ 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) + // @@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.ClubCreateOptions.search_attribute) + // @@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.ClubCreateOptions.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.ClubCreateOptions.search_attribute) + // @@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.ClubCreateOptions.search_attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) return &search_attribute_; } @@ -2755,7 +2446,7 @@ inline void ClubCreateOptions::clear_locale() { clear_has_locale(); } inline const ::std::string& ClubCreateOptions::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.locale) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.locale) return *locale_; } inline void ClubCreateOptions::set_locale(const ::std::string& value) { @@ -2764,7 +2455,7 @@ inline void ClubCreateOptions::set_locale(const ::std::string& value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.locale) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.locale) } inline void ClubCreateOptions::set_locale(const char* value) { set_has_locale(); @@ -2772,7 +2463,7 @@ inline void ClubCreateOptions::set_locale(const char* value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.locale) + // @@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(); @@ -2780,14 +2471,14 @@ inline void ClubCreateOptions::set_locale(const char* value, size_t size) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.locale) + // @@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.ClubCreateOptions.locale) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.locale) return locale_; } inline ::std::string* ClubCreateOptions::release_locale() { @@ -2811,7 +2502,7 @@ inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.locale) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.locale) } // optional string timezone = 15; @@ -2831,7 +2522,7 @@ inline void ClubCreateOptions::clear_timezone() { clear_has_timezone(); } inline const ::std::string& ClubCreateOptions::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.timezone) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) return *timezone_; } inline void ClubCreateOptions::set_timezone(const ::std::string& value) { @@ -2840,7 +2531,7 @@ inline void ClubCreateOptions::set_timezone(const ::std::string& value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.timezone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) } inline void ClubCreateOptions::set_timezone(const char* value) { set_has_timezone(); @@ -2848,7 +2539,7 @@ inline void ClubCreateOptions::set_timezone(const char* value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.timezone) + // @@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(); @@ -2856,14 +2547,14 @@ inline void ClubCreateOptions::set_timezone(const char* value, size_t size) { timezone_ = new ::std::string; } timezone_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.timezone) + // @@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.ClubCreateOptions.timezone) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) return timezone_; } inline ::std::string* ClubCreateOptions::release_timezone() { @@ -2887,7 +2578,7 @@ inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) { clear_has_timezone(); timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.timezone) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) } // ------------------------------------------------------------------- @@ -2909,13 +2600,13 @@ inline void Club::clear_id() { clear_has_id(); } inline ::google::protobuf::uint64 Club::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.id) + // @@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.Club.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.id) } // optional .bgs.protocol.club.v1.UniqueClubType type = 2; @@ -2933,13 +2624,13 @@ inline void Club::clear_type() { clear_has_type(); } inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.type) + // @@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.Club.type) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.type) return type_; } inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() { @@ -2956,7 +2647,7 @@ inline void Club::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* } else { clear_has_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.type) } // repeated .bgs.protocol.v2.Attribute attribute = 3; @@ -2967,25 +2658,25 @@ 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) + // @@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.Club.attribute) + // @@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.Club.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.Club.attribute) + // @@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.Club.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.attribute) return &attribute_; } @@ -3006,7 +2697,7 @@ inline void Club::clear_name() { clear_has_name(); } inline const ::std::string& Club::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.name) return *name_; } inline void Club::set_name(const ::std::string& value) { @@ -3015,7 +2706,7 @@ inline void Club::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.name) } inline void Club::set_name(const char* value) { set_has_name(); @@ -3023,7 +2714,7 @@ inline void Club::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.name) + // @@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(); @@ -3031,14 +2722,14 @@ inline void Club::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.name) + // @@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.Club.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.name) return name_; } inline ::std::string* Club::release_name() { @@ -3062,7 +2753,7 @@ inline void Club::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.name) } // optional string description = 5; @@ -3082,7 +2773,7 @@ inline void Club::clear_description() { clear_has_description(); } inline const ::std::string& Club::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.description) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.description) return *description_; } inline void Club::set_description(const ::std::string& value) { @@ -3091,7 +2782,7 @@ inline void Club::set_description(const ::std::string& value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.description) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.description) } inline void Club::set_description(const char* value) { set_has_description(); @@ -3099,7 +2790,7 @@ inline void Club::set_description(const char* value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.description) + // @@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(); @@ -3107,14 +2798,14 @@ inline void Club::set_description(const char* value, size_t size) { description_ = new ::std::string; } description_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.description) + // @@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.Club.description) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.description) return description_; } inline ::std::string* Club::release_description() { @@ -3138,10 +2829,10 @@ inline void Club::set_allocated_description(::std::string* description) { clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.description) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.description) } -// optional .bgs.protocol.club.v1.Broadcast broadcast = 6; +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6; inline bool Club::has_broadcast() const { return (_has_bits_[0] & 0x00000020u) != 0; } @@ -3152,26 +2843,26 @@ 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(); + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::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) +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::Broadcast* Club::mutable_broadcast() { +inline ::bgs::protocol::club::v1::client::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) + 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::Broadcast* Club::release_broadcast() { +inline ::bgs::protocol::club::v1::client::Broadcast* Club::release_broadcast() { clear_has_broadcast(); - ::bgs::protocol::club::v1::Broadcast* temp = broadcast_; + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; broadcast_ = NULL; return temp; } -inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast) { +inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { delete broadcast_; broadcast_ = broadcast; if (broadcast) { @@ -3179,7 +2870,7 @@ inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* } else { clear_has_broadcast(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.broadcast) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.broadcast) } // optional .bgs.protocol.club.v1.AvatarId avatar = 7; @@ -3197,13 +2888,13 @@ inline void Club::clear_avatar() { clear_has_avatar(); } inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.avatar) + // @@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.Club.avatar) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.avatar) return avatar_; } inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() { @@ -3220,7 +2911,7 @@ inline void Club::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avat } else { clear_has_avatar(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.avatar) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.avatar) } // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; @@ -3238,14 +2929,14 @@ inline void Club::clear_privacy_level() { 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) + // @@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.Club.privacy_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.privacy_level) } // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; @@ -3263,14 +2954,14 @@ inline void Club::clear_visibility_level() { 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) + // @@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.Club.visibility_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.visibility_level) } // optional uint32 member_count = 10; @@ -3288,13 +2979,13 @@ inline void Club::clear_member_count() { clear_has_member_count(); } inline ::google::protobuf::uint32 Club::member_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.member_count) + // @@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.Club.member_count) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.member_count) } // optional uint64 creation_time = 11; @@ -3312,16 +3003,16 @@ inline void Club::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 Club::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.creation_time) + // @@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.Club.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.creation_time) } -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 12; +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12; inline bool Club::has_stream_position() const { return (_has_bits_[0] & 0x00000800u) != 0; } @@ -3332,26 +3023,26 @@ 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(); + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::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) +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::StreamPosition* Club::mutable_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::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.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::StreamPosition* Club::release_stream_position() { +inline ::bgs::protocol::club::v1::client::StreamPosition* Club::release_stream_position() { clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = 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::StreamPosition* stream_position) { +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) { @@ -3359,10 +3050,10 @@ inline void Club::set_allocated_stream_position(::bgs::protocol::club::v1::Strea } else { clear_has_stream_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.stream_position) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.stream_position) } -// optional .bgs.protocol.club.v1.ClubRoleSet role_set = 13; +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13; inline bool Club::has_role_set() const { return (_has_bits_[0] & 0x00001000u) != 0; } @@ -3373,26 +3064,26 @@ 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(); + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::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) +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::ClubRoleSet* Club::mutable_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::ClubRoleSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.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::ClubRoleSet* Club::release_role_set() { +inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::release_role_set() { clear_has_role_set(); - ::bgs::protocol::club::v1::ClubRoleSet* temp = 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::ClubRoleSet* role_set) { +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) { @@ -3400,36 +3091,36 @@ inline void Club::set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* } else { clear_has_role_set(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.role_set) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.role_set) } -// repeated .bgs.protocol.club.v1.MemberDescription leader = 14; +// 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::MemberDescription& Club::leader(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.leader) +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::MemberDescription* Club::mutable_leader(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.leader) +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::MemberDescription* Club::add_leader() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.leader) +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::MemberDescription >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& Club::leader() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.leader) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.leader) return leader_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* Club::mutable_leader() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.leader) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.leader) return &leader_; } @@ -3450,7 +3141,7 @@ inline void Club::clear_short_name() { clear_has_short_name(); } inline const ::std::string& Club::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.short_name) + // @@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) { @@ -3459,7 +3150,7 @@ inline void Club::set_short_name(const ::std::string& value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.short_name) + // @@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(); @@ -3467,7 +3158,7 @@ inline void Club::set_short_name(const char* value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.short_name) + // @@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(); @@ -3475,14 +3166,14 @@ inline void Club::set_short_name(const char* value, size_t size) { short_name_ = new ::std::string; } short_name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.short_name) + // @@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.Club.short_name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.short_name) return short_name_; } inline ::std::string* Club::release_short_name() { @@ -3506,7 +3197,7 @@ inline void Club::set_allocated_short_name(::std::string* short_name) { 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.short_name) } // repeated .bgs.protocol.v2.Attribute search_attribute = 16; @@ -3517,25 +3208,25 @@ 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) + // @@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.Club.search_attribute) + // @@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.Club.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.Club.search_attribute) + // @@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.Club.search_attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.search_attribute) return &search_attribute_; } @@ -3547,25 +3238,25 @@ 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) + // @@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.Club.tag) + // @@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.Club.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.Club.tag) + // @@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.Club.tag) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.tag) return &tag_; } @@ -3586,7 +3277,7 @@ inline void Club::clear_locale() { clear_has_locale(); } inline const ::std::string& Club::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.locale) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.locale) return *locale_; } inline void Club::set_locale(const ::std::string& value) { @@ -3595,7 +3286,7 @@ inline void Club::set_locale(const ::std::string& value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.locale) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.locale) } inline void Club::set_locale(const char* value) { set_has_locale(); @@ -3603,7 +3294,7 @@ inline void Club::set_locale(const char* value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.locale) + // @@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(); @@ -3611,14 +3302,14 @@ inline void Club::set_locale(const char* value, size_t size) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.locale) + // @@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.Club.locale) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.locale) return locale_; } inline ::std::string* Club::release_locale() { @@ -3642,7 +3333,7 @@ inline void Club::set_allocated_locale(::std::string* locale) { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.locale) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.locale) } // optional string timezone = 19; @@ -3662,7 +3353,7 @@ inline void Club::clear_timezone() { clear_has_timezone(); } inline const ::std::string& Club::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.timezone) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.timezone) return *timezone_; } inline void Club::set_timezone(const ::std::string& value) { @@ -3671,7 +3362,7 @@ inline void Club::set_timezone(const ::std::string& value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.timezone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.timezone) } inline void Club::set_timezone(const char* value) { set_has_timezone(); @@ -3679,7 +3370,7 @@ inline void Club::set_timezone(const char* value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.timezone) + // @@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(); @@ -3687,14 +3378,14 @@ inline void Club::set_timezone(const char* value, size_t size) { timezone_ = new ::std::string; } timezone_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.timezone) + // @@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.Club.timezone) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.timezone) return timezone_; } inline ::std::string* Club::release_timezone() { @@ -3718,579 +3409,7 @@ inline void Club::set_allocated_timezone(::std::string* timezone) { 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<const char*>(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<const char*>(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<const char*>(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<const char*>(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(field_set_allocated:bgs.protocol.club.v1.client.Club.timezone) } // ------------------------------------------------------------------- @@ -4312,13 +3431,13 @@ inline void ClubView::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 ClubView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.club_id) + // @@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.ClubView.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubView.club_id) } // optional .bgs.protocol.ViewMarker marker = 2; @@ -4336,13 +3455,13 @@ inline void ClubView::clear_marker() { clear_has_marker(); } inline const ::bgs::protocol::ViewMarker& ClubView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.marker) + // @@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.ClubView.marker) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubView.marker) return marker_; } inline ::bgs::protocol::ViewMarker* ClubView::release_marker() { @@ -4359,7 +3478,7 @@ inline void ClubView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) } else { clear_has_marker(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubView.marker) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubView.marker) } // ------------------------------------------------------------------- @@ -4374,25 +3493,25 @@ 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) + // @@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.ClubStateOptions.attribute) + // @@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.ClubStateOptions.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.ClubStateOptions.attribute) + // @@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.ClubStateOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute) return &attribute_; } @@ -4413,7 +3532,7 @@ inline void ClubStateOptions::clear_name() { clear_has_name(); } inline const ::std::string& ClubStateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.name) return *name_; } inline void ClubStateOptions::set_name(const ::std::string& value) { @@ -4422,7 +3541,7 @@ inline void ClubStateOptions::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.name) } inline void ClubStateOptions::set_name(const char* value) { set_has_name(); @@ -4430,7 +3549,7 @@ inline void ClubStateOptions::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.name) + // @@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(); @@ -4438,14 +3557,14 @@ inline void ClubStateOptions::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.name) + // @@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.ClubStateOptions.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.name) return name_; } inline ::std::string* ClubStateOptions::release_name() { @@ -4469,7 +3588,7 @@ inline void ClubStateOptions::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.name) } // optional string description = 3; @@ -4489,7 +3608,7 @@ inline void ClubStateOptions::clear_description() { clear_has_description(); } inline const ::std::string& ClubStateOptions::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.description) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.description) return *description_; } inline void ClubStateOptions::set_description(const ::std::string& value) { @@ -4498,7 +3617,7 @@ inline void ClubStateOptions::set_description(const ::std::string& value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.description) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.description) } inline void ClubStateOptions::set_description(const char* value) { set_has_description(); @@ -4506,7 +3625,7 @@ inline void ClubStateOptions::set_description(const char* value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.description) + // @@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(); @@ -4514,14 +3633,14 @@ inline void ClubStateOptions::set_description(const char* value, size_t size) { description_ = new ::std::string; } description_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.description) + // @@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.ClubStateOptions.description) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.description) return description_; } inline ::std::string* ClubStateOptions::release_description() { @@ -4545,10 +3664,10 @@ inline void ClubStateOptions::set_allocated_description(::std::string* descripti clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.description) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.description) } -// optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4; +// optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4; inline bool ClubStateOptions::has_broadcast() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -4559,26 +3678,26 @@ 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(); + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::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) +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::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() { +inline ::bgs::protocol::club::v1::client::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) + 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::SetBroadcastOptions* ClubStateOptions::release_broadcast() { +inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::release_broadcast() { clear_has_broadcast(); - ::bgs::protocol::club::v1::SetBroadcastOptions* temp = broadcast_; + ::bgs::protocol::club::v1::client::SetBroadcastOptions* temp = broadcast_; broadcast_ = NULL; return temp; } -inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::SetBroadcastOptions* broadcast) { +inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast) { delete broadcast_; broadcast_ = broadcast; if (broadcast) { @@ -4586,7 +3705,7 @@ inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1: } else { clear_has_broadcast(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.broadcast) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) } // optional .bgs.protocol.club.v1.AvatarId avatar = 5; @@ -4604,13 +3723,13 @@ inline void ClubStateOptions::clear_avatar() { clear_has_avatar(); } inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.avatar) + // @@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.ClubStateOptions.avatar) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.avatar) return avatar_; } inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() { @@ -4627,7 +3746,7 @@ inline void ClubStateOptions::set_allocated_avatar(::bgs::protocol::club::v1::Av } else { clear_has_avatar(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.avatar) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.avatar) } // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; @@ -4645,17 +3764,17 @@ inline void ClubStateOptions::clear_privacy_level() { 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) + // @@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.ClubStateOptions.privacy_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level) } -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 7; +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7; inline bool ClubStateOptions::has_stream_position() const { return (_has_bits_[0] & 0x00000040u) != 0; } @@ -4666,26 +3785,26 @@ 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(); + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::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) +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::StreamPosition* ClubStateOptions::mutable_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::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.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::StreamPosition* ClubStateOptions::release_stream_position() { +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::release_stream_position() { clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = 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::StreamPosition* stream_position) { +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) { @@ -4693,7 +3812,7 @@ inline void ClubStateOptions::set_allocated_stream_position(::bgs::protocol::clu } else { clear_has_stream_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.stream_position) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) } // optional string short_name = 8; @@ -4713,7 +3832,7 @@ inline void ClubStateOptions::clear_short_name() { clear_has_short_name(); } inline const ::std::string& ClubStateOptions::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.short_name) + // @@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) { @@ -4722,7 +3841,7 @@ inline void ClubStateOptions::set_short_name(const ::std::string& value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.short_name) + // @@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(); @@ -4730,7 +3849,7 @@ inline void ClubStateOptions::set_short_name(const char* value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.short_name) + // @@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(); @@ -4738,14 +3857,14 @@ inline void ClubStateOptions::set_short_name(const char* value, size_t size) { short_name_ = new ::std::string; } short_name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.short_name) + // @@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.ClubStateOptions.short_name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.short_name) return short_name_; } inline ::std::string* ClubStateOptions::release_short_name() { @@ -4769,7 +3888,7 @@ inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.short_name) } // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; @@ -4787,14 +3906,14 @@ inline void ClubStateOptions::clear_visibility_level() { 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) + // @@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.ClubStateOptions.visibility_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level) } // optional string locale = 10; @@ -4814,7 +3933,7 @@ inline void ClubStateOptions::clear_locale() { clear_has_locale(); } inline const ::std::string& ClubStateOptions::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.locale) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.locale) return *locale_; } inline void ClubStateOptions::set_locale(const ::std::string& value) { @@ -4823,7 +3942,7 @@ inline void ClubStateOptions::set_locale(const ::std::string& value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.locale) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.locale) } inline void ClubStateOptions::set_locale(const char* value) { set_has_locale(); @@ -4831,7 +3950,7 @@ inline void ClubStateOptions::set_locale(const char* value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.locale) + // @@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(); @@ -4839,14 +3958,14 @@ inline void ClubStateOptions::set_locale(const char* value, size_t size) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.locale) + // @@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.ClubStateOptions.locale) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.locale) return locale_; } inline ::std::string* ClubStateOptions::release_locale() { @@ -4870,7 +3989,7 @@ inline void ClubStateOptions::set_allocated_locale(::std::string* locale) { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.locale) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.locale) } // optional string timezone = 11; @@ -4890,7 +4009,7 @@ inline void ClubStateOptions::clear_timezone() { clear_has_timezone(); } inline const ::std::string& ClubStateOptions::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.timezone) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.timezone) return *timezone_; } inline void ClubStateOptions::set_timezone(const ::std::string& value) { @@ -4899,7 +4018,7 @@ inline void ClubStateOptions::set_timezone(const ::std::string& value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.timezone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.timezone) } inline void ClubStateOptions::set_timezone(const char* value) { set_has_timezone(); @@ -4907,7 +4026,7 @@ inline void ClubStateOptions::set_timezone(const char* value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.timezone) + // @@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(); @@ -4915,14 +4034,14 @@ inline void ClubStateOptions::set_timezone(const char* value, size_t size) { timezone_ = new ::std::string; } timezone_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.timezone) + // @@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.ClubStateOptions.timezone) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.timezone) return timezone_; } inline ::std::string* ClubStateOptions::release_timezone() { @@ -4946,7 +4065,7 @@ inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) { clear_has_timezone(); timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.timezone) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.timezone) } // optional .bgs.protocol.club.v1.TagOptions tag_options = 12; @@ -4964,13 +4083,13 @@ inline void ClubStateOptions::clear_tag_options() { 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) + // @@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.ClubStateOptions.tag_options) + // @@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() { @@ -4987,7 +4106,7 @@ inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v } else { clear_has_tag_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.tag_options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) } // repeated .bgs.protocol.v2.Attribute search_attribute = 13; @@ -4998,25 +4117,25 @@ 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) + // @@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.ClubStateOptions.search_attribute) + // @@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.ClubStateOptions.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.ClubStateOptions.search_attribute) + // @@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.ClubStateOptions.search_attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) return &search_attribute_; } @@ -5039,13 +4158,13 @@ inline void ClubStateAssignment::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 ClubStateAssignment::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.club_id) + // @@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.ClubStateAssignment.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.club_id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -5056,25 +4175,25 @@ 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) + // @@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.ClubStateAssignment.attribute) + // @@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.ClubStateAssignment.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.ClubStateAssignment.attribute) + // @@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.ClubStateAssignment.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) return &attribute_; } @@ -5095,7 +4214,7 @@ inline void ClubStateAssignment::clear_name() { clear_has_name(); } inline const ::std::string& ClubStateAssignment::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.name) return *name_; } inline void ClubStateAssignment::set_name(const ::std::string& value) { @@ -5104,7 +4223,7 @@ inline void ClubStateAssignment::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.name) } inline void ClubStateAssignment::set_name(const char* value) { set_has_name(); @@ -5112,7 +4231,7 @@ inline void ClubStateAssignment::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.name) + // @@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(); @@ -5120,14 +4239,14 @@ inline void ClubStateAssignment::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.name) + // @@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.ClubStateAssignment.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.name) return name_; } inline ::std::string* ClubStateAssignment::release_name() { @@ -5151,7 +4270,7 @@ inline void ClubStateAssignment::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.name) } // optional string description = 4; @@ -5171,7 +4290,7 @@ inline void ClubStateAssignment::clear_description() { clear_has_description(); } inline const ::std::string& ClubStateAssignment::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.description) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.description) return *description_; } inline void ClubStateAssignment::set_description(const ::std::string& value) { @@ -5180,7 +4299,7 @@ inline void ClubStateAssignment::set_description(const ::std::string& value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.description) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.description) } inline void ClubStateAssignment::set_description(const char* value) { set_has_description(); @@ -5188,7 +4307,7 @@ inline void ClubStateAssignment::set_description(const char* value) { description_ = new ::std::string; } description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.description) + // @@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(); @@ -5196,14 +4315,14 @@ inline void ClubStateAssignment::set_description(const char* value, size_t size) description_ = new ::std::string; } description_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.description) + // @@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.ClubStateAssignment.description) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.description) return description_; } inline ::std::string* ClubStateAssignment::release_description() { @@ -5227,10 +4346,10 @@ inline void ClubStateAssignment::set_allocated_description(::std::string* descri clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.description) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.description) } -// optional .bgs.protocol.club.v1.Broadcast broadcast = 5; +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5; inline bool ClubStateAssignment::has_broadcast() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -5241,26 +4360,26 @@ 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(); + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::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) +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::Broadcast* ClubStateAssignment::mutable_broadcast() { +inline ::bgs::protocol::club::v1::client::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) + 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::Broadcast* ClubStateAssignment::release_broadcast() { +inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::release_broadcast() { clear_has_broadcast(); - ::bgs::protocol::club::v1::Broadcast* temp = broadcast_; + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; broadcast_ = NULL; return temp; } -inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast) { +inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { delete broadcast_; broadcast_ = broadcast; if (broadcast) { @@ -5268,7 +4387,7 @@ inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club:: } else { clear_has_broadcast(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.broadcast) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) } // optional .bgs.protocol.club.v1.AvatarId avatar = 6; @@ -5286,13 +4405,13 @@ inline void ClubStateAssignment::clear_avatar() { clear_has_avatar(); } inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.avatar) + // @@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.ClubStateAssignment.avatar) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) return avatar_; } inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() { @@ -5309,7 +4428,7 @@ inline void ClubStateAssignment::set_allocated_avatar(::bgs::protocol::club::v1: } else { clear_has_avatar(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.avatar) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) } // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; @@ -5327,17 +4446,17 @@ inline void ClubStateAssignment::clear_privacy_level() { 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) + // @@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.ClubStateAssignment.privacy_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level) } -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 8; +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8; inline bool ClubStateAssignment::has_stream_position() const { return (_has_bits_[0] & 0x00000080u) != 0; } @@ -5348,26 +4467,26 @@ 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(); + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::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) +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::StreamPosition* ClubStateAssignment::mutable_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::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.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::StreamPosition* ClubStateAssignment::release_stream_position() { +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::release_stream_position() { clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = 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::StreamPosition* stream_position) { +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) { @@ -5375,7 +4494,7 @@ inline void ClubStateAssignment::set_allocated_stream_position(::bgs::protocol:: } else { clear_has_stream_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.stream_position) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) } // optional string short_name = 9; @@ -5395,7 +4514,7 @@ inline void ClubStateAssignment::clear_short_name() { clear_has_short_name(); } inline const ::std::string& ClubStateAssignment::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.short_name) + // @@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) { @@ -5404,7 +4523,7 @@ inline void ClubStateAssignment::set_short_name(const ::std::string& value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.short_name) + // @@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(); @@ -5412,7 +4531,7 @@ inline void ClubStateAssignment::set_short_name(const char* value) { short_name_ = new ::std::string; } short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.short_name) + // @@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(); @@ -5420,14 +4539,14 @@ inline void ClubStateAssignment::set_short_name(const char* value, size_t size) short_name_ = new ::std::string; } short_name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.short_name) + // @@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.ClubStateAssignment.short_name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) return short_name_; } inline ::std::string* ClubStateAssignment::release_short_name() { @@ -5451,7 +4570,7 @@ inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_n 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) } // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; @@ -5469,14 +4588,14 @@ inline void ClubStateAssignment::clear_visibility_level() { 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) + // @@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.ClubStateAssignment.visibility_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level) } // optional string locale = 11; @@ -5496,7 +4615,7 @@ inline void ClubStateAssignment::clear_locale() { clear_has_locale(); } inline const ::std::string& ClubStateAssignment::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.locale) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.locale) return *locale_; } inline void ClubStateAssignment::set_locale(const ::std::string& value) { @@ -5505,7 +4624,7 @@ inline void ClubStateAssignment::set_locale(const ::std::string& value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.locale) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.locale) } inline void ClubStateAssignment::set_locale(const char* value) { set_has_locale(); @@ -5513,7 +4632,7 @@ inline void ClubStateAssignment::set_locale(const char* value) { locale_ = new ::std::string; } locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.locale) + // @@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(); @@ -5521,14 +4640,14 @@ inline void ClubStateAssignment::set_locale(const char* value, size_t size) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.locale) + // @@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.ClubStateAssignment.locale) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.locale) return locale_; } inline ::std::string* ClubStateAssignment::release_locale() { @@ -5552,7 +4671,7 @@ inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.locale) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.locale) } // optional string timezone = 12; @@ -5572,7 +4691,7 @@ inline void ClubStateAssignment::clear_timezone() { clear_has_timezone(); } inline const ::std::string& ClubStateAssignment::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.timezone) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) return *timezone_; } inline void ClubStateAssignment::set_timezone(const ::std::string& value) { @@ -5581,7 +4700,7 @@ inline void ClubStateAssignment::set_timezone(const ::std::string& value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.timezone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) } inline void ClubStateAssignment::set_timezone(const char* value) { set_has_timezone(); @@ -5589,7 +4708,7 @@ inline void ClubStateAssignment::set_timezone(const char* value) { timezone_ = new ::std::string; } timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.timezone) + // @@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(); @@ -5597,14 +4716,14 @@ inline void ClubStateAssignment::set_timezone(const char* value, size_t size) { timezone_ = new ::std::string; } timezone_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.timezone) + // @@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.ClubStateAssignment.timezone) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) return timezone_; } inline ::std::string* ClubStateAssignment::release_timezone() { @@ -5628,7 +4747,7 @@ inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) clear_has_timezone(); timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.timezone) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) } // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; @@ -5639,25 +4758,25 @@ 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) + // @@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.ClubStateAssignment.tag) + // @@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.ClubStateAssignment.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.ClubStateAssignment.tag) + // @@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.ClubStateAssignment.tag) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag) return &tag_; } @@ -5669,25 +4788,25 @@ 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) + // @@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.ClubStateAssignment.search_attribute) + // @@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.ClubStateAssignment.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.ClubStateAssignment.search_attribute) + // @@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.ClubStateAssignment.search_attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) return &search_attribute_; } @@ -5706,13 +4825,13 @@ inline void ClubStateAssignment::clear_tag_cleared() { clear_has_tag_cleared(); } inline bool ClubStateAssignment::tag_cleared() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared) + // @@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.ClubStateAssignment.tag_cleared) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared) } // ------------------------------------------------------------------- @@ -5734,16 +4853,16 @@ inline void StreamSettings::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamSettings::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamSettings.stream_id) + // @@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.StreamSettings.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.stream_id) } -// optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2; +// optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2; inline bool StreamSettings::has_filter() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -5757,48 +4876,48 @@ 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 ::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::StreamNotificationFilter value) { - assert(::bgs::protocol::club::v1::StreamNotificationFilter_IsValid(value)); +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.StreamSettings.filter) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.filter) } // ------------------------------------------------------------------- // ClubSettings -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1; +// 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::StreamSettings& ClubSettings::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.stream) +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::StreamSettings* ClubSettings::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettings.stream) +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::StreamSettings* ClubSettings::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettings.stream) +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::StreamSettings >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& ClubSettings::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettings.stream) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.stream) return stream_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* ClubSettings::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettings.stream) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.stream) return &stream_; } @@ -5817,13 +4936,13 @@ inline void ClubSettings::clear_stream_notification_filter_all() { 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) + // @@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.ClubSettings.stream_notification_filter_all) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all) } // repeated .bgs.protocol.v2.Attribute attribute = 3; @@ -5834,25 +4953,25 @@ 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) + // @@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.ClubSettings.attribute) + // @@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.ClubSettings.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.ClubSettings.attribute) + // @@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.ClubSettings.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.attribute) return &attribute_; } @@ -5871,50 +4990,50 @@ inline void ClubSettings::clear_push_notification_filter_all() { 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) + // @@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.ClubSettings.push_notification_filter_all) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all) } // ------------------------------------------------------------------- // ClubSettingsOptions -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; +// 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::StreamSettings& ClubSettingsOptions::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.stream) +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::StreamSettings* ClubSettingsOptions::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsOptions.stream) +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::StreamSettings* ClubSettingsOptions::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsOptions.stream) +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::StreamSettings >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& ClubSettingsOptions::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsOptions.stream) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) return stream_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* ClubSettingsOptions::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsOptions.stream) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) return &stream_; } -// optional .bgs.protocol.club.v1.ClubSettings settings = 2; +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; inline bool ClubSettingsOptions::has_settings() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -5925,26 +5044,26 @@ 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(); + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::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) +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::ClubSettings* ClubSettingsOptions::mutable_settings() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSettings* ClubSettingsOptions::release_settings() { +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::release_settings() { clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; settings_ = NULL; return temp; } -inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { +inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { delete settings_; settings_ = settings; if (settings) { @@ -5952,7 +5071,7 @@ inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v } else { clear_has_settings(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsOptions.settings) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) } // optional uint32 version = 3; @@ -5970,50 +5089,50 @@ inline void ClubSettingsOptions::clear_version() { clear_has_version(); } inline ::google::protobuf::uint32 ClubSettingsOptions::version() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.version) + // @@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.ClubSettingsOptions.version) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettingsOptions.version) } // ------------------------------------------------------------------- // ClubSettingsAssignment -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; +// 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::StreamSettings& ClubSettingsAssignment::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsAssignment.stream) +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::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsAssignment.stream) +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::StreamSettings* ClubSettingsAssignment::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsAssignment.stream) +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::StreamSettings >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& ClubSettingsAssignment::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) return stream_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* ClubSettingsAssignment::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) return &stream_; } -// optional .bgs.protocol.club.v1.ClubSettings settings = 2; +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; inline bool ClubSettingsAssignment::has_settings() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -6024,26 +5143,26 @@ 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(); + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::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) +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::ClubSettings* ClubSettingsAssignment::mutable_settings() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSettings* ClubSettingsAssignment::release_settings() { +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::release_settings() { clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; settings_ = NULL; return temp; } -inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { +inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { delete settings_; settings_ = settings; if (settings) { @@ -6051,11 +5170,12 @@ inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club } else { clear_has_settings(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsAssignment.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 @@ -6070,4 +5190,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fcore_2eproto__INCLUDED +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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/club_enum.pb.h b/src/server/proto/Client/api/client/v1/club_enum.pb.h index dc0125ad274..499dce8969f 100644 --- a/src/server/proto/Client/club_enum.pb.h +++ b/src/server/proto/Client/api/client/v1/club_enum.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_enum.proto +// source: api/client/v1/club_enum.proto -#ifndef PROTOBUF_club_5fenum_2eproto__INCLUDED -#define PROTOBUF_club_5fenum_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED #include <string> @@ -30,52 +30,13 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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 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>( - 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>( - VisibilityLevel_descriptor(), name, value); -} enum ClubRemovedReason { CLUB_REMOVED_REASON_NONE = 0, CLUB_REMOVED_REASON_MEMBER_LEFT = 1, @@ -199,26 +160,6 @@ inline bool StreamNotificationFilter_Parse( return ::google::protobuf::internal::ParseNamedEnum<StreamNotificationFilter>( 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>( - JoinClubSource_descriptor(), name, value); -} // =================================================================== // =================================================================== @@ -228,6 +169,7 @@ inline bool JoinClubSource_Parse( // =================================================================== // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol @@ -236,50 +178,35 @@ inline bool JoinClubSource_Parse( #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 <> struct is_proto_enum< ::bgs::protocol::club::v1::client::ClubRemovedReason> : ::google::protobuf::internal::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::StreamVoiceLevel>() { - return ::bgs::protocol::club::v1::StreamVoiceLevel_descriptor(); +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::VoiceMicrophoneState> : ::google::protobuf::internal::true_type {}; +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::VoiceMicrophoneState>() { - return ::bgs::protocol::club::v1::VoiceMicrophoneState_descriptor(); +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::PresenceLevel> : ::google::protobuf::internal::true_type {}; +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::PresenceLevel>() { - return ::bgs::protocol::club::v1::PresenceLevel_descriptor(); +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::WhisperLevel> : ::google::protobuf::internal::true_type {}; +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::WhisperLevel>() { - return ::bgs::protocol::club::v1::WhisperLevel_descriptor(); +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::StreamNotificationFilter> : ::google::protobuf::internal::true_type {}; +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::StreamNotificationFilter>() { - return ::bgs::protocol::club::v1::StreamNotificationFilter_descriptor(); +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::JoinClubSource> : ::google::protobuf::internal::true_type {}; +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::JoinClubSource>() { - return ::bgs::protocol::club::v1::JoinClubSource_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::StreamNotificationFilter>() { + return ::bgs::protocol::club::v1::client::StreamNotificationFilter_descriptor(); } } // namespace google } // namespace protobuf @@ -287,4 +214,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::JoinC // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fenum_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_invitation.pb.cc b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc index 16a7e624e3d..55b90216636 100644 --- a/src/server/proto/Client/club_invitation.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_invitation.proto +// source: api/client/v1/club_invitation.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_invitation.pb.h" +#include "api/client/v1/club_invitation.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -47,11 +48,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5finvitation_2eproto() { - protobuf_AddDesc_club_5finvitation_2eproto(); +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( - "club_invitation.proto"); + "api/client/v1/club_invitation.proto"); GOOGLE_CHECK(file != NULL); ClubSlot_descriptor_ = file->message_type(0); static const int ClubSlot_offsets_[2] = { @@ -198,7 +199,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5finvitation_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -221,7 +222,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5finvitation_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { delete ClubSlot::default_instance_; delete ClubSlot_reflection_; delete SendInvitationOptions::default_instance_; @@ -238,66 +239,70 @@ void protobuf_ShutdownFile_club_5finvitation_2eproto() { delete ClubTicket_reflection_; } -void protobuf_AddDesc_club_5finvitation_2eproto() { +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::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(); + ::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\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); + "\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( - "club_invitation.proto", &protobuf_RegisterTypes); + "api/client/v1/club_invitation.proto", &protobuf_RegisterTypes); ClubSlot::default_instance_ = new ClubSlot(); SendInvitationOptions::default_instance_ = new SendInvitationOptions(); ClubInvitation::default_instance_ = new ClubInvitation(); @@ -312,15 +317,15 @@ void protobuf_AddDesc_club_5finvitation_2eproto() { ClubSuggestion::default_instance_->InitAsDefaultInstance(); CreateTicketOptions::default_instance_->InitAsDefaultInstance(); ClubTicket::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5finvitation_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5finvitation_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -331,7 +336,7 @@ const int ClubSlot::kDefaultStreamIdFieldNumber; ClubSlot::ClubSlot() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSlot) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSlot) } void ClubSlot::InitAsDefaultInstance() { @@ -341,7 +346,7 @@ ClubSlot::ClubSlot(const ClubSlot& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSlot) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSlot) } void ClubSlot::SharedCtor() { @@ -352,7 +357,7 @@ void ClubSlot::SharedCtor() { } ClubSlot::~ClubSlot() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSlot) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSlot) SharedDtor(); } @@ -372,7 +377,7 @@ const ::google::protobuf::Descriptor* ClubSlot::descriptor() { } const ClubSlot& ClubSlot::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -406,19 +411,19 @@ const int SendInvitationOptions::kAttributeFieldNumber; SendInvitationOptions::SendInvitationOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendInvitationOptions) + // @@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::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::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.SendInvitationOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationOptions) } void SendInvitationOptions::SharedCtor() { @@ -429,7 +434,7 @@ void SendInvitationOptions::SharedCtor() { } SendInvitationOptions::~SendInvitationOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendInvitationOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationOptions) SharedDtor(); } @@ -451,7 +456,7 @@ const ::google::protobuf::Descriptor* SendInvitationOptions::descriptor() { } const SendInvitationOptions& SendInvitationOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -491,22 +496,22 @@ const int ClubInvitation::kSuggesterFieldNumber; ClubInvitation::ClubInvitation() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubInvitation) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.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()); + 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::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); - suggester_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::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.ClubInvitation) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitation) } void ClubInvitation::SharedCtor() { @@ -523,7 +528,7 @@ void ClubInvitation::SharedCtor() { } ClubInvitation::~ClubInvitation() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubInvitation) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitation) SharedDtor(); } @@ -548,7 +553,7 @@ const ::google::protobuf::Descriptor* ClubInvitation::descriptor() { } const ClubInvitation& ClubInvitation::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -583,19 +588,19 @@ const int SendSuggestionOptions::kJoinClubSourceFieldNumber; SendSuggestionOptions::SendSuggestionOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendSuggestionOptions) + // @@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::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::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.SendSuggestionOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionOptions) } void SendSuggestionOptions::SharedCtor() { @@ -607,7 +612,7 @@ void SendSuggestionOptions::SharedCtor() { } SendSuggestionOptions::~SendSuggestionOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendSuggestionOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionOptions) SharedDtor(); } @@ -629,7 +634,7 @@ const ::google::protobuf::Descriptor* SendSuggestionOptions::descriptor() { } const SendSuggestionOptions& SendSuggestionOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -668,20 +673,20 @@ const int ClubSuggestion::kExpirationTimeFieldNumber; ClubSuggestion::ClubSuggestion() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSuggestion) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.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()); + 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.ClubSuggestion) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestion) } void ClubSuggestion::SharedCtor() { @@ -697,7 +702,7 @@ void ClubSuggestion::SharedCtor() { } ClubSuggestion::~ClubSuggestion() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSuggestion) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestion) SharedDtor(); } @@ -720,7 +725,7 @@ const ::google::protobuf::Descriptor* ClubSuggestion::descriptor() { } const ClubSuggestion& ClubSuggestion::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -756,18 +761,18 @@ const int CreateTicketOptions::kJoinClubSourceFieldNumber; CreateTicketOptions::CreateTicketOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketOptions) } void CreateTicketOptions::InitAsDefaultInstance() { - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); + 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.CreateTicketOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketOptions) } void CreateTicketOptions::SharedCtor() { @@ -780,7 +785,7 @@ void CreateTicketOptions::SharedCtor() { } CreateTicketOptions::~CreateTicketOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketOptions) SharedDtor(); } @@ -801,7 +806,7 @@ const ::google::protobuf::Descriptor* CreateTicketOptions::descriptor() { } const CreateTicketOptions& CreateTicketOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -841,20 +846,20 @@ const int ClubTicket::kExpirationTimeFieldNumber; ClubTicket::ClubTicket() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTicket) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicket) } void ClubTicket::InitAsDefaultInstance() { - creator_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); + 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::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::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.ClubTicket) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicket) } void ClubTicket::SharedCtor() { @@ -872,7 +877,7 @@ void ClubTicket::SharedCtor() { } ClubTicket::~ClubTicket() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTicket) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicket) SharedDtor(); } @@ -898,7 +903,7 @@ const ::google::protobuf::Descriptor* ClubTicket::descriptor() { } const ClubTicket& ClubTicket::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); return *default_instance_; } @@ -923,6 +928,7 @@ void ClubTicket::Swap(ClubTicket* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_invitation.pb.h b/src/server/proto/Client/api/client/v1/club_invitation.pb.h index a07a62131d9..b0a3496bd5a 100644 --- a/src/server/proto/Client/club_invitation.pb.h +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_invitation.proto +// source: api/client/v1/club_invitation.proto -#ifndef PROTOBUF_club_5finvitation_2eproto__INCLUDED -#define PROTOBUF_club_5finvitation_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED #include <string> @@ -25,9 +25,9 @@ #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> #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 "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) @@ -35,11 +35,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -105,7 +106,7 @@ class TC_PROTO_API ClubSlot : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSlot) private: inline void set_has_role(); inline void clear_has_role(); @@ -118,9 +119,9 @@ class TC_PROTO_API ClubSlot : public ::google::protobuf::Message { 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(); + 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_; @@ -176,14 +177,14 @@ class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -197,7 +198,7 @@ class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* mutable_attribute(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendInvitationOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationOptions) private: inline void set_has_target_id(); inline void clear_has_target_id(); @@ -209,11 +210,11 @@ class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::club::v1::MemberId* target_id_; - ::bgs::protocol::club::v1::ClubSlot* slot_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -267,23 +268,23 @@ class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { inline ::google::protobuf::uint64 id() const; inline void set_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.MemberDescription inviter = 2; + // 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::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); + 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.MemberDescription invitee = 3; + // 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::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); + 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; @@ -294,14 +295,14 @@ class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -329,16 +330,16 @@ class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { inline ::google::protobuf::uint64 expiration_time() const; inline void set_expiration_time(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.MemberDescription suggester = 9; + // 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::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); + 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.ClubInvitation) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitation) private: inline void set_has_id(); inline void clear_has_id(); @@ -362,17 +363,17 @@ class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { ::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::client::MemberDescription* inviter_; + ::bgs::protocol::club::v1::client::MemberDescription* invitee_; ::bgs::protocol::club::v1::ClubDescription* club_; - ::bgs::protocol::club::v1::ClubSlot* slot_; + ::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::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(); + ::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_; @@ -428,14 +429,14 @@ class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -456,7 +457,7 @@ class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionOptions) private: inline void set_has_target_id(); inline void clear_has_target_id(); @@ -470,12 +471,12 @@ class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::club::v1::MemberId* target_id_; - ::bgs::protocol::club::v1::ClubSlot* slot_; + ::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_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); + 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_; @@ -536,32 +537,32 @@ class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.MemberDescription suggester = 3; + // 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::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); + 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.MemberDescription suggestee = 4; + // 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::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); + 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.ClubSlot slot = 5; + // 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::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); + 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; @@ -589,7 +590,7 @@ class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestion) private: inline void set_has_id(); inline void clear_has_id(); @@ -612,15 +613,15 @@ class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { 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_; + ::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_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); + 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_; @@ -667,14 +668,14 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubSlot slot = 1; + // 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::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); + 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; @@ -709,7 +710,7 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketOptions) private: inline void set_has_slot(); inline void clear_has_slot(); @@ -724,14 +725,14 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubSlot* slot_; + ::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_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); + 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_; @@ -790,14 +791,14 @@ class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { inline ::std::string* release_id(); inline void set_allocated_id(::std::string* id); - // optional .bgs.protocol.club.v1.MemberDescription creator = 2; + // 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::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); + 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; @@ -808,14 +809,14 @@ class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -857,7 +858,7 @@ class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicket) private: inline void set_has_id(); inline void clear_has_id(); @@ -881,17 +882,17 @@ class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* id_; - ::bgs::protocol::club::v1::MemberDescription* creator_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; ::bgs::protocol::club::v1::ClubDescription* club_; - ::bgs::protocol::club::v1::ClubSlot* slot_; + ::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_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); + 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_; @@ -919,13 +920,13 @@ inline void ClubSlot::clear_role() { clear_has_role(); } inline ::google::protobuf::uint32 ClubSlot::role() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSlot.role) + // @@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.ClubSlot.role) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.role) } // optional uint64 default_stream_id = 2; @@ -943,13 +944,13 @@ inline void ClubSlot::clear_default_stream_id() { 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) + // @@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.ClubSlot.default_stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.default_stream_id) } // ------------------------------------------------------------------- @@ -971,13 +972,13 @@ inline void SendInvitationOptions::clear_target_id() { 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) + // @@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.SendInvitationOptions.target_id) + // @@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() { @@ -994,10 +995,10 @@ inline void SendInvitationOptions::set_allocated_target_id(::bgs::protocol::club } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationOptions.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) } -// optional .bgs.protocol.club.v1.ClubSlot slot = 2; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; inline bool SendInvitationOptions::has_slot() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1008,26 +1009,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* SendInvitationOptions::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* SendInvitationOptions::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* SendInvitationOptions::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -1035,7 +1036,7 @@ inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1: } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationOptions.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 3; @@ -1046,25 +1047,25 @@ 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) + // @@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.SendInvitationOptions.attribute) + // @@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.SendInvitationOptions.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.SendInvitationOptions.attribute) + // @@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.SendInvitationOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) return &attribute_; } @@ -1087,16 +1088,16 @@ inline void ClubInvitation::clear_id() { clear_has_id(); } inline ::google::protobuf::uint64 ClubInvitation::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.id) + // @@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.ClubInvitation.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.id) } -// optional .bgs.protocol.club.v1.MemberDescription inviter = 2; +// optional .bgs.protocol.club.v1.client.MemberDescription inviter = 2; inline bool ClubInvitation::has_inviter() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1107,26 +1108,26 @@ 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(); + if (inviter_ != NULL) inviter_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubInvitation::mutable_inviter() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubInvitation::release_inviter() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_inviter() { clear_has_inviter(); - ::bgs::protocol::club::v1::MemberDescription* temp = inviter_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = inviter_; inviter_ = NULL; return temp; } -inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::MemberDescription* inviter) { +inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::client::MemberDescription* inviter) { delete inviter_; inviter_ = inviter; if (inviter) { @@ -1134,10 +1135,10 @@ inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::Mem } else { clear_has_inviter(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.inviter) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.inviter) } -// optional .bgs.protocol.club.v1.MemberDescription invitee = 3; +// optional .bgs.protocol.club.v1.client.MemberDescription invitee = 3; inline bool ClubInvitation::has_invitee() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -1148,26 +1149,26 @@ 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(); + if (invitee_ != NULL) invitee_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubInvitation::mutable_invitee() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubInvitation::release_invitee() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_invitee() { clear_has_invitee(); - ::bgs::protocol::club::v1::MemberDescription* temp = invitee_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = invitee_; invitee_ = NULL; return temp; } -inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::MemberDescription* invitee) { +inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::client::MemberDescription* invitee) { delete invitee_; invitee_ = invitee; if (invitee) { @@ -1175,7 +1176,7 @@ inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::Mem } else { clear_has_invitee(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.invitee) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.invitee) } // optional .bgs.protocol.club.v1.ClubDescription club = 4; @@ -1193,13 +1194,13 @@ inline void ClubInvitation::clear_club() { clear_has_club(); } inline const ::bgs::protocol::club::v1::ClubDescription& ClubInvitation::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.club) + // @@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.ClubInvitation.club) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.club) return club_; } inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::release_club() { @@ -1216,10 +1217,10 @@ inline void ClubInvitation::set_allocated_club(::bgs::protocol::club::v1::ClubDe } else { clear_has_club(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.club) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.club) } -// optional .bgs.protocol.club.v1.ClubSlot slot = 5; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; inline bool ClubInvitation::has_slot() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -1230,26 +1231,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* ClubInvitation::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* ClubInvitation::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubInvitation::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -1257,7 +1258,7 @@ inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::ClubSl } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 6; @@ -1268,25 +1269,25 @@ 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) + // @@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.ClubInvitation.attribute) + // @@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.ClubInvitation.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.ClubInvitation.attribute) + // @@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.ClubInvitation.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubInvitation.attribute) return &attribute_; } @@ -1305,13 +1306,13 @@ inline void ClubInvitation::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 ClubInvitation::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.creation_time) + // @@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.ClubInvitation.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.creation_time) } // optional uint64 expiration_time = 8; @@ -1329,16 +1330,16 @@ inline void ClubInvitation::clear_expiration_time() { clear_has_expiration_time(); } inline ::google::protobuf::uint64 ClubInvitation::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.expiration_time) + // @@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.ClubInvitation.expiration_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.expiration_time) } -// optional .bgs.protocol.club.v1.MemberDescription suggester = 9; +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 9; inline bool ClubInvitation::has_suggester() const { return (_has_bits_[0] & 0x00000100u) != 0; } @@ -1349,26 +1350,26 @@ 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(); + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubInvitation::mutable_suggester() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubInvitation::release_suggester() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_suggester() { clear_has_suggester(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggester_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; suggester_ = NULL; return temp; } -inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester) { +inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { delete suggester_; suggester_ = suggester; if (suggester) { @@ -1376,7 +1377,7 @@ inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::M } else { clear_has_suggester(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.suggester) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.suggester) } // ------------------------------------------------------------------- @@ -1398,13 +1399,13 @@ inline void SendSuggestionOptions::clear_target_id() { 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) + // @@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.SendSuggestionOptions.target_id) + // @@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() { @@ -1421,10 +1422,10 @@ inline void SendSuggestionOptions::set_allocated_target_id(::bgs::protocol::club } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionOptions.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) } -// optional .bgs.protocol.club.v1.ClubSlot slot = 2; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; inline bool SendSuggestionOptions::has_slot() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1435,26 +1436,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* SendSuggestionOptions::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* SendSuggestionOptions::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* SendSuggestionOptions::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -1462,7 +1463,7 @@ inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1: } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionOptions.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 3; @@ -1473,25 +1474,25 @@ 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) + // @@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.SendSuggestionOptions.attribute) + // @@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.SendSuggestionOptions.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.SendSuggestionOptions.attribute) + // @@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.SendSuggestionOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) return &attribute_; } @@ -1510,13 +1511,13 @@ inline void SendSuggestionOptions::clear_join_club_source() { 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) + // @@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.SendSuggestionOptions.join_club_source) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionOptions.join_club_source) } // ------------------------------------------------------------------- @@ -1538,13 +1539,13 @@ inline void ClubSuggestion::clear_id() { clear_has_id(); } inline ::google::protobuf::uint64 ClubSuggestion::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.id) + // @@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.ClubSuggestion.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.id) } // optional uint64 club_id = 2; @@ -1562,16 +1563,16 @@ inline void ClubSuggestion::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 ClubSuggestion::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.club_id) + // @@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.ClubSuggestion.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.club_id) } -// optional .bgs.protocol.club.v1.MemberDescription suggester = 3; +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 3; inline bool ClubSuggestion::has_suggester() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -1582,26 +1583,26 @@ 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(); + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubSuggestion::mutable_suggester() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubSuggestion::release_suggester() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggester() { clear_has_suggester(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggester_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; suggester_ = NULL; return temp; } -inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester) { +inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { delete suggester_; suggester_ = suggester; if (suggester) { @@ -1609,10 +1610,10 @@ inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::M } else { clear_has_suggester(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.suggester) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggester) } -// optional .bgs.protocol.club.v1.MemberDescription suggestee = 4; +// optional .bgs.protocol.club.v1.client.MemberDescription suggestee = 4; inline bool ClubSuggestion::has_suggestee() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -1623,26 +1624,26 @@ 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(); + if (suggestee_ != NULL) suggestee_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubSuggestion::mutable_suggestee() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubSuggestion::release_suggestee() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggestee() { clear_has_suggestee(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggestee_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggestee_; suggestee_ = NULL; return temp; } -inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::MemberDescription* suggestee) { +inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::client::MemberDescription* suggestee) { delete suggestee_; suggestee_ = suggestee; if (suggestee) { @@ -1650,10 +1651,10 @@ inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::M } else { clear_has_suggestee(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.suggestee) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) } -// optional .bgs.protocol.club.v1.ClubSlot slot = 5; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; inline bool ClubSuggestion::has_slot() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -1664,26 +1665,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* ClubSuggestion::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* ClubSuggestion::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubSuggestion::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -1691,7 +1692,7 @@ inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::ClubSl } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 6; @@ -1702,25 +1703,25 @@ 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) + // @@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.ClubSuggestion.attribute) + // @@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.ClubSuggestion.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.ClubSuggestion.attribute) + // @@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.ClubSuggestion.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSuggestion.attribute) return &attribute_; } @@ -1739,13 +1740,13 @@ inline void ClubSuggestion::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 ClubSuggestion::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.creation_time) + // @@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.ClubSuggestion.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.creation_time) } // optional uint64 expiration_time = 8; @@ -1763,20 +1764,20 @@ inline void ClubSuggestion::clear_expiration_time() { clear_has_expiration_time(); } inline ::google::protobuf::uint64 ClubSuggestion::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.expiration_time) + // @@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.ClubSuggestion.expiration_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.expiration_time) } // ------------------------------------------------------------------- // CreateTicketOptions -// optional .bgs.protocol.club.v1.ClubSlot slot = 1; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 1; inline bool CreateTicketOptions::has_slot() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -1787,26 +1788,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* CreateTicketOptions::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* CreateTicketOptions::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* CreateTicketOptions::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -1814,7 +1815,7 @@ inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::C } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketOptions.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketOptions.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -1825,25 +1826,25 @@ 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) + // @@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.CreateTicketOptions.attribute) + // @@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.CreateTicketOptions.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.CreateTicketOptions.attribute) + // @@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.CreateTicketOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) return &attribute_; } @@ -1862,13 +1863,13 @@ inline void CreateTicketOptions::clear_allowed_redeem_count() { 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) + // @@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.CreateTicketOptions.allowed_redeem_count) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.allowed_redeem_count) } // optional uint64 expiration_time = 4; @@ -1886,13 +1887,13 @@ inline void CreateTicketOptions::clear_expiration_time() { clear_has_expiration_time(); } inline ::google::protobuf::uint64 CreateTicketOptions::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.expiration_time) + // @@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.CreateTicketOptions.expiration_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.expiration_time) } // optional uint32 join_club_source = 5; @@ -1910,13 +1911,13 @@ inline void CreateTicketOptions::clear_join_club_source() { 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) + // @@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.CreateTicketOptions.join_club_source) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.join_club_source) } // ------------------------------------------------------------------- @@ -1940,7 +1941,7 @@ inline void ClubTicket::clear_id() { clear_has_id(); } inline const ::std::string& ClubTicket::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.id) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.id) return *id_; } inline void ClubTicket::set_id(const ::std::string& value) { @@ -1949,7 +1950,7 @@ inline void ClubTicket::set_id(const ::std::string& value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.id) } inline void ClubTicket::set_id(const char* value) { set_has_id(); @@ -1957,7 +1958,7 @@ inline void ClubTicket::set_id(const char* value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubTicket.id) + // @@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(); @@ -1965,14 +1966,14 @@ inline void ClubTicket::set_id(const char* value, size_t size) { id_ = new ::std::string; } id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubTicket.id) + // @@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.ClubTicket.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.id) return id_; } inline ::std::string* ClubTicket::release_id() { @@ -1996,10 +1997,10 @@ inline void ClubTicket::set_allocated_id(::std::string* id) { clear_has_id(); id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.id) } -// optional .bgs.protocol.club.v1.MemberDescription creator = 2; +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; inline bool ClubTicket::has_creator() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -2010,26 +2011,26 @@ 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(); + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* ClubTicket::mutable_creator() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* ClubTicket::release_creator() { +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubTicket::release_creator() { clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; creator_ = NULL; return temp; } -inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { +inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { delete creator_; creator_ = creator; if (creator) { @@ -2037,7 +2038,7 @@ inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::MemberD } else { clear_has_creator(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.creator) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.creator) } // optional .bgs.protocol.club.v1.ClubDescription club = 3; @@ -2055,13 +2056,13 @@ inline void ClubTicket::clear_club() { clear_has_club(); } inline const ::bgs::protocol::club::v1::ClubDescription& ClubTicket::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.club) + // @@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.ClubTicket.club) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.club) return club_; } inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::release_club() { @@ -2078,10 +2079,10 @@ inline void ClubTicket::set_allocated_club(::bgs::protocol::club::v1::ClubDescri } else { clear_has_club(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.club) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.club) } -// optional .bgs.protocol.club.v1.ClubSlot slot = 4; +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 4; inline bool ClubTicket::has_slot() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -2092,26 +2093,26 @@ 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(); + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::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) +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::ClubSlot* ClubTicket::mutable_slot() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSlot* ClubTicket::release_slot() { +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubTicket::release_slot() { clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; slot_ = NULL; return temp; } -inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { +inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { delete slot_; slot_ = slot; if (slot) { @@ -2119,7 +2120,7 @@ inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* } else { clear_has_slot(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.slot) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.slot) } // repeated .bgs.protocol.v2.Attribute attribute = 5; @@ -2130,25 +2131,25 @@ 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) + // @@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.ClubTicket.attribute) + // @@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.ClubTicket.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.ClubTicket.attribute) + // @@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.ClubTicket.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubTicket.attribute) return &attribute_; } @@ -2167,13 +2168,13 @@ inline void ClubTicket::clear_current_redeem_count() { 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) + // @@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.ClubTicket.current_redeem_count) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.current_redeem_count) } // optional uint32 allowed_redeem_count = 7; @@ -2191,13 +2192,13 @@ inline void ClubTicket::clear_allowed_redeem_count() { 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) + // @@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.ClubTicket.allowed_redeem_count) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.allowed_redeem_count) } // optional uint64 creation_time = 8; @@ -2215,13 +2216,13 @@ inline void ClubTicket::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 ClubTicket::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.creation_time) + // @@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.ClubTicket.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.creation_time) } // optional uint64 expiration_time = 9; @@ -2239,17 +2240,18 @@ inline void ClubTicket::clear_expiration_time() { clear_has_expiration_time(); } inline ::google::protobuf::uint64 ClubTicket::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.expiration_time) + // @@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.ClubTicket.expiration_time) + // @@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 @@ -2264,4 +2266,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5finvitation_2eproto__INCLUDED +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include "api/client/v1/club_notification.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include <functional> +#include <type_traits> +// @@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<uint32, 0x80909D73u> OriginalHash; + typedef std::integral_constant<uint32, 0x7618470Bu> 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/club_member.pb.cc b/src/server/proto/Client/api/client/v1/club_member.pb.cc index dabc89aa63d..f3750076a07 100644 --- a/src/server/proto/Client/club_member.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_member.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member.proto +// source: api/client/v1/club_member.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_member.pb.h" +#include "api/client/v1/club_member.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -71,11 +72,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fmember_2eproto() { - protobuf_AddDesc_club_5fmember_2eproto(); +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( - "club_member.proto"); + "api/client/v1/club_member.proto"); GOOGLE_CHECK(file != NULL); Member_descriptor_ = file->message_type(0); static const int Member_offsets_[11] = { @@ -346,7 +347,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmember_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -385,7 +386,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fmember_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto() { delete Member::default_instance_; delete Member_reflection_; delete MemberResult::default_instance_; @@ -418,81 +419,85 @@ void protobuf_ShutdownFile_club_5fmember_2eproto() { delete MemberStateAssignment_reflection_; } -void protobuf_AddDesc_club_5fmember_2eproto() { +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_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::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\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); + "\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( - "club_member.proto", &protobuf_RegisterTypes); + "api/client/v1/club_member.proto", &protobuf_RegisterTypes); Member::default_instance_ = new Member(); MemberResult::default_instance_ = new MemberResult(); RemoveMemberOptions::default_instance_ = new RemoveMemberOptions(); @@ -523,15 +528,15 @@ void protobuf_AddDesc_club_5fmember_2eproto() { SubscriberStateAssignment::default_instance_->InitAsDefaultInstance(); MemberStateOptions::default_instance_->InitAsDefaultInstance(); MemberStateAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmember_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fmember_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmember_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -551,19 +556,19 @@ const int Member::kVoiceFieldNumber; Member::Member() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Member) + // @@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::MemberVoiceState*>(&::bgs::protocol::club::v1::MemberVoiceState::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.Member) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Member) } void Member::SharedCtor() { @@ -582,7 +587,7 @@ void Member::SharedCtor() { } Member::~Member() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Member) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Member) SharedDtor(); } @@ -610,7 +615,7 @@ const ::google::protobuf::Descriptor* Member::descriptor() { } const Member& Member::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -643,7 +648,7 @@ const int MemberResult::kStatusFieldNumber; MemberResult::MemberResult() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberResult) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberResult) } void MemberResult::InitAsDefaultInstance() { @@ -654,7 +659,7 @@ MemberResult::MemberResult(const MemberResult& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberResult) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberResult) } void MemberResult::SharedCtor() { @@ -665,7 +670,7 @@ void MemberResult::SharedCtor() { } MemberResult::~MemberResult() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberResult) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberResult) SharedDtor(); } @@ -686,7 +691,7 @@ const ::google::protobuf::Descriptor* MemberResult::descriptor() { } const MemberResult& MemberResult::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -719,7 +724,7 @@ const int RemoveMemberOptions::kReasonFieldNumber; RemoveMemberOptions::RemoveMemberOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RemoveMemberOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) } void RemoveMemberOptions::InitAsDefaultInstance() { @@ -730,7 +735,7 @@ RemoveMemberOptions::RemoveMemberOptions(const RemoveMemberOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RemoveMemberOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) } void RemoveMemberOptions::SharedCtor() { @@ -741,7 +746,7 @@ void RemoveMemberOptions::SharedCtor() { } RemoveMemberOptions::~RemoveMemberOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RemoveMemberOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveMemberOptions) SharedDtor(); } @@ -762,7 +767,7 @@ const ::google::protobuf::Descriptor* RemoveMemberOptions::descriptor() { } const RemoveMemberOptions& RemoveMemberOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -795,7 +800,7 @@ const int MemberRemovedAssignment::kReasonFieldNumber; MemberRemovedAssignment::MemberRemovedAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRemovedAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) } void MemberRemovedAssignment::InitAsDefaultInstance() { @@ -806,7 +811,7 @@ MemberRemovedAssignment::MemberRemovedAssignment(const MemberRemovedAssignment& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRemovedAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) } void MemberRemovedAssignment::SharedCtor() { @@ -817,7 +822,7 @@ void MemberRemovedAssignment::SharedCtor() { } MemberRemovedAssignment::~MemberRemovedAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRemovedAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) SharedDtor(); } @@ -838,7 +843,7 @@ const ::google::protobuf::Descriptor* MemberRemovedAssignment::descriptor() { } const MemberRemovedAssignment& MemberRemovedAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -873,7 +878,7 @@ const int MemberVoiceOptions::kActiveFieldNumber; MemberVoiceOptions::MemberVoiceOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberVoiceOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) } void MemberVoiceOptions::InitAsDefaultInstance() { @@ -883,7 +888,7 @@ MemberVoiceOptions::MemberVoiceOptions(const MemberVoiceOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberVoiceOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) } void MemberVoiceOptions::SharedCtor() { @@ -896,7 +901,7 @@ void MemberVoiceOptions::SharedCtor() { } MemberVoiceOptions::~MemberVoiceOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberVoiceOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceOptions) SharedDtor(); } @@ -916,7 +921,7 @@ const ::google::protobuf::Descriptor* MemberVoiceOptions::descriptor() { } const MemberVoiceOptions& MemberVoiceOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -952,7 +957,7 @@ const int MemberVoiceState::kActiveFieldNumber; MemberVoiceState::MemberVoiceState() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberVoiceState) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceState) } void MemberVoiceState::InitAsDefaultInstance() { @@ -962,7 +967,7 @@ MemberVoiceState::MemberVoiceState(const MemberVoiceState& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberVoiceState) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceState) } void MemberVoiceState::SharedCtor() { @@ -977,7 +982,7 @@ void MemberVoiceState::SharedCtor() { } MemberVoiceState::~MemberVoiceState() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberVoiceState) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceState) SharedDtor(); } @@ -1000,7 +1005,7 @@ const ::google::protobuf::Descriptor* MemberVoiceState::descriptor() { } const MemberVoiceState& MemberVoiceState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1034,7 +1039,7 @@ const int CreateMemberOptions::kJoinClubSourceFieldNumber; CreateMemberOptions::CreateMemberOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMemberOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMemberOptions) } void CreateMemberOptions::InitAsDefaultInstance() { @@ -1045,7 +1050,7 @@ CreateMemberOptions::CreateMemberOptions(const CreateMemberOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateMemberOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMemberOptions) } void CreateMemberOptions::SharedCtor() { @@ -1056,7 +1061,7 @@ void CreateMemberOptions::SharedCtor() { } CreateMemberOptions::~CreateMemberOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMemberOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMemberOptions) SharedDtor(); } @@ -1077,7 +1082,7 @@ const ::google::protobuf::Descriptor* CreateMemberOptions::descriptor() { } const CreateMemberOptions& CreateMemberOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1110,7 +1115,7 @@ const int MemberDescription::kBattleTagFieldNumber; MemberDescription::MemberDescription() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberDescription) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberDescription) } void MemberDescription::InitAsDefaultInstance() { @@ -1121,7 +1126,7 @@ MemberDescription::MemberDescription(const MemberDescription& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberDescription) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberDescription) } void MemberDescription::SharedCtor() { @@ -1133,7 +1138,7 @@ void MemberDescription::SharedCtor() { } MemberDescription::~MemberDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberDescription) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberDescription) SharedDtor(); } @@ -1157,7 +1162,7 @@ const ::google::protobuf::Descriptor* MemberDescription::descriptor() { } const MemberDescription& MemberDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1190,7 +1195,7 @@ const int RoleOptions::kRoleFieldNumber; RoleOptions::RoleOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RoleOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleOptions) } void RoleOptions::InitAsDefaultInstance() { @@ -1201,7 +1206,7 @@ RoleOptions::RoleOptions(const RoleOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RoleOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleOptions) } void RoleOptions::SharedCtor() { @@ -1211,7 +1216,7 @@ void RoleOptions::SharedCtor() { } RoleOptions::~RoleOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RoleOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleOptions) SharedDtor(); } @@ -1232,7 +1237,7 @@ const ::google::protobuf::Descriptor* RoleOptions::descriptor() { } const RoleOptions& RoleOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1265,7 +1270,7 @@ const int RoleAssignment::kRoleFieldNumber; RoleAssignment::RoleAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RoleAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleAssignment) } void RoleAssignment::InitAsDefaultInstance() { @@ -1276,7 +1281,7 @@ RoleAssignment::RoleAssignment(const RoleAssignment& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RoleAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleAssignment) } void RoleAssignment::SharedCtor() { @@ -1286,7 +1291,7 @@ void RoleAssignment::SharedCtor() { } RoleAssignment::~RoleAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RoleAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleAssignment) SharedDtor(); } @@ -1307,7 +1312,7 @@ const ::google::protobuf::Descriptor* RoleAssignment::descriptor() { } const RoleAssignment& RoleAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1340,7 +1345,7 @@ const int MemberAttributeAssignment::kAttributeFieldNumber; MemberAttributeAssignment::MemberAttributeAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberAttributeAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) } void MemberAttributeAssignment::InitAsDefaultInstance() { @@ -1351,7 +1356,7 @@ MemberAttributeAssignment::MemberAttributeAssignment(const MemberAttributeAssign : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberAttributeAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) } void MemberAttributeAssignment::SharedCtor() { @@ -1361,7 +1366,7 @@ void MemberAttributeAssignment::SharedCtor() { } MemberAttributeAssignment::~MemberAttributeAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberAttributeAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) SharedDtor(); } @@ -1382,7 +1387,7 @@ const ::google::protobuf::Descriptor* MemberAttributeAssignment::descriptor() { } const MemberAttributeAssignment& MemberAttributeAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1414,18 +1419,18 @@ const int SubscriberStateOptions::kVoiceFieldNumber; SubscriberStateOptions::SubscriberStateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) } void SubscriberStateOptions::InitAsDefaultInstance() { - voice_ = const_cast< ::bgs::protocol::club::v1::MemberVoiceOptions*>(&::bgs::protocol::club::v1::MemberVoiceOptions::default_instance()); + 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.SubscriberStateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) } void SubscriberStateOptions::SharedCtor() { @@ -1435,7 +1440,7 @@ void SubscriberStateOptions::SharedCtor() { } SubscriberStateOptions::~SubscriberStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateOptions) SharedDtor(); } @@ -1456,7 +1461,7 @@ const ::google::protobuf::Descriptor* SubscriberStateOptions::descriptor() { } const SubscriberStateOptions& SubscriberStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1490,19 +1495,19 @@ const int SubscriberStateAssignment::kVoiceFieldNumber; SubscriberStateAssignment::SubscriberStateAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateAssignment) + // @@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::MemberVoiceState*>(&::bgs::protocol::club::v1::MemberVoiceState::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.SubscriberStateAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) } void SubscriberStateAssignment::SharedCtor() { @@ -1514,7 +1519,7 @@ void SubscriberStateAssignment::SharedCtor() { } SubscriberStateAssignment::~SubscriberStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) SharedDtor(); } @@ -1536,7 +1541,7 @@ const ::google::protobuf::Descriptor* SubscriberStateAssignment::descriptor() { } const SubscriberStateAssignment& SubscriberStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1572,7 +1577,7 @@ const int MemberStateOptions::kNoteFieldNumber; MemberStateOptions::MemberStateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateOptions) } void MemberStateOptions::InitAsDefaultInstance() { @@ -1582,7 +1587,7 @@ MemberStateOptions::MemberStateOptions(const MemberStateOptions& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateOptions) } void MemberStateOptions::SharedCtor() { @@ -1596,7 +1601,7 @@ void MemberStateOptions::SharedCtor() { } MemberStateOptions::~MemberStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateOptions) SharedDtor(); } @@ -1619,7 +1624,7 @@ const ::google::protobuf::Descriptor* MemberStateOptions::descriptor() { } const MemberStateOptions& MemberStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1656,7 +1661,7 @@ const int MemberStateAssignment::kNoteFieldNumber; MemberStateAssignment::MemberStateAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateAssignment) } void MemberStateAssignment::InitAsDefaultInstance() { @@ -1667,7 +1672,7 @@ MemberStateAssignment::MemberStateAssignment(const MemberStateAssignment& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateAssignment) } void MemberStateAssignment::SharedCtor() { @@ -1682,7 +1687,7 @@ void MemberStateAssignment::SharedCtor() { } MemberStateAssignment::~MemberStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateAssignment) SharedDtor(); } @@ -1706,7 +1711,7 @@ const ::google::protobuf::Descriptor* MemberStateAssignment::descriptor() { } const MemberStateAssignment& MemberStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); return *default_instance_; } @@ -1731,6 +1736,7 @@ void MemberStateAssignment::Swap(MemberStateAssignment* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_member.pb.h b/src/server/proto/Client/api/client/v1/club_member.pb.h index 48d329c370d..1e08c2d8c01 100644 --- a/src/server/proto/Client/club_member.pb.h +++ b/src/server/proto/Client/api/client/v1/club_member.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member.proto +// source: api/client/v1/club_member.proto -#ifndef PROTOBUF_club_5fmember_2eproto__INCLUDED -#define PROTOBUF_club_5fmember_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED #include <string> @@ -24,9 +24,9 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_member_id.pb.h" // IWYU pragma: export -#include "api/client/v2/attribute_types.pb.h" -#include "club_enum.pb.h" +#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) @@ -35,11 +35,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -151,12 +152,12 @@ class TC_PROTO_API Member : public ::google::protobuf::Message { 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; + // 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::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); + 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; @@ -165,12 +166,12 @@ class TC_PROTO_API Member : public ::google::protobuf::Message { inline bool moderator_mute() const; inline void set_moderator_mute(bool value); - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 8; + // 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::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); + 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; @@ -191,16 +192,16 @@ class TC_PROTO_API Member : public ::google::protobuf::Message { inline bool active() const; inline void set_active(bool value); - // optional .bgs.protocol.club.v1.MemberVoiceState voice = 51; + // 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::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); + 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.Member) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Member) private: inline void set_has_id(); inline void clear_has_id(); @@ -233,12 +234,12 @@ class TC_PROTO_API Member : public ::google::protobuf::Message { int presence_level_; int whisper_level_; ::std::string* note_; - ::bgs::protocol::club::v1::MemberVoiceState* voice_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -301,7 +302,7 @@ class TC_PROTO_API MemberResult : public ::google::protobuf::Message { inline ::google::protobuf::uint32 status() const; inline void set_status(::google::protobuf::uint32 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberResult) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberResult) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -314,9 +315,9 @@ class TC_PROTO_API MemberResult : public ::google::protobuf::Message { 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(); + 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_; @@ -372,14 +373,14 @@ class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message { 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; + // 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::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); + 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.RemoveMemberOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveMemberOptions) private: inline void set_has_id(); inline void clear_has_id(); @@ -392,9 +393,9 @@ class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message { 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(); + 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_; @@ -450,14 +451,14 @@ class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message 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; + // 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::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); + 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.MemberRemovedAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedAssignment) private: inline void set_has_id(); inline void clear_has_id(); @@ -470,9 +471,9 @@ class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message 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(); + 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_; @@ -533,12 +534,12 @@ class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { inline bool joined() const; inline void set_joined(bool value); - // optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 3; + // 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::VoiceMicrophoneState microphone() const; - inline void set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value); + 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; @@ -547,7 +548,7 @@ class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { inline bool active() const; inline void set_active(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberVoiceOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceOptions) private: inline void set_has_stream_id(); inline void clear_has_stream_id(); @@ -566,9 +567,9 @@ class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { 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(); + 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_; @@ -641,12 +642,12 @@ class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { inline bool joined() const; inline void set_joined(bool value); - // optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 4; + // 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::VoiceMicrophoneState microphone() const; - inline void set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value); + 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; @@ -655,7 +656,7 @@ class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { inline bool active() const; inline void set_active(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberVoiceState) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceState) private: inline void set_has_id(); inline void clear_has_id(); @@ -677,9 +678,9 @@ class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { 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(); + 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_; @@ -754,7 +755,7 @@ class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMemberOptions) private: inline void set_has_id(); inline void clear_has_id(); @@ -768,9 +769,9 @@ class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message { ::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(); + 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_; @@ -838,7 +839,7 @@ class TC_PROTO_API MemberDescription : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberDescription) private: inline void set_has_id(); inline void clear_has_id(); @@ -851,9 +852,9 @@ class TC_PROTO_API MemberDescription : public ::google::protobuf::Message { 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(); + 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_; @@ -921,7 +922,7 @@ class TC_PROTO_API RoleOptions : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_role(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RoleOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleOptions) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -932,9 +933,9 @@ class TC_PROTO_API RoleOptions : public ::google::protobuf::Message { 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(); + 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_; @@ -1002,7 +1003,7 @@ class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_role(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RoleAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleAssignment) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -1013,9 +1014,9 @@ class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message { 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(); + 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_; @@ -1083,7 +1084,7 @@ class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Messag inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* mutable_attribute(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberAttributeAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAttributeAssignment) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -1094,9 +1095,9 @@ class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Messag 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(); + 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_; @@ -1143,16 +1144,16 @@ class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.MemberVoiceOptions voice = 1; + // 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::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); + 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.SubscriberStateOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateOptions) private: inline void set_has_voice(); inline void clear_has_voice(); @@ -1161,10 +1162,10 @@ class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message { ::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(); + ::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_; @@ -1227,16 +1228,16 @@ class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Messag inline bool active() const; inline void set_active(bool value); - // optional .bgs.protocol.club.v1.MemberVoiceState voice = 3; + // 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::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); + 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.SubscriberStateAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateAssignment) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -1250,11 +1251,11 @@ class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Messag ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::MemberVoiceState* voice_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -1313,12 +1314,12 @@ class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* mutable_attribute(); - // optional .bgs.protocol.club.v1.PresenceLevel presence_level = 2; + // 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::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); + 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; @@ -1327,12 +1328,12 @@ class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { inline bool moderator_mute() const; inline void set_moderator_mute(bool value); - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 4; + // 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::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); + 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; @@ -1346,7 +1347,7 @@ class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { inline ::std::string* release_note(); inline void set_allocated_note(::std::string* note); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateOptions) private: inline void set_has_presence_level(); inline void clear_has_presence_level(); @@ -1366,9 +1367,9 @@ class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { 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(); + 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_; @@ -1436,12 +1437,12 @@ class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* mutable_attribute(); - // optional .bgs.protocol.club.v1.PresenceLevel presence_level = 3; + // 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::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); + 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; @@ -1450,12 +1451,12 @@ class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { inline bool moderator_mute() const; inline void set_moderator_mute(bool value); - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 5; + // 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::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); + 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; @@ -1469,7 +1470,7 @@ class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { inline ::std::string* release_note(); inline void set_allocated_note(::std::string* note); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateAssignment) private: inline void set_has_member_id(); inline void clear_has_member_id(); @@ -1492,9 +1493,9 @@ class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { 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(); + 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_; @@ -1522,13 +1523,13 @@ inline void Member::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& Member::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.id) + // @@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.Member.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* Member::release_id() { @@ -1545,7 +1546,7 @@ inline void Member::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.id) } // optional string battle_tag = 2; @@ -1565,7 +1566,7 @@ inline void Member::clear_battle_tag() { clear_has_battle_tag(); } inline const ::std::string& Member::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.battle_tag) + // @@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) { @@ -1574,7 +1575,7 @@ inline void Member::set_battle_tag(const ::std::string& value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.battle_tag) + // @@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(); @@ -1582,7 +1583,7 @@ inline void Member::set_battle_tag(const char* value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Member.battle_tag) + // @@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(); @@ -1590,14 +1591,14 @@ inline void Member::set_battle_tag(const char* value, size_t size) { battle_tag_ = new ::std::string; } battle_tag_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Member.battle_tag) + // @@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.Member.battle_tag) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.battle_tag) return battle_tag_; } inline ::std::string* Member::release_battle_tag() { @@ -1621,7 +1622,7 @@ inline void Member::set_allocated_battle_tag(::std::string* battle_tag) { 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.battle_tag) } // repeated uint32 role = 3 [packed = true]; @@ -1632,25 +1633,25 @@ 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) + // @@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.Member.role) + // @@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.Member.role) + // @@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.Member.role) + // @@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.Member.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.role) return &role_; } @@ -1662,25 +1663,25 @@ 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) + // @@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.Member.attribute) + // @@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.Member.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.Member.attribute) + // @@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.Member.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.attribute) return &attribute_; } @@ -1699,16 +1700,16 @@ inline void Member::clear_join_time() { clear_has_join_time(); } inline ::google::protobuf::uint64 Member::join_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.join_time) + // @@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.Member.join_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.join_time) } -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 6; +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6; inline bool Member::has_presence_level() const { return (_has_bits_[0] & 0x00000020u) != 0; } @@ -1722,15 +1723,15 @@ 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 ::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::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); +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.Member.presence_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.presence_level) } // optional bool moderator_mute = 7; @@ -1748,16 +1749,16 @@ inline void Member::clear_moderator_mute() { clear_has_moderator_mute(); } inline bool Member::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.moderator_mute) + // @@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.Member.moderator_mute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.moderator_mute) } -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 8; +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8; inline bool Member::has_whisper_level() const { return (_has_bits_[0] & 0x00000080u) != 0; } @@ -1771,15 +1772,15 @@ 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 ::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::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); +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.Member.whisper_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.whisper_level) } // optional string note = 9; @@ -1799,7 +1800,7 @@ inline void Member::clear_note() { clear_has_note(); } inline const ::std::string& Member::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.note) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.note) return *note_; } inline void Member::set_note(const ::std::string& value) { @@ -1808,7 +1809,7 @@ inline void Member::set_note(const ::std::string& value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.note) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.note) } inline void Member::set_note(const char* value) { set_has_note(); @@ -1816,7 +1817,7 @@ inline void Member::set_note(const char* value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Member.note) + // @@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(); @@ -1824,14 +1825,14 @@ inline void Member::set_note(const char* value, size_t size) { note_ = new ::std::string; } note_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Member.note) + // @@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.Member.note) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.note) return note_; } inline ::std::string* Member::release_note() { @@ -1855,7 +1856,7 @@ inline void Member::set_allocated_note(::std::string* note) { clear_has_note(); note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.note) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.note) } // optional bool active = 50; @@ -1873,16 +1874,16 @@ inline void Member::clear_active() { clear_has_active(); } inline bool Member::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.active) + // @@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.Member.active) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.active) } -// optional .bgs.protocol.club.v1.MemberVoiceState voice = 51; +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51; inline bool Member::has_voice() const { return (_has_bits_[0] & 0x00000400u) != 0; } @@ -1893,26 +1894,26 @@ 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(); + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::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) +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::MemberVoiceState* Member::mutable_voice() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberVoiceState* Member::release_voice() { +inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::release_voice() { clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceState* temp = voice_; + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; voice_ = NULL; return temp; } -inline void Member::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice) { +inline void Member::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { delete voice_; voice_ = voice; if (voice) { @@ -1920,7 +1921,7 @@ inline void Member::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceSt } else { clear_has_voice(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.voice) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.voice) } // ------------------------------------------------------------------- @@ -1942,13 +1943,13 @@ inline void MemberResult::clear_member_id() { 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) + // @@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.MemberResult.member_id) + // @@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() { @@ -1965,7 +1966,7 @@ inline void MemberResult::set_allocated_member_id(::bgs::protocol::club::v1::Mem } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberResult.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberResult.member_id) } // optional uint32 status = 2; @@ -1983,13 +1984,13 @@ inline void MemberResult::clear_status() { clear_has_status(); } inline ::google::protobuf::uint32 MemberResult::status() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberResult.status) + // @@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.MemberResult.status) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberResult.status) } // ------------------------------------------------------------------- @@ -2011,13 +2012,13 @@ inline void RemoveMemberOptions::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& RemoveMemberOptions::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveMemberOptions.id) + // @@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.RemoveMemberOptions.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveMemberOptions.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::release_id() { @@ -2034,10 +2035,10 @@ inline void RemoveMemberOptions::set_allocated_id(::bgs::protocol::club::v1::Mem } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveMemberOptions.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveMemberOptions.id) } -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; inline bool RemoveMemberOptions::has_reason() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -2051,15 +2052,15 @@ 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 ::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::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); +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.RemoveMemberOptions.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveMemberOptions.reason) } // ------------------------------------------------------------------- @@ -2081,13 +2082,13 @@ inline void MemberRemovedAssignment::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedAssignment::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedAssignment.id) + // @@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.MemberRemovedAssignment.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::release_id() { @@ -2104,10 +2105,10 @@ inline void MemberRemovedAssignment::set_allocated_id(::bgs::protocol::club::v1: } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRemovedAssignment.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) } -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; inline bool MemberRemovedAssignment::has_reason() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -2121,15 +2122,15 @@ 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 ::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::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); +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.MemberRemovedAssignment.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason) } // ------------------------------------------------------------------- @@ -2151,13 +2152,13 @@ inline void MemberVoiceOptions::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 MemberVoiceOptions::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.stream_id) + // @@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.MemberVoiceOptions.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id) } // optional bool joined = 2; @@ -2175,16 +2176,16 @@ inline void MemberVoiceOptions::clear_joined() { clear_has_joined(); } inline bool MemberVoiceOptions::joined() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.joined) + // @@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.MemberVoiceOptions.joined) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.joined) } -// optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 3; +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3; inline bool MemberVoiceOptions::has_microphone() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2198,15 +2199,15 @@ 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 ::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::VoiceMicrophoneState value) { - assert(::bgs::protocol::club::v1::VoiceMicrophoneState_IsValid(value)); +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.MemberVoiceOptions.microphone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone) } // optional bool active = 4; @@ -2224,13 +2225,13 @@ inline void MemberVoiceOptions::clear_active() { clear_has_active(); } inline bool MemberVoiceOptions::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.active) + // @@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.MemberVoiceOptions.active) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.active) } // ------------------------------------------------------------------- @@ -2254,7 +2255,7 @@ inline void MemberVoiceState::clear_id() { clear_has_id(); } inline const ::std::string& MemberVoiceState::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.id) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.id) return *id_; } inline void MemberVoiceState::set_id(const ::std::string& value) { @@ -2263,7 +2264,7 @@ inline void MemberVoiceState::set_id(const ::std::string& value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.id) } inline void MemberVoiceState::set_id(const char* value) { set_has_id(); @@ -2271,7 +2272,7 @@ inline void MemberVoiceState::set_id(const char* value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberVoiceState.id) + // @@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(); @@ -2279,14 +2280,14 @@ inline void MemberVoiceState::set_id(const char* value, size_t size) { id_ = new ::std::string; } id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberVoiceState.id) + // @@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.MemberVoiceState.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberVoiceState.id) return id_; } inline ::std::string* MemberVoiceState::release_id() { @@ -2310,7 +2311,7 @@ inline void MemberVoiceState::set_allocated_id(::std::string* id) { clear_has_id(); id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberVoiceState.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberVoiceState.id) } // optional uint64 stream_id = 2; @@ -2328,13 +2329,13 @@ inline void MemberVoiceState::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 MemberVoiceState::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.stream_id) + // @@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.MemberVoiceState.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.stream_id) } // optional bool joined = 3; @@ -2352,16 +2353,16 @@ inline void MemberVoiceState::clear_joined() { clear_has_joined(); } inline bool MemberVoiceState::joined() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.joined) + // @@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.MemberVoiceState.joined) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.joined) } -// optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 4; +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4; inline bool MemberVoiceState::has_microphone() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -2375,15 +2376,15 @@ 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 ::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::VoiceMicrophoneState value) { - assert(::bgs::protocol::club::v1::VoiceMicrophoneState_IsValid(value)); +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.MemberVoiceState.microphone) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.microphone) } // optional bool active = 5; @@ -2401,13 +2402,13 @@ inline void MemberVoiceState::clear_active() { clear_has_active(); } inline bool MemberVoiceState::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.active) + // @@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.MemberVoiceState.active) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.active) } // ------------------------------------------------------------------- @@ -2429,13 +2430,13 @@ inline void CreateMemberOptions::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& CreateMemberOptions::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMemberOptions.id) + // @@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.CreateMemberOptions.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::release_id() { @@ -2452,7 +2453,7 @@ inline void CreateMemberOptions::set_allocated_id(::bgs::protocol::club::v1::Mem } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMemberOptions.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMemberOptions.id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -2463,25 +2464,25 @@ 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) + // @@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.CreateMemberOptions.attribute) + // @@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.CreateMemberOptions.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.CreateMemberOptions.attribute) + // @@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.CreateMemberOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) return &attribute_; } @@ -2500,13 +2501,13 @@ inline void CreateMemberOptions::clear_join_club_source() { 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) + // @@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.CreateMemberOptions.join_club_source) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source) } // ------------------------------------------------------------------- @@ -2528,13 +2529,13 @@ inline void MemberDescription::clear_id() { clear_has_id(); } inline const ::bgs::protocol::club::v1::MemberId& MemberDescription::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberDescription.id) + // @@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.MemberDescription.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.id) return id_; } inline ::bgs::protocol::club::v1::MemberId* MemberDescription::release_id() { @@ -2551,7 +2552,7 @@ inline void MemberDescription::set_allocated_id(::bgs::protocol::club::v1::Membe } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberDescription.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.id) } // optional string battle_tag = 2; @@ -2571,7 +2572,7 @@ inline void MemberDescription::clear_battle_tag() { clear_has_battle_tag(); } inline const ::std::string& MemberDescription::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberDescription.battle_tag) + // @@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) { @@ -2580,7 +2581,7 @@ inline void MemberDescription::set_battle_tag(const ::std::string& value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberDescription.battle_tag) + // @@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(); @@ -2588,7 +2589,7 @@ inline void MemberDescription::set_battle_tag(const char* value) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberDescription.battle_tag) + // @@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(); @@ -2596,14 +2597,14 @@ inline void MemberDescription::set_battle_tag(const char* value, size_t size) { battle_tag_ = new ::std::string; } battle_tag_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberDescription.battle_tag) + // @@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.MemberDescription.battle_tag) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.battle_tag) return battle_tag_; } inline ::std::string* MemberDescription::release_battle_tag() { @@ -2627,7 +2628,7 @@ inline void MemberDescription::set_allocated_battle_tag(::std::string* battle_ta 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.battle_tag) } // ------------------------------------------------------------------- @@ -2649,13 +2650,13 @@ inline void RoleOptions::clear_member_id() { 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) + // @@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.RoleOptions.member_id) + // @@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() { @@ -2672,7 +2673,7 @@ inline void RoleOptions::set_allocated_member_id(::bgs::protocol::club::v1::Memb } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RoleOptions.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleOptions.member_id) } // repeated uint32 role = 2 [packed = true]; @@ -2683,25 +2684,25 @@ 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) + // @@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.RoleOptions.role) + // @@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.RoleOptions.role) + // @@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.RoleOptions.role) + // @@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.RoleOptions.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleOptions.role) return &role_; } @@ -2724,13 +2725,13 @@ inline void RoleAssignment::clear_member_id() { 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) + // @@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.RoleAssignment.member_id) + // @@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() { @@ -2747,7 +2748,7 @@ inline void RoleAssignment::set_allocated_member_id(::bgs::protocol::club::v1::M } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RoleAssignment.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleAssignment.member_id) } // repeated uint32 role = 2 [packed = true]; @@ -2758,25 +2759,25 @@ 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) + // @@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.RoleAssignment.role) + // @@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.RoleAssignment.role) + // @@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.RoleAssignment.role) + // @@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.RoleAssignment.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleAssignment.role) return &role_; } @@ -2799,13 +2800,13 @@ inline void MemberAttributeAssignment::clear_member_id() { 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) + // @@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.MemberAttributeAssignment.member_id) + // @@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() { @@ -2822,7 +2823,7 @@ inline void MemberAttributeAssignment::set_allocated_member_id(::bgs::protocol:: } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberAttributeAssignment.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -2833,25 +2834,25 @@ 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) + // @@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.MemberAttributeAssignment.attribute) + // @@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.MemberAttributeAssignment.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.MemberAttributeAssignment.attribute) + // @@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.MemberAttributeAssignment.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) return &attribute_; } @@ -2859,7 +2860,7 @@ MemberAttributeAssignment::mutable_attribute() { // SubscriberStateOptions -// optional .bgs.protocol.club.v1.MemberVoiceOptions voice = 1; +// optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1; inline bool SubscriberStateOptions::has_voice() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -2870,26 +2871,26 @@ 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(); + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::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) +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::MemberVoiceOptions* SubscriberStateOptions::mutable_voice() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberVoiceOptions* SubscriberStateOptions::release_voice() { +inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::release_voice() { clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceOptions* temp = voice_; + ::bgs::protocol::club::v1::client::MemberVoiceOptions* temp = voice_; voice_ = NULL; return temp; } -inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceOptions* voice) { +inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice) { delete voice_; voice_ = voice; if (voice) { @@ -2897,7 +2898,7 @@ inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v } else { clear_has_voice(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateOptions.voice) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) } // ------------------------------------------------------------------- @@ -2919,13 +2920,13 @@ inline void SubscriberStateAssignment::clear_member_id() { 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) + // @@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.SubscriberStateAssignment.member_id) + // @@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() { @@ -2942,7 +2943,7 @@ inline void SubscriberStateAssignment::set_allocated_member_id(::bgs::protocol:: } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateAssignment.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) } // optional bool active = 2; @@ -2960,16 +2961,16 @@ inline void SubscriberStateAssignment::clear_active() { clear_has_active(); } inline bool SubscriberStateAssignment::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateAssignment.active) + // @@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.SubscriberStateAssignment.active) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateAssignment.active) } -// optional .bgs.protocol.club.v1.MemberVoiceState voice = 3; +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3; inline bool SubscriberStateAssignment::has_voice() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2980,26 +2981,26 @@ 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(); + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::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) +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::MemberVoiceState* SubscriberStateAssignment::mutable_voice() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberVoiceState* SubscriberStateAssignment::release_voice() { +inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::release_voice() { clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceState* temp = voice_; + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; voice_ = NULL; return temp; } -inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice) { +inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { delete voice_; voice_ = voice; if (voice) { @@ -3007,7 +3008,7 @@ inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club } else { clear_has_voice(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateAssignment.voice) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) } // ------------------------------------------------------------------- @@ -3022,29 +3023,29 @@ 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) + // @@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.MemberStateOptions.attribute) + // @@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.MemberStateOptions.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.MemberStateOptions.attribute) + // @@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.MemberStateOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute) return &attribute_; } -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 2; +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2; inline bool MemberStateOptions::has_presence_level() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -3058,15 +3059,15 @@ 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 ::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::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); +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.MemberStateOptions.presence_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.presence_level) } // optional bool moderator_mute = 3; @@ -3084,16 +3085,16 @@ inline void MemberStateOptions::clear_moderator_mute() { clear_has_moderator_mute(); } inline bool MemberStateOptions::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.moderator_mute) + // @@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.MemberStateOptions.moderator_mute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute) } -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 4; +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4; inline bool MemberStateOptions::has_whisper_level() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -3107,15 +3108,15 @@ 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 ::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::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); +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.MemberStateOptions.whisper_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level) } // optional string note = 5; @@ -3135,7 +3136,7 @@ inline void MemberStateOptions::clear_note() { clear_has_note(); } inline const ::std::string& MemberStateOptions::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.note) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.note) return *note_; } inline void MemberStateOptions::set_note(const ::std::string& value) { @@ -3144,7 +3145,7 @@ inline void MemberStateOptions::set_note(const ::std::string& value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateOptions.note) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.note) } inline void MemberStateOptions::set_note(const char* value) { set_has_note(); @@ -3152,7 +3153,7 @@ inline void MemberStateOptions::set_note(const char* value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberStateOptions.note) + // @@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(); @@ -3160,14 +3161,14 @@ inline void MemberStateOptions::set_note(const char* value, size_t size) { note_ = new ::std::string; } note_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberStateOptions.note) + // @@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.MemberStateOptions.note) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.note) return note_; } inline ::std::string* MemberStateOptions::release_note() { @@ -3191,7 +3192,7 @@ inline void MemberStateOptions::set_allocated_note(::std::string* note) { clear_has_note(); note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateOptions.note) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateOptions.note) } // ------------------------------------------------------------------- @@ -3213,13 +3214,13 @@ inline void MemberStateAssignment::clear_member_id() { 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) + // @@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.MemberStateAssignment.member_id) + // @@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() { @@ -3236,7 +3237,7 @@ inline void MemberStateAssignment::set_allocated_member_id(::bgs::protocol::club } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateAssignment.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -3247,29 +3248,29 @@ 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) + // @@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.MemberStateAssignment.attribute) + // @@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.MemberStateAssignment.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.MemberStateAssignment.attribute) + // @@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.MemberStateAssignment.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) return &attribute_; } -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 3; +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3; inline bool MemberStateAssignment::has_presence_level() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -3283,15 +3284,15 @@ 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 ::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::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); +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.MemberStateAssignment.presence_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level) } // optional bool moderator_mute = 4; @@ -3309,16 +3310,16 @@ inline void MemberStateAssignment::clear_moderator_mute() { clear_has_moderator_mute(); } inline bool MemberStateAssignment::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.moderator_mute) + // @@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.MemberStateAssignment.moderator_mute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute) } -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 5; +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5; inline bool MemberStateAssignment::has_whisper_level() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -3332,15 +3333,15 @@ 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 ::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::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); +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.MemberStateAssignment.whisper_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level) } // optional string note = 6; @@ -3360,7 +3361,7 @@ inline void MemberStateAssignment::clear_note() { clear_has_note(); } inline const ::std::string& MemberStateAssignment::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.note) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.note) return *note_; } inline void MemberStateAssignment::set_note(const ::std::string& value) { @@ -3369,7 +3370,7 @@ inline void MemberStateAssignment::set_note(const ::std::string& value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateAssignment.note) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.note) } inline void MemberStateAssignment::set_note(const char* value) { set_has_note(); @@ -3377,7 +3378,7 @@ inline void MemberStateAssignment::set_note(const char* value) { note_ = new ::std::string; } note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberStateAssignment.note) + // @@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(); @@ -3385,14 +3386,14 @@ inline void MemberStateAssignment::set_note(const char* value, size_t size) { note_ = new ::std::string; } note_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberStateAssignment.note) + // @@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.MemberStateAssignment.note) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.note) return note_; } inline ::std::string* MemberStateAssignment::release_note() { @@ -3416,11 +3417,12 @@ inline void MemberStateAssignment::set_allocated_note(::std::string* note) { 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(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.note) } // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol @@ -3435,4 +3437,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fmember_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_listener.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc index ed7ed29004e..d6247643f2a 100644 --- a/src/server/proto/Client/club_membership_listener.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_listener.proto +// source: api/client/v1/club_membership_listener.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_listener.pb.h" +#include "api/client/v1/club_membership_listener.pb.h" #include <utility> @@ -19,9 +19,9 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { -namespace membership { +namespace client { namespace { @@ -53,11 +53,11 @@ const ::google::protobuf::ServiceDescriptor* ClubMembershipListener_descriptor_ } // namespace -void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto() { - protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); +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( - "club_membership_listener.proto"); + "api/client/v1/club_membership_listener.proto"); GOOGLE_CHECK(file != NULL); ClubAddedNotification_descriptor_ = file->message_type(0); static const int ClubAddedNotification_offsets_[2] = { @@ -127,7 +127,8 @@ void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto() { ::google::protobuf::MessageFactory::generated_factory(), sizeof(ReceivedInvitationRemovedNotification)); SharedSettingsChangedNotification_descriptor_ = file->message_type(4); - static const int SharedSettingsChangedNotification_offsets_[2] = { + 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_), }; @@ -159,9 +160,10 @@ void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto() { ::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_), + 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( @@ -175,9 +177,10 @@ void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto() { ::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_), + 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( @@ -198,7 +201,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5flistener_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -223,7 +226,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { delete ClubAddedNotification::default_instance_; delete ClubAddedNotification_reflection_; delete ClubRemovedNotification::default_instance_; @@ -242,77 +245,86 @@ void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto() { delete StreamMentionAdvanceViewTimeNotification_reflection_; } -void protobuf_AddDesc_club_5fmembership_5flistener_2eproto() { +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::protobuf_AddDesc_club_5ftypes_2eproto(); + ::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\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); + "\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( - "club_membership_listener.proto", &protobuf_RegisterTypes); + "api/client/v1/club_membership_listener.proto", &protobuf_RegisterTypes); ClubAddedNotification::default_instance_ = new ClubAddedNotification(); ClubRemovedNotification::default_instance_ = new ClubRemovedNotification(); ReceivedInvitationAddedNotification::default_instance_ = new ReceivedInvitationAddedNotification(); @@ -329,15 +341,15 @@ void protobuf_AddDesc_club_5fmembership_5flistener_2eproto() { StreamMentionAddedNotification::default_instance_->InitAsDefaultInstance(); StreamMentionRemovedNotification::default_instance_->InitAsDefaultInstance(); StreamMentionAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fmembership_5flistener_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -348,19 +360,19 @@ const int ClubAddedNotification::kMembershipFieldNumber; ClubAddedNotification::ClubAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ClubAddedNotification) + // @@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::v1::ClubMembershipDescription*>(&::bgs::protocol::club::v1::ClubMembershipDescription::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.v1.membership.ClubAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) } void ClubAddedNotification::SharedCtor() { @@ -371,7 +383,7 @@ void ClubAddedNotification::SharedCtor() { } ClubAddedNotification::~ClubAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ClubAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) SharedDtor(); } @@ -393,7 +405,7 @@ const ::google::protobuf::Descriptor* ClubAddedNotification::descriptor() { } const ClubAddedNotification& ClubAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -428,7 +440,7 @@ const int ClubRemovedNotification::kReasonFieldNumber; ClubRemovedNotification::ClubRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) } void ClubRemovedNotification::InitAsDefaultInstance() { @@ -440,7 +452,7 @@ ClubRemovedNotification::ClubRemovedNotification(const ClubRemovedNotification& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) } void ClubRemovedNotification::SharedCtor() { @@ -453,7 +465,7 @@ void ClubRemovedNotification::SharedCtor() { } ClubRemovedNotification::~ClubRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) SharedDtor(); } @@ -475,7 +487,7 @@ const ::google::protobuf::Descriptor* ClubRemovedNotification::descriptor() { } const ClubRemovedNotification& ClubRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -508,19 +520,19 @@ const int ReceivedInvitationAddedNotification::kInvitationFieldNumber; ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) + // @@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::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::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.v1.membership.ReceivedInvitationAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) } void ReceivedInvitationAddedNotification::SharedCtor() { @@ -531,7 +543,7 @@ void ReceivedInvitationAddedNotification::SharedCtor() { } ReceivedInvitationAddedNotification::~ReceivedInvitationAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) SharedDtor(); } @@ -553,7 +565,7 @@ const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification::descr } const ReceivedInvitationAddedNotification& ReceivedInvitationAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -587,7 +599,7 @@ const int ReceivedInvitationRemovedNotification::kReasonFieldNumber; ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) } void ReceivedInvitationRemovedNotification::InitAsDefaultInstance() { @@ -598,7 +610,7 @@ ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification(con : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) } void ReceivedInvitationRemovedNotification::SharedCtor() { @@ -610,7 +622,7 @@ void ReceivedInvitationRemovedNotification::SharedCtor() { } ReceivedInvitationRemovedNotification::~ReceivedInvitationRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) SharedDtor(); } @@ -631,7 +643,7 @@ const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification::des } const ReceivedInvitationRemovedNotification& ReceivedInvitationRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -657,6 +669,7 @@ void ReceivedInvitationRemovedNotification::Swap(ReceivedInvitationRemovedNotifi // =================================================================== #ifndef _MSC_VER +const int SharedSettingsChangedNotification::kAgentIdDeprecatedFieldNumber; const int SharedSettingsChangedNotification::kAgentIdFieldNumber; const int SharedSettingsChangedNotification::kAssignmentFieldNumber; #endif // !_MSC_VER @@ -664,36 +677,37 @@ const int SharedSettingsChangedNotification::kAssignmentFieldNumber; SharedSettingsChangedNotification::SharedSettingsChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.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()); + 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.v1.membership.SharedSettingsChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) } void SharedSettingsChangedNotification::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + 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.v1.membership.SharedSettingsChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) SharedDtor(); } void SharedSettingsChangedNotification::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete assignment_; } } @@ -709,7 +723,7 @@ const ::google::protobuf::Descriptor* SharedSettingsChangedNotification::descrip } const SharedSettingsChangedNotification& SharedSettingsChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -742,19 +756,19 @@ const int StreamMentionAddedNotification::kMentionFieldNumber; StreamMentionAddedNotification::StreamMentionAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) + // @@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::StreamMention*>(&::bgs::protocol::club::v1::StreamMention::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.v1.membership.StreamMentionAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) } void StreamMentionAddedNotification::SharedCtor() { @@ -765,7 +779,7 @@ void StreamMentionAddedNotification::SharedCtor() { } StreamMentionAddedNotification::~StreamMentionAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) SharedDtor(); } @@ -787,7 +801,7 @@ const ::google::protobuf::Descriptor* StreamMentionAddedNotification::descriptor } const StreamMentionAddedNotification& StreamMentionAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -813,18 +827,19 @@ void StreamMentionAddedNotification::Swap(StreamMentionAddedNotification* other) // =================================================================== #ifndef _MSC_VER -const int StreamMentionRemovedNotification::kAgentIdFieldNumber; +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.v1.membership.StreamMentionRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) } void StreamMentionRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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()); } @@ -832,24 +847,25 @@ StreamMentionRemovedNotification::StreamMentionRemovedNotification(const StreamM : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) } void StreamMentionRemovedNotification::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + 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.v1.membership.StreamMentionRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) SharedDtor(); } void StreamMentionRemovedNotification::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete mention_id_; } } @@ -865,7 +881,7 @@ const ::google::protobuf::Descriptor* StreamMentionRemovedNotification::descript } const StreamMentionRemovedNotification& StreamMentionRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -891,42 +907,44 @@ void StreamMentionRemovedNotification::Swap(StreamMentionRemovedNotification* ot // =================================================================== #ifndef _MSC_VER -const int StreamMentionAdvanceViewTimeNotification::kAgentIdFieldNumber; +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.v1.membership.StreamMentionAdvanceViewTimeNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) } void StreamMentionAdvanceViewTimeNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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.v1.membership.StreamMentionAdvanceViewTimeNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) } void StreamMentionAdvanceViewTimeNotification::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + 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.v1.membership.StreamMentionAdvanceViewTimeNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) SharedDtor(); } void StreamMentionAdvanceViewTimeNotification::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; } } @@ -941,7 +959,7 @@ const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification:: } const StreamMentionAdvanceViewTimeNotification& StreamMentionAdvanceViewTimeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); return *default_instance_; } @@ -977,43 +995,43 @@ google::protobuf::ServiceDescriptor const* ClubMembershipListener::descriptor() 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); +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::v1::membership::ClubRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnClubRemoved", "bgs.protocol.club.v1.membership.ClubRemovedNotification", 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::v1::membership::ReceivedInvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationAdded", "bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification", 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::v1::membership::ReceivedInvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationRemoved", "bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification", 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::v1::membership::SharedSettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnSharedSettingsChanged", "bgs.protocol.club.v1.membership.SharedSettingsChangedNotification", 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::v1::membership::StreamMentionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdded", "bgs.protocol.club.v1.membership.StreamMentionAddedNotification", 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::v1::membership::StreamMentionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionRemoved", "bgs.protocol.club.v1.membership.StreamMentionRemovedNotification", 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::v1::membership::StreamMentionAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdvanceViewTime", "bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification", 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); } @@ -1023,9 +1041,9 @@ void ClubMembershipListener::CallServerMethod(uint32 /*token*/, uint32 methodId, // @@protoc_insertion_point(namespace_scope) -} // namespace membership +} // namespace client } // namespace v1 -} // namespace club +} // namespace club_membership } // namespace protocol } // namespace bgs diff --git a/src/server/proto/Client/club_membership_listener.pb.h b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h index c68bb604bf1..99110109ce0 100644 --- a/src/server/proto/Client/club_membership_listener.pb.h +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_listener.proto +// source: api/client/v1/club_membership_listener.proto -#ifndef PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED #include <string> @@ -24,7 +24,8 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_types.pb.h" +#include "api/client/v1/club_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" #include "ServiceBase.h" #include "MessageBuffer.h" #include <functional> @@ -33,14 +34,14 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { -namespace membership { +namespace client { // 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(); +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; @@ -102,16 +103,16 @@ class TC_PROTO_API ClubAddedNotification : public ::google::protobuf::Message { 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; + // 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::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); + 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.v1.membership.ClubAddedNotification) + // @@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(); @@ -123,10 +124,10 @@ class TC_PROTO_API ClubAddedNotification : public ::google::protobuf::Message { ::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(); + ::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_; @@ -198,14 +199,14 @@ class TC_PROTO_API ClubRemovedNotification : public ::google::protobuf::Message inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubRemovedReason reason = 5; + // 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::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); + 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.membership.ClubRemovedNotification) + // @@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(); @@ -224,9 +225,9 @@ class TC_PROTO_API ClubRemovedNotification : public ::google::protobuf::Message ::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(); + 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_; @@ -282,16 +283,16 @@ class TC_PROTO_API ReceivedInvitationAddedNotification : public ::google::protob 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; + // 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::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); + 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.membership.ReceivedInvitationAddedNotification) + // @@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(); @@ -303,10 +304,10 @@ class TC_PROTO_API ReceivedInvitationAddedNotification : public ::google::protob ::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(); + ::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_; @@ -376,7 +377,7 @@ class TC_PROTO_API ReceivedInvitationRemovedNotification : public ::google::prot 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) + // @@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(); @@ -392,9 +393,9 @@ class TC_PROTO_API ReceivedInvitationRemovedNotification : public ::google::prot ::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(); + 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_; @@ -441,26 +442,35 @@ class TC_PROTO_API SharedSettingsChangedNotification : public ::google::protobuf // accessors ------------------------------------------------------- - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; + // 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 = 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); + 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.v1.ClubSharedSettingsAssignment assignment = 4; + // 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::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); + 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.v1.membership.SharedSettingsChangedNotification) + // @@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(); @@ -470,11 +480,12 @@ class TC_PROTO_API SharedSettingsChangedNotification : public ::google::protobuf ::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(); + ::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_; @@ -530,16 +541,16 @@ class TC_PROTO_API StreamMentionAddedNotification : public ::google::protobuf::M 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; + // 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::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); + 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.v1.membership.StreamMentionAddedNotification) + // @@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(); @@ -551,10 +562,10 @@ class TC_PROTO_API StreamMentionAddedNotification : public ::google::protobuf::M ::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(); + ::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_; @@ -601,14 +612,14 @@ class TC_PROTO_API StreamMentionRemovedNotification : public ::google::protobuf: // 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.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; @@ -619,22 +630,32 @@ class TC_PROTO_API StreamMentionRemovedNotification : public ::google::protobuf: 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) + // 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(); - inline void clear_has_agent_id(); + 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_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; ::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(); + ::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_; @@ -681,14 +702,14 @@ class TC_PROTO_API StreamMentionAdvanceViewTimeNotification : public ::google::p // 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.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; @@ -697,22 +718,32 @@ class TC_PROTO_API StreamMentionAdvanceViewTimeNotification : public ::google::p 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) + // 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(); - inline void clear_has_agent_id(); + 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_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; ::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(); + ::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_; @@ -731,19 +762,19 @@ class TC_PROTO_API ClubMembershipListener : public ServiceBase virtual ~ClubMembershipListener(); typedef std::integral_constant<uint32, 0x2B34597Bu> OriginalHash; - typedef std::integral_constant<uint32, 0x615039Eu> NameHash; + typedef std::integral_constant<uint32, 0x4C6AFE96u> 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 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; }; @@ -769,13 +800,13 @@ inline void ClubAddedNotification::clear_agent_id() { 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) + // @@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.v1.membership.ClubAddedNotification.agent_id) + // @@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() { @@ -792,10 +823,10 @@ inline void ClubAddedNotification::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) } -// optional .bgs.protocol.club.v1.ClubMembershipDescription membership = 3; +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipDescription membership = 3; inline bool ClubAddedNotification::has_membership() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -806,26 +837,26 @@ 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(); + if (membership_ != NULL) membership_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubMembershipDescription* ClubAddedNotification::mutable_membership() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubMembershipDescription* ClubAddedNotification::release_membership() { +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubAddedNotification::release_membership() { clear_has_membership(); - ::bgs::protocol::club::v1::ClubMembershipDescription* temp = membership_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* temp = membership_; membership_ = NULL; return temp; } -inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::club::v1::ClubMembershipDescription* membership) { +inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership) { delete membership_; membership_ = membership; if (membership) { @@ -833,7 +864,7 @@ inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::clu } else { clear_has_membership(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubAddedNotification.membership) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) } // ------------------------------------------------------------------- @@ -855,13 +886,13 @@ inline void ClubRemovedNotification::clear_agent_id() { 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) + // @@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.v1.membership.ClubRemovedNotification.agent_id) + // @@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() { @@ -878,7 +909,7 @@ inline void ClubRemovedNotification::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubRemovedNotification.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; @@ -896,13 +927,13 @@ inline void ClubRemovedNotification::clear_member_id() { 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) + // @@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.v1.membership.ClubRemovedNotification.member_id) + // @@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() { @@ -919,7 +950,7 @@ inline void ClubRemovedNotification::set_allocated_member_id(::bgs::protocol::cl } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubRemovedNotification.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) } // optional uint64 club_id = 4; @@ -937,16 +968,16 @@ inline void ClubRemovedNotification::clear_club_id() { 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) + // @@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.v1.membership.ClubRemovedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.club_id) } -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 5; +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 5; inline bool ClubRemovedNotification::has_reason() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -960,15 +991,15 @@ 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 ::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::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); +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.v1.membership.ClubRemovedNotification.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.reason) } // ------------------------------------------------------------------- @@ -990,13 +1021,13 @@ inline void ReceivedInvitationAddedNotification::clear_agent_id() { 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) + // @@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.v1.membership.ReceivedInvitationAddedNotification.agent_id) + // @@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() { @@ -1013,10 +1044,10 @@ inline void ReceivedInvitationAddedNotification::set_allocated_agent_id(::bgs::p } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) } -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 3; +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 3; inline bool ReceivedInvitationAddedNotification::has_invitation() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1027,26 +1058,26 @@ 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(); + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::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) +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::ClubInvitation* ReceivedInvitationAddedNotification::mutable_invitation() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubInvitation* ReceivedInvitationAddedNotification::release_invitation() { +inline ::bgs::protocol::club::v1::client::ClubInvitation* ReceivedInvitationAddedNotification::release_invitation() { clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; invitation_ = NULL; return temp; } -inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { +inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { delete invitation_; invitation_ = invitation; if (invitation) { @@ -1054,7 +1085,7 @@ inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs: } else { clear_has_invitation(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.invitation) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) } // ------------------------------------------------------------------- @@ -1076,13 +1107,13 @@ inline void ReceivedInvitationRemovedNotification::clear_agent_id() { 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) + // @@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.v1.membership.ReceivedInvitationRemovedNotification.agent_id) + // @@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() { @@ -1099,7 +1130,7 @@ inline void ReceivedInvitationRemovedNotification::set_allocated_agent_id(::bgs: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) } // optional fixed64 invitation_id = 3; @@ -1117,13 +1148,13 @@ inline void ReceivedInvitationRemovedNotification::clear_invitation_id() { 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) + // @@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.v1.membership.ReceivedInvitationRemovedNotification.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.invitation_id) } // optional .bgs.protocol.InvitationRemovedReason reason = 4; @@ -1141,92 +1172,116 @@ inline void ReceivedInvitationRemovedNotification::clear_reason() { clear_has_reason(); } inline ::bgs::protocol::InvitationRemovedReason ReceivedInvitationRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.reason) + // @@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.v1.membership.ReceivedInvitationRemovedNotification.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.reason) } // ------------------------------------------------------------------- // SharedSettingsChangedNotification -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool SharedSettingsChangedNotification::has_agent_id() const { +// 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() { +inline void SharedSettingsChangedNotification::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void SharedSettingsChangedNotification::clear_has_agent_id() { +inline void SharedSettingsChangedNotification::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) } -// optional .bgs.protocol.club.v1.ClubSharedSettingsAssignment assignment = 4; -inline bool SharedSettingsChangedNotification::has_assignment() const { +// optional uint64 agent_id = 3; +inline bool SharedSettingsChangedNotification::has_agent_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void SharedSettingsChangedNotification::set_has_assignment() { +inline void SharedSettingsChangedNotification::set_has_agent_id() { _has_bits_[0] |= 0x00000002u; } -inline void SharedSettingsChangedNotification::clear_has_assignment() { +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::v1::ClubSharedSettingsAssignment::Clear(); + if (assignment_ != NULL) assignment_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::mutable_assignment() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::release_assignment() { +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::release_assignment() { clear_has_assignment(); - ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* temp = assignment_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* temp = assignment_; assignment_ = NULL; return temp; } -inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubSharedSettingsAssignment* assignment) { +inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment) { delete assignment_; assignment_ = assignment; if (assignment) { @@ -1234,7 +1289,7 @@ inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::p } else { clear_has_assignment(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.assignment) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) } // ------------------------------------------------------------------- @@ -1256,13 +1311,13 @@ inline void StreamMentionAddedNotification::clear_agent_id() { 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) + // @@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.v1.membership.StreamMentionAddedNotification.agent_id) + // @@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() { @@ -1279,10 +1334,10 @@ inline void StreamMentionAddedNotification::set_allocated_agent_id(::bgs::protoc } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) } -// optional .bgs.protocol.club.v1.StreamMention mention = 3; +// optional .bgs.protocol.club.v1.client.StreamMention mention = 3; inline bool StreamMentionAddedNotification::has_mention() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1293,26 +1348,26 @@ 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(); + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::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) +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::StreamMention* StreamMentionAddedNotification::mutable_mention() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMention* StreamMentionAddedNotification::release_mention() { +inline ::bgs::protocol::club::v1::client::StreamMention* StreamMentionAddedNotification::release_mention() { clear_has_mention(); - ::bgs::protocol::club::v1::StreamMention* temp = mention_; + ::bgs::protocol::club::v1::client::StreamMention* temp = mention_; mention_ = NULL; return temp; } -inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protocol::club::v1::StreamMention* mention) { +inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protocol::club::v1::client::StreamMention* mention) { delete mention_; mention_ = mention; if (mention) { @@ -1320,52 +1375,52 @@ inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protoco } else { clear_has_mention(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.mention) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) } // ------------------------------------------------------------------- // StreamMentionRemovedNotification -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool StreamMentionRemovedNotification::has_agent_id() const { +// 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() { +inline void StreamMentionRemovedNotification::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void StreamMentionRemovedNotification::clear_has_agent_id() { +inline void StreamMentionRemovedNotification::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) } // optional .bgs.protocol.TimeSeriesId mention_id = 3; @@ -1383,13 +1438,13 @@ inline void StreamMentionRemovedNotification::clear_mention_id() { 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) + // @@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.v1.membership.StreamMentionRemovedNotification.mention_id) + // @@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() { @@ -1406,52 +1461,76 @@ inline void StreamMentionRemovedNotification::set_allocated_mention_id(::bgs::pr } else { clear_has_mention_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.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 = 1; -inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id() const { +// 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() { +inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id() { +inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) } // optional uint64 view_time = 3; @@ -1469,20 +1548,44 @@ inline void StreamMentionAdvanceViewTimeNotification::clear_view_time() { 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) + // @@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.v1.membership.StreamMentionAdvanceViewTimeNotification.view_time) + // @@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 membership +} // namespace client } // namespace v1 -} // namespace club +} // namespace club_membership } // namespace protocol } // namespace bgs @@ -1495,4 +1598,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_service.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc index 5da13dcbca6..99e9cc0f285 100644 --- a/src/server/proto/Client/club_membership_service.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_service.proto +// source: api/client/v1/club_membership_service.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_service.pb.h" +#include "api/client/v1/club_membership_service.pb.h" #include <utility> @@ -19,9 +19,9 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { -namespace membership { +namespace client { namespace { @@ -59,15 +59,15 @@ const ::google::protobuf::ServiceDescriptor* ClubMembershipService_descriptor_ = } // namespace -void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { - protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); +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( - "club_membership_service.proto"); + "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_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_deprecated_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, options_), }; SubscribeRequest_reflection_ = @@ -98,7 +98,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { sizeof(SubscribeResponse)); UnsubscribeRequest_descriptor_ = file->message_type(2); static const int UnsubscribeRequest_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_deprecated_), }; UnsubscribeRequest_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -113,7 +113,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { 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, agent_id_deprecated_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, options_), }; GetStateRequest_reflection_ = @@ -144,7 +144,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { 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, agent_id_deprecated_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, options_), }; UpdateClubSharedSettingsRequest_reflection_ = @@ -160,7 +160,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { 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, agent_id_deprecated_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, options_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, fetch_messages_), }; @@ -193,7 +193,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { 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, agent_id_deprecated_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, mention_id_), }; RemoveStreamMentionsRequest_reflection_ = @@ -209,7 +209,7 @@ void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { sizeof(RemoveStreamMentionsRequest)); AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(9); static const int AdvanceStreamMentionViewTimeRequest_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_deprecated_), }; AdvanceStreamMentionViewTimeRequest_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -230,7 +230,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5fservice_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -259,7 +259,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { delete SubscribeRequest::default_instance_; delete SubscribeRequest_reflection_; delete SubscribeResponse::default_instance_; @@ -282,75 +282,83 @@ void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto() { delete AdvanceStreamMentionViewTimeRequest_reflection_; } -void protobuf_AddDesc_club_5fmembership_5fservice_2eproto() { +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::protobuf_AddDesc_club_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto(); + ::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\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); + "\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( - "club_membership_service.proto", &protobuf_RegisterTypes); + "api/client/v1/club_membership_service.proto", &protobuf_RegisterTypes); SubscribeRequest::default_instance_ = new SubscribeRequest(); SubscribeResponse::default_instance_ = new SubscribeResponse(); UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); @@ -371,55 +379,55 @@ void protobuf_AddDesc_club_5fmembership_5fservice_2eproto() { GetStreamMentionsResponse::default_instance_->InitAsDefaultInstance(); RemoveStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fmembership_5fservice_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto_; // =================================================================== #ifndef _MSC_VER -const int SubscribeRequest::kAgentIdFieldNumber; +const int SubscribeRequest::kAgentIdDeprecatedFieldNumber; const int SubscribeRequest::kOptionsFieldNumber; #endif // !_MSC_VER SubscribeRequest::SubscribeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SubscribeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.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()); + 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.v1.membership.SubscribeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) } void SubscribeRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; options_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SubscribeRequest::~SubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.SubscribeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) SharedDtor(); } void SubscribeRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete options_; } } @@ -435,7 +443,7 @@ const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { } const SubscribeRequest& SubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -467,18 +475,18 @@ const int SubscribeResponse::kStateFieldNumber; SubscribeResponse::SubscribeResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SubscribeResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) } void SubscribeResponse::InitAsDefaultInstance() { - state_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipState*>(&::bgs::protocol::club::v1::ClubMembershipState::default_instance()); + 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.v1.membership.SubscribeResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) } void SubscribeResponse::SharedCtor() { @@ -488,7 +496,7 @@ void SubscribeResponse::SharedCtor() { } SubscribeResponse::~SubscribeResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.SubscribeResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) SharedDtor(); } @@ -509,7 +517,7 @@ const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { } const SubscribeResponse& SubscribeResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -535,40 +543,40 @@ void SubscribeResponse::Swap(SubscribeResponse* other) { // =================================================================== #ifndef _MSC_VER -const int UnsubscribeRequest::kAgentIdFieldNumber; +const int UnsubscribeRequest::kAgentIdDeprecatedFieldNumber; #endif // !_MSC_VER UnsubscribeRequest::UnsubscribeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.UnsubscribeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) } void UnsubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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.v1.membership.UnsubscribeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) } void UnsubscribeRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } UnsubscribeRequest::~UnsubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.UnsubscribeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) SharedDtor(); } void UnsubscribeRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; } } @@ -583,7 +591,7 @@ const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { } const UnsubscribeRequest& UnsubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -609,43 +617,43 @@ void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { // =================================================================== #ifndef _MSC_VER -const int GetStateRequest::kAgentIdFieldNumber; +const int GetStateRequest::kAgentIdDeprecatedFieldNumber; const int GetStateRequest::kOptionsFieldNumber; #endif // !_MSC_VER GetStateRequest::GetStateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStateRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.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()); + 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.v1.membership.GetStateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateRequest) } void GetStateRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; options_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } GetStateRequest::~GetStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateRequest) SharedDtor(); } void GetStateRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete options_; } } @@ -661,7 +669,7 @@ const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { } const GetStateRequest& GetStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -693,18 +701,18 @@ const int GetStateResponse::kStateFieldNumber; GetStateResponse::GetStateResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStateResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) } void GetStateResponse::InitAsDefaultInstance() { - state_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipState*>(&::bgs::protocol::club::v1::ClubMembershipState::default_instance()); + 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.v1.membership.GetStateResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) } void GetStateResponse::SharedCtor() { @@ -714,7 +722,7 @@ void GetStateResponse::SharedCtor() { } GetStateResponse::~GetStateResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStateResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateResponse) SharedDtor(); } @@ -735,7 +743,7 @@ const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { } const GetStateResponse& GetStateResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -761,43 +769,43 @@ void GetStateResponse::Swap(GetStateResponse* other) { // =================================================================== #ifndef _MSC_VER -const int UpdateClubSharedSettingsRequest::kAgentIdFieldNumber; +const int UpdateClubSharedSettingsRequest::kAgentIdDeprecatedFieldNumber; const int UpdateClubSharedSettingsRequest::kOptionsFieldNumber; #endif // !_MSC_VER UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.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()); + 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.v1.membership.UpdateClubSharedSettingsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) } void UpdateClubSharedSettingsRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; options_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } UpdateClubSharedSettingsRequest::~UpdateClubSharedSettingsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) SharedDtor(); } void UpdateClubSharedSettingsRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete options_; } } @@ -813,7 +821,7 @@ const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest::descripto } const UpdateClubSharedSettingsRequest& UpdateClubSharedSettingsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -839,7 +847,7 @@ void UpdateClubSharedSettingsRequest::Swap(UpdateClubSharedSettingsRequest* othe // =================================================================== #ifndef _MSC_VER -const int GetStreamMentionsRequest::kAgentIdFieldNumber; +const int GetStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; const int GetStreamMentionsRequest::kOptionsFieldNumber; const int GetStreamMentionsRequest::kFetchMessagesFieldNumber; #endif // !_MSC_VER @@ -847,11 +855,11 @@ const int GetStreamMentionsRequest::kFetchMessagesFieldNumber; GetStreamMentionsRequest::GetStreamMentionsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) } void GetStreamMentionsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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()); } @@ -859,25 +867,25 @@ GetStreamMentionsRequest::GetStreamMentionsRequest(const GetStreamMentionsReques : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) } void GetStreamMentionsRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + 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.v1.membership.GetStreamMentionsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) SharedDtor(); } void GetStreamMentionsRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; delete options_; } } @@ -893,7 +901,7 @@ const ::google::protobuf::Descriptor* GetStreamMentionsRequest::descriptor() { } const GetStreamMentionsRequest& GetStreamMentionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -926,7 +934,7 @@ const int GetStreamMentionsResponse::kContinuationFieldNumber; GetStreamMentionsResponse::GetStreamMentionsResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) } void GetStreamMentionsResponse::InitAsDefaultInstance() { @@ -936,7 +944,7 @@ GetStreamMentionsResponse::GetStreamMentionsResponse(const GetStreamMentionsResp : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) } void GetStreamMentionsResponse::SharedCtor() { @@ -946,7 +954,7 @@ void GetStreamMentionsResponse::SharedCtor() { } GetStreamMentionsResponse::~GetStreamMentionsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) SharedDtor(); } @@ -966,7 +974,7 @@ const ::google::protobuf::Descriptor* GetStreamMentionsResponse::descriptor() { } const GetStreamMentionsResponse& GetStreamMentionsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -992,41 +1000,41 @@ void GetStreamMentionsResponse::Swap(GetStreamMentionsResponse* other) { // =================================================================== #ifndef _MSC_VER -const int RemoveStreamMentionsRequest::kAgentIdFieldNumber; +const int RemoveStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; const int RemoveStreamMentionsRequest::kMentionIdFieldNumber; #endif // !_MSC_VER RemoveStreamMentionsRequest::RemoveStreamMentionsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) } void RemoveStreamMentionsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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.v1.membership.RemoveStreamMentionsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) } void RemoveStreamMentionsRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } RemoveStreamMentionsRequest::~RemoveStreamMentionsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) SharedDtor(); } void RemoveStreamMentionsRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; } } @@ -1041,7 +1049,7 @@ const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest::descriptor() } const RemoveStreamMentionsRequest& RemoveStreamMentionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -1067,40 +1075,40 @@ void RemoveStreamMentionsRequest::Swap(RemoveStreamMentionsRequest* other) { // =================================================================== #ifndef _MSC_VER -const int AdvanceStreamMentionViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceStreamMentionViewTimeRequest::kAgentIdDeprecatedFieldNumber; #endif // !_MSC_VER AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) } void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + 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.v1.membership.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) } void AdvanceStreamMentionViewTimeRequest::SharedCtor() { _cached_size_ = 0; - agent_id_ = NULL; + agent_id_deprecated_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) SharedDtor(); } void AdvanceStreamMentionViewTimeRequest::SharedDtor() { if (this != default_instance_) { - delete agent_id_; + delete agent_id_deprecated_; } } @@ -1115,7 +1123,7 @@ const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descr } const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); return *default_instance_; } @@ -1181,64 +1189,64 @@ void ClubMembershipService::CallServerMethod(uint32 token, uint32 methodId, Mess } } -uint32 ClubMembershipService::HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const* request, ::bgs::protocol::club::v1::membership::SubscribeResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubMembershipService::HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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; + ::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.v1.membership.SubscribeRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Subscribe", ::bgs::protocol::club::v1::membership::SubscribeResponse::descriptor()); - ::bgs::protocol::club::v1::membership::SubscribeResponse response; + LogCallServerMethod("ClubMembershipService.Subscribe", "bgs.protocol.club_membership.v1.client.SubscribeRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::v1::membership::UnsubscribeRequest request; + ::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.v1.membership.UnsubscribeRequest", &request); + LogCallServerMethod("ClubMembershipService.Unsubscribe", "bgs.protocol.club_membership.v1.client.UnsubscribeRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUnsubscribe(&request, &response, continuation); @@ -1247,28 +1255,28 @@ void ClubMembershipService::ParseAndHandleUnsubscribe(uint32 token, uint32 metho } void ClubMembershipService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::GetStateRequest request; + ::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.v1.membership.GetStateRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetState", ::bgs::protocol::club::v1::membership::GetStateResponse::descriptor()); - ::bgs::protocol::club::v1::membership::GetStateResponse response; + LogCallServerMethod("ClubMembershipService.GetState", "bgs.protocol.club_membership.v1.client.GetStateRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::v1::membership::UpdateClubSharedSettingsRequest request; + ::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.v1.membership.UpdateClubSharedSettingsRequest", &request); + LogCallServerMethod("ClubMembershipService.UpdateClubSharedSettings", "bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.UpdateClubSharedSettings", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateClubSharedSettings(&request, &response, continuation); @@ -1277,28 +1285,28 @@ void ClubMembershipService::ParseAndHandleUpdateClubSharedSettings(uint32 token, } void ClubMembershipService::ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::GetStreamMentionsRequest request; + ::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.v1.membership.GetStreamMentionsRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetStreamMentions", ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse::descriptor()); - ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse response; + LogCallServerMethod("ClubMembershipService.GetStreamMentions", "bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::v1::membership::RemoveStreamMentionsRequest request; + ::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.v1.membership.RemoveStreamMentionsRequest", &request); + LogCallServerMethod("ClubMembershipService.RemoveStreamMentions", "bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.RemoveStreamMentions", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleRemoveStreamMentions(&request, &response, continuation); @@ -1307,13 +1315,13 @@ void ClubMembershipService::ParseAndHandleRemoveStreamMentions(uint32 token, uin } void ClubMembershipService::ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest request; + ::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.v1.membership.AdvanceStreamMentionViewTimeRequest", &request); + LogCallServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", "bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.AdvanceStreamMentionViewTime", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAdvanceStreamMentionViewTime(&request, &response, continuation); @@ -1323,9 +1331,9 @@ void ClubMembershipService::ParseAndHandleAdvanceStreamMentionViewTime(uint32 to // @@protoc_insertion_point(namespace_scope) -} // namespace membership +} // namespace client } // namespace v1 -} // namespace club +} // namespace club_membership } // namespace protocol } // namespace bgs diff --git a/src/server/proto/Client/club_membership_service.pb.h b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h index 2a002aa33de..211c2c01d30 100644 --- a/src/server/proto/Client/club_membership_service.pb.h +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_service.proto +// source: api/client/v1/club_membership_service.proto -#ifndef PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED #include <string> @@ -24,8 +24,8 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_types.pb.h" -#include "club_stream.pb.h" +#include "api/client/v1/club_types.pb.h" +#include "api/client/v1/club_stream.pb.h" #include "ServiceBase.h" #include "MessageBuffer.h" #include <functional> @@ -34,14 +34,14 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { -namespace membership { +namespace client { // 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(); +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; @@ -96,28 +96,28 @@ class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { // 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.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.v1.ClubMembershipSubscribeOptions options = 2; + // 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::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); + 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.v1.membership.SubscribeRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); inline void set_has_options(); inline void clear_has_options(); @@ -125,11 +125,11 @@ class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { ::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(); + ::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_; @@ -176,16 +176,16 @@ class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubMembershipState state = 1; + // 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::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); + 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.v1.membership.SubscribeResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeResponse) private: inline void set_has_state(); inline void clear_has_state(); @@ -194,10 +194,10 @@ class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -244,28 +244,28 @@ class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { // 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.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.v1.membership.UnsubscribeRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + 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_; - 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(); + ::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_; @@ -312,28 +312,28 @@ class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { // 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.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.v1.ClubMembershipGetStateOptions options = 2; + // 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::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); + 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.v1.membership.GetStateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); inline void set_has_options(); inline void clear_has_options(); @@ -341,11 +341,11 @@ class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { ::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(); + ::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_; @@ -392,16 +392,16 @@ class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubMembershipState state = 1; + // 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::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); + 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.v1.membership.GetStateResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateResponse) private: inline void set_has_state(); inline void clear_has_state(); @@ -410,10 +410,10 @@ class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -460,28 +460,28 @@ class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf:: // 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.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.v1.ClubSharedSettingsOptions options = 2; + // 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::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); + 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.v1.membership.UpdateClubSharedSettingsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); inline void set_has_options(); inline void clear_has_options(); @@ -489,11 +489,11 @@ class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf:: ::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(); + ::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_; @@ -540,14 +540,14 @@ class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message // 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.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; @@ -565,10 +565,10 @@ class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message inline bool fetch_messages() const; inline void set_fetch_messages(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + 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(); @@ -578,12 +578,12 @@ class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; ::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(); + 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_; @@ -630,16 +630,16 @@ class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Messag // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamMention mention = 1; + // 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::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 >& + 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::StreamMention >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* mutable_mention(); // optional uint64 continuation = 2; @@ -649,7 +649,7 @@ class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Messag 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -658,11 +658,11 @@ class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Messag ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > mention_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -709,14 +709,14 @@ class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Mess // 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.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; @@ -730,20 +730,20 @@ class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Mess inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* mutable_mention_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + 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_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; ::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(); + 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_; @@ -790,28 +790,28 @@ class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protob // 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.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.v1.membership.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); + 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_; - 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(); + ::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_; @@ -830,7 +830,7 @@ class TC_PROTO_API ClubMembershipService : public ServiceBase virtual ~ClubMembershipService(); typedef std::integral_constant<uint32, 0x94B94786u> OriginalHash; - typedef std::integral_constant<uint32, 0xC1A60DF9u> NameHash; + typedef std::integral_constant<uint32, 0xD19AF181u> NameHash; static google::protobuf::ServiceDescriptor const* descriptor(); @@ -838,13 +838,13 @@ class TC_PROTO_API ClubMembershipService : public ServiceBase protected: // server methods -------------------------------------------------- - virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const* request, ::bgs::protocol::club::v1::membership::SubscribeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::membership::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetState(::bgs::protocol::club::v1::membership::GetStateRequest const* request, ::bgs::protocol::club::v1::membership::GetStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStreamMentions(::bgs::protocol::club::v1::membership::GetStreamMentionsRequest const* request, ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); private: void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); @@ -862,48 +862,48 @@ class TC_PROTO_API ClubMembershipService : public ServiceBase // SubscribeRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool SubscribeRequest::has_agent_id() const { +// 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() { +inline void SubscribeRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void SubscribeRequest::clear_has_agent_id() { +inline void SubscribeRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) } -// optional .bgs.protocol.club.v1.ClubMembershipSubscribeOptions options = 2; +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions options = 2; inline bool SubscribeRequest::has_options() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -914,26 +914,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubMembershipSubscribeOptions* SubscribeRequest::mutable_options() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() { +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* temp = options_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* temp = options_; options_ = NULL; return temp; } -inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* options) { +inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options) { delete options_; options_ = options; if (options) { @@ -941,14 +941,14 @@ inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club::v1::C } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) } // ------------------------------------------------------------------- // SubscribeResponse -// optional .bgs.protocol.club.v1.ClubMembershipState state = 1; +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; inline bool SubscribeResponse::has_state() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -959,26 +959,26 @@ 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(); + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubMembershipState* SubscribeResponse::mutable_state() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubMembershipState* SubscribeResponse::release_state() { +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* SubscribeResponse::release_state() { clear_has_state(); - ::bgs::protocol::club::v1::ClubMembershipState* temp = state_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; state_ = NULL; return temp; } -inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state) { +inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { delete state_; state_ = state; if (state) { @@ -986,100 +986,100 @@ inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club::v1::Cl } else { clear_has_state(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeResponse.state) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) } // ------------------------------------------------------------------- // UnsubscribeRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool UnsubscribeRequest::has_agent_id() const { +// 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() { +inline void UnsubscribeRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void UnsubscribeRequest::clear_has_agent_id() { +inline void UnsubscribeRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id) + // @@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 = 1; -inline bool GetStateRequest::has_agent_id() const { +// 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() { +inline void GetStateRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void GetStateRequest::clear_has_agent_id() { +inline void GetStateRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) } -// optional .bgs.protocol.club.v1.ClubMembershipGetStateOptions options = 2; +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions options = 2; inline bool GetStateRequest::has_options() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1090,26 +1090,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubMembershipGetStateOptions* GetStateRequest::mutable_options() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubMembershipGetStateOptions* GetStateRequest::release_options() { +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* GetStateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* temp = options_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* temp = options_; options_ = NULL; return temp; } -inline void GetStateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubMembershipGetStateOptions* options) { +inline void GetStateRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options) { delete options_; options_ = options; if (options) { @@ -1117,14 +1117,14 @@ inline void GetStateRequest::set_allocated_options(::bgs::protocol::club::v1::Cl } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.options) } // ------------------------------------------------------------------- // GetStateResponse -// optional .bgs.protocol.club.v1.ClubMembershipState state = 1; +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; inline bool GetStateResponse::has_state() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -1135,26 +1135,26 @@ 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(); + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubMembershipState* GetStateResponse::mutable_state() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubMembershipState* GetStateResponse::release_state() { +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* GetStateResponse::release_state() { clear_has_state(); - ::bgs::protocol::club::v1::ClubMembershipState* temp = state_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; state_ = NULL; return temp; } -inline void GetStateResponse::set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state) { +inline void GetStateResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { delete state_; state_ = state; if (state) { @@ -1162,55 +1162,55 @@ inline void GetStateResponse::set_allocated_state(::bgs::protocol::club::v1::Clu } else { clear_has_state(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateResponse.state) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateResponse.state) } // ------------------------------------------------------------------- // UpdateClubSharedSettingsRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool UpdateClubSharedSettingsRequest::has_agent_id() const { +// 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() { +inline void UpdateClubSharedSettingsRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void UpdateClubSharedSettingsRequest::clear_has_agent_id() { +inline void UpdateClubSharedSettingsRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) } -// optional .bgs.protocol.club.v1.ClubSharedSettingsOptions options = 2; +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions options = 2; inline bool UpdateClubSharedSettingsRequest::has_options() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -1221,26 +1221,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::mutable_options() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() { +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubSharedSettingsOptions* temp = options_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::ClubSharedSettingsOptions* options) { +inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options) { delete options_; options_ = options; if (options) { @@ -1248,52 +1248,52 @@ inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protoc } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) } // ------------------------------------------------------------------- // GetStreamMentionsRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool GetStreamMentionsRequest::has_agent_id() const { +// 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() { +inline void GetStreamMentionsRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void GetStreamMentionsRequest::clear_has_agent_id() { +inline void GetStreamMentionsRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) } // optional .bgs.protocol.GetEventOptions options = 2; @@ -1311,13 +1311,13 @@ inline void GetStreamMentionsRequest::clear_options() { clear_has_options(); } inline const ::bgs::protocol::GetEventOptions& GetStreamMentionsRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options) + // @@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.v1.membership.GetStreamMentionsRequest.options) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) return options_; } inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::release_options() { @@ -1334,7 +1334,7 @@ inline void GetStreamMentionsRequest::set_allocated_options(::bgs::protocol::Get } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) } // optional bool fetch_messages = 3; @@ -1352,46 +1352,46 @@ inline void GetStreamMentionsRequest::clear_fetch_messages() { clear_has_fetch_messages(); } inline bool GetStreamMentionsRequest::fetch_messages() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.fetch_messages) + // @@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.v1.membership.GetStreamMentionsRequest.fetch_messages) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.fetch_messages) } // ------------------------------------------------------------------- // GetStreamMentionsResponse -// repeated .bgs.protocol.club.v1.StreamMention mention = 1; +// 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::StreamMention& GetStreamMentionsResponse::mention(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) +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::StreamMention* GetStreamMentionsResponse::mutable_mention(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) +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::StreamMention* GetStreamMentionsResponse::add_mention() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) +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::StreamMention >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >& GetStreamMentionsResponse::mention() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) return mention_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* GetStreamMentionsResponse::mutable_mention() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) return &mention_; } @@ -1410,58 +1410,58 @@ inline void GetStreamMentionsResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetStreamMentionsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.continuation) + // @@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.v1.membership.GetStreamMentionsResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.continuation) } // ------------------------------------------------------------------- // RemoveStreamMentionsRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool RemoveStreamMentionsRequest::has_agent_id() const { +// 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() { +inline void RemoveStreamMentionsRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void RemoveStreamMentionsRequest::clear_has_agent_id() { +inline void RemoveStreamMentionsRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) } // repeated .bgs.protocol.TimeSeriesId mention_id = 2; @@ -1472,25 +1472,25 @@ 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) + // @@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.v1.membership.RemoveStreamMentionsRequest.mention_id) + // @@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.v1.membership.RemoveStreamMentionsRequest.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.v1.membership.RemoveStreamMentionsRequest.mention_id) + // @@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.v1.membership.RemoveStreamMentionsRequest.mention_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) return &mention_id_; } @@ -1498,52 +1498,52 @@ RemoveStreamMentionsRequest::mutable_mention_id() { // AdvanceStreamMentionViewTimeRequest -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id() const { +// 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() { +inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id() { +inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id_deprecated() { _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 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() 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 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() { - 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::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() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); +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(); + clear_has_agent_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) } // @@protoc_insertion_point(namespace_scope) -} // namespace membership +} // namespace client } // namespace v1 -} // namespace club +} // namespace club_membership } // namespace protocol } // namespace bgs @@ -1556,4 +1556,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_types.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc index 3d6df09a82f..09177727ce4 100644 --- a/src/server/proto/Client/club_membership_types.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_types.proto +// source: api/client/v1/club_membership_types.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_types.pb.h" +#include "api/client/v1/club_membership_types.pb.h" #include <utility> @@ -18,8 +18,9 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { +namespace client { namespace { @@ -53,11 +54,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto() { - protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); +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( - "club_membership_types.proto"); + "api/client/v1/club_membership_types.proto"); GOOGLE_CHECK(file != NULL); ClubMembershipFilter_descriptor_ = file->message_type(0); static const int ClubMembershipFilter_offsets_[2] = { @@ -206,7 +207,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -233,7 +234,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { delete ClubMembershipFilter::default_instance_; delete ClubMembershipFilter_reflection_; delete ClubMembershipSubscribeOptions::default_instance_; @@ -254,52 +255,57 @@ void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto() { delete ClubSharedSettingsAssignment_reflection_; } -void protobuf_AddDesc_club_5fmembership_5ftypes_2eproto() { +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_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::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\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); + "\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( - "club_membership_types.proto", &protobuf_RegisterTypes); + "api/client/v1/club_membership_types.proto", &protobuf_RegisterTypes); ClubMembershipFilter::default_instance_ = new ClubMembershipFilter(); ClubMembershipSubscribeOptions::default_instance_ = new ClubMembershipSubscribeOptions(); ClubMembershipGetStateOptions::default_instance_ = new ClubMembershipGetStateOptions(); @@ -318,15 +324,15 @@ void protobuf_AddDesc_club_5fmembership_5ftypes_2eproto() { ClubSharedSettings::default_instance_->InitAsDefaultInstance(); ClubSharedSettingsOptions::default_instance_->InitAsDefaultInstance(); ClubSharedSettingsAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fmembership_5ftypes_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -337,7 +343,7 @@ const int ClubMembershipFilter::kTypeFieldNumber; ClubMembershipFilter::ClubMembershipFilter() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipFilter) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) } void ClubMembershipFilter::InitAsDefaultInstance() { @@ -349,7 +355,7 @@ ClubMembershipFilter::ClubMembershipFilter(const ClubMembershipFilter& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipFilter) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) } void ClubMembershipFilter::SharedCtor() { @@ -360,7 +366,7 @@ void ClubMembershipFilter::SharedCtor() { } ClubMembershipFilter::~ClubMembershipFilter() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipFilter) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) SharedDtor(); } @@ -382,7 +388,7 @@ const ::google::protobuf::Descriptor* ClubMembershipFilter::descriptor() { } const ClubMembershipFilter& ClubMembershipFilter::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -414,7 +420,7 @@ const int ClubMembershipSubscribeOptions::kFilterFieldNumber; ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) } void ClubMembershipSubscribeOptions::InitAsDefaultInstance() { @@ -424,7 +430,7 @@ ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions(const ClubMembers : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) } void ClubMembershipSubscribeOptions::SharedCtor() { @@ -433,7 +439,7 @@ void ClubMembershipSubscribeOptions::SharedCtor() { } ClubMembershipSubscribeOptions::~ClubMembershipSubscribeOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) SharedDtor(); } @@ -453,7 +459,7 @@ const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions::descriptor } const ClubMembershipSubscribeOptions& ClubMembershipSubscribeOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -485,7 +491,7 @@ const int ClubMembershipGetStateOptions::kFilterFieldNumber; ClubMembershipGetStateOptions::ClubMembershipGetStateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) } void ClubMembershipGetStateOptions::InitAsDefaultInstance() { @@ -495,7 +501,7 @@ ClubMembershipGetStateOptions::ClubMembershipGetStateOptions(const ClubMembershi : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) } void ClubMembershipGetStateOptions::SharedCtor() { @@ -504,7 +510,7 @@ void ClubMembershipGetStateOptions::SharedCtor() { } ClubMembershipGetStateOptions::~ClubMembershipGetStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) SharedDtor(); } @@ -524,7 +530,7 @@ const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions::descriptor( } const ClubMembershipGetStateOptions& ClubMembershipGetStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -557,7 +563,7 @@ const int ClubMembershipDescription::kClubFieldNumber; ClubMembershipDescription::ClubMembershipDescription() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipDescription) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) } void ClubMembershipDescription::InitAsDefaultInstance() { @@ -569,7 +575,7 @@ ClubMembershipDescription::ClubMembershipDescription(const ClubMembershipDescrip : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipDescription) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) } void ClubMembershipDescription::SharedCtor() { @@ -580,7 +586,7 @@ void ClubMembershipDescription::SharedCtor() { } ClubMembershipDescription::~ClubMembershipDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipDescription) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) SharedDtor(); } @@ -602,7 +608,7 @@ const ::google::protobuf::Descriptor* ClubMembershipDescription::descriptor() { } const ClubMembershipDescription& ClubMembershipDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -637,11 +643,11 @@ const int ClubMembershipState::kMentionViewFieldNumber; ClubMembershipState::ClubMembershipState() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipState) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) } void ClubMembershipState::InitAsDefaultInstance() { - setting_ = const_cast< ::bgs::protocol::club::v1::ClubSharedSettings*>(&::bgs::protocol::club::v1::ClubSharedSettings::default_instance()); + 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()); } @@ -649,7 +655,7 @@ ClubMembershipState::ClubMembershipState(const ClubMembershipState& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipState) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) } void ClubMembershipState::SharedCtor() { @@ -660,7 +666,7 @@ void ClubMembershipState::SharedCtor() { } ClubMembershipState::~ClubMembershipState() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipState) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) SharedDtor(); } @@ -682,7 +688,7 @@ const ::google::protobuf::Descriptor* ClubMembershipState::descriptor() { } const ClubMembershipState& ClubMembershipState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -714,7 +720,7 @@ const int ClubPosition::kClubIdFieldNumber; ClubPosition::ClubPosition() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubPosition) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubPosition) } void ClubPosition::InitAsDefaultInstance() { @@ -724,7 +730,7 @@ ClubPosition::ClubPosition(const ClubPosition& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubPosition) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubPosition) } void ClubPosition::SharedCtor() { @@ -733,7 +739,7 @@ void ClubPosition::SharedCtor() { } ClubPosition::~ClubPosition() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubPosition) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubPosition) SharedDtor(); } @@ -753,7 +759,7 @@ const ::google::protobuf::Descriptor* ClubPosition::descriptor() { } const ClubPosition& ClubPosition::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -785,18 +791,18 @@ const int ClubSharedSettings::kClubPositionFieldNumber; ClubSharedSettings::ClubSharedSettings() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettings) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) } void ClubSharedSettings::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); + 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.v1.ClubSharedSettings) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) } void ClubSharedSettings::SharedCtor() { @@ -806,7 +812,7 @@ void ClubSharedSettings::SharedCtor() { } ClubSharedSettings::~ClubSharedSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettings) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) SharedDtor(); } @@ -827,7 +833,7 @@ const ::google::protobuf::Descriptor* ClubSharedSettings::descriptor() { } const ClubSharedSettings& ClubSharedSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -859,18 +865,18 @@ const int ClubSharedSettingsOptions::kClubPositionFieldNumber; ClubSharedSettingsOptions::ClubSharedSettingsOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettingsOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) } void ClubSharedSettingsOptions::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); + 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.v1.ClubSharedSettingsOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) } void ClubSharedSettingsOptions::SharedCtor() { @@ -880,7 +886,7 @@ void ClubSharedSettingsOptions::SharedCtor() { } ClubSharedSettingsOptions::~ClubSharedSettingsOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettingsOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) SharedDtor(); } @@ -901,7 +907,7 @@ const ::google::protobuf::Descriptor* ClubSharedSettingsOptions::descriptor() { } const ClubSharedSettingsOptions& ClubSharedSettingsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -933,18 +939,18 @@ const int ClubSharedSettingsAssignment::kClubPositionFieldNumber; ClubSharedSettingsAssignment::ClubSharedSettingsAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettingsAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) } void ClubSharedSettingsAssignment::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); + 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.v1.ClubSharedSettingsAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) } void ClubSharedSettingsAssignment::SharedCtor() { @@ -954,7 +960,7 @@ void ClubSharedSettingsAssignment::SharedCtor() { } ClubSharedSettingsAssignment::~ClubSharedSettingsAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettingsAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) SharedDtor(); } @@ -975,7 +981,7 @@ const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment::descriptor() } const ClubSharedSettingsAssignment& ClubSharedSettingsAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); return *default_instance_; } @@ -1000,8 +1006,9 @@ void ClubSharedSettingsAssignment::Swap(ClubSharedSettingsAssignment* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 -} // namespace club +} // namespace club_membership } // namespace protocol } // namespace bgs diff --git a/src/server/proto/Client/club_membership_types.pb.h b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h index c053212bdeb..1f7dbfe50ce 100644 --- a/src/server/proto/Client/club_membership_types.pb.h +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_types.proto +// source: api/client/v1/club_membership_types.proto -#ifndef PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED #include <string> @@ -24,10 +24,10 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_core.pb.h" -#include "club_type.pb.h" -#include "club_member.pb.h" -#include "club_invitation.pb.h" +#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 @@ -35,13 +35,14 @@ namespace bgs { namespace protocol { -namespace club { +namespace club_membership { namespace v1 { +namespace client { // 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(); +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; @@ -113,7 +114,7 @@ class TC_PROTO_API ClubMembershipFilter : public ::google::protobuf::Message { 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) + // @@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(); @@ -126,9 +127,9 @@ class TC_PROTO_API ClubMembershipFilter : public ::google::protobuf::Message { 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(); + 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_; @@ -175,29 +176,29 @@ class TC_PROTO_API ClubMembershipSubscribeOptions : public ::google::protobuf::M // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; + // 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::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 >& + 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::v1::ClubMembershipFilter >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* mutable_filter(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) + // @@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::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(); + ::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_; @@ -244,29 +245,29 @@ class TC_PROTO_API ClubMembershipGetStateOptions : public ::google::protobuf::Me // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; + // 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::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 >& + 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::v1::ClubMembershipFilter >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* mutable_filter(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipGetStateOptions) + // @@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::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(); + ::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_; @@ -331,7 +332,7 @@ class TC_PROTO_API ClubMembershipDescription : public ::google::protobuf::Messag 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) + // @@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(); @@ -344,9 +345,9 @@ class TC_PROTO_API ClubMembershipDescription : public ::google::protobuf::Messag 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(); + 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_; @@ -393,38 +394,38 @@ class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubMembershipDescription description = 1; + // 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::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 >& + 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::v1::ClubMembershipDescription >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* mutable_description(); - // repeated .bgs.protocol.club.v1.ClubInvitation invitation = 2; + // 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::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 >& + 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::ClubInvitation >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* mutable_invitation(); - // optional .bgs.protocol.club.v1.ClubSharedSettings setting = 3; + // 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::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); + 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; @@ -435,7 +436,7 @@ class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipState) private: inline void set_has_setting(); inline void clear_has_setting(); @@ -446,13 +447,13 @@ class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { ::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_; + ::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_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); + 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_; @@ -511,7 +512,7 @@ class TC_PROTO_API ClubPosition : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* mutable_club_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubPosition) + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubPosition) private: ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -519,9 +520,9 @@ class TC_PROTO_API ClubPosition : public ::google::protobuf::Message { ::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(); + 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_; @@ -568,16 +569,16 @@ class TC_PROTO_API ClubSharedSettings : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; + // 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::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); + 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.v1.ClubSharedSettings) + // @@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(); @@ -586,10 +587,10 @@ class TC_PROTO_API ClubSharedSettings : public ::google::protobuf::Message { ::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(); + ::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_; @@ -636,16 +637,16 @@ class TC_PROTO_API ClubSharedSettingsOptions : public ::google::protobuf::Messag // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; + // 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::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); + 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.v1.ClubSharedSettingsOptions) + // @@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(); @@ -654,10 +655,10 @@ class TC_PROTO_API ClubSharedSettingsOptions : public ::google::protobuf::Messag ::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(); + ::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_; @@ -704,16 +705,16 @@ class TC_PROTO_API ClubSharedSettingsAssignment : public ::google::protobuf::Mes // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; + // 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::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); + 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.v1.ClubSharedSettingsAssignment) + // @@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(); @@ -722,10 +723,10 @@ class TC_PROTO_API ClubSharedSettingsAssignment : public ::google::protobuf::Mes ::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(); + ::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_; @@ -753,13 +754,13 @@ inline void ClubMembershipFilter::clear_member_id() { 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) + // @@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.v1.ClubMembershipFilter.member_id) + // @@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() { @@ -776,7 +777,7 @@ inline void ClubMembershipFilter::set_allocated_member_id(::bgs::protocol::club: } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipFilter.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; @@ -794,13 +795,13 @@ inline void ClubMembershipFilter::clear_type() { clear_has_type(); } inline const ::bgs::protocol::club::v1::UniqueClubType& ClubMembershipFilter::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipFilter.type) + // @@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.v1.ClubMembershipFilter.type) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) return type_; } inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::release_type() { @@ -817,40 +818,40 @@ inline void ClubMembershipFilter::set_allocated_type(::bgs::protocol::club::v1:: } else { clear_has_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipFilter.type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) } // ------------------------------------------------------------------- // ClubMembershipSubscribeOptions -// repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; +// 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::v1::ClubMembershipFilter& ClubMembershipSubscribeOptions::filter(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) +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::v1::ClubMembershipFilter* ClubMembershipSubscribeOptions::mutable_filter(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) +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::v1::ClubMembershipFilter* ClubMembershipSubscribeOptions::add_filter() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) +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::v1::ClubMembershipFilter >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& ClubMembershipSubscribeOptions::filter() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) return filter_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* ClubMembershipSubscribeOptions::mutable_filter() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) return &filter_; } @@ -858,33 +859,33 @@ ClubMembershipSubscribeOptions::mutable_filter() { // ClubMembershipGetStateOptions -// repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; +// 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::v1::ClubMembershipFilter& ClubMembershipGetStateOptions::filter(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) +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::v1::ClubMembershipFilter* ClubMembershipGetStateOptions::mutable_filter(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) +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::v1::ClubMembershipFilter* ClubMembershipGetStateOptions::add_filter() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) +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::v1::ClubMembershipFilter >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& ClubMembershipGetStateOptions::filter() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) return filter_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* ClubMembershipGetStateOptions::mutable_filter() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) return &filter_; } @@ -907,13 +908,13 @@ inline void ClubMembershipDescription::clear_member_id() { 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) + // @@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.v1.ClubMembershipDescription.member_id) + // @@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() { @@ -930,7 +931,7 @@ inline void ClubMembershipDescription::set_allocated_member_id(::bgs::protocol:: } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipDescription.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; @@ -948,13 +949,13 @@ inline void ClubMembershipDescription::clear_club() { clear_has_club(); } inline const ::bgs::protocol::club::v1::ClubDescription& ClubMembershipDescription::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipDescription.club) + // @@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.v1.ClubMembershipDescription.club) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) return club_; } inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::release_club() { @@ -971,74 +972,74 @@ inline void ClubMembershipDescription::set_allocated_club(::bgs::protocol::club: } else { clear_has_club(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipDescription.club) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) } // ------------------------------------------------------------------- // ClubMembershipState -// repeated .bgs.protocol.club.v1.ClubMembershipDescription description = 1; +// 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::v1::ClubMembershipDescription& ClubMembershipState::description(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.description) +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::v1::ClubMembershipDescription* ClubMembershipState::mutable_description(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.description) +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::v1::ClubMembershipDescription* ClubMembershipState::add_description() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipState.description) +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::v1::ClubMembershipDescription >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >& ClubMembershipState::description() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipState.description) + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) return description_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* ClubMembershipState::mutable_description() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipState.description) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) return &description_; } -// repeated .bgs.protocol.club.v1.ClubInvitation invitation = 2; +// 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::ClubInvitation& ClubMembershipState::invitation(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.invitation) +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::ClubInvitation* ClubMembershipState::mutable_invitation(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.invitation) +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::ClubInvitation* ClubMembershipState::add_invitation() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipState.invitation) +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::ClubInvitation >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& ClubMembershipState::invitation() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipState.invitation) + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) return invitation_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* ClubMembershipState::mutable_invitation() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipState.invitation) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) return &invitation_; } -// optional .bgs.protocol.club.v1.ClubSharedSettings setting = 3; +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettings setting = 3; inline bool ClubMembershipState::has_setting() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -1049,26 +1050,26 @@ 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(); + if (setting_ != NULL) setting_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubSharedSettings* ClubMembershipState::mutable_setting() { +inline ::bgs::protocol::club_membership::v1::client::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) + 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::v1::ClubSharedSettings* ClubMembershipState::release_setting() { +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* ClubMembershipState::release_setting() { clear_has_setting(); - ::bgs::protocol::club::v1::ClubSharedSettings* temp = setting_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* temp = setting_; setting_ = NULL; return temp; } -inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club::v1::ClubSharedSettings* setting) { +inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting) { delete setting_; setting_ = setting; if (setting) { @@ -1076,7 +1077,7 @@ inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club::v1 } else { clear_has_setting(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipState.setting) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) } // optional .bgs.protocol.ViewMarker mention_view = 4; @@ -1094,13 +1095,13 @@ inline void ClubMembershipState::clear_mention_view() { 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) + // @@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.v1.ClubMembershipState.mention_view) + // @@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() { @@ -1117,7 +1118,7 @@ inline void ClubMembershipState::set_allocated_mention_view(::bgs::protocol::Vie } else { clear_has_mention_view(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipState.mention_view) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) } // ------------------------------------------------------------------- @@ -1132,25 +1133,25 @@ 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) + // @@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.v1.ClubPosition.club_id) + // @@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.v1.ClubPosition.club_id) + // @@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.v1.ClubPosition.club_id) + // @@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.v1.ClubPosition.club_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) return &club_id_; } @@ -1158,7 +1159,7 @@ ClubPosition::mutable_club_id() { // ClubSharedSettings -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; inline bool ClubSharedSettings::has_club_position() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -1169,26 +1170,26 @@ 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(); + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubPosition* ClubSharedSettings::mutable_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::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettings.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::v1::ClubPosition* ClubSharedSettings::release_club_position() { +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettings::release_club_position() { clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = 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::v1::ClubPosition* club_position) { +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) { @@ -1196,14 +1197,14 @@ inline void ClubSharedSettings::set_allocated_club_position(::bgs::protocol::clu } else { clear_has_club_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettings.club_position) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) } // ------------------------------------------------------------------- // ClubSharedSettingsOptions -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; inline bool ClubSharedSettingsOptions::has_club_position() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -1214,26 +1215,26 @@ 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(); + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubPosition* ClubSharedSettingsOptions::mutable_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::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettingsOptions.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::v1::ClubPosition* ClubSharedSettingsOptions::release_club_position() { +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsOptions::release_club_position() { clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = 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::v1::ClubPosition* club_position) { +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) { @@ -1241,14 +1242,14 @@ inline void ClubSharedSettingsOptions::set_allocated_club_position(::bgs::protoc } else { clear_has_club_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettingsOptions.club_position) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) } // ------------------------------------------------------------------- // ClubSharedSettingsAssignment -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; inline bool ClubSharedSettingsAssignment::has_club_position() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -1259,26 +1260,26 @@ 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(); + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::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) +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::v1::ClubPosition* ClubSharedSettingsAssignment::mutable_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::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettingsAssignment.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::v1::ClubPosition* ClubSharedSettingsAssignment::release_club_position() { +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsAssignment::release_club_position() { clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = 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::v1::ClubPosition* club_position) { +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) { @@ -1286,13 +1287,14 @@ inline void ClubSharedSettingsAssignment::set_allocated_club_position(::bgs::pro } else { clear_has_club_position(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettingsAssignment.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 +} // namespace club_membership } // namespace protocol } // namespace bgs @@ -1305,4 +1307,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_name_generator.pb.cc b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc index a59ae5616a1..d60390dc4cb 100644 --- a/src/server/proto/Client/club_name_generator.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_name_generator.proto +// source: api/client/v1/club_name_generator.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_name_generator.pb.h" +#include "api/client/v1/club_name_generator.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -38,11 +39,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto() { - protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); +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( - "club_name_generator.proto"); + "api/client/v1/club_name_generator.proto"); GOOGLE_CHECK(file != NULL); NameGeneratorConfig_descriptor_ = file->message_type(0); static const int NameGeneratorConfig_offsets_[3] = { @@ -121,7 +122,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fname_5fgenerator_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -138,7 +139,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { delete NameGeneratorConfig::default_instance_; delete NameGeneratorConfig_reflection_; delete NameGeneratorScorecard::default_instance_; @@ -149,33 +150,35 @@ void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto() { delete NameGeneratorReplacement_reflection_; } -void protobuf_AddDesc_club_5fname_5fgenerator_2eproto() { +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_club_5ftype_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_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); + "\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( - "club_name_generator.proto", &protobuf_RegisterTypes); + "api/client/v1/club_name_generator.proto", &protobuf_RegisterTypes); NameGeneratorConfig::default_instance_ = new NameGeneratorConfig(); NameGeneratorScorecard::default_instance_ = new NameGeneratorScorecard(); NameGenerator::default_instance_ = new NameGenerator(); @@ -184,15 +187,15 @@ void protobuf_AddDesc_club_5fname_5fgenerator_2eproto() { NameGeneratorScorecard::default_instance_->InitAsDefaultInstance(); NameGenerator::default_instance_->InitAsDefaultInstance(); NameGeneratorReplacement::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fname_5fgenerator_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -204,19 +207,19 @@ const int NameGeneratorConfig::kLocaleScorecardFieldNumber; NameGeneratorConfig::NameGeneratorConfig() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorConfig) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.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()); + 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.NameGeneratorConfig) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorConfig) } void NameGeneratorConfig::SharedCtor() { @@ -227,7 +230,7 @@ void NameGeneratorConfig::SharedCtor() { } NameGeneratorConfig::~NameGeneratorConfig() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorConfig) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorConfig) SharedDtor(); } @@ -249,7 +252,7 @@ const ::google::protobuf::Descriptor* NameGeneratorConfig::descriptor() { } const NameGeneratorConfig& NameGeneratorConfig::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); return *default_instance_; } @@ -285,7 +288,7 @@ const int NameGeneratorScorecard::kFullFallbackFieldNumber; NameGeneratorScorecard::NameGeneratorScorecard() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorScorecard) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) } void NameGeneratorScorecard::InitAsDefaultInstance() { @@ -295,7 +298,7 @@ NameGeneratorScorecard::NameGeneratorScorecard(const NameGeneratorScorecard& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorScorecard) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) } void NameGeneratorScorecard::SharedCtor() { @@ -309,7 +312,7 @@ void NameGeneratorScorecard::SharedCtor() { } NameGeneratorScorecard::~NameGeneratorScorecard() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorScorecard) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) SharedDtor(); } @@ -329,7 +332,7 @@ const ::google::protobuf::Descriptor* NameGeneratorScorecard::descriptor() { } const NameGeneratorScorecard& NameGeneratorScorecard::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); return *default_instance_; } @@ -364,7 +367,7 @@ const int NameGenerator::kLocalesFieldNumber; NameGenerator::NameGenerator() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGenerator) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGenerator) } void NameGenerator::InitAsDefaultInstance() { @@ -374,7 +377,7 @@ NameGenerator::NameGenerator(const NameGenerator& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGenerator) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGenerator) } void NameGenerator::SharedCtor() { @@ -384,7 +387,7 @@ void NameGenerator::SharedCtor() { } NameGenerator::~NameGenerator() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGenerator) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGenerator) SharedDtor(); } @@ -404,7 +407,7 @@ const ::google::protobuf::Descriptor* NameGenerator::descriptor() { } const NameGenerator& NameGenerator::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); return *default_instance_; } @@ -437,7 +440,7 @@ const int NameGeneratorReplacement::kOptionsFieldNumber; NameGeneratorReplacement::NameGeneratorReplacement() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorReplacement) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) } void NameGeneratorReplacement::InitAsDefaultInstance() { @@ -447,7 +450,7 @@ NameGeneratorReplacement::NameGeneratorReplacement(const NameGeneratorReplacemen : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorReplacement) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) } void NameGeneratorReplacement::SharedCtor() { @@ -458,7 +461,7 @@ void NameGeneratorReplacement::SharedCtor() { } NameGeneratorReplacement::~NameGeneratorReplacement() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorReplacement) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) SharedDtor(); } @@ -481,7 +484,7 @@ const ::google::protobuf::Descriptor* NameGeneratorReplacement::descriptor() { } const NameGeneratorReplacement& NameGeneratorReplacement::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); return *default_instance_; } @@ -506,6 +509,7 @@ void NameGeneratorReplacement::Swap(NameGeneratorReplacement* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_name_generator.pb.h b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h index 8c83d631e9e..9c68e7fee1e 100644 --- a/src/server/proto/Client/club_name_generator.pb.h +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_name_generator.proto +// source: api/client/v1/club_name_generator.proto -#ifndef PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED -#define PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED #include <string> @@ -24,7 +24,7 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_type.pb.h" // IWYU pragma: export +#include "api/common/v1/club_type.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) @@ -32,11 +32,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -85,37 +86,37 @@ class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1; + // 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::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 >& + 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::NameGenerator >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* mutable_name_generators(); - // optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2; + // 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::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); + 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.NameGeneratorScorecard locale_scorecard = 3; + // 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::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); + 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.NameGeneratorConfig) + // @@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(); @@ -126,12 +127,12 @@ class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message { ::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(); + ::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_; @@ -213,7 +214,7 @@ class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorScorecard) private: inline void set_has_is_required(); inline void clear_has_is_required(); @@ -235,9 +236,9 @@ class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message { ::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(); + 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_; @@ -300,16 +301,16 @@ class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { 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; + // 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::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 >& + 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::NameGeneratorReplacement >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* mutable_replacements(); // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; @@ -340,7 +341,7 @@ class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGenerator) private: ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -348,12 +349,12 @@ class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { ::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::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_club_5fname_5fgenerator_2eproto(); - friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); + 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_; @@ -428,7 +429,7 @@ class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorReplacement) private: inline void set_has_id(); inline void clear_has_id(); @@ -439,9 +440,9 @@ class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message 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(); + 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_; @@ -454,37 +455,37 @@ class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message // NameGeneratorConfig -// repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1; +// 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::NameGenerator& NameGeneratorConfig::name_generators(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) +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::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) +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::NameGenerator* NameGeneratorConfig::add_name_generators() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) +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::NameGenerator >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >& NameGeneratorConfig::name_generators() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) return name_generators_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* NameGeneratorConfig::mutable_name_generators() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) return &name_generators_; } -// optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2; +// 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; } @@ -495,26 +496,26 @@ 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(); + 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::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.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::NameGeneratorScorecard* NameGeneratorConfig::mutable_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::NameGeneratorScorecard; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.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::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() { +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() { clear_has_club_type_scorecard(); - ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = 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::NameGeneratorScorecard* club_type_scorecard) { +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) { @@ -522,10 +523,10 @@ inline void NameGeneratorConfig::set_allocated_club_type_scorecard(::bgs::protoc } else { clear_has_club_type_scorecard(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) } -// optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3; +// optional .bgs.protocol.club.v1.client.NameGeneratorScorecard locale_scorecard = 3; inline bool NameGeneratorConfig::has_locale_scorecard() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -536,26 +537,26 @@ 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(); + if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::client::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) +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::NameGeneratorScorecard* NameGeneratorConfig::mutable_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::NameGeneratorScorecard; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.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::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() { +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() { clear_has_locale_scorecard(); - ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = 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::NameGeneratorScorecard* locale_scorecard) { +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) { @@ -563,7 +564,7 @@ inline void NameGeneratorConfig::set_allocated_locale_scorecard(::bgs::protocol: } else { clear_has_locale_scorecard(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) } // ------------------------------------------------------------------- @@ -585,13 +586,13 @@ inline void NameGeneratorScorecard::clear_is_required() { clear_has_is_required(); } inline bool NameGeneratorScorecard::is_required() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.is_required) + // @@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.NameGeneratorScorecard.is_required) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.is_required) } // optional uint32 full_match = 2; @@ -609,13 +610,13 @@ inline void NameGeneratorScorecard::clear_full_match() { clear_has_full_match(); } inline ::google::protobuf::uint32 NameGeneratorScorecard::full_match() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_match) + // @@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.NameGeneratorScorecard.full_match) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_match) } // optional uint32 partial_match = 3; @@ -633,13 +634,13 @@ inline void NameGeneratorScorecard::clear_partial_match() { clear_has_partial_match(); } inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_match() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match) + // @@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.NameGeneratorScorecard.partial_match) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_match) } // optional uint32 partial_fallback = 4; @@ -657,13 +658,13 @@ inline void NameGeneratorScorecard::clear_partial_fallback() { clear_has_partial_fallback(); } inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_fallback() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback) + // @@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.NameGeneratorScorecard.partial_fallback) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_fallback) } // optional uint32 full_fallback = 5; @@ -681,13 +682,13 @@ inline void NameGeneratorScorecard::clear_full_fallback() { clear_has_full_fallback(); } inline ::google::protobuf::uint32 NameGeneratorScorecard::full_fallback() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback) + // @@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.NameGeneratorScorecard.full_fallback) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_fallback) } // ------------------------------------------------------------------- @@ -702,79 +703,79 @@ 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) + // @@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.NameGenerator.names) + // @@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.NameGenerator.names) + // @@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.NameGenerator.names) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.names) + // @@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.NameGenerator.names) + // @@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.NameGenerator.names) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.names) + // @@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.NameGenerator.names) + // @@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.NameGenerator.names) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.names) return &names_; } -// repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2; +// 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::NameGeneratorReplacement& NameGenerator::replacements(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.replacements) +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::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.replacements) +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::NameGeneratorReplacement* NameGenerator::add_replacements() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.replacements) +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::NameGeneratorReplacement >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >& NameGenerator::replacements() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.replacements) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.replacements) return replacements_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* NameGenerator::mutable_replacements() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.replacements) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.replacements) return &replacements_; } @@ -786,25 +787,25 @@ 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) + // @@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.NameGenerator.club_types) + // @@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.NameGenerator.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.NameGenerator.club_types) + // @@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.NameGenerator.club_types) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.club_types) return &club_types_; } @@ -816,49 +817,49 @@ 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) + // @@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.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@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.NameGenerator.locales) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.locales) return &locales_; } @@ -883,7 +884,7 @@ inline void NameGeneratorReplacement::clear_id() { clear_has_id(); } inline const ::std::string& NameGeneratorReplacement::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.id) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) return *id_; } inline void NameGeneratorReplacement::set_id(const ::std::string& value) { @@ -892,7 +893,7 @@ inline void NameGeneratorReplacement::set_id(const ::std::string& value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) } inline void NameGeneratorReplacement::set_id(const char* value) { set_has_id(); @@ -900,7 +901,7 @@ inline void NameGeneratorReplacement::set_id(const char* value) { id_ = new ::std::string; } id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.id) + // @@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(); @@ -908,14 +909,14 @@ inline void NameGeneratorReplacement::set_id(const char* value, size_t size) { id_ = new ::std::string; } id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.id) + // @@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.NameGeneratorReplacement.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) return id_; } inline ::std::string* NameGeneratorReplacement::release_id() { @@ -939,7 +940,7 @@ inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) { clear_has_id(); id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorReplacement.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) } // repeated string options = 2; @@ -950,54 +951,55 @@ 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) + // @@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.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.options) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.options) + // @@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<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.options) + // @@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.NameGeneratorReplacement.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 @@ -1012,4 +1014,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_notification.pb.cc b/src/server/proto/Client/api/client/v1/club_notification.pb.cc index 181acd24dcc..48cb2fb8d3d 100644 --- a/src/server/proto/Client/club_notification.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_notification.proto +// source: api/client/v1/club_notification.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_notification.pb.h" +#include "api/client/v1/club_notification.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -89,11 +90,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fnotification_2eproto() { - protobuf_AddDesc_club_5fnotification_2eproto(); +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( - "club_notification.proto"); + "api/client/v1/club_notification.proto"); GOOGLE_CHECK(file != NULL); SubscribeNotification_descriptor_ = file->message_type(0); static const int SubscribeNotification_offsets_[6] = { @@ -373,11 +374,12 @@ void protobuf_AssignDesc_club_5fnotification_2eproto() { ::google::protobuf::MessageFactory::generated_factory(), sizeof(StreamStateChangedNotification)); StreamMessageAddedNotification_descriptor_ = file->message_type(16); - static const int StreamMessageAddedNotification_offsets_[4] = { + 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( @@ -468,7 +470,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fnotification_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -519,7 +521,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fnotification_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { delete SubscribeNotification::default_instance_; delete SubscribeNotification_reflection_; delete UnsubscribeNotification::default_instance_; @@ -564,108 +566,116 @@ void protobuf_ShutdownFile_club_5fnotification_2eproto() { delete StreamAdvanceViewTimeNotification_reflection_; } -void protobuf_AddDesc_club_5fnotification_2eproto() { +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::protobuf_AddDesc_club_5ftypes_2eproto(); + ::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\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" + "\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\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" + "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\?\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_" + "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\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" + "\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\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); + "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( - "club_notification.proto", &protobuf_RegisterTypes); + "api/client/v1/club_notification.proto", &protobuf_RegisterTypes); SubscribeNotification::default_instance_ = new SubscribeNotification(); UnsubscribeNotification::default_instance_ = new UnsubscribeNotification(); StateChangedNotification::default_instance_ = new StateChangedNotification(); @@ -708,15 +718,15 @@ void protobuf_AddDesc_club_5fnotification_2eproto() { StreamTypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); StreamUnreadIndicatorNotification::default_instance_->InitAsDefaultInstance(); StreamAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fnotification_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fnotification_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -731,22 +741,22 @@ const int SubscribeNotification::kMemberFieldNumber; SubscribeNotification::SubscribeNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeNotification) + // @@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::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()); + 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.SubscribeNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeNotification) } void SubscribeNotification::SharedCtor() { @@ -761,7 +771,7 @@ void SubscribeNotification::SharedCtor() { } SubscribeNotification::~SubscribeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeNotification) SharedDtor(); } @@ -786,7 +796,7 @@ const ::google::protobuf::Descriptor* SubscribeNotification::descriptor() { } const SubscribeNotification& SubscribeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -819,7 +829,7 @@ const int UnsubscribeNotification::kClubIdFieldNumber; UnsubscribeNotification::UnsubscribeNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) } void UnsubscribeNotification::InitAsDefaultInstance() { @@ -830,7 +840,7 @@ UnsubscribeNotification::UnsubscribeNotification(const UnsubscribeNotification& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) } void UnsubscribeNotification::SharedCtor() { @@ -841,7 +851,7 @@ void UnsubscribeNotification::SharedCtor() { } UnsubscribeNotification::~UnsubscribeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeNotification) SharedDtor(); } @@ -862,7 +872,7 @@ const ::google::protobuf::Descriptor* UnsubscribeNotification::descriptor() { } const UnsubscribeNotification& UnsubscribeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -896,19 +906,19 @@ const int StateChangedNotification::kAssignmentFieldNumber; StateChangedNotification::StateChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StateChangedNotification) + // @@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::ClubStateAssignment*>(&::bgs::protocol::club::v1::ClubStateAssignment::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.StateChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StateChangedNotification) } void StateChangedNotification::SharedCtor() { @@ -920,7 +930,7 @@ void StateChangedNotification::SharedCtor() { } StateChangedNotification::~StateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StateChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StateChangedNotification) SharedDtor(); } @@ -942,7 +952,7 @@ const ::google::protobuf::Descriptor* StateChangedNotification::descriptor() { } const StateChangedNotification& StateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -976,19 +986,19 @@ const int SettingsChangedNotification::kAssignmentFieldNumber; SettingsChangedNotification::SettingsChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SettingsChangedNotification) + // @@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::ClubSettingsAssignment*>(&::bgs::protocol::club::v1::ClubSettingsAssignment::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.SettingsChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SettingsChangedNotification) } void SettingsChangedNotification::SharedCtor() { @@ -1000,7 +1010,7 @@ void SettingsChangedNotification::SharedCtor() { } SettingsChangedNotification::~SettingsChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SettingsChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SettingsChangedNotification) SharedDtor(); } @@ -1022,7 +1032,7 @@ const ::google::protobuf::Descriptor* SettingsChangedNotification::descriptor() } const SettingsChangedNotification& SettingsChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1056,7 +1066,7 @@ const int MemberAddedNotification::kMemberFieldNumber; MemberAddedNotification::MemberAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberAddedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAddedNotification) } void MemberAddedNotification::InitAsDefaultInstance() { @@ -1067,7 +1077,7 @@ MemberAddedNotification::MemberAddedNotification(const MemberAddedNotification& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAddedNotification) } void MemberAddedNotification::SharedCtor() { @@ -1078,7 +1088,7 @@ void MemberAddedNotification::SharedCtor() { } MemberAddedNotification::~MemberAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAddedNotification) SharedDtor(); } @@ -1099,7 +1109,7 @@ const ::google::protobuf::Descriptor* MemberAddedNotification::descriptor() { } const MemberAddedNotification& MemberAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1133,7 +1143,7 @@ const int MemberRemovedNotification::kMemberFieldNumber; MemberRemovedNotification::MemberRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) } void MemberRemovedNotification::InitAsDefaultInstance() { @@ -1144,7 +1154,7 @@ MemberRemovedNotification::MemberRemovedNotification(const MemberRemovedNotifica : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) } void MemberRemovedNotification::SharedCtor() { @@ -1155,7 +1165,7 @@ void MemberRemovedNotification::SharedCtor() { } MemberRemovedNotification::~MemberRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedNotification) SharedDtor(); } @@ -1176,7 +1186,7 @@ const ::google::protobuf::Descriptor* MemberRemovedNotification::descriptor() { } const MemberRemovedNotification& MemberRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1210,7 +1220,7 @@ const int MemberStateChangedNotification::kAssignmentFieldNumber; MemberStateChangedNotification::MemberStateChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateChangedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) } void MemberStateChangedNotification::InitAsDefaultInstance() { @@ -1221,7 +1231,7 @@ MemberStateChangedNotification::MemberStateChangedNotification(const MemberState : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) } void MemberStateChangedNotification::SharedCtor() { @@ -1232,7 +1242,7 @@ void MemberStateChangedNotification::SharedCtor() { } MemberStateChangedNotification::~MemberStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) SharedDtor(); } @@ -1253,7 +1263,7 @@ const ::google::protobuf::Descriptor* MemberStateChangedNotification::descriptor } const MemberStateChangedNotification& MemberStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1287,7 +1297,7 @@ const int SubscriberStateChangedNotification::kAssignmentFieldNumber; SubscriberStateChangedNotification::SubscriberStateChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) } void SubscriberStateChangedNotification::InitAsDefaultInstance() { @@ -1298,7 +1308,7 @@ SubscriberStateChangedNotification::SubscriberStateChangedNotification(const Sub : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) } void SubscriberStateChangedNotification::SharedCtor() { @@ -1309,7 +1319,7 @@ void SubscriberStateChangedNotification::SharedCtor() { } SubscriberStateChangedNotification::~SubscriberStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) SharedDtor(); } @@ -1330,7 +1340,7 @@ const ::google::protobuf::Descriptor* SubscriberStateChangedNotification::descri } const SubscriberStateChangedNotification& SubscriberStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1364,7 +1374,7 @@ const int MemberRoleChangedNotification::kAssignmentFieldNumber; MemberRoleChangedNotification::MemberRoleChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRoleChangedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) } void MemberRoleChangedNotification::InitAsDefaultInstance() { @@ -1375,7 +1385,7 @@ MemberRoleChangedNotification::MemberRoleChangedNotification(const MemberRoleCha : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRoleChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) } void MemberRoleChangedNotification::SharedCtor() { @@ -1386,7 +1396,7 @@ void MemberRoleChangedNotification::SharedCtor() { } MemberRoleChangedNotification::~MemberRoleChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRoleChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) SharedDtor(); } @@ -1407,7 +1417,7 @@ const ::google::protobuf::Descriptor* MemberRoleChangedNotification::descriptor( } const MemberRoleChangedNotification& MemberRoleChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1441,19 +1451,19 @@ const int InvitationAddedNotification::kInvitationFieldNumber; InvitationAddedNotification::InvitationAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.InvitationAddedNotification) + // @@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::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::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.InvitationAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationAddedNotification) } void InvitationAddedNotification::SharedCtor() { @@ -1465,7 +1475,7 @@ void InvitationAddedNotification::SharedCtor() { } InvitationAddedNotification::~InvitationAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.InvitationAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationAddedNotification) SharedDtor(); } @@ -1487,7 +1497,7 @@ const ::google::protobuf::Descriptor* InvitationAddedNotification::descriptor() } const InvitationAddedNotification& InvitationAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1522,7 +1532,7 @@ const int InvitationRemovedNotification::kReasonFieldNumber; InvitationRemovedNotification::InvitationRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.InvitationRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) } void InvitationRemovedNotification::InitAsDefaultInstance() { @@ -1533,7 +1543,7 @@ InvitationRemovedNotification::InvitationRemovedNotification(const InvitationRem : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.InvitationRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) } void InvitationRemovedNotification::SharedCtor() { @@ -1546,7 +1556,7 @@ void InvitationRemovedNotification::SharedCtor() { } InvitationRemovedNotification::~InvitationRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.InvitationRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) SharedDtor(); } @@ -1567,7 +1577,7 @@ const ::google::protobuf::Descriptor* InvitationRemovedNotification::descriptor( } const InvitationRemovedNotification& InvitationRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1601,19 +1611,19 @@ const int SuggestionAddedNotification::kSuggestionFieldNumber; SuggestionAddedNotification::SuggestionAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SuggestionAddedNotification) + // @@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::ClubSuggestion*>(&::bgs::protocol::club::v1::ClubSuggestion::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.SuggestionAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) } void SuggestionAddedNotification::SharedCtor() { @@ -1625,7 +1635,7 @@ void SuggestionAddedNotification::SharedCtor() { } SuggestionAddedNotification::~SuggestionAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SuggestionAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) SharedDtor(); } @@ -1647,7 +1657,7 @@ const ::google::protobuf::Descriptor* SuggestionAddedNotification::descriptor() } const SuggestionAddedNotification& SuggestionAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1682,7 +1692,7 @@ const int SuggestionRemovedNotification::kReasonFieldNumber; SuggestionRemovedNotification::SuggestionRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SuggestionRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) } void SuggestionRemovedNotification::InitAsDefaultInstance() { @@ -1693,7 +1703,7 @@ SuggestionRemovedNotification::SuggestionRemovedNotification(const SuggestionRem : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SuggestionRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) } void SuggestionRemovedNotification::SharedCtor() { @@ -1706,7 +1716,7 @@ void SuggestionRemovedNotification::SharedCtor() { } SuggestionRemovedNotification::~SuggestionRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SuggestionRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) SharedDtor(); } @@ -1727,7 +1737,7 @@ const ::google::protobuf::Descriptor* SuggestionRemovedNotification::descriptor( } const SuggestionRemovedNotification& SuggestionRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1761,19 +1771,19 @@ const int StreamAddedNotification::kStreamFieldNumber; StreamAddedNotification::StreamAddedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAddedNotification) + // @@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::Stream*>(&::bgs::protocol::club::v1::Stream::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.StreamAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAddedNotification) } void StreamAddedNotification::SharedCtor() { @@ -1785,7 +1795,7 @@ void StreamAddedNotification::SharedCtor() { } StreamAddedNotification::~StreamAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAddedNotification) SharedDtor(); } @@ -1807,7 +1817,7 @@ const ::google::protobuf::Descriptor* StreamAddedNotification::descriptor() { } const StreamAddedNotification& StreamAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1841,7 +1851,7 @@ const int StreamRemovedNotification::kStreamIdFieldNumber; StreamRemovedNotification::StreamRemovedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamRemovedNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) } void StreamRemovedNotification::InitAsDefaultInstance() { @@ -1852,7 +1862,7 @@ StreamRemovedNotification::StreamRemovedNotification(const StreamRemovedNotifica : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamRemovedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) } void StreamRemovedNotification::SharedCtor() { @@ -1864,7 +1874,7 @@ void StreamRemovedNotification::SharedCtor() { } StreamRemovedNotification::~StreamRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamRemovedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamRemovedNotification) SharedDtor(); } @@ -1885,7 +1895,7 @@ const ::google::protobuf::Descriptor* StreamRemovedNotification::descriptor() { } const StreamRemovedNotification& StreamRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1920,19 +1930,19 @@ const int StreamStateChangedNotification::kAssignmentFieldNumber; StreamStateChangedNotification::StreamStateChangedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateChangedNotification) + // @@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::StreamStateAssignment*>(&::bgs::protocol::club::v1::StreamStateAssignment::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.StreamStateChangedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) } void StreamStateChangedNotification::SharedCtor() { @@ -1945,7 +1955,7 @@ void StreamStateChangedNotification::SharedCtor() { } StreamStateChangedNotification::~StreamStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateChangedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) SharedDtor(); } @@ -1967,7 +1977,7 @@ const ::google::protobuf::Descriptor* StreamStateChangedNotification::descriptor } const StreamStateChangedNotification& StreamStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -1997,24 +2007,25 @@ 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.StreamMessageAddedNotification) + // @@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::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::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.StreamMessageAddedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) } void StreamMessageAddedNotification::SharedCtor() { @@ -2023,11 +2034,12 @@ void StreamMessageAddedNotification::SharedCtor() { 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.StreamMessageAddedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) SharedDtor(); } @@ -2049,7 +2061,7 @@ const ::google::protobuf::Descriptor* StreamMessageAddedNotification::descriptor } const StreamMessageAddedNotification& StreamMessageAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -2084,19 +2096,19 @@ const int StreamMessageUpdatedNotification::kMessageFieldNumber; StreamMessageUpdatedNotification::StreamMessageUpdatedNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMessageUpdatedNotification) + // @@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::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::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.StreamMessageUpdatedNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) } void StreamMessageUpdatedNotification::SharedCtor() { @@ -2109,7 +2121,7 @@ void StreamMessageUpdatedNotification::SharedCtor() { } StreamMessageUpdatedNotification::~StreamMessageUpdatedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMessageUpdatedNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) SharedDtor(); } @@ -2131,7 +2143,7 @@ const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification::descript } const StreamMessageUpdatedNotification& StreamMessageUpdatedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -2166,7 +2178,7 @@ const int StreamTypingIndicatorNotification::kIndicatorFieldNumber; StreamTypingIndicatorNotification::StreamTypingIndicatorNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) } void StreamTypingIndicatorNotification::InitAsDefaultInstance() { @@ -2177,7 +2189,7 @@ StreamTypingIndicatorNotification::StreamTypingIndicatorNotification(const Strea : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) } void StreamTypingIndicatorNotification::SharedCtor() { @@ -2189,7 +2201,7 @@ void StreamTypingIndicatorNotification::SharedCtor() { } StreamTypingIndicatorNotification::~StreamTypingIndicatorNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) SharedDtor(); } @@ -2210,7 +2222,7 @@ const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification::descrip } const StreamTypingIndicatorNotification& StreamTypingIndicatorNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -2245,20 +2257,20 @@ const int StreamUnreadIndicatorNotification::kMessageFieldNumber; StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) + // @@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::StreamEventTime*>(&::bgs::protocol::club::v1::StreamEventTime::default_instance()); - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::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.StreamUnreadIndicatorNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) } void StreamUnreadIndicatorNotification::SharedCtor() { @@ -2271,7 +2283,7 @@ void StreamUnreadIndicatorNotification::SharedCtor() { } StreamUnreadIndicatorNotification::~StreamUnreadIndicatorNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) SharedDtor(); } @@ -2294,7 +2306,7 @@ const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification::descrip } const StreamUnreadIndicatorNotification& StreamUnreadIndicatorNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -2328,7 +2340,7 @@ const int StreamAdvanceViewTimeNotification::kViewFieldNumber; StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) } void StreamAdvanceViewTimeNotification::InitAsDefaultInstance() { @@ -2339,7 +2351,7 @@ StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification(const Strea : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) } void StreamAdvanceViewTimeNotification::SharedCtor() { @@ -2350,7 +2362,7 @@ void StreamAdvanceViewTimeNotification::SharedCtor() { } StreamAdvanceViewTimeNotification::~StreamAdvanceViewTimeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) SharedDtor(); } @@ -2371,7 +2383,7 @@ const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification::descrip } const StreamAdvanceViewTimeNotification& StreamAdvanceViewTimeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); return *default_instance_; } @@ -2396,6 +2408,7 @@ void StreamAdvanceViewTimeNotification::Swap(StreamAdvanceViewTimeNotification* // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_notification.pb.h b/src/server/proto/Client/api/client/v1/club_notification.pb.h index c0a4fee213b..a53dc6192fa 100644 --- a/src/server/proto/Client/club_notification.pb.h +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_notification.proto +// source: api/client/v1/club_notification.proto -#ifndef PROTOBUF_club_5fnotification_2eproto__INCLUDED -#define PROTOBUF_club_5fnotification_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED #include <string> @@ -24,7 +24,8 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_types.pb.h" // IWYU pragma: export +#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) @@ -33,11 +34,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -119,43 +121,43 @@ class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.Club club = 4; + // 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::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); + 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.ClubView view = 5; + // 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::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); + 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.ClubSettings settings = 10; + // 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::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); + 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.Member member = 11; + // 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::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); + 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.SubscribeNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -176,13 +178,13 @@ class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message { 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(); + ::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_; @@ -245,7 +247,7 @@ class TC_PROTO_API UnsubscribeNotification : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -258,9 +260,9 @@ class TC_PROTO_API UnsubscribeNotification : public ::google::protobuf::Message 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(); + 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_; @@ -323,16 +325,16 @@ class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubStateAssignment assignment = 5; + // 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::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); + 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.StateChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StateChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -347,10 +349,10 @@ class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message 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(); + ::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_; @@ -413,16 +415,16 @@ class TC_PROTO_API SettingsChangedNotification : public ::google::protobuf::Mess inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubSettingsAssignment assignment = 4; + // 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::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); + 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.SettingsChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SettingsChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -437,10 +439,10 @@ class TC_PROTO_API SettingsChangedNotification : public ::google::protobuf::Mess 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(); + ::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_; @@ -503,19 +505,19 @@ class TC_PROTO_API MemberAddedNotification : public ::google::protobuf::Message inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.Member member = 4; + // 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::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 >& + 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::Member >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* mutable_member(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberAddedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAddedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -528,10 +530,10 @@ class TC_PROTO_API MemberAddedNotification : public ::google::protobuf::Message 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(); + ::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_; @@ -594,19 +596,19 @@ class TC_PROTO_API MemberRemovedNotification : public ::google::protobuf::Messag inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.MemberRemovedAssignment member = 4; + // 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::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 >& + 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::MemberRemovedAssignment >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* mutable_member(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberRemovedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -619,10 +621,10 @@ class TC_PROTO_API MemberRemovedNotification : public ::google::protobuf::Messag 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(); + ::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_; @@ -685,19 +687,19 @@ class TC_PROTO_API MemberStateChangedNotification : public ::google::protobuf::M inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.MemberStateAssignment assignment = 4; + // 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::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 >& + 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::MemberStateAssignment >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* mutable_assignment(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -710,10 +712,10 @@ class TC_PROTO_API MemberStateChangedNotification : public ::google::protobuf::M 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(); + ::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_; @@ -776,19 +778,19 @@ class TC_PROTO_API SubscriberStateChangedNotification : public ::google::protobu inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.SubscriberStateAssignment assignment = 4; + // 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::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 >& + 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::SubscriberStateAssignment >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* mutable_assignment(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscriberStateChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -801,10 +803,10 @@ class TC_PROTO_API SubscriberStateChangedNotification : public ::google::protobu 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(); + ::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_; @@ -867,19 +869,19 @@ class TC_PROTO_API MemberRoleChangedNotification : public ::google::protobuf::Me inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.RoleAssignment assignment = 4; + // 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::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 >& + 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::RoleAssignment >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* mutable_assignment(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberRoleChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRoleChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -892,10 +894,10 @@ class TC_PROTO_API MemberRoleChangedNotification : public ::google::protobuf::Me 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(); + ::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_; @@ -958,16 +960,16 @@ class TC_PROTO_API InvitationAddedNotification : public ::google::protobuf::Mess inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubInvitation invitation = 4; + // 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::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); + 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.InvitationAddedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationAddedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -982,10 +984,10 @@ class TC_PROTO_API InvitationAddedNotification : public ::google::protobuf::Mess 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(); + ::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_; @@ -1062,7 +1064,7 @@ class TC_PROTO_API InvitationRemovedNotification : public ::google::protobuf::Me inline ::bgs::protocol::InvitationRemovedReason reason() const; inline void set_reason(::bgs::protocol::InvitationRemovedReason value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.InvitationRemovedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationRemovedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1081,9 +1083,9 @@ class TC_PROTO_API InvitationRemovedNotification : public ::google::protobuf::Me ::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(); + 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_; @@ -1146,16 +1148,16 @@ class TC_PROTO_API SuggestionAddedNotification : public ::google::protobuf::Mess inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 4; + // 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::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); + 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.SuggestionAddedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionAddedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1170,10 +1172,10 @@ class TC_PROTO_API SuggestionAddedNotification : public ::google::protobuf::Mess 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(); + ::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_; @@ -1250,7 +1252,7 @@ class TC_PROTO_API SuggestionRemovedNotification : public ::google::protobuf::Me inline ::bgs::protocol::SuggestionRemovedReason reason() const; inline void set_reason(::bgs::protocol::SuggestionRemovedReason value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SuggestionRemovedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionRemovedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1269,9 +1271,9 @@ class TC_PROTO_API SuggestionRemovedNotification : public ::google::protobuf::Me ::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(); + 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_; @@ -1334,16 +1336,16 @@ class TC_PROTO_API StreamAddedNotification : public ::google::protobuf::Message inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.Stream stream = 4; + // 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::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); + 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.StreamAddedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAddedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1358,10 +1360,10 @@ class TC_PROTO_API StreamAddedNotification : public ::google::protobuf::Message 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(); + ::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_; @@ -1431,7 +1433,7 @@ class TC_PROTO_API StreamRemovedNotification : public ::google::protobuf::Messag 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamRemovedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1447,9 +1449,9 @@ class TC_PROTO_API StreamRemovedNotification : public ::google::protobuf::Messag ::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(); + 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_; @@ -1519,16 +1521,16 @@ class TC_PROTO_API StreamStateChangedNotification : public ::google::protobuf::M inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamStateAssignment assignment = 5; + // 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::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); + 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.StreamStateChangedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateChangedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1546,10 +1548,10 @@ class TC_PROTO_API StreamStateChangedNotification : public ::google::protobuf::M ::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(); + ::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_; @@ -1619,16 +1621,23 @@ class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::M inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamMessage message = 5; + // 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::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) + 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(); @@ -1638,6 +1647,8 @@ class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::M 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_; @@ -1646,10 +1657,11 @@ class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::M ::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(); + ::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_; @@ -1719,16 +1731,16 @@ class TC_PROTO_API StreamMessageUpdatedNotification : public ::google::protobuf: inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamMessage message = 5; + // 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::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); + 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.StreamMessageUpdatedNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1746,10 +1758,10 @@ class TC_PROTO_API StreamMessageUpdatedNotification : public ::google::protobuf: ::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(); + ::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_; @@ -1819,19 +1831,19 @@ class TC_PROTO_API StreamTypingIndicatorNotification : public ::google::protobuf inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.StreamTypingIndicator indicator = 5; + // 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::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 >& + 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::StreamTypingIndicator >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* mutable_indicator(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamTypingIndicatorNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1847,10 +1859,10 @@ class TC_PROTO_API StreamTypingIndicatorNotification : public ::google::protobuf ::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(); + ::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_; @@ -1913,25 +1925,25 @@ class TC_PROTO_API StreamUnreadIndicatorNotification : public ::google::protobuf inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamEventTime event = 4; + // 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::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); + 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.StreamMessage message = 5; + // 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::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); + 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.StreamUnreadIndicatorNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1948,11 +1960,11 @@ class TC_PROTO_API StreamUnreadIndicatorNotification : public ::google::protobuf 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(); + ::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_; @@ -2015,19 +2027,19 @@ class TC_PROTO_API StreamAdvanceViewTimeNotification : public ::google::protobuf inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // repeated .bgs.protocol.club.v1.StreamAdvanceViewTime view = 4; + // 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::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 >& + 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::StreamAdvanceViewTime >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* mutable_view(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2040,10 +2052,10 @@ class TC_PROTO_API StreamAdvanceViewTimeNotification : public ::google::protobuf 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(); + ::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_; @@ -2071,13 +2083,13 @@ inline void SubscribeNotification::clear_agent_id() { 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) + // @@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.SubscribeNotification.agent_id) + // @@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() { @@ -2094,7 +2106,7 @@ inline void SubscribeNotification::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) } // optional uint64 club_id = 3; @@ -2112,16 +2124,16 @@ inline void SubscribeNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SubscribeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.club_id) + // @@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.SubscribeNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeNotification.club_id) } -// optional .bgs.protocol.club.v1.Club club = 4; +// optional .bgs.protocol.club.v1.client.Club club = 4; inline bool SubscribeNotification::has_club() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2132,26 +2144,26 @@ 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(); + if (club_ != NULL) club_->::bgs::protocol::club::v1::client::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) +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::Club* SubscribeNotification::mutable_club() { +inline ::bgs::protocol::club::v1::client::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) + 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::Club* SubscribeNotification::release_club() { +inline ::bgs::protocol::club::v1::client::Club* SubscribeNotification::release_club() { clear_has_club(); - ::bgs::protocol::club::v1::Club* temp = club_; + ::bgs::protocol::club::v1::client::Club* temp = club_; club_ = NULL; return temp; } -inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1::Club* club) { +inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1::client::Club* club) { delete club_; club_ = club; if (club) { @@ -2159,10 +2171,10 @@ inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1: } else { clear_has_club(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.club) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.club) } -// optional .bgs.protocol.club.v1.ClubView view = 5; +// optional .bgs.protocol.club.v1.client.ClubView view = 5; inline bool SubscribeNotification::has_view() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -2173,26 +2185,26 @@ 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(); + if (view_ != NULL) view_->::bgs::protocol::club::v1::client::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) +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::ClubView* SubscribeNotification::mutable_view() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubView* SubscribeNotification::release_view() { +inline ::bgs::protocol::club::v1::client::ClubView* SubscribeNotification::release_view() { clear_has_view(); - ::bgs::protocol::club::v1::ClubView* temp = view_; + ::bgs::protocol::club::v1::client::ClubView* temp = view_; view_ = NULL; return temp; } -inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1::ClubView* view) { +inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1::client::ClubView* view) { delete view_; view_ = view; if (view) { @@ -2200,10 +2212,10 @@ inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1: } else { clear_has_view(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.view) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.view) } -// optional .bgs.protocol.club.v1.ClubSettings settings = 10; +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 10; inline bool SubscribeNotification::has_settings() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -2214,26 +2226,26 @@ 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(); + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::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) +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::ClubSettings* SubscribeNotification::mutable_settings() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSettings* SubscribeNotification::release_settings() { +inline ::bgs::protocol::club::v1::client::ClubSettings* SubscribeNotification::release_settings() { clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; settings_ = NULL; return temp; } -inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { +inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { delete settings_; settings_ = settings; if (settings) { @@ -2241,10 +2253,10 @@ inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club: } else { clear_has_settings(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.settings) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.settings) } -// optional .bgs.protocol.club.v1.Member member = 11; +// optional .bgs.protocol.club.v1.client.Member member = 11; inline bool SubscribeNotification::has_member() const { return (_has_bits_[0] & 0x00000020u) != 0; } @@ -2255,26 +2267,26 @@ 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(); + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::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) +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::Member* SubscribeNotification::mutable_member() { +inline ::bgs::protocol::club::v1::client::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) + 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::Member* SubscribeNotification::release_member() { +inline ::bgs::protocol::club::v1::client::Member* SubscribeNotification::release_member() { clear_has_member(); - ::bgs::protocol::club::v1::Member* temp = member_; + ::bgs::protocol::club::v1::client::Member* temp = member_; member_ = NULL; return temp; } -inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v1::Member* member) { +inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { delete member_; member_ = member; if (member) { @@ -2282,7 +2294,7 @@ inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v } else { clear_has_member(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.member) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.member) } // ------------------------------------------------------------------- @@ -2304,13 +2316,13 @@ inline void UnsubscribeNotification::clear_agent_id() { 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) + // @@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.UnsubscribeNotification.agent_id) + // @@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() { @@ -2327,7 +2339,7 @@ inline void UnsubscribeNotification::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) } // optional uint64 club_id = 3; @@ -2345,13 +2357,13 @@ inline void UnsubscribeNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UnsubscribeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeNotification.club_id) + // @@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.UnsubscribeNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeNotification.club_id) } // ------------------------------------------------------------------- @@ -2373,13 +2385,13 @@ inline void StateChangedNotification::clear_agent_id() { 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) + // @@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.StateChangedNotification.agent_id) + // @@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() { @@ -2396,7 +2408,7 @@ inline void StateChangedNotification::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StateChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2414,16 +2426,16 @@ inline void StateChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StateChangedNotification.club_id) + // @@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.StateChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StateChangedNotification.club_id) } -// optional .bgs.protocol.club.v1.ClubStateAssignment assignment = 5; +// optional .bgs.protocol.club.v1.client.ClubStateAssignment assignment = 5; inline bool StateChangedNotification::has_assignment() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2434,26 +2446,26 @@ 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(); + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::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) +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::ClubStateAssignment* StateChangedNotification::mutable_assignment() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubStateAssignment* StateChangedNotification::release_assignment() { +inline ::bgs::protocol::club::v1::client::ClubStateAssignment* StateChangedNotification::release_assignment() { clear_has_assignment(); - ::bgs::protocol::club::v1::ClubStateAssignment* temp = assignment_; + ::bgs::protocol::club::v1::client::ClubStateAssignment* temp = assignment_; assignment_ = NULL; return temp; } -inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubStateAssignment* assignment) { +inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubStateAssignment* assignment) { delete assignment_; assignment_ = assignment; if (assignment) { @@ -2461,7 +2473,7 @@ inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol:: } else { clear_has_assignment(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StateChangedNotification.assignment) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.assignment) } // ------------------------------------------------------------------- @@ -2483,13 +2495,13 @@ inline void SettingsChangedNotification::clear_agent_id() { 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) + // @@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.SettingsChangedNotification.agent_id) + // @@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() { @@ -2506,7 +2518,7 @@ inline void SettingsChangedNotification::set_allocated_agent_id(::bgs::protocol: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SettingsChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2524,16 +2536,16 @@ inline void SettingsChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SettingsChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SettingsChangedNotification.club_id) + // @@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.SettingsChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SettingsChangedNotification.club_id) } -// optional .bgs.protocol.club.v1.ClubSettingsAssignment assignment = 4; +// optional .bgs.protocol.club.v1.client.ClubSettingsAssignment assignment = 4; inline bool SettingsChangedNotification::has_assignment() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2544,26 +2556,26 @@ 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(); + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::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) +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::ClubSettingsAssignment* SettingsChangedNotification::mutable_assignment() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSettingsAssignment* SettingsChangedNotification::release_assignment() { +inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* SettingsChangedNotification::release_assignment() { clear_has_assignment(); - ::bgs::protocol::club::v1::ClubSettingsAssignment* temp = assignment_; + ::bgs::protocol::club::v1::client::ClubSettingsAssignment* temp = assignment_; assignment_ = NULL; return temp; } -inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubSettingsAssignment* assignment) { +inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment) { delete assignment_; assignment_ = assignment; if (assignment) { @@ -2571,7 +2583,7 @@ inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protoco } else { clear_has_assignment(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SettingsChangedNotification.assignment) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) } // ------------------------------------------------------------------- @@ -2593,13 +2605,13 @@ inline void MemberAddedNotification::clear_agent_id() { 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) + // @@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.MemberAddedNotification.agent_id) + // @@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() { @@ -2616,7 +2628,7 @@ inline void MemberAddedNotification::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2634,42 +2646,42 @@ inline void MemberAddedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 MemberAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAddedNotification.club_id) + // @@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.MemberAddedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberAddedNotification.club_id) } -// repeated .bgs.protocol.club.v1.Member member = 4; +// 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::Member& MemberAddedNotification::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAddedNotification.member) +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::Member* MemberAddedNotification::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberAddedNotification.member) +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::Member* MemberAddedNotification::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberAddedNotification.member) +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::Member >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& MemberAddedNotification::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberAddedNotification.member) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) return member_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* MemberAddedNotification::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberAddedNotification.member) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) return &member_; } @@ -2692,13 +2704,13 @@ inline void MemberRemovedNotification::clear_agent_id() { 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) + // @@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.MemberRemovedNotification.agent_id) + // @@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() { @@ -2715,7 +2727,7 @@ inline void MemberRemovedNotification::set_allocated_agent_id(::bgs::protocol::c } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2733,42 +2745,42 @@ inline void MemberRemovedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 MemberRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedNotification.club_id) + // @@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.MemberRemovedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedNotification.club_id) } -// repeated .bgs.protocol.club.v1.MemberRemovedAssignment member = 4; +// 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::MemberRemovedAssignment& MemberRemovedNotification::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedNotification.member) +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::MemberRemovedAssignment* MemberRemovedNotification::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRemovedNotification.member) +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::MemberRemovedAssignment* MemberRemovedNotification::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberRemovedNotification.member) +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::MemberRemovedAssignment >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >& MemberRemovedNotification::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberRemovedNotification.member) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) return member_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* MemberRemovedNotification::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberRemovedNotification.member) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) return &member_; } @@ -2791,13 +2803,13 @@ inline void MemberStateChangedNotification::clear_agent_id() { 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) + // @@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.MemberStateChangedNotification.agent_id) + // @@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() { @@ -2814,7 +2826,7 @@ inline void MemberStateChangedNotification::set_allocated_agent_id(::bgs::protoc } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2832,42 +2844,42 @@ inline void MemberStateChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 MemberStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateChangedNotification.club_id) + // @@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.MemberStateChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateChangedNotification.club_id) } -// repeated .bgs.protocol.club.v1.MemberStateAssignment assignment = 4; +// 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::MemberStateAssignment& MemberStateChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) +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::MemberStateAssignment* MemberStateChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) +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::MemberStateAssignment* MemberStateChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) +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::MemberStateAssignment >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >& MemberStateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) return assignment_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* MemberStateChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) return &assignment_; } @@ -2890,13 +2902,13 @@ inline void SubscriberStateChangedNotification::clear_agent_id() { 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) + // @@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.SubscriberStateChangedNotification.agent_id) + // @@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() { @@ -2913,7 +2925,7 @@ inline void SubscriberStateChangedNotification::set_allocated_agent_id(::bgs::pr } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -2931,42 +2943,42 @@ inline void SubscriberStateChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SubscriberStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateChangedNotification.club_id) + // @@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.SubscriberStateChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.club_id) } -// repeated .bgs.protocol.club.v1.SubscriberStateAssignment assignment = 4; +// 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::SubscriberStateAssignment& SubscriberStateChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) +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::SubscriberStateAssignment* SubscriberStateChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) +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::SubscriberStateAssignment* SubscriberStateChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) +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::SubscriberStateAssignment >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >& SubscriberStateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) return assignment_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* SubscriberStateChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) return &assignment_; } @@ -2989,13 +3001,13 @@ inline void MemberRoleChangedNotification::clear_agent_id() { 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) + // @@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.MemberRoleChangedNotification.agent_id) + // @@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() { @@ -3012,7 +3024,7 @@ inline void MemberRoleChangedNotification::set_allocated_agent_id(::bgs::protoco } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRoleChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3030,42 +3042,42 @@ inline void MemberRoleChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 MemberRoleChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRoleChangedNotification.club_id) + // @@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.MemberRoleChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRoleChangedNotification.club_id) } -// repeated .bgs.protocol.club.v1.RoleAssignment assignment = 4; +// 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::RoleAssignment& MemberRoleChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) +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::RoleAssignment* MemberRoleChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) +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::RoleAssignment* MemberRoleChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) +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::RoleAssignment >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >& MemberRoleChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) return assignment_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* MemberRoleChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) return &assignment_; } @@ -3088,13 +3100,13 @@ inline void InvitationAddedNotification::clear_agent_id() { 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) + // @@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.InvitationAddedNotification.agent_id) + // @@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() { @@ -3111,7 +3123,7 @@ inline void InvitationAddedNotification::set_allocated_agent_id(::bgs::protocol: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3129,16 +3141,16 @@ inline void InvitationAddedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 InvitationAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationAddedNotification.club_id) + // @@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.InvitationAddedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationAddedNotification.club_id) } -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 4; +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 4; inline bool InvitationAddedNotification::has_invitation() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -3149,26 +3161,26 @@ 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(); + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::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) +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::ClubInvitation* InvitationAddedNotification::mutable_invitation() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubInvitation* InvitationAddedNotification::release_invitation() { +inline ::bgs::protocol::club::v1::client::ClubInvitation* InvitationAddedNotification::release_invitation() { clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; invitation_ = NULL; return temp; } -inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { +inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { delete invitation_; invitation_ = invitation; if (invitation) { @@ -3176,7 +3188,7 @@ inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protoco } else { clear_has_invitation(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationAddedNotification.invitation) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) } // ------------------------------------------------------------------- @@ -3198,13 +3210,13 @@ inline void InvitationRemovedNotification::clear_agent_id() { 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) + // @@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.InvitationRemovedNotification.agent_id) + // @@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() { @@ -3221,7 +3233,7 @@ inline void InvitationRemovedNotification::set_allocated_agent_id(::bgs::protoco } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3239,13 +3251,13 @@ inline void InvitationRemovedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 InvitationRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.club_id) + // @@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.InvitationRemovedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.club_id) } // optional fixed64 invitation_id = 4; @@ -3263,13 +3275,13 @@ inline void InvitationRemovedNotification::clear_invitation_id() { clear_has_invitation_id(); } inline ::google::protobuf::uint64 InvitationRemovedNotification::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.invitation_id) + // @@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.InvitationRemovedNotification.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.invitation_id) } // optional .bgs.protocol.InvitationRemovedReason reason = 5; @@ -3287,14 +3299,14 @@ inline void InvitationRemovedNotification::clear_reason() { clear_has_reason(); } inline ::bgs::protocol::InvitationRemovedReason InvitationRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.reason) + // @@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.InvitationRemovedNotification.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.reason) } // ------------------------------------------------------------------- @@ -3316,13 +3328,13 @@ inline void SuggestionAddedNotification::clear_agent_id() { 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) + // @@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.SuggestionAddedNotification.agent_id) + // @@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() { @@ -3339,7 +3351,7 @@ inline void SuggestionAddedNotification::set_allocated_agent_id(::bgs::protocol: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3357,16 +3369,16 @@ inline void SuggestionAddedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SuggestionAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionAddedNotification.club_id) + // @@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.SuggestionAddedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionAddedNotification.club_id) } -// optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 4; +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 4; inline bool SuggestionAddedNotification::has_suggestion() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -3377,26 +3389,26 @@ 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(); + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::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) +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::ClubSuggestion* SuggestionAddedNotification::mutable_suggestion() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSuggestion* SuggestionAddedNotification::release_suggestion() { +inline ::bgs::protocol::club::v1::client::ClubSuggestion* SuggestionAddedNotification::release_suggestion() { clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestion* temp = suggestion_; + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; suggestion_ = NULL; return temp; } -inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion) { +inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { delete suggestion_; suggestion_ = suggestion; if (suggestion) { @@ -3404,7 +3416,7 @@ inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protoco } else { clear_has_suggestion(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionAddedNotification.suggestion) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) } // ------------------------------------------------------------------- @@ -3426,13 +3438,13 @@ inline void SuggestionRemovedNotification::clear_agent_id() { 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) + // @@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.SuggestionRemovedNotification.agent_id) + // @@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() { @@ -3449,7 +3461,7 @@ inline void SuggestionRemovedNotification::set_allocated_agent_id(::bgs::protoco } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3467,13 +3479,13 @@ inline void SuggestionRemovedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SuggestionRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.club_id) + // @@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.SuggestionRemovedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.club_id) } // optional fixed64 suggestion_id = 4; @@ -3491,13 +3503,13 @@ inline void SuggestionRemovedNotification::clear_suggestion_id() { clear_has_suggestion_id(); } inline ::google::protobuf::uint64 SuggestionRemovedNotification::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.suggestion_id) + // @@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.SuggestionRemovedNotification.suggestion_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.suggestion_id) } // optional .bgs.protocol.SuggestionRemovedReason reason = 5; @@ -3515,14 +3527,14 @@ inline void SuggestionRemovedNotification::clear_reason() { clear_has_reason(); } inline ::bgs::protocol::SuggestionRemovedReason SuggestionRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.reason) + // @@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.SuggestionRemovedNotification.reason) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.reason) } // ------------------------------------------------------------------- @@ -3544,13 +3556,13 @@ inline void StreamAddedNotification::clear_agent_id() { 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) + // @@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.StreamAddedNotification.agent_id) + // @@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() { @@ -3567,7 +3579,7 @@ inline void StreamAddedNotification::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3585,16 +3597,16 @@ inline void StreamAddedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAddedNotification.club_id) + // @@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.StreamAddedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAddedNotification.club_id) } -// optional .bgs.protocol.club.v1.Stream stream = 4; +// optional .bgs.protocol.club.v1.client.Stream stream = 4; inline bool StreamAddedNotification::has_stream() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -3605,26 +3617,26 @@ 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(); + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::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) +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::Stream* StreamAddedNotification::mutable_stream() { +inline ::bgs::protocol::club::v1::client::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) + 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::Stream* StreamAddedNotification::release_stream() { +inline ::bgs::protocol::club::v1::client::Stream* StreamAddedNotification::release_stream() { clear_has_stream(); - ::bgs::protocol::club::v1::Stream* temp = stream_; + ::bgs::protocol::club::v1::client::Stream* temp = stream_; stream_ = NULL; return temp; } -inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club::v1::Stream* stream) { +inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { delete stream_; stream_ = stream; if (stream) { @@ -3632,7 +3644,7 @@ inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club: } else { clear_has_stream(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAddedNotification.stream) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.stream) } // ------------------------------------------------------------------- @@ -3654,13 +3666,13 @@ inline void StreamRemovedNotification::clear_agent_id() { 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) + // @@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.StreamRemovedNotification.agent_id) + // @@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() { @@ -3677,7 +3689,7 @@ inline void StreamRemovedNotification::set_allocated_agent_id(::bgs::protocol::c } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamRemovedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3695,13 +3707,13 @@ inline void StreamRemovedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamRemovedNotification.club_id) + // @@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.StreamRemovedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.club_id) } // optional uint64 stream_id = 4; @@ -3719,13 +3731,13 @@ inline void StreamRemovedNotification::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamRemovedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamRemovedNotification.stream_id) + // @@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.StreamRemovedNotification.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.stream_id) } // ------------------------------------------------------------------- @@ -3747,13 +3759,13 @@ inline void StreamStateChangedNotification::clear_agent_id() { 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) + // @@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.StreamStateChangedNotification.agent_id) + // @@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() { @@ -3770,7 +3782,7 @@ inline void StreamStateChangedNotification::set_allocated_agent_id(::bgs::protoc } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateChangedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3788,13 +3800,13 @@ inline void StreamStateChangedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.club_id) + // @@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.StreamStateChangedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.club_id) } // optional uint64 stream_id = 4; @@ -3812,16 +3824,16 @@ inline void StreamStateChangedNotification::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamStateChangedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.stream_id) + // @@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.StreamStateChangedNotification.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.stream_id) } -// optional .bgs.protocol.club.v1.StreamStateAssignment assignment = 5; +// optional .bgs.protocol.club.v1.client.StreamStateAssignment assignment = 5; inline bool StreamStateChangedNotification::has_assignment() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -3832,26 +3844,26 @@ 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(); + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::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) +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::StreamStateAssignment* StreamStateChangedNotification::mutable_assignment() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamStateAssignment* StreamStateChangedNotification::release_assignment() { +inline ::bgs::protocol::club::v1::client::StreamStateAssignment* StreamStateChangedNotification::release_assignment() { clear_has_assignment(); - ::bgs::protocol::club::v1::StreamStateAssignment* temp = assignment_; + ::bgs::protocol::club::v1::client::StreamStateAssignment* temp = assignment_; assignment_ = NULL; return temp; } -inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::StreamStateAssignment* assignment) { +inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::StreamStateAssignment* assignment) { delete assignment_; assignment_ = assignment; if (assignment) { @@ -3859,7 +3871,7 @@ inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::prot } else { clear_has_assignment(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateChangedNotification.assignment) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) } // ------------------------------------------------------------------- @@ -3881,13 +3893,13 @@ inline void StreamMessageAddedNotification::clear_agent_id() { 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) + // @@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.StreamMessageAddedNotification.agent_id) + // @@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() { @@ -3904,7 +3916,7 @@ inline void StreamMessageAddedNotification::set_allocated_agent_id(::bgs::protoc } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageAddedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) } // optional uint64 club_id = 3; @@ -3922,13 +3934,13 @@ inline void StreamMessageAddedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamMessageAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.club_id) + // @@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.StreamMessageAddedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.club_id) } // optional uint64 stream_id = 4; @@ -3946,16 +3958,16 @@ inline void StreamMessageAddedNotification::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamMessageAddedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.stream_id) + // @@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.StreamMessageAddedNotification.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.stream_id) } -// optional .bgs.protocol.club.v1.StreamMessage message = 5; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; inline bool StreamMessageAddedNotification::has_message() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -3966,26 +3978,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* StreamMessageAddedNotification::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* StreamMessageAddedNotification::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageAddedNotification::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -3993,7 +4005,31 @@ inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protoco } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageAddedNotification.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) } // ------------------------------------------------------------------- @@ -4015,13 +4051,13 @@ inline void StreamMessageUpdatedNotification::clear_agent_id() { 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) + // @@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.StreamMessageUpdatedNotification.agent_id) + // @@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() { @@ -4038,7 +4074,7 @@ inline void StreamMessageUpdatedNotification::set_allocated_agent_id(::bgs::prot } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageUpdatedNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) } // optional uint64 club_id = 3; @@ -4056,13 +4092,13 @@ inline void StreamMessageUpdatedNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.club_id) + // @@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.StreamMessageUpdatedNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.club_id) } // optional uint64 stream_id = 4; @@ -4080,16 +4116,16 @@ inline void StreamMessageUpdatedNotification::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.stream_id) + // @@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.StreamMessageUpdatedNotification.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.stream_id) } -// optional .bgs.protocol.club.v1.StreamMessage message = 5; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; inline bool StreamMessageUpdatedNotification::has_message() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -4100,26 +4136,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* StreamMessageUpdatedNotification::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* StreamMessageUpdatedNotification::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageUpdatedNotification::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -4127,7 +4163,7 @@ inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::proto } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageUpdatedNotification.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) } // ------------------------------------------------------------------- @@ -4149,13 +4185,13 @@ inline void StreamTypingIndicatorNotification::clear_agent_id() { 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) + // @@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.StreamTypingIndicatorNotification.agent_id) + // @@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() { @@ -4172,7 +4208,7 @@ inline void StreamTypingIndicatorNotification::set_allocated_agent_id(::bgs::pro } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamTypingIndicatorNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) } // optional uint64 club_id = 3; @@ -4190,13 +4226,13 @@ inline void StreamTypingIndicatorNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.club_id) + // @@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.StreamTypingIndicatorNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.club_id) } // optional uint64 stream_id = 4; @@ -4214,42 +4250,42 @@ inline void StreamTypingIndicatorNotification::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.stream_id) + // @@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.StreamTypingIndicatorNotification.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.stream_id) } -// repeated .bgs.protocol.club.v1.StreamTypingIndicator indicator = 5; +// 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::StreamTypingIndicator& StreamTypingIndicatorNotification::indicator(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) +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::StreamTypingIndicator* StreamTypingIndicatorNotification::mutable_indicator(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) +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::StreamTypingIndicator* StreamTypingIndicatorNotification::add_indicator() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) +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::StreamTypingIndicator >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >& StreamTypingIndicatorNotification::indicator() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) return indicator_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* StreamTypingIndicatorNotification::mutable_indicator() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) return &indicator_; } @@ -4272,13 +4308,13 @@ inline void StreamUnreadIndicatorNotification::clear_agent_id() { 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) + // @@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.StreamUnreadIndicatorNotification.agent_id) + // @@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() { @@ -4295,7 +4331,7 @@ inline void StreamUnreadIndicatorNotification::set_allocated_agent_id(::bgs::pro } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) } // optional uint64 club_id = 3; @@ -4313,16 +4349,16 @@ inline void StreamUnreadIndicatorNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamUnreadIndicatorNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.club_id) + // @@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.StreamUnreadIndicatorNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.club_id) } -// optional .bgs.protocol.club.v1.StreamEventTime event = 4; +// optional .bgs.protocol.club.v1.client.StreamEventTime event = 4; inline bool StreamUnreadIndicatorNotification::has_event() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -4333,26 +4369,26 @@ 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(); + if (event_ != NULL) event_->::bgs::protocol::club::v1::client::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) +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::StreamEventTime* StreamUnreadIndicatorNotification::mutable_event() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamEventTime* StreamUnreadIndicatorNotification::release_event() { +inline ::bgs::protocol::club::v1::client::StreamEventTime* StreamUnreadIndicatorNotification::release_event() { clear_has_event(); - ::bgs::protocol::club::v1::StreamEventTime* temp = event_; + ::bgs::protocol::club::v1::client::StreamEventTime* temp = event_; event_ = NULL; return temp; } -inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protocol::club::v1::StreamEventTime* event) { +inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protocol::club::v1::client::StreamEventTime* event) { delete event_; event_ = event; if (event) { @@ -4360,10 +4396,10 @@ inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protoc } else { clear_has_event(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.event) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) } -// optional .bgs.protocol.club.v1.StreamMessage message = 5; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; inline bool StreamUnreadIndicatorNotification::has_message() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -4374,26 +4410,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* StreamUnreadIndicatorNotification::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* StreamUnreadIndicatorNotification::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamUnreadIndicatorNotification::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -4401,7 +4437,7 @@ inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::prot } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) } // ------------------------------------------------------------------- @@ -4423,13 +4459,13 @@ inline void StreamAdvanceViewTimeNotification::clear_agent_id() { 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) + // @@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.StreamAdvanceViewTimeNotification.agent_id) + // @@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() { @@ -4446,7 +4482,7 @@ inline void StreamAdvanceViewTimeNotification::set_allocated_agent_id(::bgs::pro } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) } // optional uint64 club_id = 3; @@ -4464,47 +4500,48 @@ inline void StreamAdvanceViewTimeNotification::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamAdvanceViewTimeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.club_id) + // @@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.StreamAdvanceViewTimeNotification.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.club_id) } -// repeated .bgs.protocol.club.v1.StreamAdvanceViewTime view = 4; +// 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::StreamAdvanceViewTime& StreamAdvanceViewTimeNotification::view(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) +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::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::mutable_view(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) +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::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::add_view() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) +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::StreamAdvanceViewTime >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >& StreamAdvanceViewTimeNotification::view() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) return view_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* StreamAdvanceViewTimeNotification::mutable_view() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.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 @@ -4519,4 +4556,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fnotification_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_range_set.pb.cc b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc index c68add24403..a823e292a02 100644 --- a/src/server/proto/Client/club_range_set.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_range_set.proto +// source: api/client/v1/club_range_set.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_range_set.pb.h" +#include "api/client/v1/club_range_set.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -47,11 +48,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5frange_5fset_2eproto() { - protobuf_AddDesc_club_5frange_5fset_2eproto(); +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( - "club_range_set.proto"); + "api/client/v1/club_range_set.proto"); GOOGLE_CHECK(file != NULL); ClubTypeRangeSet_descriptor_ = file->message_type(0); static const int ClubTypeRangeSet_offsets_[10] = { @@ -181,7 +182,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frange_5fset_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -204,7 +205,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5frange_5fset_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { delete ClubTypeRangeSet::default_instance_; delete ClubTypeRangeSet_reflection_; delete ClubMemberRangeSet::default_instance_; @@ -221,7 +222,7 @@ void protobuf_ShutdownFile_club_5frange_5fset_2eproto() { delete ClubBanRangeSet_reflection_; } -void protobuf_AddDesc_club_5frange_5fset_2eproto() { +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; @@ -229,46 +230,47 @@ void protobuf_AddDesc_club_5frange_5fset_2eproto() { ::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); + "\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( - "club_range_set.proto", &protobuf_RegisterTypes); + "api/client/v1/club_range_set.proto", &protobuf_RegisterTypes); ClubTypeRangeSet::default_instance_ = new ClubTypeRangeSet(); ClubMemberRangeSet::default_instance_ = new ClubMemberRangeSet(); ClubStreamRangeSet::default_instance_ = new ClubStreamRangeSet(); @@ -283,15 +285,15 @@ void protobuf_AddDesc_club_5frange_5fset_2eproto() { ClubSuggestionRangeSet::default_instance_->InitAsDefaultInstance(); ClubTicketRangeSet::default_instance_->InitAsDefaultInstance(); ClubBanRangeSet::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5frange_5fset_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5frange_5fset_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -310,7 +312,7 @@ const int ClubTypeRangeSet::kBanFieldNumber; ClubTypeRangeSet::ClubTypeRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTypeRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) } void ClubTypeRangeSet::InitAsDefaultInstance() { @@ -318,19 +320,19 @@ void ClubTypeRangeSet::InitAsDefaultInstance() { 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()); + 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.ClubTypeRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) } void ClubTypeRangeSet::SharedCtor() { @@ -349,7 +351,7 @@ void ClubTypeRangeSet::SharedCtor() { } ClubTypeRangeSet::~ClubTypeRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTypeRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) SharedDtor(); } @@ -379,7 +381,7 @@ const ::google::protobuf::Descriptor* ClubTypeRangeSet::descriptor() { } const ClubTypeRangeSet& ClubTypeRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -414,7 +416,7 @@ const int ClubMemberRangeSet::kNoteRangeFieldNumber; ClubMemberRangeSet::ClubMemberRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMemberRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) } void ClubMemberRangeSet::InitAsDefaultInstance() { @@ -428,7 +430,7 @@ ClubMemberRangeSet::ClubMemberRangeSet(const ClubMemberRangeSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMemberRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) } void ClubMemberRangeSet::SharedCtor() { @@ -441,7 +443,7 @@ void ClubMemberRangeSet::SharedCtor() { } ClubMemberRangeSet::~ClubMemberRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMemberRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) SharedDtor(); } @@ -465,7 +467,7 @@ const ::google::protobuf::Descriptor* ClubMemberRangeSet::descriptor() { } const ClubMemberRangeSet& ClubMemberRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -500,7 +502,7 @@ const int ClubStreamRangeSet::kMessageRangeFieldNumber; ClubStreamRangeSet::ClubStreamRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStreamRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) } void ClubStreamRangeSet::InitAsDefaultInstance() { @@ -514,7 +516,7 @@ ClubStreamRangeSet::ClubStreamRangeSet(const ClubStreamRangeSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStreamRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) } void ClubStreamRangeSet::SharedCtor() { @@ -527,7 +529,7 @@ void ClubStreamRangeSet::SharedCtor() { } ClubStreamRangeSet::~ClubStreamRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStreamRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) SharedDtor(); } @@ -551,7 +553,7 @@ const ::google::protobuf::Descriptor* ClubStreamRangeSet::descriptor() { } const ClubStreamRangeSet& ClubStreamRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -583,7 +585,7 @@ const int ClubInvitationRangeSet::kCountFieldNumber; ClubInvitationRangeSet::ClubInvitationRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubInvitationRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) } void ClubInvitationRangeSet::InitAsDefaultInstance() { @@ -594,7 +596,7 @@ ClubInvitationRangeSet::ClubInvitationRangeSet(const ClubInvitationRangeSet& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubInvitationRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) } void ClubInvitationRangeSet::SharedCtor() { @@ -604,7 +606,7 @@ void ClubInvitationRangeSet::SharedCtor() { } ClubInvitationRangeSet::~ClubInvitationRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubInvitationRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) SharedDtor(); } @@ -625,7 +627,7 @@ const ::google::protobuf::Descriptor* ClubInvitationRangeSet::descriptor() { } const ClubInvitationRangeSet& ClubInvitationRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -657,7 +659,7 @@ const int ClubSuggestionRangeSet::kCountFieldNumber; ClubSuggestionRangeSet::ClubSuggestionRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) } void ClubSuggestionRangeSet::InitAsDefaultInstance() { @@ -668,7 +670,7 @@ ClubSuggestionRangeSet::ClubSuggestionRangeSet(const ClubSuggestionRangeSet& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) } void ClubSuggestionRangeSet::SharedCtor() { @@ -678,7 +680,7 @@ void ClubSuggestionRangeSet::SharedCtor() { } ClubSuggestionRangeSet::~ClubSuggestionRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) SharedDtor(); } @@ -699,7 +701,7 @@ const ::google::protobuf::Descriptor* ClubSuggestionRangeSet::descriptor() { } const ClubSuggestionRangeSet& ClubSuggestionRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -731,7 +733,7 @@ const int ClubTicketRangeSet::kCountFieldNumber; ClubTicketRangeSet::ClubTicketRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTicketRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) } void ClubTicketRangeSet::InitAsDefaultInstance() { @@ -742,7 +744,7 @@ ClubTicketRangeSet::ClubTicketRangeSet(const ClubTicketRangeSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubTicketRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) } void ClubTicketRangeSet::SharedCtor() { @@ -752,7 +754,7 @@ void ClubTicketRangeSet::SharedCtor() { } ClubTicketRangeSet::~ClubTicketRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTicketRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) SharedDtor(); } @@ -773,7 +775,7 @@ const ::google::protobuf::Descriptor* ClubTicketRangeSet::descriptor() { } const ClubTicketRangeSet& ClubTicketRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -806,7 +808,7 @@ const int ClubBanRangeSet::kReasonRangeFieldNumber; ClubBanRangeSet::ClubBanRangeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubBanRangeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) } void ClubBanRangeSet::InitAsDefaultInstance() { @@ -818,7 +820,7 @@ ClubBanRangeSet::ClubBanRangeSet(const ClubBanRangeSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubBanRangeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) } void ClubBanRangeSet::SharedCtor() { @@ -829,7 +831,7 @@ void ClubBanRangeSet::SharedCtor() { } ClubBanRangeSet::~ClubBanRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubBanRangeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBanRangeSet) SharedDtor(); } @@ -851,7 +853,7 @@ const ::google::protobuf::Descriptor* ClubBanRangeSet::descriptor() { } const ClubBanRangeSet& ClubBanRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); return *default_instance_; } @@ -876,6 +878,7 @@ void ClubBanRangeSet::Swap(ClubBanRangeSet* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_range_set.pb.h b/src/server/proto/Client/api/client/v1/club_range_set.pb.h index bfca963e96a..4c7b52758e7 100644 --- a/src/server/proto/Client/club_range_set.pb.h +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_range_set.proto +// source: api/client/v1/club_range_set.proto -#ifndef PROTOBUF_club_5frange_5fset_2eproto__INCLUDED -#define PROTOBUF_club_5frange_5fset_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED #include <string> @@ -32,11 +32,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -124,61 +125,61 @@ class TC_PROTO_API ClubTypeRangeSet : public ::google::protobuf::Message { 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; + // 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::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); + 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.ClubStreamRangeSet stream = 26; + // 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::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); + 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.ClubInvitationRangeSet invitation = 27; + // 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::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); + 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.ClubSuggestionRangeSet suggestion = 28; + // 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::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); + 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.ClubTicketRangeSet ticket = 29; + // 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::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); + 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.ClubBanRangeSet ban = 30; + // 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::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); + 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.ClubTypeRangeSet) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTypeRangeSet) private: inline void set_has_name_range(); inline void clear_has_name_range(); @@ -209,15 +210,15 @@ class TC_PROTO_API ClubTypeRangeSet : public ::google::protobuf::Message { ::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(); + ::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_; @@ -300,7 +301,7 @@ class TC_PROTO_API ClubMemberRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubMemberRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -319,9 +320,9 @@ class TC_PROTO_API ClubMemberRangeSet : public ::google::protobuf::Message { ::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(); + 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_; @@ -404,7 +405,7 @@ class TC_PROTO_API ClubStreamRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -423,9 +424,9 @@ class TC_PROTO_API ClubStreamRangeSet : public ::google::protobuf::Message { ::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(); + 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_; @@ -481,7 +482,7 @@ class TC_PROTO_API ClubInvitationRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitationRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -491,9 +492,9 @@ class TC_PROTO_API ClubInvitationRangeSet : public ::google::protobuf::Message { ::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(); + 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_; @@ -549,7 +550,7 @@ class TC_PROTO_API ClubSuggestionRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -559,9 +560,9 @@ class TC_PROTO_API ClubSuggestionRangeSet : public ::google::protobuf::Message { ::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(); + 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_; @@ -617,7 +618,7 @@ class TC_PROTO_API ClubTicketRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicketRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -627,9 +628,9 @@ class TC_PROTO_API ClubTicketRangeSet : public ::google::protobuf::Message { ::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(); + 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_; @@ -694,7 +695,7 @@ class TC_PROTO_API ClubBanRangeSet : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBanRangeSet) private: inline void set_has_count(); inline void clear_has_count(); @@ -707,9 +708,9 @@ class TC_PROTO_API ClubBanRangeSet : public ::google::protobuf::Message { 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(); + 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_; @@ -737,13 +738,13 @@ inline void ClubTypeRangeSet::clear_name_range() { 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) + // @@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.ClubTypeRangeSet.name_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) return name_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_name_range() { @@ -760,7 +761,7 @@ inline void ClubTypeRangeSet::set_allocated_name_range(::bgs::protocol::Unsigned } else { clear_has_name_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.name_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) } // optional .bgs.protocol.UnsignedIntRange description_range = 3; @@ -778,13 +779,13 @@ inline void ClubTypeRangeSet::clear_description_range() { 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) + // @@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.ClubTypeRangeSet.description_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) return description_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_description_range() { @@ -801,7 +802,7 @@ inline void ClubTypeRangeSet::set_allocated_description_range(::bgs::protocol::U } else { clear_has_description_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.description_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) } // optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; @@ -819,13 +820,13 @@ inline void ClubTypeRangeSet::clear_broadcast_range() { 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) + // @@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.ClubTypeRangeSet.broadcast_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) return broadcast_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_broadcast_range() { @@ -842,7 +843,7 @@ inline void ClubTypeRangeSet::set_allocated_broadcast_range(::bgs::protocol::Uns } else { clear_has_broadcast_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.broadcast_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) } // optional .bgs.protocol.UnsignedIntRange short_name_range = 7; @@ -860,13 +861,13 @@ inline void ClubTypeRangeSet::clear_short_name_range() { 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) + // @@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.ClubTypeRangeSet.short_name_range) + // @@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() { @@ -883,10 +884,10 @@ inline void ClubTypeRangeSet::set_allocated_short_name_range(::bgs::protocol::Un } else { clear_has_short_name_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.short_name_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) } -// optional .bgs.protocol.club.v1.ClubMemberRangeSet member = 25; +// optional .bgs.protocol.club.v1.client.ClubMemberRangeSet member = 25; inline bool ClubTypeRangeSet::has_member() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -897,26 +898,26 @@ 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(); + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::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) +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::ClubMemberRangeSet* ClubTypeRangeSet::mutable_member() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubMemberRangeSet* ClubTypeRangeSet::release_member() { +inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* ClubTypeRangeSet::release_member() { clear_has_member(); - ::bgs::protocol::club::v1::ClubMemberRangeSet* temp = member_; + ::bgs::protocol::club::v1::client::ClubMemberRangeSet* temp = member_; member_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::ClubMemberRangeSet* member) { +inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::client::ClubMemberRangeSet* member) { delete member_; member_ = member; if (member) { @@ -924,10 +925,10 @@ inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::Cl } else { clear_has_member(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.member) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) } -// optional .bgs.protocol.club.v1.ClubStreamRangeSet stream = 26; +// optional .bgs.protocol.club.v1.client.ClubStreamRangeSet stream = 26; inline bool ClubTypeRangeSet::has_stream() const { return (_has_bits_[0] & 0x00000020u) != 0; } @@ -938,26 +939,26 @@ 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(); + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::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) +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::ClubStreamRangeSet* ClubTypeRangeSet::mutable_stream() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubStreamRangeSet* ClubTypeRangeSet::release_stream() { +inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* ClubTypeRangeSet::release_stream() { clear_has_stream(); - ::bgs::protocol::club::v1::ClubStreamRangeSet* temp = stream_; + ::bgs::protocol::club::v1::client::ClubStreamRangeSet* temp = stream_; stream_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::ClubStreamRangeSet* stream) { +inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream) { delete stream_; stream_ = stream; if (stream) { @@ -965,10 +966,10 @@ inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::Cl } else { clear_has_stream(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.stream) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) } -// optional .bgs.protocol.club.v1.ClubInvitationRangeSet invitation = 27; +// optional .bgs.protocol.club.v1.client.ClubInvitationRangeSet invitation = 27; inline bool ClubTypeRangeSet::has_invitation() const { return (_has_bits_[0] & 0x00000040u) != 0; } @@ -979,26 +980,26 @@ 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(); + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::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) +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::ClubInvitationRangeSet* ClubTypeRangeSet::mutable_invitation() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubInvitationRangeSet* ClubTypeRangeSet::release_invitation() { +inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* ClubTypeRangeSet::release_invitation() { clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitationRangeSet* temp = invitation_; + ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* temp = invitation_; invitation_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitationRangeSet* invitation) { +inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation) { delete invitation_; invitation_ = invitation; if (invitation) { @@ -1006,10 +1007,10 @@ inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1 } else { clear_has_invitation(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.invitation) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) } -// optional .bgs.protocol.club.v1.ClubSuggestionRangeSet suggestion = 28; +// optional .bgs.protocol.club.v1.client.ClubSuggestionRangeSet suggestion = 28; inline bool ClubTypeRangeSet::has_suggestion() const { return (_has_bits_[0] & 0x00000080u) != 0; } @@ -1020,26 +1021,26 @@ 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(); + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::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) +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::ClubSuggestionRangeSet* ClubTypeRangeSet::mutable_suggestion() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSuggestionRangeSet* ClubTypeRangeSet::release_suggestion() { +inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* ClubTypeRangeSet::release_suggestion() { clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestionRangeSet* temp = suggestion_; + ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* temp = suggestion_; suggestion_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestionRangeSet* suggestion) { +inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion) { delete suggestion_; suggestion_ = suggestion; if (suggestion) { @@ -1047,10 +1048,10 @@ inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1 } else { clear_has_suggestion(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.suggestion) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) } -// optional .bgs.protocol.club.v1.ClubTicketRangeSet ticket = 29; +// optional .bgs.protocol.club.v1.client.ClubTicketRangeSet ticket = 29; inline bool ClubTypeRangeSet::has_ticket() const { return (_has_bits_[0] & 0x00000100u) != 0; } @@ -1061,26 +1062,26 @@ 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(); + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::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) +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::ClubTicketRangeSet* ClubTypeRangeSet::mutable_ticket() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubTicketRangeSet* ClubTypeRangeSet::release_ticket() { +inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ClubTypeRangeSet::release_ticket() { clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicketRangeSet* temp = ticket_; + ::bgs::protocol::club::v1::client::ClubTicketRangeSet* temp = ticket_; ticket_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicketRangeSet* ticket) { +inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket) { delete ticket_; ticket_ = ticket; if (ticket) { @@ -1088,10 +1089,10 @@ inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::Cl } else { clear_has_ticket(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.ticket) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) } -// optional .bgs.protocol.club.v1.ClubBanRangeSet ban = 30; +// optional .bgs.protocol.club.v1.client.ClubBanRangeSet ban = 30; inline bool ClubTypeRangeSet::has_ban() const { return (_has_bits_[0] & 0x00000200u) != 0; } @@ -1102,26 +1103,26 @@ 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(); + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::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) +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::ClubBanRangeSet* ClubTypeRangeSet::mutable_ban() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubBanRangeSet* ClubTypeRangeSet::release_ban() { +inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* ClubTypeRangeSet::release_ban() { clear_has_ban(); - ::bgs::protocol::club::v1::ClubBanRangeSet* temp = ban_; + ::bgs::protocol::club::v1::client::ClubBanRangeSet* temp = ban_; ban_ = NULL; return temp; } -inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::ClubBanRangeSet* ban) { +inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBanRangeSet* ban) { delete ban_; ban_ = ban; if (ban) { @@ -1129,7 +1130,7 @@ inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::ClubB } else { clear_has_ban(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.ban) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) } // ------------------------------------------------------------------- @@ -1151,13 +1152,13 @@ inline void ClubMemberRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.count) + // @@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.ClubMemberRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_count() { @@ -1174,7 +1175,7 @@ inline void ClubMemberRangeSet::set_allocated_count(::bgs::protocol::UnsignedInt } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) } // optional .bgs.protocol.UnsignedIntRange voice = 3; @@ -1192,13 +1193,13 @@ inline void ClubMemberRangeSet::clear_voice() { clear_has_voice(); } inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.voice) + // @@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.ClubMemberRangeSet.voice) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) return voice_; } inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_voice() { @@ -1215,7 +1216,7 @@ inline void ClubMemberRangeSet::set_allocated_voice(::bgs::protocol::UnsignedInt } else { clear_has_voice(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.voice) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) } // optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; @@ -1233,13 +1234,13 @@ inline void ClubMemberRangeSet::clear_stream_subscriptions() { 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) + // @@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.ClubMemberRangeSet.stream_subscriptions) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) return stream_subscriptions_; } inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_stream_subscriptions() { @@ -1256,7 +1257,7 @@ inline void ClubMemberRangeSet::set_allocated_stream_subscriptions(::bgs::protoc } else { clear_has_stream_subscriptions(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.stream_subscriptions) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) } // optional .bgs.protocol.UnsignedIntRange note_range = 7; @@ -1274,13 +1275,13 @@ inline void ClubMemberRangeSet::clear_note_range() { 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) + // @@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.ClubMemberRangeSet.note_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) return note_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_note_range() { @@ -1297,7 +1298,7 @@ inline void ClubMemberRangeSet::set_allocated_note_range(::bgs::protocol::Unsign } else { clear_has_note_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.note_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) } // ------------------------------------------------------------------- @@ -1319,13 +1320,13 @@ inline void ClubStreamRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamRangeSet.count) + // @@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.ClubStreamRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_count() { @@ -1342,7 +1343,7 @@ inline void ClubStreamRangeSet::set_allocated_count(::bgs::protocol::UnsignedInt } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) } // optional .bgs.protocol.UnsignedIntRange name_range = 3; @@ -1360,13 +1361,13 @@ inline void ClubStreamRangeSet::clear_name_range() { 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) + // @@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.ClubStreamRangeSet.name_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) return name_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_name_range() { @@ -1383,7 +1384,7 @@ inline void ClubStreamRangeSet::set_allocated_name_range(::bgs::protocol::Unsign } else { clear_has_name_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.name_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) } // optional .bgs.protocol.UnsignedIntRange subject_range = 4; @@ -1401,13 +1402,13 @@ inline void ClubStreamRangeSet::clear_subject_range() { 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) + // @@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.ClubStreamRangeSet.subject_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) return subject_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_subject_range() { @@ -1424,7 +1425,7 @@ inline void ClubStreamRangeSet::set_allocated_subject_range(::bgs::protocol::Uns } else { clear_has_subject_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.subject_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) } // optional .bgs.protocol.UnsignedIntRange message_range = 5; @@ -1442,13 +1443,13 @@ inline void ClubStreamRangeSet::clear_message_range() { 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) + // @@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.ClubStreamRangeSet.message_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) return message_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_message_range() { @@ -1465,7 +1466,7 @@ inline void ClubStreamRangeSet::set_allocated_message_range(::bgs::protocol::Uns } else { clear_has_message_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.message_range) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) } // ------------------------------------------------------------------- @@ -1487,13 +1488,13 @@ inline void ClubInvitationRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubInvitationRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitationRangeSet.count) + // @@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.ClubInvitationRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::release_count() { @@ -1510,7 +1511,7 @@ inline void ClubInvitationRangeSet::set_allocated_count(::bgs::protocol::Unsigne } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitationRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) } // ------------------------------------------------------------------- @@ -1532,13 +1533,13 @@ inline void ClubSuggestionRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubSuggestionRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestionRangeSet.count) + // @@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.ClubSuggestionRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::release_count() { @@ -1555,7 +1556,7 @@ inline void ClubSuggestionRangeSet::set_allocated_count(::bgs::protocol::Unsigne } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestionRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) } // ------------------------------------------------------------------- @@ -1577,13 +1578,13 @@ inline void ClubTicketRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubTicketRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicketRangeSet.count) + // @@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.ClubTicketRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::release_count() { @@ -1600,7 +1601,7 @@ inline void ClubTicketRangeSet::set_allocated_count(::bgs::protocol::UnsignedInt } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicketRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) } // ------------------------------------------------------------------- @@ -1622,13 +1623,13 @@ inline void ClubBanRangeSet::clear_count() { clear_has_count(); } inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBanRangeSet.count) + // @@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.ClubBanRangeSet.count) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.count) return count_; } inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_count() { @@ -1645,7 +1646,7 @@ inline void ClubBanRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRan } else { clear_has_count(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBanRangeSet.count) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBanRangeSet.count) } // optional .bgs.protocol.UnsignedIntRange reason_range = 3; @@ -1663,13 +1664,13 @@ inline void ClubBanRangeSet::clear_reason_range() { 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) + // @@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.ClubBanRangeSet.reason_range) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) return reason_range_; } inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_reason_range() { @@ -1686,11 +1687,12 @@ inline void ClubBanRangeSet::set_allocated_reason_range(::bgs::protocol::Unsigne } else { clear_has_reason_range(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBanRangeSet.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 @@ -1705,4 +1707,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5frange_5fset_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_request.pb.cc b/src/server/proto/Client/api/client/v1/club_request.pb.cc index 063916ceaee..952a730cdd8 100644 --- a/src/server/proto/Client/club_request.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_request.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_request.proto +// source: api/client/v1/club_request.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_request.pb.h" +#include "api/client/v1/club_request.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -275,11 +276,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5frequest_2eproto() { - protobuf_AddDesc_club_5frequest_2eproto(); +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( - "club_request.proto"); + "api/client/v1/club_request.proto"); GOOGLE_CHECK(file != NULL); SubscribeRequest_descriptor_ = file->message_type(0); static const int SubscribeRequest_offsets_[2] = { @@ -1668,7 +1669,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frequest_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -1843,7 +1844,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5frequest_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto() { delete SubscribeRequest::default_instance_; delete SubscribeRequest_reflection_; delete UnsubscribeRequest::default_instance_; @@ -2012,280 +2013,289 @@ void protobuf_ShutdownFile_club_5frequest_2eproto() { delete KickFromStreamVoiceRequest_reflection_; } -void protobuf_AddDesc_club_5frequest_2eproto() { +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::protobuf_AddDesc_club_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto(); + ::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\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" + "\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\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" + "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\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" + "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\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" + "\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\"<\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" + "(\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" - "\021\n\tstream_id\030\003 \003(\004\"\234\001\n\023CreateStreamReque" + "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\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" + ".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\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" + "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\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 " + "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\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" + "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\"\247\001\n\027GetStreamHistoryRe" + "_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\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" + "\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.\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); + "\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( - "club_request.proto", &protobuf_RegisterTypes); + "api/client/v1/club_request.proto", &protobuf_RegisterTypes); SubscribeRequest::default_instance_ = new SubscribeRequest(); UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); CreateRequest::default_instance_ = new CreateRequest(); @@ -2452,15 +2462,15 @@ void protobuf_AddDesc_club_5frequest_2eproto() { GetStreamVoiceTokenRequest::default_instance_->InitAsDefaultInstance(); GetStreamVoiceTokenResponse::default_instance_->InitAsDefaultInstance(); KickFromStreamVoiceRequest::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5frequest_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5frequest_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frequest_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -2471,7 +2481,7 @@ const int SubscribeRequest::kClubIdFieldNumber; SubscribeRequest::SubscribeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeRequest) } void SubscribeRequest::InitAsDefaultInstance() { @@ -2482,7 +2492,7 @@ SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscribeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeRequest) } void SubscribeRequest::SharedCtor() { @@ -2493,7 +2503,7 @@ void SubscribeRequest::SharedCtor() { } SubscribeRequest::~SubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeRequest) SharedDtor(); } @@ -2514,7 +2524,7 @@ const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { } const SubscribeRequest& SubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2547,7 +2557,7 @@ const int UnsubscribeRequest::kClubIdFieldNumber; UnsubscribeRequest::UnsubscribeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) } void UnsubscribeRequest::InitAsDefaultInstance() { @@ -2558,7 +2568,7 @@ UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) } void UnsubscribeRequest::SharedCtor() { @@ -2569,7 +2579,7 @@ void UnsubscribeRequest::SharedCtor() { } UnsubscribeRequest::~UnsubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeRequest) SharedDtor(); } @@ -2590,7 +2600,7 @@ const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { } const UnsubscribeRequest& UnsubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2623,19 +2633,19 @@ const int CreateRequest::kOptionsFieldNumber; CreateRequest::CreateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateRequest) + // @@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::ClubCreateOptions*>(&::bgs::protocol::club::v1::ClubCreateOptions::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.CreateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateRequest) } void CreateRequest::SharedCtor() { @@ -2646,7 +2656,7 @@ void CreateRequest::SharedCtor() { } CreateRequest::~CreateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateRequest) SharedDtor(); } @@ -2668,7 +2678,7 @@ const ::google::protobuf::Descriptor* CreateRequest::descriptor() { } const CreateRequest& CreateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2700,7 +2710,7 @@ const int CreateResponse::kClubIdFieldNumber; CreateResponse::CreateResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateResponse) } void CreateResponse::InitAsDefaultInstance() { @@ -2710,7 +2720,7 @@ CreateResponse::CreateResponse(const CreateResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateResponse) } void CreateResponse::SharedCtor() { @@ -2720,7 +2730,7 @@ void CreateResponse::SharedCtor() { } CreateResponse::~CreateResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateResponse) SharedDtor(); } @@ -2740,7 +2750,7 @@ const ::google::protobuf::Descriptor* CreateResponse::descriptor() { } const CreateResponse& CreateResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2773,7 +2783,7 @@ const int DestroyRequest::kClubIdFieldNumber; DestroyRequest::DestroyRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyRequest) } void DestroyRequest::InitAsDefaultInstance() { @@ -2784,7 +2794,7 @@ DestroyRequest::DestroyRequest(const DestroyRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyRequest) } void DestroyRequest::SharedCtor() { @@ -2795,7 +2805,7 @@ void DestroyRequest::SharedCtor() { } DestroyRequest::~DestroyRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyRequest) SharedDtor(); } @@ -2816,7 +2826,7 @@ const ::google::protobuf::Descriptor* DestroyRequest::descriptor() { } const DestroyRequest& DestroyRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2849,7 +2859,7 @@ const int GetDescriptionRequest::kClubIdFieldNumber; GetDescriptionRequest::GetDescriptionRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetDescriptionRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) } void GetDescriptionRequest::InitAsDefaultInstance() { @@ -2860,7 +2870,7 @@ GetDescriptionRequest::GetDescriptionRequest(const GetDescriptionRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetDescriptionRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) } void GetDescriptionRequest::SharedCtor() { @@ -2871,7 +2881,7 @@ void GetDescriptionRequest::SharedCtor() { } GetDescriptionRequest::~GetDescriptionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetDescriptionRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionRequest) SharedDtor(); } @@ -2892,7 +2902,7 @@ const ::google::protobuf::Descriptor* GetDescriptionRequest::descriptor() { } const GetDescriptionRequest& GetDescriptionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2924,7 +2934,7 @@ const int GetDescriptionResponse::kClubFieldNumber; GetDescriptionResponse::GetDescriptionResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetDescriptionResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) } void GetDescriptionResponse::InitAsDefaultInstance() { @@ -2935,7 +2945,7 @@ GetDescriptionResponse::GetDescriptionResponse(const GetDescriptionResponse& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetDescriptionResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) } void GetDescriptionResponse::SharedCtor() { @@ -2945,7 +2955,7 @@ void GetDescriptionResponse::SharedCtor() { } GetDescriptionResponse::~GetDescriptionResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetDescriptionResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionResponse) SharedDtor(); } @@ -2966,7 +2976,7 @@ const ::google::protobuf::Descriptor* GetDescriptionResponse::descriptor() { } const GetDescriptionResponse& GetDescriptionResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -2999,7 +3009,7 @@ const int GetClubTypeRequest::kTypeFieldNumber; GetClubTypeRequest::GetClubTypeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubTypeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) } void GetClubTypeRequest::InitAsDefaultInstance() { @@ -3011,7 +3021,7 @@ GetClubTypeRequest::GetClubTypeRequest(const GetClubTypeRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubTypeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) } void GetClubTypeRequest::SharedCtor() { @@ -3022,7 +3032,7 @@ void GetClubTypeRequest::SharedCtor() { } GetClubTypeRequest::~GetClubTypeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubTypeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeRequest) SharedDtor(); } @@ -3044,7 +3054,7 @@ const ::google::protobuf::Descriptor* GetClubTypeRequest::descriptor() { } const GetClubTypeRequest& GetClubTypeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3080,20 +3090,20 @@ const int GetClubTypeResponse::kCustomTagSetFieldNumber; GetClubTypeResponse::GetClubTypeResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubTypeResponse) + // @@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::ClubRoleSet*>(&::bgs::protocol::club::v1::ClubRoleSet::default_instance()); - range_set_ = const_cast< ::bgs::protocol::club::v1::ClubTypeRangeSet*>(&::bgs::protocol::club::v1::ClubTypeRangeSet::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.GetClubTypeResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeResponse) } void GetClubTypeResponse::SharedCtor() { @@ -3105,7 +3115,7 @@ void GetClubTypeResponse::SharedCtor() { } GetClubTypeResponse::~GetClubTypeResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubTypeResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeResponse) SharedDtor(); } @@ -3128,7 +3138,7 @@ const ::google::protobuf::Descriptor* GetClubTypeResponse::descriptor() { } const GetClubTypeResponse& GetClubTypeResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3162,19 +3172,19 @@ const int UpdateClubStateRequest::kOptionsFieldNumber; UpdateClubStateRequest::UpdateClubStateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateClubStateRequest) + // @@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::ClubStateOptions*>(&::bgs::protocol::club::v1::ClubStateOptions::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.UpdateClubStateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) } void UpdateClubStateRequest::SharedCtor() { @@ -3186,7 +3196,7 @@ void UpdateClubStateRequest::SharedCtor() { } UpdateClubStateRequest::~UpdateClubStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateClubStateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) SharedDtor(); } @@ -3208,7 +3218,7 @@ const ::google::protobuf::Descriptor* UpdateClubStateRequest::descriptor() { } const UpdateClubStateRequest& UpdateClubStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3242,19 +3252,19 @@ const int UpdateClubSettingsRequest::kOptionsFieldNumber; UpdateClubSettingsRequest::UpdateClubSettingsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateClubSettingsRequest) + // @@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::ClubSettingsOptions*>(&::bgs::protocol::club::v1::ClubSettingsOptions::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.UpdateClubSettingsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) } void UpdateClubSettingsRequest::SharedCtor() { @@ -3266,7 +3276,7 @@ void UpdateClubSettingsRequest::SharedCtor() { } UpdateClubSettingsRequest::~UpdateClubSettingsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateClubSettingsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) SharedDtor(); } @@ -3288,7 +3298,7 @@ const ::google::protobuf::Descriptor* UpdateClubSettingsRequest::descriptor() { } const UpdateClubSettingsRequest& UpdateClubSettingsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3322,19 +3332,19 @@ const int AddMemberRequest::kOptionsFieldNumber; AddMemberRequest::AddMemberRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddMemberRequest) + // @@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::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::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.AddMemberRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddMemberRequest) } void AddMemberRequest::SharedCtor() { @@ -3346,7 +3356,7 @@ void AddMemberRequest::SharedCtor() { } AddMemberRequest::~AddMemberRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddMemberRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddMemberRequest) SharedDtor(); } @@ -3368,7 +3378,7 @@ const ::google::protobuf::Descriptor* AddMemberRequest::descriptor() { } const AddMemberRequest& AddMemberRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3402,19 +3412,19 @@ const int JoinRequest::kOptionsFieldNumber; JoinRequest::JoinRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.JoinRequest) + // @@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::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::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.JoinRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.JoinRequest) } void JoinRequest::SharedCtor() { @@ -3426,7 +3436,7 @@ void JoinRequest::SharedCtor() { } JoinRequest::~JoinRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.JoinRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.JoinRequest) SharedDtor(); } @@ -3448,7 +3458,7 @@ const ::google::protobuf::Descriptor* JoinRequest::descriptor() { } const JoinRequest& JoinRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3481,7 +3491,7 @@ const int LeaveRequest::kClubIdFieldNumber; LeaveRequest::LeaveRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LeaveRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.LeaveRequest) } void LeaveRequest::InitAsDefaultInstance() { @@ -3492,7 +3502,7 @@ LeaveRequest::LeaveRequest(const LeaveRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LeaveRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.LeaveRequest) } void LeaveRequest::SharedCtor() { @@ -3503,7 +3513,7 @@ void LeaveRequest::SharedCtor() { } LeaveRequest::~LeaveRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LeaveRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.LeaveRequest) SharedDtor(); } @@ -3524,7 +3534,7 @@ const ::google::protobuf::Descriptor* LeaveRequest::descriptor() { } const LeaveRequest& LeaveRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3558,7 +3568,7 @@ const int KickRequest::kTargetIdFieldNumber; KickRequest::KickRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.KickRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickRequest) } void KickRequest::InitAsDefaultInstance() { @@ -3570,7 +3580,7 @@ KickRequest::KickRequest(const KickRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.KickRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickRequest) } void KickRequest::SharedCtor() { @@ -3582,7 +3592,7 @@ void KickRequest::SharedCtor() { } KickRequest::~KickRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.KickRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickRequest) SharedDtor(); } @@ -3604,7 +3614,7 @@ const ::google::protobuf::Descriptor* KickRequest::descriptor() { } const KickRequest& KickRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3638,7 +3648,7 @@ const int GetMemberRequest::kMemberIdFieldNumber; GetMemberRequest::GetMemberRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMemberRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberRequest) } void GetMemberRequest::InitAsDefaultInstance() { @@ -3650,7 +3660,7 @@ GetMemberRequest::GetMemberRequest(const GetMemberRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMemberRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberRequest) } void GetMemberRequest::SharedCtor() { @@ -3662,7 +3672,7 @@ void GetMemberRequest::SharedCtor() { } GetMemberRequest::~GetMemberRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMemberRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberRequest) SharedDtor(); } @@ -3684,7 +3694,7 @@ const ::google::protobuf::Descriptor* GetMemberRequest::descriptor() { } const GetMemberRequest& GetMemberRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3716,18 +3726,18 @@ const int GetMemberResponse::kMemberFieldNumber; GetMemberResponse::GetMemberResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMemberResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberResponse) } void GetMemberResponse::InitAsDefaultInstance() { - member_ = const_cast< ::bgs::protocol::club::v1::Member*>(&::bgs::protocol::club::v1::Member::default_instance()); + 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.GetMemberResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberResponse) } void GetMemberResponse::SharedCtor() { @@ -3737,7 +3747,7 @@ void GetMemberResponse::SharedCtor() { } GetMemberResponse::~GetMemberResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMemberResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberResponse) SharedDtor(); } @@ -3758,7 +3768,7 @@ const ::google::protobuf::Descriptor* GetMemberResponse::descriptor() { } const GetMemberResponse& GetMemberResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3792,7 +3802,7 @@ const int GetMembersRequest::kContinuationFieldNumber; GetMembersRequest::GetMembersRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMembersRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersRequest) } void GetMembersRequest::InitAsDefaultInstance() { @@ -3803,7 +3813,7 @@ GetMembersRequest::GetMembersRequest(const GetMembersRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMembersRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersRequest) } void GetMembersRequest::SharedCtor() { @@ -3815,7 +3825,7 @@ void GetMembersRequest::SharedCtor() { } GetMembersRequest::~GetMembersRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMembersRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersRequest) SharedDtor(); } @@ -3836,7 +3846,7 @@ const ::google::protobuf::Descriptor* GetMembersRequest::descriptor() { } const GetMembersRequest& GetMembersRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3869,7 +3879,7 @@ const int GetMembersResponse::kContinuationFieldNumber; GetMembersResponse::GetMembersResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMembersResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersResponse) } void GetMembersResponse::InitAsDefaultInstance() { @@ -3879,7 +3889,7 @@ GetMembersResponse::GetMembersResponse(const GetMembersResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMembersResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersResponse) } void GetMembersResponse::SharedCtor() { @@ -3889,7 +3899,7 @@ void GetMembersResponse::SharedCtor() { } GetMembersResponse::~GetMembersResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMembersResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersResponse) SharedDtor(); } @@ -3909,7 +3919,7 @@ const ::google::protobuf::Descriptor* GetMembersResponse::descriptor() { } const GetMembersResponse& GetMembersResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -3944,20 +3954,20 @@ const int UpdateMemberStateRequest::kOptionsFieldNumber; UpdateMemberStateRequest::UpdateMemberStateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateMemberStateRequest) + // @@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::MemberStateOptions*>(&::bgs::protocol::club::v1::MemberStateOptions::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.UpdateMemberStateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) } void UpdateMemberStateRequest::SharedCtor() { @@ -3970,7 +3980,7 @@ void UpdateMemberStateRequest::SharedCtor() { } UpdateMemberStateRequest::~UpdateMemberStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateMemberStateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) SharedDtor(); } @@ -3993,7 +4003,7 @@ const ::google::protobuf::Descriptor* UpdateMemberStateRequest::descriptor() { } const UpdateMemberStateRequest& UpdateMemberStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4027,19 +4037,19 @@ const int UpdateSubscriberStateRequest::kOptionsFieldNumber; UpdateSubscriberStateRequest::UpdateSubscriberStateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateSubscriberStateRequest) + // @@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::SubscriberStateOptions*>(&::bgs::protocol::club::v1::SubscriberStateOptions::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.UpdateSubscriberStateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) } void UpdateSubscriberStateRequest::SharedCtor() { @@ -4051,7 +4061,7 @@ void UpdateSubscriberStateRequest::SharedCtor() { } UpdateSubscriberStateRequest::~UpdateSubscriberStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateSubscriberStateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) SharedDtor(); } @@ -4073,7 +4083,7 @@ const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest::descriptor() } const UpdateSubscriberStateRequest& UpdateSubscriberStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4107,19 +4117,19 @@ const int AssignRoleRequest::kOptionsFieldNumber; AssignRoleRequest::AssignRoleRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AssignRoleRequest) + // @@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::RoleOptions*>(&::bgs::protocol::club::v1::RoleOptions::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.AssignRoleRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AssignRoleRequest) } void AssignRoleRequest::SharedCtor() { @@ -4131,7 +4141,7 @@ void AssignRoleRequest::SharedCtor() { } AssignRoleRequest::~AssignRoleRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AssignRoleRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AssignRoleRequest) SharedDtor(); } @@ -4153,7 +4163,7 @@ const ::google::protobuf::Descriptor* AssignRoleRequest::descriptor() { } const AssignRoleRequest& AssignRoleRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4187,19 +4197,19 @@ const int UnassignRoleRequest::kOptionsFieldNumber; UnassignRoleRequest::UnassignRoleRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnassignRoleRequest) + // @@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::RoleOptions*>(&::bgs::protocol::club::v1::RoleOptions::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.UnassignRoleRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnassignRoleRequest) } void UnassignRoleRequest::SharedCtor() { @@ -4211,7 +4221,7 @@ void UnassignRoleRequest::SharedCtor() { } UnassignRoleRequest::~UnassignRoleRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnassignRoleRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnassignRoleRequest) SharedDtor(); } @@ -4233,7 +4243,7 @@ const ::google::protobuf::Descriptor* UnassignRoleRequest::descriptor() { } const UnassignRoleRequest& UnassignRoleRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4267,19 +4277,19 @@ const int SendInvitationRequest::kOptionsFieldNumber; SendInvitationRequest::SendInvitationRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendInvitationRequest) + // @@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::SendInvitationOptions*>(&::bgs::protocol::club::v1::SendInvitationOptions::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.SendInvitationRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationRequest) } void SendInvitationRequest::SharedCtor() { @@ -4291,7 +4301,7 @@ void SendInvitationRequest::SharedCtor() { } SendInvitationRequest::~SendInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendInvitationRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationRequest) SharedDtor(); } @@ -4313,7 +4323,7 @@ const ::google::protobuf::Descriptor* SendInvitationRequest::descriptor() { } const SendInvitationRequest& SendInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4347,7 +4357,7 @@ const int AcceptInvitationRequest::kInvitationIdFieldNumber; AcceptInvitationRequest::AcceptInvitationRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AcceptInvitationRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) } void AcceptInvitationRequest::InitAsDefaultInstance() { @@ -4358,7 +4368,7 @@ AcceptInvitationRequest::AcceptInvitationRequest(const AcceptInvitationRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AcceptInvitationRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) } void AcceptInvitationRequest::SharedCtor() { @@ -4370,7 +4380,7 @@ void AcceptInvitationRequest::SharedCtor() { } AcceptInvitationRequest::~AcceptInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AcceptInvitationRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) SharedDtor(); } @@ -4391,7 +4401,7 @@ const ::google::protobuf::Descriptor* AcceptInvitationRequest::descriptor() { } const AcceptInvitationRequest& AcceptInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4425,7 +4435,7 @@ const int DeclineInvitationRequest::kInvitationIdFieldNumber; DeclineInvitationRequest::DeclineInvitationRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DeclineInvitationRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) } void DeclineInvitationRequest::InitAsDefaultInstance() { @@ -4436,7 +4446,7 @@ DeclineInvitationRequest::DeclineInvitationRequest(const DeclineInvitationReques : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DeclineInvitationRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) } void DeclineInvitationRequest::SharedCtor() { @@ -4448,7 +4458,7 @@ void DeclineInvitationRequest::SharedCtor() { } DeclineInvitationRequest::~DeclineInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DeclineInvitationRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) SharedDtor(); } @@ -4469,7 +4479,7 @@ const ::google::protobuf::Descriptor* DeclineInvitationRequest::descriptor() { } const DeclineInvitationRequest& DeclineInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4503,7 +4513,7 @@ const int RevokeInvitationRequest::kInvitationIdFieldNumber; RevokeInvitationRequest::RevokeInvitationRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RevokeInvitationRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) } void RevokeInvitationRequest::InitAsDefaultInstance() { @@ -4514,7 +4524,7 @@ RevokeInvitationRequest::RevokeInvitationRequest(const RevokeInvitationRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RevokeInvitationRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) } void RevokeInvitationRequest::SharedCtor() { @@ -4526,7 +4536,7 @@ void RevokeInvitationRequest::SharedCtor() { } RevokeInvitationRequest::~RevokeInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RevokeInvitationRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) SharedDtor(); } @@ -4547,7 +4557,7 @@ const ::google::protobuf::Descriptor* RevokeInvitationRequest::descriptor() { } const RevokeInvitationRequest& RevokeInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4581,7 +4591,7 @@ const int GetInvitationRequest::kInvitationIdFieldNumber; GetInvitationRequest::GetInvitationRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationRequest) } void GetInvitationRequest::InitAsDefaultInstance() { @@ -4592,7 +4602,7 @@ GetInvitationRequest::GetInvitationRequest(const GetInvitationRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationRequest) } void GetInvitationRequest::SharedCtor() { @@ -4604,7 +4614,7 @@ void GetInvitationRequest::SharedCtor() { } GetInvitationRequest::~GetInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationRequest) SharedDtor(); } @@ -4625,7 +4635,7 @@ const ::google::protobuf::Descriptor* GetInvitationRequest::descriptor() { } const GetInvitationRequest& GetInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4657,18 +4667,18 @@ const int GetInvitationResponse::kInvitationFieldNumber; GetInvitationResponse::GetInvitationResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationResponse) } void GetInvitationResponse::InitAsDefaultInstance() { - invitation_ = const_cast< ::bgs::protocol::club::v1::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::default_instance()); + 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.GetInvitationResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationResponse) } void GetInvitationResponse::SharedCtor() { @@ -4678,7 +4688,7 @@ void GetInvitationResponse::SharedCtor() { } GetInvitationResponse::~GetInvitationResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationResponse) SharedDtor(); } @@ -4699,7 +4709,7 @@ const ::google::protobuf::Descriptor* GetInvitationResponse::descriptor() { } const GetInvitationResponse& GetInvitationResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4733,7 +4743,7 @@ const int GetInvitationsRequest::kContinuationFieldNumber; GetInvitationsRequest::GetInvitationsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) } void GetInvitationsRequest::InitAsDefaultInstance() { @@ -4744,7 +4754,7 @@ GetInvitationsRequest::GetInvitationsRequest(const GetInvitationsRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) } void GetInvitationsRequest::SharedCtor() { @@ -4756,7 +4766,7 @@ void GetInvitationsRequest::SharedCtor() { } GetInvitationsRequest::~GetInvitationsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsRequest) SharedDtor(); } @@ -4777,7 +4787,7 @@ const ::google::protobuf::Descriptor* GetInvitationsRequest::descriptor() { } const GetInvitationsRequest& GetInvitationsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4810,7 +4820,7 @@ const int GetInvitationsResponse::kContinuationFieldNumber; GetInvitationsResponse::GetInvitationsResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationsResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) } void GetInvitationsResponse::InitAsDefaultInstance() { @@ -4820,7 +4830,7 @@ GetInvitationsResponse::GetInvitationsResponse(const GetInvitationsResponse& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationsResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) } void GetInvitationsResponse::SharedCtor() { @@ -4830,7 +4840,7 @@ void GetInvitationsResponse::SharedCtor() { } GetInvitationsResponse::~GetInvitationsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationsResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsResponse) SharedDtor(); } @@ -4850,7 +4860,7 @@ const ::google::protobuf::Descriptor* GetInvitationsResponse::descriptor() { } const GetInvitationsResponse& GetInvitationsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4884,19 +4894,19 @@ const int SendSuggestionRequest::kOptionsFieldNumber; SendSuggestionRequest::SendSuggestionRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendSuggestionRequest) + // @@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::SendSuggestionOptions*>(&::bgs::protocol::club::v1::SendSuggestionOptions::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.SendSuggestionRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionRequest) } void SendSuggestionRequest::SharedCtor() { @@ -4908,7 +4918,7 @@ void SendSuggestionRequest::SharedCtor() { } SendSuggestionRequest::~SendSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendSuggestionRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionRequest) SharedDtor(); } @@ -4930,7 +4940,7 @@ const ::google::protobuf::Descriptor* SendSuggestionRequest::descriptor() { } const SendSuggestionRequest& SendSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -4964,7 +4974,7 @@ const int AcceptSuggestionRequest::kSuggestionIdFieldNumber; AcceptSuggestionRequest::AcceptSuggestionRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AcceptSuggestionRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) } void AcceptSuggestionRequest::InitAsDefaultInstance() { @@ -4975,7 +4985,7 @@ AcceptSuggestionRequest::AcceptSuggestionRequest(const AcceptSuggestionRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AcceptSuggestionRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) } void AcceptSuggestionRequest::SharedCtor() { @@ -4987,7 +4997,7 @@ void AcceptSuggestionRequest::SharedCtor() { } AcceptSuggestionRequest::~AcceptSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AcceptSuggestionRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) SharedDtor(); } @@ -5008,7 +5018,7 @@ const ::google::protobuf::Descriptor* AcceptSuggestionRequest::descriptor() { } const AcceptSuggestionRequest& AcceptSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5042,7 +5052,7 @@ const int DeclineSuggestionRequest::kSuggestionIdFieldNumber; DeclineSuggestionRequest::DeclineSuggestionRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DeclineSuggestionRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) } void DeclineSuggestionRequest::InitAsDefaultInstance() { @@ -5053,7 +5063,7 @@ DeclineSuggestionRequest::DeclineSuggestionRequest(const DeclineSuggestionReques : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DeclineSuggestionRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) } void DeclineSuggestionRequest::SharedCtor() { @@ -5065,7 +5075,7 @@ void DeclineSuggestionRequest::SharedCtor() { } DeclineSuggestionRequest::~DeclineSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DeclineSuggestionRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) SharedDtor(); } @@ -5086,7 +5096,7 @@ const ::google::protobuf::Descriptor* DeclineSuggestionRequest::descriptor() { } const DeclineSuggestionRequest& DeclineSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5120,7 +5130,7 @@ const int GetSuggestionRequest::kSuggestionIdFieldNumber; GetSuggestionRequest::GetSuggestionRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) } void GetSuggestionRequest::InitAsDefaultInstance() { @@ -5131,7 +5141,7 @@ GetSuggestionRequest::GetSuggestionRequest(const GetSuggestionRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) } void GetSuggestionRequest::SharedCtor() { @@ -5143,7 +5153,7 @@ void GetSuggestionRequest::SharedCtor() { } GetSuggestionRequest::~GetSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionRequest) SharedDtor(); } @@ -5164,7 +5174,7 @@ const ::google::protobuf::Descriptor* GetSuggestionRequest::descriptor() { } const GetSuggestionRequest& GetSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5196,18 +5206,18 @@ const int GetSuggestionResponse::kSuggestionFieldNumber; GetSuggestionResponse::GetSuggestionResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) } void GetSuggestionResponse::InitAsDefaultInstance() { - suggestion_ = const_cast< ::bgs::protocol::club::v1::ClubSuggestion*>(&::bgs::protocol::club::v1::ClubSuggestion::default_instance()); + 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.GetSuggestionResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) } void GetSuggestionResponse::SharedCtor() { @@ -5217,7 +5227,7 @@ void GetSuggestionResponse::SharedCtor() { } GetSuggestionResponse::~GetSuggestionResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionResponse) SharedDtor(); } @@ -5238,7 +5248,7 @@ const ::google::protobuf::Descriptor* GetSuggestionResponse::descriptor() { } const GetSuggestionResponse& GetSuggestionResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5272,7 +5282,7 @@ const int GetSuggestionsRequest::kContinuationFieldNumber; GetSuggestionsRequest::GetSuggestionsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) } void GetSuggestionsRequest::InitAsDefaultInstance() { @@ -5283,7 +5293,7 @@ GetSuggestionsRequest::GetSuggestionsRequest(const GetSuggestionsRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) } void GetSuggestionsRequest::SharedCtor() { @@ -5295,7 +5305,7 @@ void GetSuggestionsRequest::SharedCtor() { } GetSuggestionsRequest::~GetSuggestionsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) SharedDtor(); } @@ -5316,7 +5326,7 @@ const ::google::protobuf::Descriptor* GetSuggestionsRequest::descriptor() { } const GetSuggestionsRequest& GetSuggestionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5349,7 +5359,7 @@ const int GetSuggestionsResponse::kContinuationFieldNumber; GetSuggestionsResponse::GetSuggestionsResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionsResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) } void GetSuggestionsResponse::InitAsDefaultInstance() { @@ -5359,7 +5369,7 @@ GetSuggestionsResponse::GetSuggestionsResponse(const GetSuggestionsResponse& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionsResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) } void GetSuggestionsResponse::SharedCtor() { @@ -5369,7 +5379,7 @@ void GetSuggestionsResponse::SharedCtor() { } GetSuggestionsResponse::~GetSuggestionsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionsResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) SharedDtor(); } @@ -5389,7 +5399,7 @@ const ::google::protobuf::Descriptor* GetSuggestionsResponse::descriptor() { } const GetSuggestionsResponse& GetSuggestionsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5423,19 +5433,19 @@ const int CreateTicketRequest::kOptionsFieldNumber; CreateTicketRequest::CreateTicketRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketRequest) + // @@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::CreateTicketOptions*>(&::bgs::protocol::club::v1::CreateTicketOptions::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.CreateTicketRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketRequest) } void CreateTicketRequest::SharedCtor() { @@ -5447,7 +5457,7 @@ void CreateTicketRequest::SharedCtor() { } CreateTicketRequest::~CreateTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketRequest) SharedDtor(); } @@ -5469,7 +5479,7 @@ const ::google::protobuf::Descriptor* CreateTicketRequest::descriptor() { } const CreateTicketRequest& CreateTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5501,18 +5511,18 @@ const int CreateTicketResponse::kTicketFieldNumber; CreateTicketResponse::CreateTicketResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketResponse) } void CreateTicketResponse::InitAsDefaultInstance() { - ticket_ = const_cast< ::bgs::protocol::club::v1::ClubTicket*>(&::bgs::protocol::club::v1::ClubTicket::default_instance()); + 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.CreateTicketResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketResponse) } void CreateTicketResponse::SharedCtor() { @@ -5522,7 +5532,7 @@ void CreateTicketResponse::SharedCtor() { } CreateTicketResponse::~CreateTicketResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketResponse) SharedDtor(); } @@ -5543,7 +5553,7 @@ const ::google::protobuf::Descriptor* CreateTicketResponse::descriptor() { } const CreateTicketResponse& CreateTicketResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5577,7 +5587,7 @@ const int DestroyTicketRequest::kTicketIdFieldNumber; DestroyTicketRequest::DestroyTicketRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyTicketRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) } void DestroyTicketRequest::InitAsDefaultInstance() { @@ -5588,7 +5598,7 @@ DestroyTicketRequest::DestroyTicketRequest(const DestroyTicketRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyTicketRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) } void DestroyTicketRequest::SharedCtor() { @@ -5601,7 +5611,7 @@ void DestroyTicketRequest::SharedCtor() { } DestroyTicketRequest::~DestroyTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyTicketRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyTicketRequest) SharedDtor(); } @@ -5625,7 +5635,7 @@ const ::google::protobuf::Descriptor* DestroyTicketRequest::descriptor() { } const DestroyTicketRequest& DestroyTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5658,7 +5668,7 @@ const int RedeemTicketRequest::kTicketIdFieldNumber; RedeemTicketRequest::RedeemTicketRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RedeemTicketRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) } void RedeemTicketRequest::InitAsDefaultInstance() { @@ -5669,7 +5679,7 @@ RedeemTicketRequest::RedeemTicketRequest(const RedeemTicketRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RedeemTicketRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) } void RedeemTicketRequest::SharedCtor() { @@ -5681,7 +5691,7 @@ void RedeemTicketRequest::SharedCtor() { } RedeemTicketRequest::~RedeemTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RedeemTicketRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RedeemTicketRequest) SharedDtor(); } @@ -5705,7 +5715,7 @@ const ::google::protobuf::Descriptor* RedeemTicketRequest::descriptor() { } const RedeemTicketRequest& RedeemTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5738,7 +5748,7 @@ const int GetTicketRequest::kTicketIdFieldNumber; GetTicketRequest::GetTicketRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketRequest) } void GetTicketRequest::InitAsDefaultInstance() { @@ -5749,7 +5759,7 @@ GetTicketRequest::GetTicketRequest(const GetTicketRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketRequest) } void GetTicketRequest::SharedCtor() { @@ -5761,7 +5771,7 @@ void GetTicketRequest::SharedCtor() { } GetTicketRequest::~GetTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketRequest) SharedDtor(); } @@ -5785,7 +5795,7 @@ const ::google::protobuf::Descriptor* GetTicketRequest::descriptor() { } const GetTicketRequest& GetTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5817,18 +5827,18 @@ const int GetTicketResponse::kTicketFieldNumber; GetTicketResponse::GetTicketResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketResponse) } void GetTicketResponse::InitAsDefaultInstance() { - ticket_ = const_cast< ::bgs::protocol::club::v1::ClubTicket*>(&::bgs::protocol::club::v1::ClubTicket::default_instance()); + 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.GetTicketResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketResponse) } void GetTicketResponse::SharedCtor() { @@ -5838,7 +5848,7 @@ void GetTicketResponse::SharedCtor() { } GetTicketResponse::~GetTicketResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketResponse) SharedDtor(); } @@ -5859,7 +5869,7 @@ const ::google::protobuf::Descriptor* GetTicketResponse::descriptor() { } const GetTicketResponse& GetTicketResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5893,7 +5903,7 @@ const int GetTicketsRequest::kContinuationFieldNumber; GetTicketsRequest::GetTicketsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsRequest) } void GetTicketsRequest::InitAsDefaultInstance() { @@ -5904,7 +5914,7 @@ GetTicketsRequest::GetTicketsRequest(const GetTicketsRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsRequest) } void GetTicketsRequest::SharedCtor() { @@ -5916,7 +5926,7 @@ void GetTicketsRequest::SharedCtor() { } GetTicketsRequest::~GetTicketsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsRequest) SharedDtor(); } @@ -5937,7 +5947,7 @@ const ::google::protobuf::Descriptor* GetTicketsRequest::descriptor() { } const GetTicketsRequest& GetTicketsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -5970,7 +5980,7 @@ const int GetTicketsResponse::kContinuationFieldNumber; GetTicketsResponse::GetTicketsResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketsResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsResponse) } void GetTicketsResponse::InitAsDefaultInstance() { @@ -5980,7 +5990,7 @@ GetTicketsResponse::GetTicketsResponse(const GetTicketsResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketsResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsResponse) } void GetTicketsResponse::SharedCtor() { @@ -5990,7 +6000,7 @@ void GetTicketsResponse::SharedCtor() { } GetTicketsResponse::~GetTicketsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketsResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsResponse) SharedDtor(); } @@ -6010,7 +6020,7 @@ const ::google::protobuf::Descriptor* GetTicketsResponse::descriptor() { } const GetTicketsResponse& GetTicketsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6044,19 +6054,19 @@ const int AddBanRequest::kOptionsFieldNumber; AddBanRequest::AddBanRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddBanRequest) + // @@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::AddBanOptions*>(&::bgs::protocol::club::v1::AddBanOptions::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.AddBanRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanRequest) } void AddBanRequest::SharedCtor() { @@ -6068,7 +6078,7 @@ void AddBanRequest::SharedCtor() { } AddBanRequest::~AddBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddBanRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanRequest) SharedDtor(); } @@ -6090,7 +6100,7 @@ const ::google::protobuf::Descriptor* AddBanRequest::descriptor() { } const AddBanRequest& AddBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6124,7 +6134,7 @@ const int RemoveBanRequest::kTargetIdFieldNumber; RemoveBanRequest::RemoveBanRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RemoveBanRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveBanRequest) } void RemoveBanRequest::InitAsDefaultInstance() { @@ -6136,7 +6146,7 @@ RemoveBanRequest::RemoveBanRequest(const RemoveBanRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RemoveBanRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveBanRequest) } void RemoveBanRequest::SharedCtor() { @@ -6148,7 +6158,7 @@ void RemoveBanRequest::SharedCtor() { } RemoveBanRequest::~RemoveBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RemoveBanRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveBanRequest) SharedDtor(); } @@ -6170,7 +6180,7 @@ const ::google::protobuf::Descriptor* RemoveBanRequest::descriptor() { } const RemoveBanRequest& RemoveBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6204,7 +6214,7 @@ const int GetBanRequest::kTargetIdFieldNumber; GetBanRequest::GetBanRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBanRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanRequest) } void GetBanRequest::InitAsDefaultInstance() { @@ -6216,7 +6226,7 @@ GetBanRequest::GetBanRequest(const GetBanRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBanRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanRequest) } void GetBanRequest::SharedCtor() { @@ -6228,7 +6238,7 @@ void GetBanRequest::SharedCtor() { } GetBanRequest::~GetBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBanRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanRequest) SharedDtor(); } @@ -6250,7 +6260,7 @@ const ::google::protobuf::Descriptor* GetBanRequest::descriptor() { } const GetBanRequest& GetBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6282,18 +6292,18 @@ const int GetBanResponse::kBanFieldNumber; GetBanResponse::GetBanResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBanResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanResponse) } void GetBanResponse::InitAsDefaultInstance() { - ban_ = const_cast< ::bgs::protocol::club::v1::ClubBan*>(&::bgs::protocol::club::v1::ClubBan::default_instance()); + 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.GetBanResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanResponse) } void GetBanResponse::SharedCtor() { @@ -6303,7 +6313,7 @@ void GetBanResponse::SharedCtor() { } GetBanResponse::~GetBanResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBanResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanResponse) SharedDtor(); } @@ -6324,7 +6334,7 @@ const ::google::protobuf::Descriptor* GetBanResponse::descriptor() { } const GetBanResponse& GetBanResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6358,7 +6368,7 @@ const int GetBansRequest::kContinuationFieldNumber; GetBansRequest::GetBansRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBansRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansRequest) } void GetBansRequest::InitAsDefaultInstance() { @@ -6369,7 +6379,7 @@ GetBansRequest::GetBansRequest(const GetBansRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBansRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansRequest) } void GetBansRequest::SharedCtor() { @@ -6381,7 +6391,7 @@ void GetBansRequest::SharedCtor() { } GetBansRequest::~GetBansRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBansRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansRequest) SharedDtor(); } @@ -6402,7 +6412,7 @@ const ::google::protobuf::Descriptor* GetBansRequest::descriptor() { } const GetBansRequest& GetBansRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6435,7 +6445,7 @@ const int GetBansResponse::kContinuationFieldNumber; GetBansResponse::GetBansResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBansResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansResponse) } void GetBansResponse::InitAsDefaultInstance() { @@ -6445,7 +6455,7 @@ GetBansResponse::GetBansResponse(const GetBansResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBansResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansResponse) } void GetBansResponse::SharedCtor() { @@ -6455,7 +6465,7 @@ void GetBansResponse::SharedCtor() { } GetBansResponse::~GetBansResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBansResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansResponse) SharedDtor(); } @@ -6475,7 +6485,7 @@ const ::google::protobuf::Descriptor* GetBansResponse::descriptor() { } const GetBansResponse& GetBansResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6509,7 +6519,7 @@ const int SubscribeStreamRequest::kStreamIdFieldNumber; SubscribeStreamRequest::SubscribeStreamRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeStreamRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) } void SubscribeStreamRequest::InitAsDefaultInstance() { @@ -6520,7 +6530,7 @@ SubscribeStreamRequest::SubscribeStreamRequest(const SubscribeStreamRequest& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscribeStreamRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) } void SubscribeStreamRequest::SharedCtor() { @@ -6531,7 +6541,7 @@ void SubscribeStreamRequest::SharedCtor() { } SubscribeStreamRequest::~SubscribeStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeStreamRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) SharedDtor(); } @@ -6552,7 +6562,7 @@ const ::google::protobuf::Descriptor* SubscribeStreamRequest::descriptor() { } const SubscribeStreamRequest& SubscribeStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6586,7 +6596,7 @@ const int UnsubscribeStreamRequest::kStreamIdFieldNumber; UnsubscribeStreamRequest::UnsubscribeStreamRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) } void UnsubscribeStreamRequest::InitAsDefaultInstance() { @@ -6597,7 +6607,7 @@ UnsubscribeStreamRequest::UnsubscribeStreamRequest(const UnsubscribeStreamReques : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) } void UnsubscribeStreamRequest::SharedCtor() { @@ -6608,7 +6618,7 @@ void UnsubscribeStreamRequest::SharedCtor() { } UnsubscribeStreamRequest::~UnsubscribeStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) SharedDtor(); } @@ -6629,7 +6639,7 @@ const ::google::protobuf::Descriptor* UnsubscribeStreamRequest::descriptor() { } const UnsubscribeStreamRequest& UnsubscribeStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6663,19 +6673,19 @@ const int CreateStreamRequest::kOptionsFieldNumber; CreateStreamRequest::CreateStreamRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamRequest) + // @@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::CreateStreamOptions*>(&::bgs::protocol::club::v1::CreateStreamOptions::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.CreateStreamRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamRequest) } void CreateStreamRequest::SharedCtor() { @@ -6687,7 +6697,7 @@ void CreateStreamRequest::SharedCtor() { } CreateStreamRequest::~CreateStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamRequest) SharedDtor(); } @@ -6709,7 +6719,7 @@ const ::google::protobuf::Descriptor* CreateStreamRequest::descriptor() { } const CreateStreamRequest& CreateStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6742,7 +6752,7 @@ const int CreateStreamResponse::kStreamIdFieldNumber; CreateStreamResponse::CreateStreamResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamResponse) } void CreateStreamResponse::InitAsDefaultInstance() { @@ -6752,7 +6762,7 @@ CreateStreamResponse::CreateStreamResponse(const CreateStreamResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateStreamResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamResponse) } void CreateStreamResponse::SharedCtor() { @@ -6763,7 +6773,7 @@ void CreateStreamResponse::SharedCtor() { } CreateStreamResponse::~CreateStreamResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamResponse) SharedDtor(); } @@ -6783,7 +6793,7 @@ const ::google::protobuf::Descriptor* CreateStreamResponse::descriptor() { } const CreateStreamResponse& CreateStreamResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6817,7 +6827,7 @@ const int DestroyStreamRequest::kStreamIdFieldNumber; DestroyStreamRequest::DestroyStreamRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyStreamRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) } void DestroyStreamRequest::InitAsDefaultInstance() { @@ -6828,7 +6838,7 @@ DestroyStreamRequest::DestroyStreamRequest(const DestroyStreamRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyStreamRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) } void DestroyStreamRequest::SharedCtor() { @@ -6840,7 +6850,7 @@ void DestroyStreamRequest::SharedCtor() { } DestroyStreamRequest::~DestroyStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyStreamRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyStreamRequest) SharedDtor(); } @@ -6861,7 +6871,7 @@ const ::google::protobuf::Descriptor* DestroyStreamRequest::descriptor() { } const DestroyStreamRequest& DestroyStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6895,7 +6905,7 @@ const int GetStreamRequest::kStreamIdFieldNumber; GetStreamRequest::GetStreamRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamRequest) } void GetStreamRequest::InitAsDefaultInstance() { @@ -6906,7 +6916,7 @@ GetStreamRequest::GetStreamRequest(const GetStreamRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamRequest) } void GetStreamRequest::SharedCtor() { @@ -6918,7 +6928,7 @@ void GetStreamRequest::SharedCtor() { } GetStreamRequest::~GetStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamRequest) SharedDtor(); } @@ -6939,7 +6949,7 @@ const ::google::protobuf::Descriptor* GetStreamRequest::descriptor() { } const GetStreamRequest& GetStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -6971,18 +6981,18 @@ const int GetStreamResponse::kStreamFieldNumber; GetStreamResponse::GetStreamResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamResponse) } void GetStreamResponse::InitAsDefaultInstance() { - stream_ = const_cast< ::bgs::protocol::club::v1::Stream*>(&::bgs::protocol::club::v1::Stream::default_instance()); + 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.GetStreamResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamResponse) } void GetStreamResponse::SharedCtor() { @@ -6992,7 +7002,7 @@ void GetStreamResponse::SharedCtor() { } GetStreamResponse::~GetStreamResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamResponse) SharedDtor(); } @@ -7013,7 +7023,7 @@ const ::google::protobuf::Descriptor* GetStreamResponse::descriptor() { } const GetStreamResponse& GetStreamResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7047,7 +7057,7 @@ const int GetStreamsRequest::kContinuationFieldNumber; GetStreamsRequest::GetStreamsRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamsRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsRequest) } void GetStreamsRequest::InitAsDefaultInstance() { @@ -7058,7 +7068,7 @@ GetStreamsRequest::GetStreamsRequest(const GetStreamsRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamsRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsRequest) } void GetStreamsRequest::SharedCtor() { @@ -7070,7 +7080,7 @@ void GetStreamsRequest::SharedCtor() { } GetStreamsRequest::~GetStreamsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamsRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsRequest) SharedDtor(); } @@ -7091,7 +7101,7 @@ const ::google::protobuf::Descriptor* GetStreamsRequest::descriptor() { } const GetStreamsRequest& GetStreamsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7125,7 +7135,7 @@ const int GetStreamsResponse::kContinuationFieldNumber; GetStreamsResponse::GetStreamsResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamsResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsResponse) } void GetStreamsResponse::InitAsDefaultInstance() { @@ -7135,7 +7145,7 @@ GetStreamsResponse::GetStreamsResponse(const GetStreamsResponse& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamsResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsResponse) } void GetStreamsResponse::SharedCtor() { @@ -7145,7 +7155,7 @@ void GetStreamsResponse::SharedCtor() { } GetStreamsResponse::~GetStreamsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamsResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsResponse) SharedDtor(); } @@ -7165,7 +7175,7 @@ const ::google::protobuf::Descriptor* GetStreamsResponse::descriptor() { } const GetStreamsResponse& GetStreamsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7200,19 +7210,19 @@ const int UpdateStreamStateRequest::kOptionsFieldNumber; UpdateStreamStateRequest::UpdateStreamStateRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateStreamStateRequest) + // @@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::StreamStateOptions*>(&::bgs::protocol::club::v1::StreamStateOptions::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.UpdateStreamStateRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) } void UpdateStreamStateRequest::SharedCtor() { @@ -7225,7 +7235,7 @@ void UpdateStreamStateRequest::SharedCtor() { } UpdateStreamStateRequest::~UpdateStreamStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateStreamStateRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) SharedDtor(); } @@ -7247,7 +7257,7 @@ const ::google::protobuf::Descriptor* UpdateStreamStateRequest::descriptor() { } const UpdateStreamStateRequest& UpdateStreamStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7282,7 +7292,7 @@ const int SetStreamFocusRequest::kFocusFieldNumber; SetStreamFocusRequest::SetStreamFocusRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetStreamFocusRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) } void SetStreamFocusRequest::InitAsDefaultInstance() { @@ -7293,7 +7303,7 @@ SetStreamFocusRequest::SetStreamFocusRequest(const SetStreamFocusRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetStreamFocusRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) } void SetStreamFocusRequest::SharedCtor() { @@ -7306,7 +7316,7 @@ void SetStreamFocusRequest::SharedCtor() { } SetStreamFocusRequest::~SetStreamFocusRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetStreamFocusRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) SharedDtor(); } @@ -7327,7 +7337,7 @@ const ::google::protobuf::Descriptor* SetStreamFocusRequest::descriptor() { } const SetStreamFocusRequest& SetStreamFocusRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7362,19 +7372,19 @@ const int CreateMessageRequest::kOptionsFieldNumber; CreateMessageRequest::CreateMessageRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageRequest) + // @@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::CreateMessageOptions*>(&::bgs::protocol::club::v1::CreateMessageOptions::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.CreateMessageRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageRequest) } void CreateMessageRequest::SharedCtor() { @@ -7387,7 +7397,7 @@ void CreateMessageRequest::SharedCtor() { } CreateMessageRequest::~CreateMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageRequest) SharedDtor(); } @@ -7409,7 +7419,7 @@ const ::google::protobuf::Descriptor* CreateMessageRequest::descriptor() { } const CreateMessageRequest& CreateMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7441,18 +7451,18 @@ const int CreateMessageResponse::kMessageFieldNumber; CreateMessageResponse::CreateMessageResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageResponse) } void CreateMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); + 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.CreateMessageResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageResponse) } void CreateMessageResponse::SharedCtor() { @@ -7462,7 +7472,7 @@ void CreateMessageResponse::SharedCtor() { } CreateMessageResponse::~CreateMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageResponse) SharedDtor(); } @@ -7483,7 +7493,7 @@ const ::google::protobuf::Descriptor* CreateMessageResponse::descriptor() { } const CreateMessageResponse& CreateMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7518,7 +7528,7 @@ const int DestroyMessageRequest::kMessageIdFieldNumber; DestroyMessageRequest::DestroyMessageRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyMessageRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) } void DestroyMessageRequest::InitAsDefaultInstance() { @@ -7530,7 +7540,7 @@ DestroyMessageRequest::DestroyMessageRequest(const DestroyMessageRequest& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyMessageRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) } void DestroyMessageRequest::SharedCtor() { @@ -7543,7 +7553,7 @@ void DestroyMessageRequest::SharedCtor() { } DestroyMessageRequest::~DestroyMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyMessageRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageRequest) SharedDtor(); } @@ -7565,7 +7575,7 @@ const ::google::protobuf::Descriptor* DestroyMessageRequest::descriptor() { } const DestroyMessageRequest& DestroyMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7597,18 +7607,18 @@ const int DestroyMessageResponse::kMessageFieldNumber; DestroyMessageResponse::DestroyMessageResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyMessageResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) } void DestroyMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); + 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.DestroyMessageResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) } void DestroyMessageResponse::SharedCtor() { @@ -7618,7 +7628,7 @@ void DestroyMessageResponse::SharedCtor() { } DestroyMessageResponse::~DestroyMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyMessageResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageResponse) SharedDtor(); } @@ -7639,7 +7649,7 @@ const ::google::protobuf::Descriptor* DestroyMessageResponse::descriptor() { } const DestroyMessageResponse& DestroyMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7675,20 +7685,20 @@ const int EditMessageRequest::kOptionsFieldNumber; EditMessageRequest::EditMessageRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.EditMessageRequest) + // @@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::CreateMessageOptions*>(&::bgs::protocol::club::v1::CreateMessageOptions::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.EditMessageRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageRequest) } void EditMessageRequest::SharedCtor() { @@ -7702,7 +7712,7 @@ void EditMessageRequest::SharedCtor() { } EditMessageRequest::~EditMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.EditMessageRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageRequest) SharedDtor(); } @@ -7725,7 +7735,7 @@ const ::google::protobuf::Descriptor* EditMessageRequest::descriptor() { } const EditMessageRequest& EditMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7757,18 +7767,18 @@ const int EditMessageResponse::kMessageFieldNumber; EditMessageResponse::EditMessageResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.EditMessageResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.EditMessageResponse) } void EditMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); + 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.EditMessageResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageResponse) } void EditMessageResponse::SharedCtor() { @@ -7778,7 +7788,7 @@ void EditMessageResponse::SharedCtor() { } EditMessageResponse::~EditMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.EditMessageResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageResponse) SharedDtor(); } @@ -7799,7 +7809,7 @@ const ::google::protobuf::Descriptor* EditMessageResponse::descriptor() { } const EditMessageResponse& EditMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7833,7 +7843,7 @@ const int SetMessagePinnedRequest::kStreamIdFieldNumber; SetMessagePinnedRequest::SetMessagePinnedRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetMessagePinnedRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) } void SetMessagePinnedRequest::InitAsDefaultInstance() { @@ -7844,7 +7854,7 @@ SetMessagePinnedRequest::SetMessagePinnedRequest(const SetMessagePinnedRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetMessagePinnedRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) } void SetMessagePinnedRequest::SharedCtor() { @@ -7856,7 +7866,7 @@ void SetMessagePinnedRequest::SharedCtor() { } SetMessagePinnedRequest::~SetMessagePinnedRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetMessagePinnedRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) SharedDtor(); } @@ -7877,7 +7887,7 @@ const ::google::protobuf::Descriptor* SetMessagePinnedRequest::descriptor() { } const SetMessagePinnedRequest& SetMessagePinnedRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7912,7 +7922,7 @@ const int SetTypingIndicatorRequest::kIndicatorFieldNumber; SetTypingIndicatorRequest::SetTypingIndicatorRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) } void SetTypingIndicatorRequest::InitAsDefaultInstance() { @@ -7923,7 +7933,7 @@ SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorReq : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) } void SetTypingIndicatorRequest::SharedCtor() { @@ -7936,7 +7946,7 @@ void SetTypingIndicatorRequest::SharedCtor() { } SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) SharedDtor(); } @@ -7957,7 +7967,7 @@ const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { } const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -7992,7 +8002,7 @@ const int AdvanceStreamViewTimeRequest::kStreamIdFieldNumber; AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) } void AdvanceStreamViewTimeRequest::InitAsDefaultInstance() { @@ -8003,7 +8013,7 @@ AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest(const AdvanceStreamVi : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) } void AdvanceStreamViewTimeRequest::SharedCtor() { @@ -8015,7 +8025,7 @@ void AdvanceStreamViewTimeRequest::SharedCtor() { } AdvanceStreamViewTimeRequest::~AdvanceStreamViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) SharedDtor(); } @@ -8036,7 +8046,7 @@ const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest::descriptor() } const AdvanceStreamViewTimeRequest& AdvanceStreamViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8070,7 +8080,7 @@ const int AdvanceStreamMentionViewTimeRequest::kStreamIdFieldNumber; AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) } void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { @@ -8081,7 +8091,7 @@ AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const A : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) } void AdvanceStreamMentionViewTimeRequest::SharedCtor() { @@ -8093,7 +8103,7 @@ void AdvanceStreamMentionViewTimeRequest::SharedCtor() { } AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) SharedDtor(); } @@ -8114,7 +8124,7 @@ const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descr } const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8147,7 +8157,7 @@ const int AdvanceActivityViewTimeRequest::kClubIdFieldNumber; AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) } void AdvanceActivityViewTimeRequest::InitAsDefaultInstance() { @@ -8158,7 +8168,7 @@ AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest(const AdvanceActi : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) } void AdvanceActivityViewTimeRequest::SharedCtor() { @@ -8169,7 +8179,7 @@ void AdvanceActivityViewTimeRequest::SharedCtor() { } AdvanceActivityViewTimeRequest::~AdvanceActivityViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) SharedDtor(); } @@ -8190,7 +8200,7 @@ const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest::descriptor } const AdvanceActivityViewTimeRequest& AdvanceActivityViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8225,7 +8235,7 @@ const int GetStreamHistoryRequest::kOptionsFieldNumber; GetStreamHistoryRequest::GetStreamHistoryRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamHistoryRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) } void GetStreamHistoryRequest::InitAsDefaultInstance() { @@ -8237,7 +8247,7 @@ GetStreamHistoryRequest::GetStreamHistoryRequest(const GetStreamHistoryRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamHistoryRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) } void GetStreamHistoryRequest::SharedCtor() { @@ -8250,7 +8260,7 @@ void GetStreamHistoryRequest::SharedCtor() { } GetStreamHistoryRequest::~GetStreamHistoryRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamHistoryRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) SharedDtor(); } @@ -8272,7 +8282,7 @@ const ::google::protobuf::Descriptor* GetStreamHistoryRequest::descriptor() { } const GetStreamHistoryRequest& GetStreamHistoryRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8305,7 +8315,7 @@ const int GetStreamHistoryResponse::kContinuationFieldNumber; GetStreamHistoryResponse::GetStreamHistoryResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamHistoryResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) } void GetStreamHistoryResponse::InitAsDefaultInstance() { @@ -8315,7 +8325,7 @@ GetStreamHistoryResponse::GetStreamHistoryResponse(const GetStreamHistoryRespons : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamHistoryResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) } void GetStreamHistoryResponse::SharedCtor() { @@ -8325,7 +8335,7 @@ void GetStreamHistoryResponse::SharedCtor() { } GetStreamHistoryResponse::~GetStreamHistoryResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamHistoryResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) SharedDtor(); } @@ -8345,7 +8355,7 @@ const ::google::protobuf::Descriptor* GetStreamHistoryResponse::descriptor() { } const GetStreamHistoryResponse& GetStreamHistoryResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8380,7 +8390,7 @@ const int GetStreamMessageRequest::kMessageIdFieldNumber; GetStreamMessageRequest::GetStreamMessageRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamMessageRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) } void GetStreamMessageRequest::InitAsDefaultInstance() { @@ -8392,7 +8402,7 @@ GetStreamMessageRequest::GetStreamMessageRequest(const GetStreamMessageRequest& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamMessageRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) } void GetStreamMessageRequest::SharedCtor() { @@ -8405,7 +8415,7 @@ void GetStreamMessageRequest::SharedCtor() { } GetStreamMessageRequest::~GetStreamMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamMessageRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) SharedDtor(); } @@ -8427,7 +8437,7 @@ const ::google::protobuf::Descriptor* GetStreamMessageRequest::descriptor() { } const GetStreamMessageRequest& GetStreamMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8459,18 +8469,18 @@ const int GetStreamMessageResponse::kMessageFieldNumber; GetStreamMessageResponse::GetStreamMessageResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamMessageResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) } void GetStreamMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); + 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.GetStreamMessageResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) } void GetStreamMessageResponse::SharedCtor() { @@ -8480,7 +8490,7 @@ void GetStreamMessageResponse::SharedCtor() { } GetStreamMessageResponse::~GetStreamMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamMessageResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) SharedDtor(); } @@ -8501,7 +8511,7 @@ const ::google::protobuf::Descriptor* GetStreamMessageResponse::descriptor() { } const GetStreamMessageResponse& GetStreamMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8535,7 +8545,7 @@ const int GetClubActivityRequest::kOptionsFieldNumber; GetClubActivityRequest::GetClubActivityRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubActivityRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) } void GetClubActivityRequest::InitAsDefaultInstance() { @@ -8547,7 +8557,7 @@ GetClubActivityRequest::GetClubActivityRequest(const GetClubActivityRequest& fro : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubActivityRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) } void GetClubActivityRequest::SharedCtor() { @@ -8559,7 +8569,7 @@ void GetClubActivityRequest::SharedCtor() { } GetClubActivityRequest::~GetClubActivityRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubActivityRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityRequest) SharedDtor(); } @@ -8581,7 +8591,7 @@ const ::google::protobuf::Descriptor* GetClubActivityRequest::descriptor() { } const GetClubActivityRequest& GetClubActivityRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8613,7 +8623,7 @@ const int GetClubActivityResponse::kContinuationFieldNumber; GetClubActivityResponse::GetClubActivityResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubActivityResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) } void GetClubActivityResponse::InitAsDefaultInstance() { @@ -8623,7 +8633,7 @@ GetClubActivityResponse::GetClubActivityResponse(const GetClubActivityResponse& : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubActivityResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) } void GetClubActivityResponse::SharedCtor() { @@ -8633,7 +8643,7 @@ void GetClubActivityResponse::SharedCtor() { } GetClubActivityResponse::~GetClubActivityResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubActivityResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityResponse) SharedDtor(); } @@ -8653,7 +8663,7 @@ const ::google::protobuf::Descriptor* GetClubActivityResponse::descriptor() { } const GetClubActivityResponse& GetClubActivityResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8688,7 +8698,7 @@ const int GetStreamVoiceTokenRequest::kVersionFieldNumber; GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) } void GetStreamVoiceTokenRequest::InitAsDefaultInstance() { @@ -8699,7 +8709,7 @@ GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest(const GetStreamVoiceToken : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) } void GetStreamVoiceTokenRequest::SharedCtor() { @@ -8712,7 +8722,7 @@ void GetStreamVoiceTokenRequest::SharedCtor() { } GetStreamVoiceTokenRequest::~GetStreamVoiceTokenRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) SharedDtor(); } @@ -8733,7 +8743,7 @@ const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest::descriptor() { } const GetStreamVoiceTokenRequest& GetStreamVoiceTokenRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8766,18 +8776,18 @@ const int GetStreamVoiceTokenResponse::kCredentialsFieldNumber; GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) } void GetStreamVoiceTokenResponse::InitAsDefaultInstance() { - credentials_ = const_cast< ::bgs::protocol::VoiceCredentials*>(&::bgs::protocol::VoiceCredentials::default_instance()); + 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.GetStreamVoiceTokenResponse) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) } void GetStreamVoiceTokenResponse::SharedCtor() { @@ -8789,7 +8799,7 @@ void GetStreamVoiceTokenResponse::SharedCtor() { } GetStreamVoiceTokenResponse::~GetStreamVoiceTokenResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) SharedDtor(); } @@ -8813,7 +8823,7 @@ const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse::descriptor() } const GetStreamVoiceTokenResponse& GetStreamVoiceTokenResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8848,7 +8858,7 @@ const int KickFromStreamVoiceRequest::kTargetIdFieldNumber; KickFromStreamVoiceRequest::KickFromStreamVoiceRequest() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) } void KickFromStreamVoiceRequest::InitAsDefaultInstance() { @@ -8860,7 +8870,7 @@ KickFromStreamVoiceRequest::KickFromStreamVoiceRequest(const KickFromStreamVoice : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) } void KickFromStreamVoiceRequest::SharedCtor() { @@ -8873,7 +8883,7 @@ void KickFromStreamVoiceRequest::SharedCtor() { } KickFromStreamVoiceRequest::~KickFromStreamVoiceRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) SharedDtor(); } @@ -8895,7 +8905,7 @@ const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest::descriptor() { } const KickFromStreamVoiceRequest& KickFromStreamVoiceRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); return *default_instance_; } @@ -8920,6 +8930,7 @@ void KickFromStreamVoiceRequest::Swap(KickFromStreamVoiceRequest* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_request.pb.h b/src/server/proto/Client/api/client/v1/club_request.pb.h index 428f6a7f47e..7d0ffc51d58 100644 --- a/src/server/proto/Client/club_request.pb.h +++ b/src/server/proto/Client/api/client/v1/club_request.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_request.proto +// source: api/client/v1/club_request.proto -#ifndef PROTOBUF_club_5frequest_2eproto__INCLUDED -#define PROTOBUF_club_5frequest_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED #include <string> @@ -24,8 +24,8 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_types.pb.h" // IWYU pragma: export -#include "club_tag.pb.h" // IWYU pragma: export +#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) @@ -34,11 +34,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -182,7 +183,7 @@ class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -195,9 +196,9 @@ class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -260,7 +261,7 @@ class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -273,9 +274,9 @@ class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -331,16 +332,16 @@ class TC_PROTO_API CreateRequest : public ::google::protobuf::Message { 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; + // 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::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); + 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.CreateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -352,10 +353,10 @@ class TC_PROTO_API CreateRequest : public ::google::protobuf::Message { ::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(); + ::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_; @@ -409,7 +410,7 @@ class TC_PROTO_API CreateResponse : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateResponse) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -419,9 +420,9 @@ class TC_PROTO_API CreateResponse : public ::google::protobuf::Message { ::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(); + 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_; @@ -484,7 +485,7 @@ class TC_PROTO_API DestroyRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -497,9 +498,9 @@ class TC_PROTO_API DestroyRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -562,7 +563,7 @@ class TC_PROTO_API GetDescriptionRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -575,9 +576,9 @@ class TC_PROTO_API GetDescriptionRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -633,7 +634,7 @@ class TC_PROTO_API GetDescriptionResponse : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionResponse) private: inline void set_has_club(); inline void clear_has_club(); @@ -643,9 +644,9 @@ class TC_PROTO_API GetDescriptionResponse : public ::google::protobuf::Message { ::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(); + 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_; @@ -710,7 +711,7 @@ class TC_PROTO_API GetClubTypeRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -723,9 +724,9 @@ class TC_PROTO_API GetClubTypeRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -781,23 +782,23 @@ class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { 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; + // 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::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); + 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.ClubTypeRangeSet range_set = 3; + // 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::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); + 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; @@ -823,7 +824,7 @@ class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* mutable_custom_tag_set(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubTypeResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeResponse) private: inline void set_has_type(); inline void clear_has_type(); @@ -837,13 +838,13 @@ class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { ::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_; + ::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_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); + 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_; @@ -906,16 +907,16 @@ class TC_PROTO_API UpdateClubStateRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubStateOptions options = 3; + // 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::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); + 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.UpdateClubStateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubStateRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -930,10 +931,10 @@ class TC_PROTO_API UpdateClubStateRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -996,16 +997,16 @@ class TC_PROTO_API UpdateClubSettingsRequest : public ::google::protobuf::Messag inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.ClubSettingsOptions options = 3; + // 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::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); + 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.UpdateClubSettingsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1020,10 +1021,10 @@ class TC_PROTO_API UpdateClubSettingsRequest : public ::google::protobuf::Messag 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(); + ::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_; @@ -1086,16 +1087,16 @@ class TC_PROTO_API AddMemberRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; + // 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::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); + 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.AddMemberRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddMemberRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1110,10 +1111,10 @@ class TC_PROTO_API AddMemberRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -1176,16 +1177,16 @@ class TC_PROTO_API JoinRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; + // 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::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); + 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.JoinRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.JoinRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1200,10 +1201,10 @@ class TC_PROTO_API JoinRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -1266,7 +1267,7 @@ class TC_PROTO_API LeaveRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.LeaveRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1279,9 +1280,9 @@ class TC_PROTO_API LeaveRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -1353,7 +1354,7 @@ class TC_PROTO_API KickRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1369,9 +1370,9 @@ class TC_PROTO_API KickRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -1443,7 +1444,7 @@ class TC_PROTO_API GetMemberRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1459,9 +1460,9 @@ class TC_PROTO_API GetMemberRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -1508,16 +1509,16 @@ class TC_PROTO_API GetMemberResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.Member member = 1; + // 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::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); + 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.GetMemberResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberResponse) private: inline void set_has_member(); inline void clear_has_member(); @@ -1526,10 +1527,10 @@ class TC_PROTO_API GetMemberResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -1599,7 +1600,7 @@ class TC_PROTO_API GetMembersRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMembersRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1615,9 +1616,9 @@ class TC_PROTO_API GetMembersRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -1664,16 +1665,16 @@ class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.Member member = 1; + // 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::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 >& + 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::Member >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* mutable_member(); // optional uint64 continuation = 2; @@ -1683,7 +1684,7 @@ class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMembersResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -1692,11 +1693,11 @@ class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member > member_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -1768,16 +1769,16 @@ class TC_PROTO_API UpdateMemberStateRequest : public ::google::protobuf::Message 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; + // 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::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); + 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.UpdateMemberStateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateMemberStateRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1795,10 +1796,10 @@ class TC_PROTO_API UpdateMemberStateRequest : public ::google::protobuf::Message ::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(); + ::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_; @@ -1861,16 +1862,16 @@ class TC_PROTO_API UpdateSubscriberStateRequest : public ::google::protobuf::Mes inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.SubscriberStateOptions options = 3; + // 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::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); + 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.UpdateSubscriberStateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1885,10 +1886,10 @@ class TC_PROTO_API UpdateSubscriberStateRequest : public ::google::protobuf::Mes 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(); + ::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_; @@ -1951,16 +1952,16 @@ class TC_PROTO_API AssignRoleRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.RoleOptions options = 3; + // 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::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); + 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.AssignRoleRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AssignRoleRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -1975,10 +1976,10 @@ class TC_PROTO_API AssignRoleRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -2041,16 +2042,16 @@ class TC_PROTO_API UnassignRoleRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.RoleOptions options = 3; + // 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::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); + 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.UnassignRoleRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnassignRoleRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2065,10 +2066,10 @@ class TC_PROTO_API UnassignRoleRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -2131,16 +2132,16 @@ class TC_PROTO_API SendInvitationRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.SendInvitationOptions options = 3; + // 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::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); + 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.SendInvitationRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2155,10 +2156,10 @@ class TC_PROTO_API SendInvitationRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -2228,7 +2229,7 @@ class TC_PROTO_API AcceptInvitationRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptInvitationRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2244,9 +2245,9 @@ class TC_PROTO_API AcceptInvitationRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -2316,7 +2317,7 @@ class TC_PROTO_API DeclineInvitationRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineInvitationRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2332,9 +2333,9 @@ class TC_PROTO_API DeclineInvitationRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -2404,7 +2405,7 @@ class TC_PROTO_API RevokeInvitationRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RevokeInvitationRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2420,9 +2421,9 @@ class TC_PROTO_API RevokeInvitationRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -2492,7 +2493,7 @@ class TC_PROTO_API GetInvitationRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2508,9 +2509,9 @@ class TC_PROTO_API GetInvitationRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -2557,16 +2558,16 @@ class TC_PROTO_API GetInvitationResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubInvitation invitation = 1; + // 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::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); + 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.GetInvitationResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationResponse) private: inline void set_has_invitation(); inline void clear_has_invitation(); @@ -2575,10 +2576,10 @@ class TC_PROTO_API GetInvitationResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -2648,7 +2649,7 @@ class TC_PROTO_API GetInvitationsRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2664,9 +2665,9 @@ class TC_PROTO_API GetInvitationsRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -2713,16 +2714,16 @@ class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubInvitation invitation = 1; + // 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::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 >& + 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::ClubInvitation >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* mutable_invitation(); // optional uint64 continuation = 2; @@ -2732,7 +2733,7 @@ class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationsResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -2741,11 +2742,11 @@ class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation > invitation_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -2808,16 +2809,16 @@ class TC_PROTO_API SendSuggestionRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.SendSuggestionOptions options = 3; + // 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::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); + 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.SendSuggestionRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2832,10 +2833,10 @@ class TC_PROTO_API SendSuggestionRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -2905,7 +2906,7 @@ class TC_PROTO_API AcceptSuggestionRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptSuggestionRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -2921,9 +2922,9 @@ class TC_PROTO_API AcceptSuggestionRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -2993,7 +2994,7 @@ class TC_PROTO_API DeclineSuggestionRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineSuggestionRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3009,9 +3010,9 @@ class TC_PROTO_API DeclineSuggestionRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -3081,7 +3082,7 @@ class TC_PROTO_API GetSuggestionRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3097,9 +3098,9 @@ class TC_PROTO_API GetSuggestionRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -3146,16 +3147,16 @@ class TC_PROTO_API GetSuggestionResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; + // 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::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); + 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.GetSuggestionResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionResponse) private: inline void set_has_suggestion(); inline void clear_has_suggestion(); @@ -3164,10 +3165,10 @@ class TC_PROTO_API GetSuggestionResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -3237,7 +3238,7 @@ class TC_PROTO_API GetSuggestionsRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3253,9 +3254,9 @@ class TC_PROTO_API GetSuggestionsRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -3302,16 +3303,16 @@ class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; + // 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::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 >& + 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::ClubSuggestion >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* mutable_suggestion(); // optional uint64 continuation = 2; @@ -3321,7 +3322,7 @@ class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionsResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -3330,11 +3331,11 @@ class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion > suggestion_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -3397,16 +3398,16 @@ class TC_PROTO_API CreateTicketRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.CreateTicketOptions options = 3; + // 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::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); + 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.CreateTicketRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3421,10 +3422,10 @@ class TC_PROTO_API CreateTicketRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -3471,16 +3472,16 @@ class TC_PROTO_API CreateTicketResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubTicket ticket = 1; + // 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::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); + 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.CreateTicketResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketResponse) private: inline void set_has_ticket(); inline void clear_has_ticket(); @@ -3489,10 +3490,10 @@ class TC_PROTO_API CreateTicketResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -3567,7 +3568,7 @@ class TC_PROTO_API DestroyTicketRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyTicketRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3583,9 +3584,9 @@ class TC_PROTO_API DestroyTicketRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -3653,7 +3654,7 @@ class TC_PROTO_API RedeemTicketRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RedeemTicketRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3666,9 +3667,9 @@ class TC_PROTO_API RedeemTicketRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -3736,7 +3737,7 @@ class TC_PROTO_API GetTicketRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3749,9 +3750,9 @@ class TC_PROTO_API GetTicketRequest : public ::google::protobuf::Message { 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(); + 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_; @@ -3798,16 +3799,16 @@ class TC_PROTO_API GetTicketResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubTicket ticket = 1; + // 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::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); + 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.GetTicketResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketResponse) private: inline void set_has_ticket(); inline void clear_has_ticket(); @@ -3816,10 +3817,10 @@ class TC_PROTO_API GetTicketResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -3889,7 +3890,7 @@ class TC_PROTO_API GetTicketsRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -3905,9 +3906,9 @@ class TC_PROTO_API GetTicketsRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -3954,16 +3955,16 @@ class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubTicket ticket = 1; + // 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::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 >& + 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::ClubTicket >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* mutable_ticket(); // optional uint64 continuation = 2; @@ -3973,7 +3974,7 @@ class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketsResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -3982,11 +3983,11 @@ class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket > ticket_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -4049,16 +4050,16 @@ class TC_PROTO_API AddBanRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.AddBanOptions options = 3; + // 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::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); + 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.AddBanRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4073,10 +4074,10 @@ class TC_PROTO_API AddBanRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -4148,7 +4149,7 @@ class TC_PROTO_API RemoveBanRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveBanRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4164,9 +4165,9 @@ class TC_PROTO_API RemoveBanRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -4238,7 +4239,7 @@ class TC_PROTO_API GetBanRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4254,9 +4255,9 @@ class TC_PROTO_API GetBanRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -4303,16 +4304,16 @@ class TC_PROTO_API GetBanResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.ClubBan ban = 1; + // 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::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); + 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.GetBanResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanResponse) private: inline void set_has_ban(); inline void clear_has_ban(); @@ -4321,10 +4322,10 @@ class TC_PROTO_API GetBanResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -4394,7 +4395,7 @@ class TC_PROTO_API GetBansRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBansRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4410,9 +4411,9 @@ class TC_PROTO_API GetBansRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -4459,16 +4460,16 @@ class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubBan ban = 1; + // 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::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 >& + 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::ClubBan >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* mutable_ban(); // optional uint64 continuation = 2; @@ -4478,7 +4479,7 @@ class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBansResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -4487,11 +4488,11 @@ class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan > ban_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -4566,7 +4567,7 @@ class TC_PROTO_API SubscribeStreamRequest : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* mutable_stream_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscribeStreamRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeStreamRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4580,9 +4581,9 @@ class TC_PROTO_API SubscribeStreamRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -4657,7 +4658,7 @@ class TC_PROTO_API UnsubscribeStreamRequest : public ::google::protobuf::Message inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* mutable_stream_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UnsubscribeStreamRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4671,9 +4672,9 @@ class TC_PROTO_API UnsubscribeStreamRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -4736,16 +4737,16 @@ class TC_PROTO_API CreateStreamRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 club_id() const; inline void set_club_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.CreateStreamOptions options = 3; + // 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::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); + 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.CreateStreamRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4760,10 +4761,10 @@ class TC_PROTO_API CreateStreamRequest : public ::google::protobuf::Message { 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(); + ::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_; @@ -4824,7 +4825,7 @@ class TC_PROTO_API CreateStreamResponse : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamResponse) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -4837,9 +4838,9 @@ class TC_PROTO_API CreateStreamResponse : public ::google::protobuf::Message { 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(); + 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_; @@ -4909,7 +4910,7 @@ class TC_PROTO_API DestroyStreamRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyStreamRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -4925,9 +4926,9 @@ class TC_PROTO_API DestroyStreamRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -4997,7 +4998,7 @@ class TC_PROTO_API GetStreamRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5013,9 +5014,9 @@ class TC_PROTO_API GetStreamRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -5062,16 +5063,16 @@ class TC_PROTO_API GetStreamResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.Stream stream = 1; + // 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::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); + 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.GetStreamResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamResponse) private: inline void set_has_stream(); inline void clear_has_stream(); @@ -5080,10 +5081,10 @@ class TC_PROTO_API GetStreamResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -5153,7 +5154,7 @@ class TC_PROTO_API GetStreamsRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamsRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5169,9 +5170,9 @@ class TC_PROTO_API GetStreamsRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -5218,28 +5219,28 @@ class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.Stream stream = 1; + // 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::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 >& + 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::Stream >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* mutable_stream(); - // repeated .bgs.protocol.club.v1.StreamView view = 2; + // 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::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 >& + 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::StreamView >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* mutable_view(); // optional uint64 continuation = 3; @@ -5249,7 +5250,7 @@ class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamsResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -5258,12 +5259,12 @@ class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { ::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::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_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); + 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_; @@ -5333,16 +5334,16 @@ class TC_PROTO_API UpdateStreamStateRequest : public ::google::protobuf::Message inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.StreamStateOptions options = 5; + // 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::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); + 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.UpdateStreamStateRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateStreamStateRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5360,10 +5361,10 @@ class TC_PROTO_API UpdateStreamStateRequest : public ::google::protobuf::Message ::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(); + ::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_; @@ -5440,7 +5441,7 @@ class TC_PROTO_API SetStreamFocusRequest : public ::google::protobuf::Message { inline bool focus() const; inline void set_focus(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetStreamFocusRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetStreamFocusRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5459,9 +5460,9 @@ class TC_PROTO_API SetStreamFocusRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -5531,16 +5532,16 @@ class TC_PROTO_API CreateMessageRequest : public ::google::protobuf::Message { inline ::google::protobuf::uint64 stream_id() const; inline void set_stream_id(::google::protobuf::uint64 value); - // optional .bgs.protocol.club.v1.CreateMessageOptions options = 4; + // 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::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); + 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.CreateMessageRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5558,10 +5559,10 @@ class TC_PROTO_API CreateMessageRequest : public ::google::protobuf::Message { ::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(); + ::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_; @@ -5608,16 +5609,16 @@ class TC_PROTO_API CreateMessageResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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); + 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.CreateMessageResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageResponse) private: inline void set_has_message(); inline void clear_has_message(); @@ -5626,10 +5627,10 @@ class TC_PROTO_API CreateMessageResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -5708,7 +5709,7 @@ class TC_PROTO_API DestroyMessageRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5727,9 +5728,9 @@ class TC_PROTO_API DestroyMessageRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -5776,16 +5777,16 @@ class TC_PROTO_API DestroyMessageResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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); + 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.DestroyMessageResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageResponse) private: inline void set_has_message(); inline void clear_has_message(); @@ -5794,10 +5795,10 @@ class TC_PROTO_API DestroyMessageResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -5876,16 +5877,16 @@ class TC_PROTO_API EditMessageRequest : public ::google::protobuf::Message { 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; + // 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::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); + 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.EditMessageRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -5906,10 +5907,10 @@ class TC_PROTO_API EditMessageRequest : public ::google::protobuf::Message { ::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(); + ::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_; @@ -5956,16 +5957,16 @@ class TC_PROTO_API EditMessageResponse : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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); + 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.EditMessageResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageResponse) private: inline void set_has_message(); inline void clear_has_message(); @@ -5974,10 +5975,10 @@ class TC_PROTO_API EditMessageResponse : public ::google::protobuf::Message { ::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(); + ::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_; @@ -6047,7 +6048,7 @@ class TC_PROTO_API SetMessagePinnedRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetMessagePinnedRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6063,9 +6064,9 @@ class TC_PROTO_API SetMessagePinnedRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -6142,7 +6143,7 @@ class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Messag inline ::bgs::protocol::TypingIndicator indicator() const; inline void set_indicator(::bgs::protocol::TypingIndicator value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetTypingIndicatorRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6161,9 +6162,9 @@ class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Messag ::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(); + 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_; @@ -6245,7 +6246,7 @@ class TC_PROTO_API AdvanceStreamViewTimeRequest : public ::google::protobuf::Mes inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* mutable_stream_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6262,9 +6263,9 @@ class TC_PROTO_API AdvanceStreamViewTimeRequest : public ::google::protobuf::Mes ::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(); + 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_; @@ -6334,7 +6335,7 @@ class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protob 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6350,9 +6351,9 @@ class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protob ::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(); + 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_; @@ -6415,7 +6416,7 @@ class TC_PROTO_API AdvanceActivityViewTimeRequest : public ::google::protobuf::M 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6428,9 +6429,9 @@ class TC_PROTO_API AdvanceActivityViewTimeRequest : public ::google::protobuf::M 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(); + 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_; @@ -6509,7 +6510,7 @@ class TC_PROTO_API GetStreamHistoryRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6528,9 +6529,9 @@ class TC_PROTO_API GetStreamHistoryRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -6577,16 +6578,16 @@ class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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 >& + 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::StreamMessage >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* mutable_message(); // optional uint64 continuation = 2; @@ -6596,7 +6597,7 @@ class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamHistoryResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -6605,11 +6606,11 @@ class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > message_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::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(); + 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_; @@ -6688,7 +6689,7 @@ class TC_PROTO_API GetStreamMessageRequest : public ::google::protobuf::Message 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6707,9 +6708,9 @@ class TC_PROTO_API GetStreamMessageRequest : public ::google::protobuf::Message ::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(); + 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_; @@ -6756,16 +6757,16 @@ class TC_PROTO_API GetStreamMessageResponse : public ::google::protobuf::Message // accessors ------------------------------------------------------- - // optional .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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); + 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.GetStreamMessageResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageResponse) private: inline void set_has_message(); inline void clear_has_message(); @@ -6774,10 +6775,10 @@ class TC_PROTO_API GetStreamMessageResponse : public ::google::protobuf::Message ::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(); + ::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_; @@ -6849,7 +6850,7 @@ class TC_PROTO_API GetClubActivityRequest : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -6865,9 +6866,9 @@ class TC_PROTO_API GetClubActivityRequest : public ::google::protobuf::Message { ::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(); + 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_; @@ -6921,7 +6922,7 @@ class TC_PROTO_API GetClubActivityResponse : public ::google::protobuf::Message inline ::google::protobuf::uint64 continuation() const; inline void set_continuation(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubActivityResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityResponse) private: inline void set_has_continuation(); inline void clear_has_continuation(); @@ -6931,9 +6932,9 @@ class TC_PROTO_API GetClubActivityResponse : public ::google::protobuf::Message ::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(); + 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_; @@ -7003,14 +7004,14 @@ class TC_PROTO_API GetStreamVoiceTokenRequest : public ::google::protobuf::Messa 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(); + // 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; - inline void set_version(::google::protobuf::uint32 value); + 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.GetStreamVoiceTokenRequest) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -7029,9 +7030,9 @@ class TC_PROTO_API GetStreamVoiceTokenRequest : public ::google::protobuf::Messa ::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(); + 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_; @@ -7090,16 +7091,16 @@ class TC_PROTO_API GetStreamVoiceTokenResponse : public ::google::protobuf::Mess inline ::std::string* release_channel_uri(); inline void set_allocated_channel_uri(::std::string* channel_uri); - // optional .bgs.protocol.VoiceCredentials credentials = 2; + // 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::VoiceCredentials& credentials() const; - inline ::bgs::protocol::VoiceCredentials* mutable_credentials(); - inline ::bgs::protocol::VoiceCredentials* release_credentials(); - inline void set_allocated_credentials(::bgs::protocol::VoiceCredentials* credentials); + 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.GetStreamVoiceTokenResponse) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) private: inline void set_has_channel_uri(); inline void clear_has_channel_uri(); @@ -7111,10 +7112,10 @@ class TC_PROTO_API GetStreamVoiceTokenResponse : public ::google::protobuf::Mess ::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(); + ::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_; @@ -7193,7 +7194,7 @@ class TC_PROTO_API KickFromStreamVoiceRequest : public ::google::protobuf::Messa 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) private: inline void set_has_agent_id(); inline void clear_has_agent_id(); @@ -7212,9 +7213,9 @@ class TC_PROTO_API KickFromStreamVoiceRequest : public ::google::protobuf::Messa ::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(); + 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_; @@ -7242,13 +7243,13 @@ inline void SubscribeRequest::clear_agent_id() { 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) + // @@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.SubscribeRequest.agent_id) + // @@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() { @@ -7265,7 +7266,7 @@ inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) } // optional uint64 club_id = 2; @@ -7283,13 +7284,13 @@ inline void SubscribeRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SubscribeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeRequest.club_id) + // @@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.SubscribeRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeRequest.club_id) } // ------------------------------------------------------------------- @@ -7311,13 +7312,13 @@ inline void UnsubscribeRequest::clear_agent_id() { 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) + // @@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.UnsubscribeRequest.agent_id) + // @@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() { @@ -7334,7 +7335,7 @@ inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1 } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) } // optional uint64 club_id = 2; @@ -7352,13 +7353,13 @@ inline void UnsubscribeRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UnsubscribeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeRequest.club_id) + // @@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.UnsubscribeRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeRequest.club_id) } // ------------------------------------------------------------------- @@ -7380,13 +7381,13 @@ inline void CreateRequest::clear_agent_id() { 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) + // @@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.CreateRequest.agent_id) + // @@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() { @@ -7403,10 +7404,10 @@ inline void CreateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Mem } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.agent_id) } -// optional .bgs.protocol.club.v1.ClubCreateOptions options = 2; +// optional .bgs.protocol.club.v1.client.ClubCreateOptions options = 2; inline bool CreateRequest::has_options() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -7417,26 +7418,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::ClubCreateOptions* CreateRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubCreateOptions* CreateRequest::release_options() { +inline ::bgs::protocol::club::v1::client::ClubCreateOptions* CreateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubCreateOptions* temp = options_; + ::bgs::protocol::club::v1::client::ClubCreateOptions* temp = options_; options_ = NULL; return temp; } -inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubCreateOptions* options) { +inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubCreateOptions* options) { delete options_; options_ = options; if (options) { @@ -7444,7 +7445,7 @@ inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::Club } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.options) } // ------------------------------------------------------------------- @@ -7466,13 +7467,13 @@ inline void CreateResponse::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 CreateResponse::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateResponse.club_id) + // @@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.CreateResponse.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateResponse.club_id) } // ------------------------------------------------------------------- @@ -7494,13 +7495,13 @@ inline void DestroyRequest::clear_agent_id() { 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) + // @@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.DestroyRequest.agent_id) + // @@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() { @@ -7517,7 +7518,7 @@ inline void DestroyRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Me } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyRequest.agent_id) } // optional uint64 club_id = 2; @@ -7535,13 +7536,13 @@ inline void DestroyRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DestroyRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyRequest.club_id) + // @@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.DestroyRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyRequest.club_id) } // ------------------------------------------------------------------- @@ -7563,13 +7564,13 @@ inline void GetDescriptionRequest::clear_agent_id() { 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) + // @@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.GetDescriptionRequest.agent_id) + // @@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() { @@ -7586,7 +7587,7 @@ inline void GetDescriptionRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetDescriptionRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) } // optional uint64 club_id = 2; @@ -7604,13 +7605,13 @@ inline void GetDescriptionRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetDescriptionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetDescriptionRequest.club_id) + // @@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.GetDescriptionRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetDescriptionRequest.club_id) } // ------------------------------------------------------------------- @@ -7632,13 +7633,13 @@ inline void GetDescriptionResponse::clear_club() { clear_has_club(); } inline const ::bgs::protocol::club::v1::ClubDescription& GetDescriptionResponse::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetDescriptionResponse.club) + // @@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.GetDescriptionResponse.club) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetDescriptionResponse.club) return club_; } inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::release_club() { @@ -7655,7 +7656,7 @@ inline void GetDescriptionResponse::set_allocated_club(::bgs::protocol::club::v1 } else { clear_has_club(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetDescriptionResponse.club) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionResponse.club) } // ------------------------------------------------------------------- @@ -7677,13 +7678,13 @@ inline void GetClubTypeRequest::clear_agent_id() { 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) + // @@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.GetClubTypeRequest.agent_id) + // @@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() { @@ -7700,7 +7701,7 @@ inline void GetClubTypeRequest::set_allocated_agent_id(::bgs::protocol::club::v1 } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) } // optional .bgs.protocol.club.v1.UniqueClubType type = 2; @@ -7718,13 +7719,13 @@ inline void GetClubTypeRequest::clear_type() { clear_has_type(); } inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeRequest::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeRequest.type) + // @@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.GetClubTypeRequest.type) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeRequest.type) return type_; } inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::release_type() { @@ -7741,7 +7742,7 @@ inline void GetClubTypeRequest::set_allocated_type(::bgs::protocol::club::v1::Un } else { clear_has_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeRequest.type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.type) } // ------------------------------------------------------------------- @@ -7763,13 +7764,13 @@ inline void GetClubTypeResponse::clear_type() { clear_has_type(); } inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeResponse::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.type) + // @@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.GetClubTypeResponse.type) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.type) return type_; } inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::release_type() { @@ -7786,10 +7787,10 @@ inline void GetClubTypeResponse::set_allocated_type(::bgs::protocol::club::v1::U } else { clear_has_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.type) } -// optional .bgs.protocol.club.v1.ClubRoleSet role_set = 2; +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 2; inline bool GetClubTypeResponse::has_role_set() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -7800,26 +7801,26 @@ 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(); + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::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) +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::ClubRoleSet* GetClubTypeResponse::mutable_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::ClubRoleSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.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::ClubRoleSet* GetClubTypeResponse::release_role_set() { +inline ::bgs::protocol::club::v1::client::ClubRoleSet* GetClubTypeResponse::release_role_set() { clear_has_role_set(); - ::bgs::protocol::club::v1::ClubRoleSet* temp = 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::ClubRoleSet* role_set) { +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) { @@ -7827,10 +7828,10 @@ inline void GetClubTypeResponse::set_allocated_role_set(::bgs::protocol::club::v } else { clear_has_role_set(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.role_set) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) } -// optional .bgs.protocol.club.v1.ClubTypeRangeSet range_set = 3; +// optional .bgs.protocol.club.v1.client.ClubTypeRangeSet range_set = 3; inline bool GetClubTypeResponse::has_range_set() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -7841,26 +7842,26 @@ 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(); + if (range_set_ != NULL) range_set_->::bgs::protocol::club::v1::client::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) +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::ClubTypeRangeSet* GetClubTypeResponse::mutable_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::ClubTypeRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.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::ClubTypeRangeSet* GetClubTypeResponse::release_range_set() { +inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* GetClubTypeResponse::release_range_set() { clear_has_range_set(); - ::bgs::protocol::club::v1::ClubTypeRangeSet* temp = 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::ClubTypeRangeSet* range_set) { +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) { @@ -7868,7 +7869,7 @@ inline void GetClubTypeResponse::set_allocated_range_set(::bgs::protocol::club:: } else { clear_has_range_set(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.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; @@ -7879,25 +7880,25 @@ 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) + // @@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.GetClubTypeResponse.platform_tag_set) + // @@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.GetClubTypeResponse.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.GetClubTypeResponse.platform_tag_set) + // @@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.GetClubTypeResponse.platform_tag_set) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) return &platform_tag_set_; } @@ -7909,25 +7910,25 @@ 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) + // @@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.GetClubTypeResponse.custom_tag_set) + // @@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.GetClubTypeResponse.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.GetClubTypeResponse.custom_tag_set) + // @@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.GetClubTypeResponse.custom_tag_set) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) return &custom_tag_set_; } @@ -7950,13 +7951,13 @@ inline void UpdateClubStateRequest::clear_agent_id() { 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) + // @@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.UpdateClubStateRequest.agent_id) + // @@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() { @@ -7973,7 +7974,7 @@ inline void UpdateClubStateRequest::set_allocated_agent_id(::bgs::protocol::club } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubStateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) } // optional uint64 club_id = 2; @@ -7991,16 +7992,16 @@ inline void UpdateClubStateRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UpdateClubStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubStateRequest.club_id) + // @@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.UpdateClubStateRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubStateRequest.club_id) } -// optional .bgs.protocol.club.v1.ClubStateOptions options = 3; +// optional .bgs.protocol.club.v1.client.ClubStateOptions options = 3; inline bool UpdateClubStateRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -8011,26 +8012,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::ClubStateOptions* UpdateClubStateRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubStateOptions* UpdateClubStateRequest::release_options() { +inline ::bgs::protocol::club::v1::client::ClubStateOptions* UpdateClubStateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubStateOptions* temp = options_; + ::bgs::protocol::club::v1::client::ClubStateOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubStateOptions* options) { +inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubStateOptions* options) { delete options_; options_ = options; if (options) { @@ -8038,7 +8039,7 @@ inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubStateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) } // ------------------------------------------------------------------- @@ -8060,13 +8061,13 @@ inline void UpdateClubSettingsRequest::clear_agent_id() { 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) + // @@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.UpdateClubSettingsRequest.agent_id) + // @@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() { @@ -8083,7 +8084,7 @@ inline void UpdateClubSettingsRequest::set_allocated_agent_id(::bgs::protocol::c } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubSettingsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) } // optional uint64 club_id = 2; @@ -8101,16 +8102,16 @@ inline void UpdateClubSettingsRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UpdateClubSettingsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubSettingsRequest.club_id) + // @@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.UpdateClubSettingsRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.club_id) } -// optional .bgs.protocol.club.v1.ClubSettingsOptions options = 3; +// optional .bgs.protocol.club.v1.client.ClubSettingsOptions options = 3; inline bool UpdateClubSettingsRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -8121,26 +8122,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::ClubSettingsOptions* UpdateClubSettingsRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSettingsOptions* UpdateClubSettingsRequest::release_options() { +inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* UpdateClubSettingsRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::ClubSettingsOptions* temp = options_; + ::bgs::protocol::club::v1::client::ClubSettingsOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::ClubSettingsOptions* options) { +inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubSettingsOptions* options) { delete options_; options_ = options; if (options) { @@ -8148,7 +8149,7 @@ inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::cl } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubSettingsRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) } // ------------------------------------------------------------------- @@ -8170,13 +8171,13 @@ inline void AddMemberRequest::clear_agent_id() { 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) + // @@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.AddMemberRequest.agent_id) + // @@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() { @@ -8193,7 +8194,7 @@ inline void AddMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddMemberRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) } // optional uint64 club_id = 2; @@ -8211,16 +8212,16 @@ inline void AddMemberRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AddMemberRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddMemberRequest.club_id) + // @@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.AddMemberRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddMemberRequest.club_id) } -// optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; inline bool AddMemberRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -8231,26 +8232,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateMemberOptions* AddMemberRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateMemberOptions* AddMemberRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* AddMemberRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; options_ = NULL; return temp; } -inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options) { +inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { delete options_; options_ = options; if (options) { @@ -8258,7 +8259,7 @@ inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::C } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddMemberRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.options) } // ------------------------------------------------------------------- @@ -8280,13 +8281,13 @@ inline void JoinRequest::clear_agent_id() { 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) + // @@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.JoinRequest.agent_id) + // @@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() { @@ -8303,7 +8304,7 @@ inline void JoinRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Membe } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.JoinRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.agent_id) } // optional uint64 club_id = 2; @@ -8321,16 +8322,16 @@ inline void JoinRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 JoinRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.JoinRequest.club_id) + // @@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.JoinRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.JoinRequest.club_id) } -// optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; inline bool JoinRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -8341,26 +8342,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateMemberOptions* JoinRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateMemberOptions* JoinRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* JoinRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; options_ = NULL; return temp; } -inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options) { +inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { delete options_; options_ = options; if (options) { @@ -8368,7 +8369,7 @@ inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::Create } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.JoinRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.options) } // ------------------------------------------------------------------- @@ -8390,13 +8391,13 @@ inline void LeaveRequest::clear_agent_id() { 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) + // @@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.LeaveRequest.agent_id) + // @@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() { @@ -8413,7 +8414,7 @@ inline void LeaveRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Memb } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LeaveRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.LeaveRequest.agent_id) } // optional uint64 club_id = 2; @@ -8431,13 +8432,13 @@ inline void LeaveRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 LeaveRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LeaveRequest.club_id) + // @@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.LeaveRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.LeaveRequest.club_id) } // ------------------------------------------------------------------- @@ -8459,13 +8460,13 @@ inline void KickRequest::clear_agent_id() { 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) + // @@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.KickRequest.agent_id) + // @@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() { @@ -8482,7 +8483,7 @@ inline void KickRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Membe } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.agent_id) } // optional uint64 club_id = 2; @@ -8500,13 +8501,13 @@ inline void KickRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 KickRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickRequest.club_id) + // @@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.KickRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickRequest.club_id) } // optional .bgs.protocol.club.v1.MemberId target_id = 3; @@ -8524,13 +8525,13 @@ inline void KickRequest::clear_target_id() { 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) + // @@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.KickRequest.target_id) + // @@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() { @@ -8547,7 +8548,7 @@ inline void KickRequest::set_allocated_target_id(::bgs::protocol::club::v1::Memb } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickRequest.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.target_id) } // ------------------------------------------------------------------- @@ -8569,13 +8570,13 @@ inline void GetMemberRequest::clear_agent_id() { 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) + // @@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.GetMemberRequest.agent_id) + // @@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() { @@ -8592,7 +8593,7 @@ inline void GetMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) } // optional uint64 club_id = 2; @@ -8610,13 +8611,13 @@ inline void GetMemberRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetMemberRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMemberRequest.club_id) + // @@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.GetMemberRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMemberRequest.club_id) } // optional .bgs.protocol.club.v1.MemberId member_id = 3; @@ -8634,13 +8635,13 @@ inline void GetMemberRequest::clear_member_id() { 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) + // @@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.GetMemberRequest.member_id) + // @@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() { @@ -8657,14 +8658,14 @@ inline void GetMemberRequest::set_allocated_member_id(::bgs::protocol::club::v1: } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberRequest.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.member_id) } // ------------------------------------------------------------------- // GetMemberResponse -// optional .bgs.protocol.club.v1.Member member = 1; +// optional .bgs.protocol.club.v1.client.Member member = 1; inline bool GetMemberResponse::has_member() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -8675,26 +8676,26 @@ 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(); + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::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) +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::Member* GetMemberResponse::mutable_member() { +inline ::bgs::protocol::club::v1::client::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) + 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::Member* GetMemberResponse::release_member() { +inline ::bgs::protocol::club::v1::client::Member* GetMemberResponse::release_member() { clear_has_member(); - ::bgs::protocol::club::v1::Member* temp = member_; + ::bgs::protocol::club::v1::client::Member* temp = member_; member_ = NULL; return temp; } -inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::Member* member) { +inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { delete member_; member_ = member; if (member) { @@ -8702,7 +8703,7 @@ inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::M } else { clear_has_member(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberResponse.member) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberResponse.member) } // ------------------------------------------------------------------- @@ -8724,13 +8725,13 @@ inline void GetMembersRequest::clear_agent_id() { 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) + // @@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.GetMembersRequest.agent_id) + // @@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() { @@ -8747,7 +8748,7 @@ inline void GetMembersRequest::set_allocated_agent_id(::bgs::protocol::club::v1: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMembersRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) } // optional uint64 club_id = 2; @@ -8765,13 +8766,13 @@ inline void GetMembersRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetMembersRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersRequest.club_id) + // @@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.GetMembersRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.club_id) } // optional uint64 continuation = 4; @@ -8789,46 +8790,46 @@ inline void GetMembersRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetMembersRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersRequest.continuation) + // @@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.GetMembersRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.continuation) } // ------------------------------------------------------------------- // GetMembersResponse -// repeated .bgs.protocol.club.v1.Member member = 1; +// 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::Member& GetMembersResponse::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersResponse.member) +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::Member* GetMembersResponse::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMembersResponse.member) +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::Member* GetMembersResponse::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetMembersResponse.member) +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::Member >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& GetMembersResponse::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetMembersResponse.member) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetMembersResponse.member) return member_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* GetMembersResponse::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetMembersResponse.member) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetMembersResponse.member) return &member_; } @@ -8847,13 +8848,13 @@ inline void GetMembersResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetMembersResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersResponse.continuation) + // @@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.GetMembersResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersResponse.continuation) } // ------------------------------------------------------------------- @@ -8875,13 +8876,13 @@ inline void UpdateMemberStateRequest::clear_agent_id() { 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) + // @@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.UpdateMemberStateRequest.agent_id) + // @@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() { @@ -8898,7 +8899,7 @@ inline void UpdateMemberStateRequest::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) } // optional uint64 club_id = 2; @@ -8916,13 +8917,13 @@ inline void UpdateMemberStateRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UpdateMemberStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateMemberStateRequest.club_id) + // @@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.UpdateMemberStateRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateMemberStateRequest.club_id) } // optional .bgs.protocol.club.v1.MemberId member_id = 3; @@ -8940,13 +8941,13 @@ inline void UpdateMemberStateRequest::clear_member_id() { 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) + // @@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.UpdateMemberStateRequest.member_id) + // @@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() { @@ -8963,10 +8964,10 @@ inline void UpdateMemberStateRequest::set_allocated_member_id(::bgs::protocol::c } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) } -// optional .bgs.protocol.club.v1.MemberStateOptions options = 5; +// optional .bgs.protocol.club.v1.client.MemberStateOptions options = 5; inline bool UpdateMemberStateRequest::has_options() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -8977,26 +8978,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::MemberStateOptions* UpdateMemberStateRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberStateOptions* UpdateMemberStateRequest::release_options() { +inline ::bgs::protocol::club::v1::client::MemberStateOptions* UpdateMemberStateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::MemberStateOptions* temp = options_; + ::bgs::protocol::club::v1::client::MemberStateOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::club::v1::MemberStateOptions* options) { +inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::MemberStateOptions* options) { delete options_; options_ = options; if (options) { @@ -9004,7 +9005,7 @@ inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::clu } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) } // ------------------------------------------------------------------- @@ -9026,13 +9027,13 @@ inline void UpdateSubscriberStateRequest::clear_agent_id() { 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) + // @@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.UpdateSubscriberStateRequest.agent_id) + // @@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() { @@ -9049,7 +9050,7 @@ inline void UpdateSubscriberStateRequest::set_allocated_agent_id(::bgs::protocol } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateSubscriberStateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) } // optional uint64 club_id = 2; @@ -9067,16 +9068,16 @@ inline void UpdateSubscriberStateRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UpdateSubscriberStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateSubscriberStateRequest.club_id) + // @@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.UpdateSubscriberStateRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.club_id) } -// optional .bgs.protocol.club.v1.SubscriberStateOptions options = 3; +// optional .bgs.protocol.club.v1.client.SubscriberStateOptions options = 3; inline bool UpdateSubscriberStateRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -9087,26 +9088,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::SubscriberStateOptions* UpdateSubscriberStateRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::SubscriberStateOptions* UpdateSubscriberStateRequest::release_options() { +inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* UpdateSubscriberStateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::SubscriberStateOptions* temp = options_; + ::bgs::protocol::club::v1::client::SubscriberStateOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol::club::v1::SubscriberStateOptions* options) { +inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::SubscriberStateOptions* options) { delete options_; options_ = options; if (options) { @@ -9114,7 +9115,7 @@ inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateSubscriberStateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) } // ------------------------------------------------------------------- @@ -9136,13 +9137,13 @@ inline void AssignRoleRequest::clear_agent_id() { 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) + // @@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.AssignRoleRequest.agent_id) + // @@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() { @@ -9159,7 +9160,7 @@ inline void AssignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AssignRoleRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) } // optional uint64 club_id = 2; @@ -9177,16 +9178,16 @@ inline void AssignRoleRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AssignRoleRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AssignRoleRequest.club_id) + // @@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.AssignRoleRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AssignRoleRequest.club_id) } -// optional .bgs.protocol.club.v1.RoleOptions options = 3; +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; inline bool AssignRoleRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -9197,26 +9198,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::RoleOptions* AssignRoleRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::RoleOptions* AssignRoleRequest::release_options() { +inline ::bgs::protocol::club::v1::client::RoleOptions* AssignRoleRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::RoleOptions* temp = options_; + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; options_ = NULL; return temp; } -inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options) { +inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { delete options_; options_ = options; if (options) { @@ -9224,7 +9225,7 @@ inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1:: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AssignRoleRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.options) } // ------------------------------------------------------------------- @@ -9246,13 +9247,13 @@ inline void UnassignRoleRequest::clear_agent_id() { 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) + // @@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.UnassignRoleRequest.agent_id) + // @@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() { @@ -9269,7 +9270,7 @@ inline void UnassignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnassignRoleRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) } // optional uint64 club_id = 2; @@ -9287,16 +9288,16 @@ inline void UnassignRoleRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UnassignRoleRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnassignRoleRequest.club_id) + // @@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.UnassignRoleRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnassignRoleRequest.club_id) } -// optional .bgs.protocol.club.v1.RoleOptions options = 3; +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; inline bool UnassignRoleRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -9307,26 +9308,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::RoleOptions* UnassignRoleRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::RoleOptions* UnassignRoleRequest::release_options() { +inline ::bgs::protocol::club::v1::client::RoleOptions* UnassignRoleRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::RoleOptions* temp = options_; + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; options_ = NULL; return temp; } -inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options) { +inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { delete options_; options_ = options; if (options) { @@ -9334,7 +9335,7 @@ inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1 } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnassignRoleRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.options) } // ------------------------------------------------------------------- @@ -9356,13 +9357,13 @@ inline void SendInvitationRequest::clear_agent_id() { 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) + // @@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.SendInvitationRequest.agent_id) + // @@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() { @@ -9379,7 +9380,7 @@ inline void SendInvitationRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) } // optional uint64 club_id = 2; @@ -9397,16 +9398,16 @@ inline void SendInvitationRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SendInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationRequest.club_id) + // @@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.SendInvitationRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendInvitationRequest.club_id) } -// optional .bgs.protocol.club.v1.SendInvitationOptions options = 3; +// optional .bgs.protocol.club.v1.client.SendInvitationOptions options = 3; inline bool SendInvitationRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -9417,26 +9418,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::SendInvitationOptions* SendInvitationRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::SendInvitationOptions* SendInvitationRequest::release_options() { +inline ::bgs::protocol::club::v1::client::SendInvitationOptions* SendInvitationRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::SendInvitationOptions* temp = options_; + ::bgs::protocol::club::v1::client::SendInvitationOptions* temp = options_; options_ = NULL; return temp; } -inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club::v1::SendInvitationOptions* options) { +inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendInvitationOptions* options) { delete options_; options_ = options; if (options) { @@ -9444,7 +9445,7 @@ inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club:: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.options) } // ------------------------------------------------------------------- @@ -9466,13 +9467,13 @@ inline void AcceptInvitationRequest::clear_agent_id() { 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) + // @@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.AcceptInvitationRequest.agent_id) + // @@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() { @@ -9489,7 +9490,7 @@ inline void AcceptInvitationRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AcceptInvitationRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) } // optional uint64 club_id = 2; @@ -9507,13 +9508,13 @@ inline void AcceptInvitationRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AcceptInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptInvitationRequest.club_id) + // @@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.AcceptInvitationRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.club_id) } // optional fixed64 invitation_id = 3; @@ -9531,13 +9532,13 @@ inline void AcceptInvitationRequest::clear_invitation_id() { clear_has_invitation_id(); } inline ::google::protobuf::uint64 AcceptInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptInvitationRequest.invitation_id) + // @@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.AcceptInvitationRequest.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.invitation_id) } // ------------------------------------------------------------------- @@ -9559,13 +9560,13 @@ inline void DeclineInvitationRequest::clear_agent_id() { 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) + // @@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.DeclineInvitationRequest.agent_id) + // @@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() { @@ -9582,7 +9583,7 @@ inline void DeclineInvitationRequest::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DeclineInvitationRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) } // optional uint64 club_id = 2; @@ -9600,13 +9601,13 @@ inline void DeclineInvitationRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DeclineInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineInvitationRequest.club_id) + // @@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.DeclineInvitationRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.club_id) } // optional fixed64 invitation_id = 3; @@ -9624,13 +9625,13 @@ inline void DeclineInvitationRequest::clear_invitation_id() { clear_has_invitation_id(); } inline ::google::protobuf::uint64 DeclineInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineInvitationRequest.invitation_id) + // @@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.DeclineInvitationRequest.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.invitation_id) } // ------------------------------------------------------------------- @@ -9652,13 +9653,13 @@ inline void RevokeInvitationRequest::clear_agent_id() { 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) + // @@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.RevokeInvitationRequest.agent_id) + // @@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() { @@ -9675,7 +9676,7 @@ inline void RevokeInvitationRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RevokeInvitationRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) } // optional uint64 club_id = 2; @@ -9693,13 +9694,13 @@ inline void RevokeInvitationRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 RevokeInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RevokeInvitationRequest.club_id) + // @@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.RevokeInvitationRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.club_id) } // optional fixed64 invitation_id = 3; @@ -9717,13 +9718,13 @@ inline void RevokeInvitationRequest::clear_invitation_id() { clear_has_invitation_id(); } inline ::google::protobuf::uint64 RevokeInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RevokeInvitationRequest.invitation_id) + // @@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.RevokeInvitationRequest.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.invitation_id) } // ------------------------------------------------------------------- @@ -9745,13 +9746,13 @@ inline void GetInvitationRequest::clear_agent_id() { 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) + // @@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.GetInvitationRequest.agent_id) + // @@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() { @@ -9768,7 +9769,7 @@ inline void GetInvitationRequest::set_allocated_agent_id(::bgs::protocol::club:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) } // optional uint64 club_id = 2; @@ -9786,13 +9787,13 @@ inline void GetInvitationRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationRequest.club_id) + // @@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.GetInvitationRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.club_id) } // optional fixed64 invitation_id = 3; @@ -9810,20 +9811,20 @@ inline void GetInvitationRequest::clear_invitation_id() { clear_has_invitation_id(); } inline ::google::protobuf::uint64 GetInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationRequest.invitation_id) + // @@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.GetInvitationRequest.invitation_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.invitation_id) } // ------------------------------------------------------------------- // GetInvitationResponse -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 1; +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; inline bool GetInvitationResponse::has_invitation() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -9834,26 +9835,26 @@ 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(); + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::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) +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::ClubInvitation* GetInvitationResponse::mutable_invitation() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubInvitation* GetInvitationResponse::release_invitation() { +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationResponse::release_invitation() { clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; invitation_ = NULL; return temp; } -inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { +inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { delete invitation_; invitation_ = invitation; if (invitation) { @@ -9861,7 +9862,7 @@ inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::clu } else { clear_has_invitation(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationResponse.invitation) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) } // ------------------------------------------------------------------- @@ -9883,13 +9884,13 @@ inline void GetInvitationsRequest::clear_agent_id() { 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) + // @@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.GetInvitationsRequest.agent_id) + // @@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() { @@ -9906,7 +9907,7 @@ inline void GetInvitationsRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) } // optional uint64 club_id = 2; @@ -9924,13 +9925,13 @@ inline void GetInvitationsRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetInvitationsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsRequest.club_id) + // @@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.GetInvitationsRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.club_id) } // optional uint64 continuation = 3; @@ -9948,46 +9949,46 @@ inline void GetInvitationsRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetInvitationsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsRequest.continuation) + // @@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.GetInvitationsRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.continuation) } // ------------------------------------------------------------------- // GetInvitationsResponse -// repeated .bgs.protocol.club.v1.ClubInvitation invitation = 1; +// 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::ClubInvitation& GetInvitationsResponse::invitation(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsResponse.invitation) +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::ClubInvitation* GetInvitationsResponse::mutable_invitation(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetInvitationsResponse.invitation) +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::ClubInvitation* GetInvitationsResponse::add_invitation() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetInvitationsResponse.invitation) +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::ClubInvitation >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& GetInvitationsResponse::invitation() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetInvitationsResponse.invitation) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) return invitation_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* GetInvitationsResponse::mutable_invitation() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetInvitationsResponse.invitation) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) return &invitation_; } @@ -10006,13 +10007,13 @@ inline void GetInvitationsResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetInvitationsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsResponse.continuation) + // @@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.GetInvitationsResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsResponse.continuation) } // ------------------------------------------------------------------- @@ -10034,13 +10035,13 @@ inline void SendSuggestionRequest::clear_agent_id() { 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) + // @@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.SendSuggestionRequest.agent_id) + // @@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() { @@ -10057,7 +10058,7 @@ inline void SendSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) } // optional uint64 club_id = 2; @@ -10075,16 +10076,16 @@ inline void SendSuggestionRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SendSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionRequest.club_id) + // @@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.SendSuggestionRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionRequest.club_id) } -// optional .bgs.protocol.club.v1.SendSuggestionOptions options = 3; +// optional .bgs.protocol.club.v1.client.SendSuggestionOptions options = 3; inline bool SendSuggestionRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -10095,26 +10096,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::SendSuggestionOptions* SendSuggestionRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::SendSuggestionOptions* SendSuggestionRequest::release_options() { +inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* SendSuggestionRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::SendSuggestionOptions* temp = options_; + ::bgs::protocol::club::v1::client::SendSuggestionOptions* temp = options_; options_ = NULL; return temp; } -inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club::v1::SendSuggestionOptions* options) { +inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendSuggestionOptions* options) { delete options_; options_ = options; if (options) { @@ -10122,7 +10123,7 @@ inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club:: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.options) } // ------------------------------------------------------------------- @@ -10144,13 +10145,13 @@ inline void AcceptSuggestionRequest::clear_agent_id() { 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) + // @@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.AcceptSuggestionRequest.agent_id) + // @@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() { @@ -10167,7 +10168,7 @@ inline void AcceptSuggestionRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AcceptSuggestionRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) } // optional uint64 club_id = 2; @@ -10185,13 +10186,13 @@ inline void AcceptSuggestionRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AcceptSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptSuggestionRequest.club_id) + // @@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.AcceptSuggestionRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.club_id) } // optional fixed64 suggestion_id = 3; @@ -10209,13 +10210,13 @@ inline void AcceptSuggestionRequest::clear_suggestion_id() { clear_has_suggestion_id(); } inline ::google::protobuf::uint64 AcceptSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptSuggestionRequest.suggestion_id) + // @@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.AcceptSuggestionRequest.suggestion_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.suggestion_id) } // ------------------------------------------------------------------- @@ -10237,13 +10238,13 @@ inline void DeclineSuggestionRequest::clear_agent_id() { 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) + // @@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.DeclineSuggestionRequest.agent_id) + // @@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() { @@ -10260,7 +10261,7 @@ inline void DeclineSuggestionRequest::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DeclineSuggestionRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) } // optional uint64 club_id = 2; @@ -10278,13 +10279,13 @@ inline void DeclineSuggestionRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DeclineSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineSuggestionRequest.club_id) + // @@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.DeclineSuggestionRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.club_id) } // optional fixed64 suggestion_id = 3; @@ -10302,13 +10303,13 @@ inline void DeclineSuggestionRequest::clear_suggestion_id() { clear_has_suggestion_id(); } inline ::google::protobuf::uint64 DeclineSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineSuggestionRequest.suggestion_id) + // @@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.DeclineSuggestionRequest.suggestion_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.suggestion_id) } // ------------------------------------------------------------------- @@ -10330,13 +10331,13 @@ inline void GetSuggestionRequest::clear_agent_id() { 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) + // @@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.GetSuggestionRequest.agent_id) + // @@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() { @@ -10353,7 +10354,7 @@ inline void GetSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) } // optional uint64 club_id = 2; @@ -10371,13 +10372,13 @@ inline void GetSuggestionRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionRequest.club_id) + // @@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.GetSuggestionRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.club_id) } // optional fixed64 suggestion_id = 3; @@ -10395,20 +10396,20 @@ inline void GetSuggestionRequest::clear_suggestion_id() { clear_has_suggestion_id(); } inline ::google::protobuf::uint64 GetSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionRequest.suggestion_id) + // @@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.GetSuggestionRequest.suggestion_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.suggestion_id) } // ------------------------------------------------------------------- // GetSuggestionResponse -// optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; inline bool GetSuggestionResponse::has_suggestion() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -10419,26 +10420,26 @@ 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(); + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::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) +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::ClubSuggestion* GetSuggestionResponse::mutable_suggestion() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubSuggestion* GetSuggestionResponse::release_suggestion() { +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionResponse::release_suggestion() { clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestion* temp = suggestion_; + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; suggestion_ = NULL; return temp; } -inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion) { +inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { delete suggestion_; suggestion_ = suggestion; if (suggestion) { @@ -10446,7 +10447,7 @@ inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::clu } else { clear_has_suggestion(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionResponse.suggestion) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) } // ------------------------------------------------------------------- @@ -10468,13 +10469,13 @@ inline void GetSuggestionsRequest::clear_agent_id() { 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) + // @@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.GetSuggestionsRequest.agent_id) + // @@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() { @@ -10491,7 +10492,7 @@ inline void GetSuggestionsRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) } // optional uint64 club_id = 2; @@ -10509,13 +10510,13 @@ inline void GetSuggestionsRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetSuggestionsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsRequest.club_id) + // @@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.GetSuggestionsRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.club_id) } // optional uint64 continuation = 3; @@ -10533,46 +10534,46 @@ inline void GetSuggestionsRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetSuggestionsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsRequest.continuation) + // @@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.GetSuggestionsRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.continuation) } // ------------------------------------------------------------------- // GetSuggestionsResponse -// repeated .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; +// 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::ClubSuggestion& GetSuggestionsResponse::suggestion(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) +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::ClubSuggestion* GetSuggestionsResponse::mutable_suggestion(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) +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::ClubSuggestion* GetSuggestionsResponse::add_suggestion() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) +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::ClubSuggestion >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >& GetSuggestionsResponse::suggestion() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) return suggestion_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* GetSuggestionsResponse::mutable_suggestion() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) return &suggestion_; } @@ -10591,13 +10592,13 @@ inline void GetSuggestionsResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetSuggestionsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsResponse.continuation) + // @@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.GetSuggestionsResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsResponse.continuation) } // ------------------------------------------------------------------- @@ -10619,13 +10620,13 @@ inline void CreateTicketRequest::clear_agent_id() { 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) + // @@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.CreateTicketRequest.agent_id) + // @@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() { @@ -10642,7 +10643,7 @@ inline void CreateTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) } // optional uint64 club_id = 2; @@ -10660,16 +10661,16 @@ inline void CreateTicketRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 CreateTicketRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketRequest.club_id) + // @@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.CreateTicketRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketRequest.club_id) } -// optional .bgs.protocol.club.v1.CreateTicketOptions options = 3; +// optional .bgs.protocol.club.v1.client.CreateTicketOptions options = 3; inline bool CreateTicketRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -10680,26 +10681,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateTicketOptions* CreateTicketRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateTicketOptions* CreateTicketRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateTicketOptions* CreateTicketRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateTicketOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateTicketOptions* temp = options_; options_ = NULL; return temp; } -inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1::CreateTicketOptions* options) { +inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateTicketOptions* options) { delete options_; options_ = options; if (options) { @@ -10707,14 +10708,14 @@ inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1 } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.options) } // ------------------------------------------------------------------- // CreateTicketResponse -// optional .bgs.protocol.club.v1.ClubTicket ticket = 1; +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; inline bool CreateTicketResponse::has_ticket() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -10725,26 +10726,26 @@ 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(); + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::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) +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::ClubTicket* CreateTicketResponse::mutable_ticket() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubTicket* CreateTicketResponse::release_ticket() { +inline ::bgs::protocol::club::v1::client::ClubTicket* CreateTicketResponse::release_ticket() { clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicket* temp = ticket_; + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; ticket_ = NULL; return temp; } -inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket) { +inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { delete ticket_; ticket_ = ticket; if (ticket) { @@ -10752,7 +10753,7 @@ inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1 } else { clear_has_ticket(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketResponse.ticket) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) } // ------------------------------------------------------------------- @@ -10774,13 +10775,13 @@ inline void DestroyTicketRequest::clear_agent_id() { 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) + // @@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.DestroyTicketRequest.agent_id) + // @@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() { @@ -10797,7 +10798,7 @@ inline void DestroyTicketRequest::set_allocated_agent_id(::bgs::protocol::club:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyTicketRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) } // optional uint64 club_id = 2; @@ -10815,13 +10816,13 @@ inline void DestroyTicketRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DestroyTicketRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyTicketRequest.club_id) + // @@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.DestroyTicketRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyTicketRequest.club_id) } // optional string ticket_id = 3; @@ -10841,7 +10842,7 @@ inline void DestroyTicketRequest::clear_ticket_id() { clear_has_ticket_id(); } inline const ::std::string& DestroyTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) + // @@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) { @@ -10850,7 +10851,7 @@ inline void DestroyTicketRequest::set_ticket_id(const ::std::string& value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) + // @@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(); @@ -10858,7 +10859,7 @@ inline void DestroyTicketRequest::set_ticket_id(const char* value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) + // @@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(); @@ -10866,14 +10867,14 @@ inline void DestroyTicketRequest::set_ticket_id(const char* value, size_t size) ticket_id_ = new ::std::string; } ticket_id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) + // @@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.DestroyTicketRequest.ticket_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) return ticket_id_; } inline ::std::string* DestroyTicketRequest::release_ticket_id() { @@ -10897,7 +10898,7 @@ inline void DestroyTicketRequest::set_allocated_ticket_id(::std::string* ticket_ 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) } // ------------------------------------------------------------------- @@ -10919,13 +10920,13 @@ inline void RedeemTicketRequest::clear_agent_id() { 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) + // @@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.RedeemTicketRequest.agent_id) + // @@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() { @@ -10942,7 +10943,7 @@ inline void RedeemTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RedeemTicketRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) } // optional string ticket_id = 3; @@ -10962,7 +10963,7 @@ inline void RedeemTicketRequest::clear_ticket_id() { clear_has_ticket_id(); } inline const ::std::string& RedeemTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) + // @@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) { @@ -10971,7 +10972,7 @@ inline void RedeemTicketRequest::set_ticket_id(const ::std::string& value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) + // @@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(); @@ -10979,7 +10980,7 @@ inline void RedeemTicketRequest::set_ticket_id(const char* value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) + // @@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(); @@ -10987,14 +10988,14 @@ inline void RedeemTicketRequest::set_ticket_id(const char* value, size_t size) { ticket_id_ = new ::std::string; } ticket_id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) + // @@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.RedeemTicketRequest.ticket_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) return ticket_id_; } inline ::std::string* RedeemTicketRequest::release_ticket_id() { @@ -11018,7 +11019,7 @@ inline void RedeemTicketRequest::set_allocated_ticket_id(::std::string* ticket_i 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) } // ------------------------------------------------------------------- @@ -11040,13 +11041,13 @@ inline void GetTicketRequest::clear_agent_id() { 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) + // @@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.GetTicketRequest.agent_id) + // @@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() { @@ -11063,7 +11064,7 @@ inline void GetTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) } // optional string ticket_id = 3; @@ -11083,7 +11084,7 @@ inline void GetTicketRequest::clear_ticket_id() { clear_has_ticket_id(); } inline const ::std::string& GetTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketRequest.ticket_id) + // @@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) { @@ -11092,7 +11093,7 @@ inline void GetTicketRequest::set_ticket_id(const ::std::string& value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetTicketRequest.ticket_id) + // @@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(); @@ -11100,7 +11101,7 @@ inline void GetTicketRequest::set_ticket_id(const char* value) { ticket_id_ = new ::std::string; } ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.GetTicketRequest.ticket_id) + // @@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(); @@ -11108,14 +11109,14 @@ inline void GetTicketRequest::set_ticket_id(const char* value, size_t size) { ticket_id_ = new ::std::string; } ticket_id_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.GetTicketRequest.ticket_id) + // @@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.GetTicketRequest.ticket_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) return ticket_id_; } inline ::std::string* GetTicketRequest::release_ticket_id() { @@ -11139,14 +11140,14 @@ inline void GetTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) } // ------------------------------------------------------------------- // GetTicketResponse -// optional .bgs.protocol.club.v1.ClubTicket ticket = 1; +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; inline bool GetTicketResponse::has_ticket() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -11157,26 +11158,26 @@ 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(); + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::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) +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::ClubTicket* GetTicketResponse::mutable_ticket() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubTicket* GetTicketResponse::release_ticket() { +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketResponse::release_ticket() { clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicket* temp = ticket_; + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; ticket_ = NULL; return temp; } -inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket) { +inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { delete ticket_; ticket_ = ticket; if (ticket) { @@ -11184,7 +11185,7 @@ inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::C } else { clear_has_ticket(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketResponse.ticket) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketResponse.ticket) } // ------------------------------------------------------------------- @@ -11206,13 +11207,13 @@ inline void GetTicketsRequest::clear_agent_id() { 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) + // @@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.GetTicketsRequest.agent_id) + // @@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() { @@ -11229,7 +11230,7 @@ inline void GetTicketsRequest::set_allocated_agent_id(::bgs::protocol::club::v1: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) } // optional uint64 club_id = 2; @@ -11247,13 +11248,13 @@ inline void GetTicketsRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetTicketsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsRequest.club_id) + // @@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.GetTicketsRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.club_id) } // optional uint64 continuation = 3; @@ -11271,46 +11272,46 @@ inline void GetTicketsRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetTicketsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsRequest.continuation) + // @@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.GetTicketsRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.continuation) } // ------------------------------------------------------------------- // GetTicketsResponse -// repeated .bgs.protocol.club.v1.ClubTicket ticket = 1; +// 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::ClubTicket& GetTicketsResponse::ticket(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsResponse.ticket) +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::ClubTicket* GetTicketsResponse::mutable_ticket(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketsResponse.ticket) +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::ClubTicket* GetTicketsResponse::add_ticket() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetTicketsResponse.ticket) +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::ClubTicket >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >& GetTicketsResponse::ticket() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetTicketsResponse.ticket) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) return ticket_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* GetTicketsResponse::mutable_ticket() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetTicketsResponse.ticket) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) return &ticket_; } @@ -11329,13 +11330,13 @@ inline void GetTicketsResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetTicketsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsResponse.continuation) + // @@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.GetTicketsResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsResponse.continuation) } // ------------------------------------------------------------------- @@ -11357,13 +11358,13 @@ inline void AddBanRequest::clear_agent_id() { 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) + // @@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.AddBanRequest.agent_id) + // @@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() { @@ -11380,7 +11381,7 @@ inline void AddBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Mem } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.agent_id) } // optional uint64 club_id = 2; @@ -11398,16 +11399,16 @@ inline void AddBanRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AddBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanRequest.club_id) + // @@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.AddBanRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanRequest.club_id) } -// optional .bgs.protocol.club.v1.AddBanOptions options = 3; +// optional .bgs.protocol.club.v1.client.AddBanOptions options = 3; inline bool AddBanRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -11418,26 +11419,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::AddBanOptions* AddBanRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::AddBanOptions* AddBanRequest::release_options() { +inline ::bgs::protocol::club::v1::client::AddBanOptions* AddBanRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::AddBanOptions* temp = options_; + ::bgs::protocol::club::v1::client::AddBanOptions* temp = options_; options_ = NULL; return temp; } -inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::AddBanOptions* options) { +inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::client::AddBanOptions* options) { delete options_; options_ = options; if (options) { @@ -11445,7 +11446,7 @@ inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::AddB } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.options) } // ------------------------------------------------------------------- @@ -11467,13 +11468,13 @@ inline void RemoveBanRequest::clear_agent_id() { 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) + // @@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.RemoveBanRequest.agent_id) + // @@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() { @@ -11490,7 +11491,7 @@ inline void RemoveBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveBanRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) } // optional uint64 club_id = 2; @@ -11508,13 +11509,13 @@ inline void RemoveBanRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 RemoveBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveBanRequest.club_id) + // @@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.RemoveBanRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveBanRequest.club_id) } // optional .bgs.protocol.club.v1.MemberId target_id = 3; @@ -11532,13 +11533,13 @@ inline void RemoveBanRequest::clear_target_id() { 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) + // @@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.RemoveBanRequest.target_id) + // @@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() { @@ -11555,7 +11556,7 @@ inline void RemoveBanRequest::set_allocated_target_id(::bgs::protocol::club::v1: } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveBanRequest.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) } // ------------------------------------------------------------------- @@ -11577,13 +11578,13 @@ inline void GetBanRequest::clear_agent_id() { 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) + // @@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.GetBanRequest.agent_id) + // @@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() { @@ -11600,7 +11601,7 @@ inline void GetBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Mem } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.agent_id) } // optional uint64 club_id = 2; @@ -11618,13 +11619,13 @@ inline void GetBanRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBanRequest.club_id) + // @@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.GetBanRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBanRequest.club_id) } // optional .bgs.protocol.club.v1.MemberId target_id = 3; @@ -11642,13 +11643,13 @@ inline void GetBanRequest::clear_target_id() { 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) + // @@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.GetBanRequest.target_id) + // @@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() { @@ -11665,14 +11666,14 @@ inline void GetBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::Me } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanRequest.target_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.target_id) } // ------------------------------------------------------------------- // GetBanResponse -// optional .bgs.protocol.club.v1.ClubBan ban = 1; +// optional .bgs.protocol.club.v1.client.ClubBan ban = 1; inline bool GetBanResponse::has_ban() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -11683,26 +11684,26 @@ 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(); + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::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) +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::ClubBan* GetBanResponse::mutable_ban() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubBan* GetBanResponse::release_ban() { +inline ::bgs::protocol::club::v1::client::ClubBan* GetBanResponse::release_ban() { clear_has_ban(); - ::bgs::protocol::club::v1::ClubBan* temp = ban_; + ::bgs::protocol::club::v1::client::ClubBan* temp = ban_; ban_ = NULL; return temp; } -inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::ClubBan* ban) { +inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBan* ban) { delete ban_; ban_ = ban; if (ban) { @@ -11710,7 +11711,7 @@ inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::ClubBan } else { clear_has_ban(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanResponse.ban) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanResponse.ban) } // ------------------------------------------------------------------- @@ -11732,13 +11733,13 @@ inline void GetBansRequest::clear_agent_id() { 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) + // @@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.GetBansRequest.agent_id) + // @@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() { @@ -11755,7 +11756,7 @@ inline void GetBansRequest::set_allocated_agent_id(::bgs::protocol::club::v1::Me } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBansRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBansRequest.agent_id) } // optional uint64 club_id = 2; @@ -11773,13 +11774,13 @@ inline void GetBansRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetBansRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansRequest.club_id) + // @@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.GetBansRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.club_id) } // optional uint64 continuation = 3; @@ -11797,46 +11798,46 @@ inline void GetBansRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetBansRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansRequest.continuation) + // @@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.GetBansRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.continuation) } // ------------------------------------------------------------------- // GetBansResponse -// repeated .bgs.protocol.club.v1.ClubBan ban = 1; +// 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::ClubBan& GetBansResponse::ban(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansResponse.ban) +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::ClubBan* GetBansResponse::mutable_ban(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBansResponse.ban) +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::ClubBan* GetBansResponse::add_ban() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetBansResponse.ban) +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::ClubBan >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >& GetBansResponse::ban() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetBansResponse.ban) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetBansResponse.ban) return ban_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* GetBansResponse::mutable_ban() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetBansResponse.ban) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetBansResponse.ban) return &ban_; } @@ -11855,13 +11856,13 @@ inline void GetBansResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetBansResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansResponse.continuation) + // @@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.GetBansResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansResponse.continuation) } // ------------------------------------------------------------------- @@ -11883,13 +11884,13 @@ inline void SubscribeStreamRequest::clear_agent_id() { 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) + // @@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.SubscribeStreamRequest.agent_id) + // @@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() { @@ -11906,7 +11907,7 @@ inline void SubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeStreamRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) } // optional uint64 club_id = 2; @@ -11924,13 +11925,13 @@ inline void SubscribeStreamRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SubscribeStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeStreamRequest.club_id) + // @@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.SubscribeStreamRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeStreamRequest.club_id) } // repeated uint64 stream_id = 3; @@ -11941,25 +11942,25 @@ 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) + // @@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.SubscribeStreamRequest.stream_id) + // @@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.SubscribeStreamRequest.stream_id) + // @@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.SubscribeStreamRequest.stream_id) + // @@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.SubscribeStreamRequest.stream_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) return &stream_id_; } @@ -11982,13 +11983,13 @@ inline void UnsubscribeStreamRequest::clear_agent_id() { 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) + // @@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.UnsubscribeStreamRequest.agent_id) + // @@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() { @@ -12005,7 +12006,7 @@ inline void UnsubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeStreamRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) } // optional uint64 club_id = 2; @@ -12023,13 +12024,13 @@ inline void UnsubscribeStreamRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UnsubscribeStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeStreamRequest.club_id) + // @@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.UnsubscribeStreamRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.club_id) } // repeated uint64 stream_id = 3; @@ -12040,25 +12041,25 @@ 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) + // @@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.UnsubscribeStreamRequest.stream_id) + // @@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.UnsubscribeStreamRequest.stream_id) + // @@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.UnsubscribeStreamRequest.stream_id) + // @@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.UnsubscribeStreamRequest.stream_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) return &stream_id_; } @@ -12081,13 +12082,13 @@ inline void CreateStreamRequest::clear_agent_id() { 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) + // @@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.CreateStreamRequest.agent_id) + // @@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() { @@ -12104,7 +12105,7 @@ inline void CreateStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) } // optional uint64 club_id = 2; @@ -12122,16 +12123,16 @@ inline void CreateStreamRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 CreateStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamRequest.club_id) + // @@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.CreateStreamRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamRequest.club_id) } -// optional .bgs.protocol.club.v1.CreateStreamOptions options = 3; +// optional .bgs.protocol.club.v1.client.CreateStreamOptions options = 3; inline bool CreateStreamRequest::has_options() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -12142,26 +12143,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateStreamOptions* CreateStreamRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateStreamOptions* CreateStreamRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* CreateStreamRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateStreamOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = options_; options_ = NULL; return temp; } -inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1::CreateStreamOptions* options) { +inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateStreamOptions* options) { delete options_; options_ = options; if (options) { @@ -12169,7 +12170,7 @@ inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1 } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.options) } // ------------------------------------------------------------------- @@ -12191,13 +12192,13 @@ inline void CreateStreamResponse::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 CreateStreamResponse::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamResponse.club_id) + // @@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.CreateStreamResponse.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.club_id) } // optional uint64 stream_id = 2; @@ -12215,13 +12216,13 @@ inline void CreateStreamResponse::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 CreateStreamResponse::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamResponse.stream_id) + // @@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.CreateStreamResponse.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.stream_id) } // ------------------------------------------------------------------- @@ -12243,13 +12244,13 @@ inline void DestroyStreamRequest::clear_agent_id() { 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) + // @@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.DestroyStreamRequest.agent_id) + // @@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() { @@ -12266,7 +12267,7 @@ inline void DestroyStreamRequest::set_allocated_agent_id(::bgs::protocol::club:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyStreamRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) } // optional uint64 club_id = 2; @@ -12284,13 +12285,13 @@ inline void DestroyStreamRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DestroyStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyStreamRequest.club_id) + // @@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.DestroyStreamRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.club_id) } // optional uint64 stream_id = 3; @@ -12308,13 +12309,13 @@ inline void DestroyStreamRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 DestroyStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyStreamRequest.stream_id) + // @@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.DestroyStreamRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.stream_id) } // ------------------------------------------------------------------- @@ -12336,13 +12337,13 @@ inline void GetStreamRequest::clear_agent_id() { 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) + // @@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.GetStreamRequest.agent_id) + // @@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() { @@ -12359,7 +12360,7 @@ inline void GetStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) } // optional uint64 club_id = 2; @@ -12377,13 +12378,13 @@ inline void GetStreamRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamRequest.club_id) + // @@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.GetStreamRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.club_id) } // optional uint64 stream_id = 3; @@ -12401,20 +12402,20 @@ inline void GetStreamRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 GetStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamRequest.stream_id) + // @@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.GetStreamRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.stream_id) } // ------------------------------------------------------------------- // GetStreamResponse -// optional .bgs.protocol.club.v1.Stream stream = 1; +// optional .bgs.protocol.club.v1.client.Stream stream = 1; inline bool GetStreamResponse::has_stream() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -12425,26 +12426,26 @@ 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(); + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::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) +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::Stream* GetStreamResponse::mutable_stream() { +inline ::bgs::protocol::club::v1::client::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) + 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::Stream* GetStreamResponse::release_stream() { +inline ::bgs::protocol::club::v1::client::Stream* GetStreamResponse::release_stream() { clear_has_stream(); - ::bgs::protocol::club::v1::Stream* temp = stream_; + ::bgs::protocol::club::v1::client::Stream* temp = stream_; stream_ = NULL; return temp; } -inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::Stream* stream) { +inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { delete stream_; stream_ = stream; if (stream) { @@ -12452,7 +12453,7 @@ inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::S } else { clear_has_stream(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamResponse.stream) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamResponse.stream) } // ------------------------------------------------------------------- @@ -12474,13 +12475,13 @@ inline void GetStreamsRequest::clear_agent_id() { 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) + // @@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.GetStreamsRequest.agent_id) + // @@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() { @@ -12497,7 +12498,7 @@ inline void GetStreamsRequest::set_allocated_agent_id(::bgs::protocol::club::v1: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamsRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) } // optional uint64 club_id = 2; @@ -12515,13 +12516,13 @@ inline void GetStreamsRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetStreamsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsRequest.club_id) + // @@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.GetStreamsRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.club_id) } // optional uint64 continuation = 3; @@ -12539,76 +12540,76 @@ inline void GetStreamsRequest::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetStreamsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsRequest.continuation) + // @@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.GetStreamsRequest.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.continuation) } // ------------------------------------------------------------------- // GetStreamsResponse -// repeated .bgs.protocol.club.v1.Stream stream = 1; +// 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::Stream& GetStreamsResponse::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.stream) +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::Stream* GetStreamsResponse::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamsResponse.stream) +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::Stream* GetStreamsResponse::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamsResponse.stream) +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::Stream >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >& GetStreamsResponse::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamsResponse.stream) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) return stream_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* GetStreamsResponse::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamsResponse.stream) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) return &stream_; } -// repeated .bgs.protocol.club.v1.StreamView view = 2; +// 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::StreamView& GetStreamsResponse::view(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.view) +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::StreamView* GetStreamsResponse::mutable_view(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamsResponse.view) +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::StreamView* GetStreamsResponse::add_view() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamsResponse.view) +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::StreamView >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >& GetStreamsResponse::view() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamsResponse.view) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) return view_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* GetStreamsResponse::mutable_view() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamsResponse.view) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) return &view_; } @@ -12627,13 +12628,13 @@ inline void GetStreamsResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetStreamsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.continuation) + // @@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.GetStreamsResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsResponse.continuation) } // ------------------------------------------------------------------- @@ -12655,13 +12656,13 @@ inline void UpdateStreamStateRequest::clear_agent_id() { 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) + // @@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.UpdateStreamStateRequest.agent_id) + // @@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() { @@ -12678,7 +12679,7 @@ inline void UpdateStreamStateRequest::set_allocated_agent_id(::bgs::protocol::cl } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateStreamStateRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) } // optional uint64 club_id = 2; @@ -12696,13 +12697,13 @@ inline void UpdateStreamStateRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 UpdateStreamStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.club_id) + // @@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.UpdateStreamStateRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.club_id) } // optional uint64 stream_id = 3; @@ -12720,16 +12721,16 @@ inline void UpdateStreamStateRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 UpdateStreamStateRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.stream_id) + // @@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.UpdateStreamStateRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.stream_id) } -// optional .bgs.protocol.club.v1.StreamStateOptions options = 5; +// optional .bgs.protocol.club.v1.client.StreamStateOptions options = 5; inline bool UpdateStreamStateRequest::has_options() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -12740,26 +12741,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::StreamStateOptions* UpdateStreamStateRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamStateOptions* UpdateStreamStateRequest::release_options() { +inline ::bgs::protocol::club::v1::client::StreamStateOptions* UpdateStreamStateRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::StreamStateOptions* temp = options_; + ::bgs::protocol::club::v1::client::StreamStateOptions* temp = options_; options_ = NULL; return temp; } -inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::club::v1::StreamStateOptions* options) { +inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::StreamStateOptions* options) { delete options_; options_ = options; if (options) { @@ -12767,7 +12768,7 @@ inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::clu } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateStreamStateRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) } // ------------------------------------------------------------------- @@ -12789,13 +12790,13 @@ inline void SetStreamFocusRequest::clear_agent_id() { 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) + // @@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.SetStreamFocusRequest.agent_id) + // @@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() { @@ -12812,7 +12813,7 @@ inline void SetStreamFocusRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetStreamFocusRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) } // optional uint64 club_id = 2; @@ -12830,13 +12831,13 @@ inline void SetStreamFocusRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SetStreamFocusRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.club_id) + // @@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.SetStreamFocusRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.club_id) } // optional uint64 stream_id = 3; @@ -12854,13 +12855,13 @@ inline void SetStreamFocusRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 SetStreamFocusRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.stream_id) + // @@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.SetStreamFocusRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.stream_id) } // optional bool focus = 4; @@ -12878,13 +12879,13 @@ inline void SetStreamFocusRequest::clear_focus() { clear_has_focus(); } inline bool SetStreamFocusRequest::focus() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.focus) + // @@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.SetStreamFocusRequest.focus) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.focus) } // ------------------------------------------------------------------- @@ -12906,13 +12907,13 @@ inline void CreateMessageRequest::clear_agent_id() { 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) + // @@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.CreateMessageRequest.agent_id) + // @@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() { @@ -12929,7 +12930,7 @@ inline void CreateMessageRequest::set_allocated_agent_id(::bgs::protocol::club:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) } // optional uint64 club_id = 2; @@ -12947,13 +12948,13 @@ inline void CreateMessageRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 CreateMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.club_id) + // @@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.CreateMessageRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.club_id) } // optional uint64 stream_id = 3; @@ -12971,16 +12972,16 @@ inline void CreateMessageRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 CreateMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.stream_id) + // @@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.CreateMessageRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.stream_id) } -// optional .bgs.protocol.club.v1.CreateMessageOptions options = 4; +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 4; inline bool CreateMessageRequest::has_options() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -12991,26 +12992,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateMessageOptions* CreateMessageRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateMessageOptions* CreateMessageRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* CreateMessageRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateMessageOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; options_ = NULL; return temp; } -inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options) { +inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { delete options_; options_ = options; if (options) { @@ -13018,14 +13019,14 @@ inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.options) } // ------------------------------------------------------------------- // CreateMessageResponse -// optional .bgs.protocol.club.v1.StreamMessage message = 1; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; inline bool CreateMessageResponse::has_message() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -13036,26 +13037,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* CreateMessageResponse::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* CreateMessageResponse::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* CreateMessageResponse::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -13063,7 +13064,7 @@ inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club:: } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageResponse.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageResponse.message) } // ------------------------------------------------------------------- @@ -13085,13 +13086,13 @@ inline void DestroyMessageRequest::clear_agent_id() { 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) + // @@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.DestroyMessageRequest.agent_id) + // @@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() { @@ -13108,7 +13109,7 @@ inline void DestroyMessageRequest::set_allocated_agent_id(::bgs::protocol::club: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) } // optional uint64 club_id = 2; @@ -13126,13 +13127,13 @@ inline void DestroyMessageRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 DestroyMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.club_id) + // @@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.DestroyMessageRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.club_id) } // optional uint64 stream_id = 3; @@ -13150,13 +13151,13 @@ inline void DestroyMessageRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 DestroyMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.stream_id) + // @@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.DestroyMessageRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.stream_id) } // optional .bgs.protocol.MessageId message_id = 4; @@ -13174,13 +13175,13 @@ inline void DestroyMessageRequest::clear_message_id() { 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) + // @@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.DestroyMessageRequest.message_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) return message_id_; } inline ::bgs::protocol::MessageId* DestroyMessageRequest::release_message_id() { @@ -13197,14 +13198,14 @@ inline void DestroyMessageRequest::set_allocated_message_id(::bgs::protocol::Mes } else { clear_has_message_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageRequest.message_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) } // ------------------------------------------------------------------- // DestroyMessageResponse -// optional .bgs.protocol.club.v1.StreamMessage message = 1; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; inline bool DestroyMessageResponse::has_message() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -13215,26 +13216,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* DestroyMessageResponse::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* DestroyMessageResponse::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* DestroyMessageResponse::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -13242,7 +13243,7 @@ inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club: } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageResponse.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageResponse.message) } // ------------------------------------------------------------------- @@ -13264,13 +13265,13 @@ inline void EditMessageRequest::clear_agent_id() { 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) + // @@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.EditMessageRequest.agent_id) + // @@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() { @@ -13287,7 +13288,7 @@ inline void EditMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1 } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) } // optional uint64 club_id = 2; @@ -13305,13 +13306,13 @@ inline void EditMessageRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 EditMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.club_id) + // @@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.EditMessageRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.club_id) } // optional uint64 stream_id = 3; @@ -13329,13 +13330,13 @@ inline void EditMessageRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 EditMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.stream_id) + // @@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.EditMessageRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.stream_id) } // optional .bgs.protocol.MessageId message_id = 4; @@ -13353,13 +13354,13 @@ inline void EditMessageRequest::clear_message_id() { 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) + // @@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.EditMessageRequest.message_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.message_id) return message_id_; } inline ::bgs::protocol::MessageId* EditMessageRequest::release_message_id() { @@ -13376,10 +13377,10 @@ inline void EditMessageRequest::set_allocated_message_id(::bgs::protocol::Messag } else { clear_has_message_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.message_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.message_id) } -// optional .bgs.protocol.club.v1.CreateMessageOptions options = 5; +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 5; inline bool EditMessageRequest::has_options() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -13390,26 +13391,26 @@ 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(); + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::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) +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::CreateMessageOptions* EditMessageRequest::mutable_options() { +inline ::bgs::protocol::club::v1::client::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) + 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::CreateMessageOptions* EditMessageRequest::release_options() { +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* EditMessageRequest::release_options() { clear_has_options(); - ::bgs::protocol::club::v1::CreateMessageOptions* temp = options_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; options_ = NULL; return temp; } -inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options) { +inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { delete options_; options_ = options; if (options) { @@ -13417,14 +13418,14 @@ inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1: } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.options) } // ------------------------------------------------------------------- // EditMessageResponse -// optional .bgs.protocol.club.v1.StreamMessage message = 1; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; inline bool EditMessageResponse::has_message() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -13435,26 +13436,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* EditMessageResponse::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* EditMessageResponse::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* EditMessageResponse::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -13462,7 +13463,7 @@ inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1 } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageResponse.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageResponse.message) } // ------------------------------------------------------------------- @@ -13484,13 +13485,13 @@ inline void SetMessagePinnedRequest::clear_agent_id() { 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) + // @@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.SetMessagePinnedRequest.agent_id) + // @@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() { @@ -13507,7 +13508,7 @@ inline void SetMessagePinnedRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetMessagePinnedRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) } // optional uint64 club_id = 2; @@ -13525,13 +13526,13 @@ inline void SetMessagePinnedRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SetMessagePinnedRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetMessagePinnedRequest.club_id) + // @@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.SetMessagePinnedRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.club_id) } // optional uint64 stream_id = 3; @@ -13549,13 +13550,13 @@ inline void SetMessagePinnedRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 SetMessagePinnedRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetMessagePinnedRequest.stream_id) + // @@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.SetMessagePinnedRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.stream_id) } // ------------------------------------------------------------------- @@ -13577,13 +13578,13 @@ inline void SetTypingIndicatorRequest::clear_agent_id() { 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) + // @@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.SetTypingIndicatorRequest.agent_id) + // @@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() { @@ -13600,7 +13601,7 @@ inline void SetTypingIndicatorRequest::set_allocated_agent_id(::bgs::protocol::c } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetTypingIndicatorRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) } // optional uint64 club_id = 2; @@ -13618,13 +13619,13 @@ inline void SetTypingIndicatorRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 SetTypingIndicatorRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.club_id) + // @@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.SetTypingIndicatorRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.club_id) } // optional uint64 stream_id = 3; @@ -13642,13 +13643,13 @@ inline void SetTypingIndicatorRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 SetTypingIndicatorRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.stream_id) + // @@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.SetTypingIndicatorRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.stream_id) } // optional .bgs.protocol.TypingIndicator indicator = 4; @@ -13666,14 +13667,14 @@ inline void SetTypingIndicatorRequest::clear_indicator() { clear_has_indicator(); } inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.indicator) + // @@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.SetTypingIndicatorRequest.indicator) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.indicator) } // ------------------------------------------------------------------- @@ -13695,13 +13696,13 @@ inline void AdvanceStreamViewTimeRequest::clear_agent_id() { 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) + // @@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.AdvanceStreamViewTimeRequest.agent_id) + // @@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() { @@ -13718,7 +13719,7 @@ inline void AdvanceStreamViewTimeRequest::set_allocated_agent_id(::bgs::protocol } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) } // optional uint64 club_id = 2; @@ -13736,13 +13737,13 @@ inline void AdvanceStreamViewTimeRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.club_id) + // @@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.AdvanceStreamViewTimeRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.club_id) } // optional uint64 stream_id_deprecated = 3 [deprecated = true]; @@ -13760,13 +13761,13 @@ inline void AdvanceStreamViewTimeRequest::clear_stream_id_deprecated() { 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) + // @@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.AdvanceStreamViewTimeRequest.stream_id_deprecated) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id_deprecated) } // repeated uint64 stream_id = 4 [packed = true]; @@ -13777,25 +13778,25 @@ 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) + // @@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.AdvanceStreamViewTimeRequest.stream_id) + // @@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.AdvanceStreamViewTimeRequest.stream_id) + // @@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.AdvanceStreamViewTimeRequest.stream_id) + // @@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.AdvanceStreamViewTimeRequest.stream_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) return &stream_id_; } @@ -13818,13 +13819,13 @@ inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id() { 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) + // @@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.AdvanceStreamMentionViewTimeRequest.agent_id) + // @@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() { @@ -13841,7 +13842,7 @@ inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id(::bgs::p } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) } // optional uint64 club_id = 2; @@ -13859,13 +13860,13 @@ inline void AdvanceStreamMentionViewTimeRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.club_id) + // @@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.AdvanceStreamMentionViewTimeRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.club_id) } // optional uint64 stream_id = 3; @@ -13883,13 +13884,13 @@ inline void AdvanceStreamMentionViewTimeRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.stream_id) + // @@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.AdvanceStreamMentionViewTimeRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.stream_id) } // ------------------------------------------------------------------- @@ -13911,13 +13912,13 @@ inline void AdvanceActivityViewTimeRequest::clear_agent_id() { 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) + // @@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.AdvanceActivityViewTimeRequest.agent_id) + // @@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() { @@ -13934,7 +13935,7 @@ inline void AdvanceActivityViewTimeRequest::set_allocated_agent_id(::bgs::protoc } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) } // optional uint64 club_id = 2; @@ -13952,13 +13953,13 @@ inline void AdvanceActivityViewTimeRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 AdvanceActivityViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.club_id) + // @@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.AdvanceActivityViewTimeRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.club_id) } // ------------------------------------------------------------------- @@ -13980,13 +13981,13 @@ inline void GetStreamHistoryRequest::clear_agent_id() { 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) + // @@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.GetStreamHistoryRequest.agent_id) + // @@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() { @@ -14003,7 +14004,7 @@ inline void GetStreamHistoryRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamHistoryRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) } // optional uint64 club_id = 2; @@ -14021,13 +14022,13 @@ inline void GetStreamHistoryRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetStreamHistoryRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.club_id) + // @@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.GetStreamHistoryRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.club_id) } // optional uint64 stream_id = 3; @@ -14045,13 +14046,13 @@ inline void GetStreamHistoryRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 GetStreamHistoryRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.stream_id) + // @@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.GetStreamHistoryRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.stream_id) } // optional .bgs.protocol.GetEventOptions options = 4; @@ -14069,13 +14070,13 @@ inline void GetStreamHistoryRequest::clear_options() { clear_has_options(); } inline const ::bgs::protocol::GetEventOptions& GetStreamHistoryRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.options) + // @@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.GetStreamHistoryRequest.options) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) return options_; } inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::release_options() { @@ -14092,40 +14093,40 @@ inline void GetStreamHistoryRequest::set_allocated_options(::bgs::protocol::GetE } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamHistoryRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) } // ------------------------------------------------------------------- // GetStreamHistoryResponse -// repeated .bgs.protocol.club.v1.StreamMessage message = 1; +// 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::StreamMessage& GetStreamHistoryResponse::message(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryResponse.message) +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::StreamMessage* GetStreamHistoryResponse::mutable_message(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamHistoryResponse.message) +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::StreamMessage* GetStreamHistoryResponse::add_message() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamHistoryResponse.message) +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::StreamMessage >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& GetStreamHistoryResponse::message() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamHistoryResponse.message) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) return message_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* GetStreamHistoryResponse::mutable_message() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamHistoryResponse.message) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) return &message_; } @@ -14144,13 +14145,13 @@ inline void GetStreamHistoryResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetStreamHistoryResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryResponse.continuation) + // @@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.GetStreamHistoryResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryResponse.continuation) } // ------------------------------------------------------------------- @@ -14172,13 +14173,13 @@ inline void GetStreamMessageRequest::clear_agent_id() { 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) + // @@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.GetStreamMessageRequest.agent_id) + // @@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() { @@ -14195,7 +14196,7 @@ inline void GetStreamMessageRequest::set_allocated_agent_id(::bgs::protocol::clu } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) } // optional uint64 club_id = 2; @@ -14213,13 +14214,13 @@ inline void GetStreamMessageRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetStreamMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.club_id) + // @@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.GetStreamMessageRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.club_id) } // optional uint64 stream_id = 3; @@ -14237,13 +14238,13 @@ inline void GetStreamMessageRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 GetStreamMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.stream_id) + // @@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.GetStreamMessageRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.stream_id) } // optional .bgs.protocol.MessageId message_id = 4; @@ -14261,13 +14262,13 @@ inline void GetStreamMessageRequest::clear_message_id() { 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) + // @@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.GetStreamMessageRequest.message_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) return message_id_; } inline ::bgs::protocol::MessageId* GetStreamMessageRequest::release_message_id() { @@ -14284,14 +14285,14 @@ inline void GetStreamMessageRequest::set_allocated_message_id(::bgs::protocol::M } else { clear_has_message_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageRequest.message_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) } // ------------------------------------------------------------------- // GetStreamMessageResponse -// optional .bgs.protocol.club.v1.StreamMessage message = 1; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; inline bool GetStreamMessageResponse::has_message() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -14302,26 +14303,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* GetStreamMessageResponse::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* GetStreamMessageResponse::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamMessageResponse::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -14329,7 +14330,7 @@ inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::clu } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageResponse.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) } // ------------------------------------------------------------------- @@ -14351,13 +14352,13 @@ inline void GetClubActivityRequest::clear_agent_id() { 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) + // @@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.GetClubActivityRequest.agent_id) + // @@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() { @@ -14374,7 +14375,7 @@ inline void GetClubActivityRequest::set_allocated_agent_id(::bgs::protocol::club } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubActivityRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) } // optional uint64 club_id = 2; @@ -14392,13 +14393,13 @@ inline void GetClubActivityRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetClubActivityRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityRequest.club_id) + // @@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.GetClubActivityRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityRequest.club_id) } // optional .bgs.protocol.GetEventOptions options = 3; @@ -14416,13 +14417,13 @@ inline void GetClubActivityRequest::clear_options() { clear_has_options(); } inline const ::bgs::protocol::GetEventOptions& GetClubActivityRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityRequest.options) + // @@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.GetClubActivityRequest.options) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubActivityRequest.options) return options_; } inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::release_options() { @@ -14439,7 +14440,7 @@ inline void GetClubActivityRequest::set_allocated_options(::bgs::protocol::GetEv } else { clear_has_options(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubActivityRequest.options) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.options) } // ------------------------------------------------------------------- @@ -14461,13 +14462,13 @@ inline void GetClubActivityResponse::clear_continuation() { clear_has_continuation(); } inline ::google::protobuf::uint64 GetClubActivityResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityResponse.continuation) + // @@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.GetClubActivityResponse.continuation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityResponse.continuation) } // ------------------------------------------------------------------- @@ -14489,13 +14490,13 @@ inline void GetStreamVoiceTokenRequest::clear_agent_id() { 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) + // @@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.GetStreamVoiceTokenRequest.agent_id) + // @@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() { @@ -14512,7 +14513,7 @@ inline void GetStreamVoiceTokenRequest::set_allocated_agent_id(::bgs::protocol:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) } // optional uint64 club_id = 2; @@ -14530,13 +14531,13 @@ inline void GetStreamVoiceTokenRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.club_id) + // @@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.GetStreamVoiceTokenRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.club_id) } // optional uint64 stream_id = 3; @@ -14554,16 +14555,16 @@ inline void GetStreamVoiceTokenRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.stream_id) + // @@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.GetStreamVoiceTokenRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.stream_id) } -// optional uint32 version = 4; +// optional uint32 version = 4 [deprecated = true]; inline bool GetStreamVoiceTokenRequest::has_version() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -14578,13 +14579,13 @@ inline void GetStreamVoiceTokenRequest::clear_version() { clear_has_version(); } inline ::google::protobuf::uint32 GetStreamVoiceTokenRequest::version() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.version) + // @@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.GetStreamVoiceTokenRequest.version) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.version) } // ------------------------------------------------------------------- @@ -14608,7 +14609,7 @@ inline void GetStreamVoiceTokenResponse::clear_channel_uri() { clear_has_channel_uri(); } inline const ::std::string& GetStreamVoiceTokenResponse::channel_uri() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) + // @@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) { @@ -14617,7 +14618,7 @@ inline void GetStreamVoiceTokenResponse::set_channel_uri(const ::std::string& va channel_uri_ = new ::std::string; } channel_uri_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) + // @@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(); @@ -14625,7 +14626,7 @@ inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value) { channel_uri_ = new ::std::string; } channel_uri_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) + // @@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(); @@ -14633,14 +14634,14 @@ inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value, size channel_uri_ = new ::std::string; } channel_uri_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) + // @@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.GetStreamVoiceTokenResponse.channel_uri) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) return channel_uri_; } inline ::std::string* GetStreamVoiceTokenResponse::release_channel_uri() { @@ -14664,10 +14665,10 @@ inline void GetStreamVoiceTokenResponse::set_allocated_channel_uri(::std::string 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) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) } -// optional .bgs.protocol.VoiceCredentials credentials = 2; +// optional .bgs.protocol.voice.v1.VoiceCredentials credentials = 2; inline bool GetStreamVoiceTokenResponse::has_credentials() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -14678,26 +14679,26 @@ inline void GetStreamVoiceTokenResponse::clear_has_credentials() { _has_bits_[0] &= ~0x00000002u; } inline void GetStreamVoiceTokenResponse::clear_credentials() { - if (credentials_ != NULL) credentials_->::bgs::protocol::VoiceCredentials::Clear(); + if (credentials_ != NULL) credentials_->::bgs::protocol::voice::v1::VoiceCredentials::Clear(); clear_has_credentials(); } -inline const ::bgs::protocol::VoiceCredentials& GetStreamVoiceTokenResponse::credentials() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.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::VoiceCredentials* GetStreamVoiceTokenResponse::mutable_credentials() { +inline ::bgs::protocol::voice::v1::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) + 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::VoiceCredentials* GetStreamVoiceTokenResponse::release_credentials() { +inline ::bgs::protocol::voice::v1::VoiceCredentials* GetStreamVoiceTokenResponse::release_credentials() { clear_has_credentials(); - ::bgs::protocol::VoiceCredentials* temp = credentials_; + ::bgs::protocol::voice::v1::VoiceCredentials* temp = credentials_; credentials_ = NULL; return temp; } -inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protocol::VoiceCredentials* credentials) { +inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protocol::voice::v1::VoiceCredentials* credentials) { delete credentials_; credentials_ = credentials; if (credentials) { @@ -14705,7 +14706,7 @@ inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protoc } else { clear_has_credentials(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.credentials) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) } // ------------------------------------------------------------------- @@ -14727,13 +14728,13 @@ inline void KickFromStreamVoiceRequest::clear_agent_id() { 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) + // @@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.KickFromStreamVoiceRequest.agent_id) + // @@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() { @@ -14750,7 +14751,7 @@ inline void KickFromStreamVoiceRequest::set_allocated_agent_id(::bgs::protocol:: } else { clear_has_agent_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickFromStreamVoiceRequest.agent_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) } // optional uint64 club_id = 2; @@ -14768,13 +14769,13 @@ inline void KickFromStreamVoiceRequest::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.club_id) + // @@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.KickFromStreamVoiceRequest.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.club_id) } // optional uint64 stream_id = 3; @@ -14792,13 +14793,13 @@ inline void KickFromStreamVoiceRequest::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.stream_id) + // @@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.KickFromStreamVoiceRequest.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.stream_id) } // optional .bgs.protocol.club.v1.MemberId target_id = 4; @@ -14816,13 +14817,13 @@ inline void KickFromStreamVoiceRequest::clear_target_id() { 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) + // @@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.KickFromStreamVoiceRequest.target_id) + // @@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() { @@ -14839,11 +14840,12 @@ inline void KickFromStreamVoiceRequest::set_allocated_target_id(::bgs::protocol: } else { clear_has_target_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickFromStreamVoiceRequest.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 @@ -14858,4 +14860,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5frequest_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_role.pb.cc b/src/server/proto/Client/api/client/v1/club_role.pb.cc index 90e06b87705..c67ddf600ae 100644 --- a/src/server/proto/Client/club_role.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_role.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_role.proto +// source: api/client/v1/club_role.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_role.pb.h" +#include "api/client/v1/club_role.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -35,11 +36,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5frole_2eproto() { - protobuf_AddDesc_club_5frole_2eproto(); +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( - "club_role.proto"); + "api/client/v1/club_role.proto"); GOOGLE_CHECK(file != NULL); ClubPrivilegeSet_descriptor_ = file->message_type(0); static const int ClubPrivilegeSet_offsets_[49] = { @@ -148,7 +149,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frole_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -163,7 +164,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5frole_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto() { delete ClubPrivilegeSet::default_instance_; delete ClubPrivilegeSet_reflection_; delete ClubRole::default_instance_; @@ -172,7 +173,7 @@ void protobuf_ShutdownFile_club_5frole_2eproto() { delete ClubRoleSet_reflection_; } -void protobuf_AddDesc_club_5frole_2eproto() { +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; @@ -180,71 +181,71 @@ void protobuf_AddDesc_club_5frole_2eproto() { ::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); + "\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( - "club_role.proto", &protobuf_RegisterTypes); + "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_club_5frole_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5frole_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frole_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -302,7 +303,7 @@ const int ClubPrivilegeSet::kCanMentionRoleFieldNumber; ClubPrivilegeSet::ClubPrivilegeSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubPrivilegeSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) } void ClubPrivilegeSet::InitAsDefaultInstance() { @@ -312,7 +313,7 @@ ClubPrivilegeSet::ClubPrivilegeSet(const ClubPrivilegeSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubPrivilegeSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) } void ClubPrivilegeSet::SharedCtor() { @@ -370,7 +371,7 @@ void ClubPrivilegeSet::SharedCtor() { } ClubPrivilegeSet::~ClubPrivilegeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubPrivilegeSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) SharedDtor(); } @@ -390,7 +391,7 @@ const ::google::protobuf::Descriptor* ClubPrivilegeSet::descriptor() { } const ClubPrivilegeSet& ClubPrivilegeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); return *default_instance_; } @@ -426,19 +427,19 @@ const int ClubRole::kAllowInClubSlotFieldNumber; ClubRole::ClubRole() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubRole) + // @@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::ClubPrivilegeSet*>(&::bgs::protocol::club::v1::ClubPrivilegeSet::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.ClubRole) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRole) } void ClubRole::SharedCtor() { @@ -452,7 +453,7 @@ void ClubRole::SharedCtor() { } ClubRole::~ClubRole() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubRole) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRole) SharedDtor(); } @@ -474,7 +475,7 @@ const ::google::protobuf::Descriptor* ClubRole::descriptor() { } const ClubRole& ClubRole::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); return *default_instance_; } @@ -509,7 +510,7 @@ const int ClubRoleSet::kSubtypeFieldNumber; ClubRoleSet::ClubRoleSet() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubRoleSet) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubRoleSet) } void ClubRoleSet::InitAsDefaultInstance() { @@ -519,7 +520,7 @@ ClubRoleSet::ClubRoleSet(const ClubRoleSet& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubRoleSet) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRoleSet) } void ClubRoleSet::SharedCtor() { @@ -531,7 +532,7 @@ void ClubRoleSet::SharedCtor() { } ClubRoleSet::~ClubRoleSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubRoleSet) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRoleSet) SharedDtor(); } @@ -554,7 +555,7 @@ const ::google::protobuf::Descriptor* ClubRoleSet::descriptor() { } const ClubRoleSet& ClubRoleSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); return *default_instance_; } @@ -579,6 +580,7 @@ void ClubRoleSet::Swap(ClubRoleSet* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_role.pb.h b/src/server/proto/Client/api/client/v1/club_role.pb.h index 4cdcd6efc9f..5c088960d46 100644 --- a/src/server/proto/Client/club_role.pb.h +++ b/src/server/proto/Client/api/client/v1/club_role.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_role.proto +// source: api/client/v1/club_role.proto -#ifndef PROTOBUF_club_5frole_2eproto__INCLUDED -#define PROTOBUF_club_5frole_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED #include <string> @@ -32,11 +32,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -427,7 +428,7 @@ class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message { inline bool can_mention_role() const; inline void set_can_mention_role(bool value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubPrivilegeSet) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubPrivilegeSet) private: inline void set_has_can_destroy(); inline void clear_has_can_destroy(); @@ -581,9 +582,9 @@ class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message { 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(); + 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_; @@ -646,14 +647,14 @@ class TC_PROTO_API ClubRole : public ::google::protobuf::Message { inline ::bgs::protocol::RoleState* release_state(); inline void set_allocated_state(::bgs::protocol::RoleState* state); - // optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3; + // 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::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); + 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; @@ -669,7 +670,7 @@ class TC_PROTO_API ClubRole : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRole) private: inline void set_has_id(); inline void clear_has_id(); @@ -687,13 +688,13 @@ class TC_PROTO_API ClubRole : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::RoleState* state_; - ::bgs::protocol::club::v1::ClubPrivilegeSet* privilege_; + ::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_club_5frole_2eproto(); - friend void protobuf_AssignDesc_club_5frole_2eproto(); - friend void protobuf_ShutdownFile_club_5frole_2eproto(); + 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_; @@ -740,16 +741,16 @@ class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.ClubRole role = 1; + // 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::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 >& + 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::ClubRole >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* mutable_role(); // repeated uint32 default_role = 5 [packed = true]; @@ -783,7 +784,7 @@ class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { inline ::std::string* release_subtype(); inline void set_allocated_subtype(::std::string* subtype); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubRoleSet) + // @@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(); @@ -794,13 +795,13 @@ class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > role_; + ::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_club_5frole_2eproto(); - friend void protobuf_AssignDesc_club_5frole_2eproto(); - friend void protobuf_ShutdownFile_club_5frole_2eproto(); + 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_; @@ -828,13 +829,13 @@ inline void ClubPrivilegeSet::clear_can_destroy() { clear_has_can_destroy(); } inline bool ClubPrivilegeSet::can_destroy() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy) + // @@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.ClubPrivilegeSet.can_destroy) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy) } // optional bool can_set_attribute = 10; @@ -852,13 +853,13 @@ inline void ClubPrivilegeSet::clear_can_set_attribute() { 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) + // @@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.ClubPrivilegeSet.can_set_attribute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute) } // optional bool can_set_name = 11; @@ -876,13 +877,13 @@ inline void ClubPrivilegeSet::clear_can_set_name() { 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) + // @@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.ClubPrivilegeSet.can_set_name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name) } // optional bool can_set_description = 12; @@ -900,13 +901,13 @@ inline void ClubPrivilegeSet::clear_can_set_description() { 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) + // @@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.ClubPrivilegeSet.can_set_description) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description) } // optional bool can_set_avatar = 13; @@ -924,13 +925,13 @@ inline void ClubPrivilegeSet::clear_can_set_avatar() { 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) + // @@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.ClubPrivilegeSet.can_set_avatar) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar) } // optional bool can_set_broadcast = 14; @@ -948,13 +949,13 @@ inline void ClubPrivilegeSet::clear_can_set_broadcast() { 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) + // @@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.ClubPrivilegeSet.can_set_broadcast) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast) } // optional bool can_set_privacy_level = 15; @@ -972,13 +973,13 @@ inline void ClubPrivilegeSet::clear_can_set_privacy_level() { 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) + // @@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.ClubPrivilegeSet.can_set_privacy_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level) } // optional bool can_add_member = 29; @@ -996,13 +997,13 @@ inline void ClubPrivilegeSet::clear_can_add_member() { 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) + // @@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.ClubPrivilegeSet.can_add_member) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member) } // optional bool can_kick_member = 30; @@ -1020,13 +1021,13 @@ inline void ClubPrivilegeSet::clear_can_kick_member() { 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) + // @@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.ClubPrivilegeSet.can_kick_member) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member) } // optional bool can_set_own_member_attribute = 31; @@ -1044,13 +1045,13 @@ inline void ClubPrivilegeSet::clear_can_set_own_member_attribute() { 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) + // @@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.ClubPrivilegeSet.can_set_own_member_attribute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute) } // optional bool can_set_other_member_attribute = 32; @@ -1068,13 +1069,13 @@ inline void ClubPrivilegeSet::clear_can_set_other_member_attribute() { 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) + // @@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.ClubPrivilegeSet.can_set_other_member_attribute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute) } // optional bool can_set_own_voice_state = 33; @@ -1092,13 +1093,13 @@ inline void ClubPrivilegeSet::clear_can_set_own_voice_state() { 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) + // @@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.ClubPrivilegeSet.can_set_own_voice_state) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state) } // optional bool can_set_own_presence_level = 34; @@ -1116,13 +1117,13 @@ inline void ClubPrivilegeSet::clear_can_set_own_presence_level() { 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) + // @@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.ClubPrivilegeSet.can_set_own_presence_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level) } // optional bool can_set_own_whisper_level = 35; @@ -1140,13 +1141,13 @@ inline void ClubPrivilegeSet::clear_can_set_own_whisper_level() { 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) + // @@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.ClubPrivilegeSet.can_set_own_whisper_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level) } // optional bool can_set_own_member_note = 36; @@ -1164,13 +1165,13 @@ inline void ClubPrivilegeSet::clear_can_set_own_member_note() { 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) + // @@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.ClubPrivilegeSet.can_set_own_member_note) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note) } // optional bool can_set_other_member_note = 37; @@ -1188,13 +1189,13 @@ inline void ClubPrivilegeSet::clear_can_set_other_member_note() { 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) + // @@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.ClubPrivilegeSet.can_set_other_member_note) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note) } // optional bool can_use_voice = 50; @@ -1212,13 +1213,13 @@ inline void ClubPrivilegeSet::clear_can_use_voice() { 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) + // @@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.ClubPrivilegeSet.can_use_voice) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice) } // optional bool can_voice_mute_member_for_all = 51; @@ -1236,13 +1237,13 @@ inline void ClubPrivilegeSet::clear_can_voice_mute_member_for_all() { 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) + // @@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.ClubPrivilegeSet.can_voice_mute_member_for_all) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all) } // optional bool can_get_invitation = 70; @@ -1260,13 +1261,13 @@ inline void ClubPrivilegeSet::clear_can_get_invitation() { 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) + // @@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.ClubPrivilegeSet.can_get_invitation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation) } // optional bool can_send_invitation = 71; @@ -1284,13 +1285,13 @@ inline void ClubPrivilegeSet::clear_can_send_invitation() { 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) + // @@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.ClubPrivilegeSet.can_send_invitation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation) } // optional bool can_send_guest_invitation = 72; @@ -1308,13 +1309,13 @@ inline void ClubPrivilegeSet::clear_can_send_guest_invitation() { 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) + // @@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.ClubPrivilegeSet.can_send_guest_invitation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation) } // optional bool can_revoke_own_invitation = 73; @@ -1332,13 +1333,13 @@ inline void ClubPrivilegeSet::clear_can_revoke_own_invitation() { 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) + // @@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.ClubPrivilegeSet.can_revoke_own_invitation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation) } // optional bool can_revoke_other_invitation = 74; @@ -1356,13 +1357,13 @@ inline void ClubPrivilegeSet::clear_can_revoke_other_invitation() { 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) + // @@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.ClubPrivilegeSet.can_revoke_other_invitation) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation) } // optional bool can_get_suggestion = 90; @@ -1380,13 +1381,13 @@ inline void ClubPrivilegeSet::clear_can_get_suggestion() { 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) + // @@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.ClubPrivilegeSet.can_get_suggestion) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion) } // optional bool can_suggest_member = 91; @@ -1404,13 +1405,13 @@ inline void ClubPrivilegeSet::clear_can_suggest_member() { 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) + // @@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.ClubPrivilegeSet.can_suggest_member) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member) } // optional bool can_approve_member = 92; @@ -1428,13 +1429,13 @@ inline void ClubPrivilegeSet::clear_can_approve_member() { 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) + // @@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.ClubPrivilegeSet.can_approve_member) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member) } // optional bool can_get_ticket = 110; @@ -1452,13 +1453,13 @@ inline void ClubPrivilegeSet::clear_can_get_ticket() { 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) + // @@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.ClubPrivilegeSet.can_get_ticket) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket) } // optional bool can_create_ticket = 111; @@ -1476,13 +1477,13 @@ inline void ClubPrivilegeSet::clear_can_create_ticket() { 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) + // @@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.ClubPrivilegeSet.can_create_ticket) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket) } // optional bool can_destroy_ticket = 112; @@ -1500,13 +1501,13 @@ inline void ClubPrivilegeSet::clear_can_destroy_ticket() { 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) + // @@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.ClubPrivilegeSet.can_destroy_ticket) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket) } // optional bool can_get_ban = 130; @@ -1524,13 +1525,13 @@ inline void ClubPrivilegeSet::clear_can_get_ban() { 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) + // @@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.ClubPrivilegeSet.can_get_ban) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban) } // optional bool can_add_ban = 131; @@ -1548,13 +1549,13 @@ inline void ClubPrivilegeSet::clear_can_add_ban() { 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) + // @@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.ClubPrivilegeSet.can_add_ban) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban) } // optional bool can_remove_ban = 132; @@ -1572,13 +1573,13 @@ inline void ClubPrivilegeSet::clear_can_remove_ban() { 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) + // @@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.ClubPrivilegeSet.can_remove_ban) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban) } // optional bool can_create_stream = 140; @@ -1596,13 +1597,13 @@ inline void ClubPrivilegeSet::clear_can_create_stream() { 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) + // @@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.ClubPrivilegeSet.can_create_stream) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream) } // optional bool can_destroy_stream = 141; @@ -1620,13 +1621,13 @@ inline void ClubPrivilegeSet::clear_can_destroy_stream() { 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) + // @@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.ClubPrivilegeSet.can_destroy_stream) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream) } // optional bool can_set_stream_position = 142; @@ -1644,13 +1645,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_position() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_position) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position) } // optional bool can_set_stream_attribute = 143; @@ -1668,13 +1669,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_attribute() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_attribute) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute) } // optional bool can_set_stream_name = 144; @@ -1692,13 +1693,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_name() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name) } // optional bool can_set_stream_subject = 145; @@ -1716,13 +1717,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_subject() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_subject) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject) } // optional bool can_set_stream_access = 146; @@ -1740,13 +1741,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_access() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_access) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access) } // optional bool can_set_stream_voice_level = 147; @@ -1764,13 +1765,13 @@ inline void ClubPrivilegeSet::clear_can_set_stream_voice_level() { 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) + // @@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.ClubPrivilegeSet.can_set_stream_voice_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level) } // optional bool can_create_message = 180; @@ -1788,13 +1789,13 @@ inline void ClubPrivilegeSet::clear_can_create_message() { 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) + // @@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.ClubPrivilegeSet.can_create_message) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message) } // optional bool can_destroy_own_message = 181; @@ -1812,13 +1813,13 @@ inline void ClubPrivilegeSet::clear_can_destroy_own_message() { 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) + // @@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.ClubPrivilegeSet.can_destroy_own_message) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message) } // optional bool can_destroy_other_message = 182; @@ -1836,13 +1837,13 @@ inline void ClubPrivilegeSet::clear_can_destroy_other_message() { 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) + // @@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.ClubPrivilegeSet.can_destroy_other_message) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message) } // optional bool can_edit_own_message = 183; @@ -1860,13 +1861,13 @@ inline void ClubPrivilegeSet::clear_can_edit_own_message() { 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) + // @@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.ClubPrivilegeSet.can_edit_own_message) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message) } // optional bool can_pin_message = 184; @@ -1884,13 +1885,13 @@ inline void ClubPrivilegeSet::clear_can_pin_message() { 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) + // @@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.ClubPrivilegeSet.can_pin_message) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message) } // optional bool can_mention_all = 185; @@ -1908,13 +1909,13 @@ inline void ClubPrivilegeSet::clear_can_mention_all() { 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) + // @@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.ClubPrivilegeSet.can_mention_all) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all) } // optional bool can_mention_here = 186; @@ -1932,13 +1933,13 @@ inline void ClubPrivilegeSet::clear_can_mention_here() { 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) + // @@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.ClubPrivilegeSet.can_mention_here) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here) } // optional bool can_mention_member = 187; @@ -1956,13 +1957,13 @@ inline void ClubPrivilegeSet::clear_can_mention_member() { 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) + // @@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.ClubPrivilegeSet.can_mention_member) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member) } // optional bool can_mention_role = 188; @@ -1980,13 +1981,13 @@ inline void ClubPrivilegeSet::clear_can_mention_role() { 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) + // @@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.ClubPrivilegeSet.can_mention_role) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role) } // ------------------------------------------------------------------- @@ -2008,13 +2009,13 @@ inline void ClubRole::clear_id() { clear_has_id(); } inline ::google::protobuf::uint32 ClubRole::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.id) + // @@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.ClubRole.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.id) } // optional .bgs.protocol.RoleState state = 2; @@ -2032,13 +2033,13 @@ inline void ClubRole::clear_state() { clear_has_state(); } inline const ::bgs::protocol::RoleState& ClubRole::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.state) + // @@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.ClubRole.state) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.state) return state_; } inline ::bgs::protocol::RoleState* ClubRole::release_state() { @@ -2055,10 +2056,10 @@ inline void ClubRole::set_allocated_state(::bgs::protocol::RoleState* state) { } else { clear_has_state(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.state) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.state) } -// optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3; +// optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3; inline bool ClubRole::has_privilege() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -2069,26 +2070,26 @@ 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(); + if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::client::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) +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::ClubPrivilegeSet* ClubRole::mutable_privilege() { +inline ::bgs::protocol::club::v1::client::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) + 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::ClubPrivilegeSet* ClubRole::release_privilege() { +inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::release_privilege() { clear_has_privilege(); - ::bgs::protocol::club::v1::ClubPrivilegeSet* temp = privilege_; + ::bgs::protocol::club::v1::client::ClubPrivilegeSet* temp = privilege_; privilege_ = NULL; return temp; } -inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::ClubPrivilegeSet* privilege) { +inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege) { delete privilege_; privilege_ = privilege; if (privilege) { @@ -2096,7 +2097,7 @@ inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::ClubPri } else { clear_has_privilege(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.privilege) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.privilege) } // optional bool always_grant_stream_access = 4; @@ -2114,13 +2115,13 @@ inline void ClubRole::clear_always_grant_stream_access() { 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) + // @@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.ClubRole.always_grant_stream_access) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access) } // optional bool allow_in_club_slot = 5; @@ -2138,46 +2139,46 @@ inline void ClubRole::clear_allow_in_club_slot() { 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) + // @@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.ClubRole.allow_in_club_slot) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot) } // ------------------------------------------------------------------- // ClubRoleSet -// repeated .bgs.protocol.club.v1.ClubRole role = 1; +// 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::ClubRole& ClubRoleSet::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.role) +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::ClubRole* ClubRoleSet::mutable_role(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRoleSet.role) +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::ClubRole* ClubRoleSet::add_role() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubRoleSet.role) +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::ClubRole >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >& ClubRoleSet::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubRoleSet.role) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.role) return role_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* ClubRoleSet::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubRoleSet.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.role) return &role_; } @@ -2189,25 +2190,25 @@ 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) + // @@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.ClubRoleSet.default_role) + // @@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.ClubRoleSet.default_role) + // @@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.ClubRoleSet.default_role) + // @@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.ClubRoleSet.default_role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role) return &default_role_; } @@ -2226,13 +2227,13 @@ inline void ClubRoleSet::clear_assignment_respects_relegation_chain() { 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) + // @@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.ClubRoleSet.assignment_respects_relegation_chain) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain) } // optional string subtype = 7; @@ -2252,7 +2253,7 @@ inline void ClubRoleSet::clear_subtype() { clear_has_subtype(); } inline const ::std::string& ClubRoleSet::subtype() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.subtype) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.subtype) return *subtype_; } inline void ClubRoleSet::set_subtype(const ::std::string& value) { @@ -2261,7 +2262,7 @@ inline void ClubRoleSet::set_subtype(const ::std::string& value) { subtype_ = new ::std::string; } subtype_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.subtype) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.subtype) } inline void ClubRoleSet::set_subtype(const char* value) { set_has_subtype(); @@ -2269,7 +2270,7 @@ inline void ClubRoleSet::set_subtype(const char* value) { subtype_ = new ::std::string; } subtype_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubRoleSet.subtype) + // @@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(); @@ -2277,14 +2278,14 @@ inline void ClubRoleSet::set_subtype(const char* value, size_t size) { subtype_ = new ::std::string; } subtype_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubRoleSet.subtype) + // @@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.ClubRoleSet.subtype) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.subtype) return subtype_; } inline ::std::string* ClubRoleSet::release_subtype() { @@ -2308,11 +2309,12 @@ inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) { 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(field_set_allocated:bgs.protocol.club.v1.client.ClubRoleSet.subtype) } // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol @@ -2327,4 +2329,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5frole_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_service.pb.cc b/src/server/proto/Client/api/client/v1/club_service.pb.cc index 1b04e1ab6ea..90d9e1f9957 100644 --- a/src/server/proto/Client/club_service.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_service.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_service.proto +// source: api/client/v1/club_service.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_service.pb.h" +#include "api/client/v1/club_service.pb.h" #include <utility> @@ -21,6 +21,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -28,11 +29,11 @@ const ::google::protobuf::ServiceDescriptor* ClubService_descriptor_ = NULL; } // namespace -void protobuf_AssignDesc_club_5fservice_2eproto() { - protobuf_AddDesc_club_5fservice_2eproto(); +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( - "club_service.proto"); + "api/client/v1/club_service.proto"); GOOGLE_CHECK(file != NULL); ClubService_descriptor_ = file->service(0); } @@ -42,7 +43,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fservice_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -51,169 +52,184 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fservice_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto() { } -void protobuf_AddDesc_club_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::protobuf_AddDesc_club_5frequest_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_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" + "\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\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); + "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( - "club_service.proto", &protobuf_RegisterTypes); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fservice_2eproto); + "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_club_5fservice_2eproto { - StaticDescriptorInitializer_club_5fservice_2eproto() { - protobuf_AddDesc_club_5fservice_2eproto(); +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_club_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) { @@ -401,289 +417,289 @@ void ClubService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer } } -uint32 ClubService::HandleSubscribe(::bgs::protocol::club::v1::SubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { +uint32 ClubService::HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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; + ::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.SubscribeRequest", &request); + LogCallServerMethod("ClubService.Subscribe", "bgs.protocol.club.v1.client.SubscribeRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Subscribe", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSubscribe(&request, &response, continuation); @@ -692,13 +708,13 @@ void ClubService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, Message } void ClubService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnsubscribeRequest request; + ::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.UnsubscribeRequest", &request); + LogCallServerMethod("ClubService.Unsubscribe", "bgs.protocol.club.v1.client.UnsubscribeRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUnsubscribe(&request, &response, continuation); @@ -707,28 +723,28 @@ void ClubService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, Messa } void ClubService::ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateRequest request; + ::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.CreateRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Create", ::bgs::protocol::club::v1::CreateResponse::descriptor()); - ::bgs::protocol::club::v1::CreateResponse response; + LogCallServerMethod("ClubService.Create", "bgs.protocol.club.v1.client.CreateRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::DestroyRequest request; + ::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.DestroyRequest", &request); + LogCallServerMethod("ClubService.Destroy", "bgs.protocol.club.v1.client.DestroyRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Destroy", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleDestroy(&request, &response, continuation); @@ -737,43 +753,43 @@ void ClubService::ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBu } void ClubService::ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetDescriptionRequest request; + ::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.GetDescriptionRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetDescription", ::bgs::protocol::club::v1::GetDescriptionResponse::descriptor()); - ::bgs::protocol::club::v1::GetDescriptionResponse response; + LogCallServerMethod("ClubService.GetDescription", "bgs.protocol.club.v1.client.GetDescriptionRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetClubTypeRequest request; + ::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.GetClubTypeRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetClubType", ::bgs::protocol::club::v1::GetClubTypeResponse::descriptor()); - ::bgs::protocol::club::v1::GetClubTypeResponse response; + LogCallServerMethod("ClubService.GetClubType", "bgs.protocol.club.v1.client.GetClubTypeRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::UpdateClubStateRequest request; + ::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.UpdateClubStateRequest", &request); + LogCallServerMethod("ClubService.UpdateClubState", "bgs.protocol.club.v1.client.UpdateClubStateRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubState", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateClubState(&request, &response, continuation); @@ -782,13 +798,13 @@ void ClubService::ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, M } void ClubService::ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateClubSettingsRequest request; + ::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.UpdateClubSettingsRequest", &request); + LogCallServerMethod("ClubService.UpdateClubSettings", "bgs.protocol.club.v1.client.UpdateClubSettingsRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubSettings", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateClubSettings(&request, &response, continuation); @@ -797,13 +813,13 @@ void ClubService::ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId } void ClubService::ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::JoinRequest request; + ::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.JoinRequest", &request); + LogCallServerMethod("ClubService.Join", "bgs.protocol.club.v1.client.JoinRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Join", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleJoin(&request, &response, continuation); @@ -812,13 +828,13 @@ void ClubService::ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffe } void ClubService::ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::LeaveRequest request; + ::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.LeaveRequest", &request); + LogCallServerMethod("ClubService.Leave", "bgs.protocol.club.v1.client.LeaveRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Leave", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleLeave(&request, &response, continuation); @@ -827,13 +843,13 @@ void ClubService::ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuff } void ClubService::ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::KickRequest request; + ::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.KickRequest", &request); + LogCallServerMethod("ClubService.Kick", "bgs.protocol.club.v1.client.KickRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.Kick", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleKick(&request, &response, continuation); @@ -842,43 +858,43 @@ void ClubService::ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffe } void ClubService::ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetMemberRequest request; + ::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.GetMemberRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetMember", ::bgs::protocol::club::v1::GetMemberResponse::descriptor()); - ::bgs::protocol::club::v1::GetMemberResponse response; + LogCallServerMethod("ClubService.GetMember", "bgs.protocol.club.v1.client.GetMemberRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetMembersRequest request; + ::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.GetMembersRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetMembers", ::bgs::protocol::club::v1::GetMembersResponse::descriptor()); - ::bgs::protocol::club::v1::GetMembersResponse response; + LogCallServerMethod("ClubService.GetMembers", "bgs.protocol.club.v1.client.GetMembersRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::UpdateMemberStateRequest request; + ::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.UpdateMemberStateRequest", &request); + LogCallServerMethod("ClubService.UpdateMemberState", "bgs.protocol.club.v1.client.UpdateMemberStateRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateMemberState", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateMemberState(&request, &response, continuation); @@ -887,13 +903,13 @@ void ClubService::ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateSubscriberStateRequest request; + ::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.UpdateSubscriberStateRequest", &request); + LogCallServerMethod("ClubService.UpdateSubscriberState", "bgs.protocol.club.v1.client.UpdateSubscriberStateRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateSubscriberState", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateSubscriberState(&request, &response, continuation); @@ -902,13 +918,13 @@ void ClubService::ParseAndHandleUpdateSubscriberState(uint32 token, uint32 metho } void ClubService::ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AssignRoleRequest request; + ::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.AssignRoleRequest", &request); + LogCallServerMethod("ClubService.AssignRole", "bgs.protocol.club.v1.client.AssignRoleRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.AssignRole", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAssignRole(&request, &response, continuation); @@ -917,13 +933,13 @@ void ClubService::ParseAndHandleAssignRole(uint32 token, uint32 methodId, Messag } void ClubService::ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnassignRoleRequest request; + ::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.UnassignRoleRequest", &request); + LogCallServerMethod("ClubService.UnassignRole", "bgs.protocol.club.v1.client.UnassignRoleRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UnassignRole", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUnassignRole(&request, &response, continuation); @@ -932,13 +948,13 @@ void ClubService::ParseAndHandleUnassignRole(uint32 token, uint32 methodId, Mess } void ClubService::ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SendInvitationRequest request; + ::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.SendInvitationRequest", &request); + LogCallServerMethod("ClubService.SendInvitation", "bgs.protocol.club.v1.client.SendInvitationRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SendInvitation", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSendInvitation(&request, &response, continuation); @@ -947,13 +963,13 @@ void ClubService::ParseAndHandleSendInvitation(uint32 token, uint32 methodId, Me } void ClubService::ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AcceptInvitationRequest request; + ::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.AcceptInvitationRequest", &request); + LogCallServerMethod("ClubService.AcceptInvitation", "bgs.protocol.club.v1.client.AcceptInvitationRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptInvitation", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAcceptInvitation(&request, &response, continuation); @@ -962,13 +978,13 @@ void ClubService::ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DeclineInvitationRequest request; + ::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.DeclineInvitationRequest", &request); + LogCallServerMethod("ClubService.DeclineInvitation", "bgs.protocol.club.v1.client.DeclineInvitationRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineInvitation", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleDeclineInvitation(&request, &response, continuation); @@ -977,13 +993,13 @@ void ClubService::ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RevokeInvitationRequest request; + ::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.RevokeInvitationRequest", &request); + LogCallServerMethod("ClubService.RevokeInvitation", "bgs.protocol.club.v1.client.RevokeInvitationRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.RevokeInvitation", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleRevokeInvitation(&request, &response, continuation); @@ -992,43 +1008,43 @@ void ClubService::ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetInvitationRequest request; + ::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.GetInvitationRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitation", ::bgs::protocol::club::v1::GetInvitationResponse::descriptor()); - ::bgs::protocol::club::v1::GetInvitationResponse response; + LogCallServerMethod("ClubService.GetInvitation", "bgs.protocol.club.v1.client.GetInvitationRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetInvitationsRequest request; + ::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.GetInvitationsRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitations", ::bgs::protocol::club::v1::GetInvitationsResponse::descriptor()); - ::bgs::protocol::club::v1::GetInvitationsResponse response; + LogCallServerMethod("ClubService.GetInvitations", "bgs.protocol.club.v1.client.GetInvitationsRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::SendSuggestionRequest request; + ::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.SendSuggestionRequest", &request); + LogCallServerMethod("ClubService.SendSuggestion", "bgs.protocol.club.v1.client.SendSuggestionRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SendSuggestion", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSendSuggestion(&request, &response, continuation); @@ -1037,13 +1053,13 @@ void ClubService::ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, Me } void ClubService::ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AcceptSuggestionRequest request; + ::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.AcceptSuggestionRequest", &request); + LogCallServerMethod("ClubService.AcceptSuggestion", "bgs.protocol.club.v1.client.AcceptSuggestionRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptSuggestion", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAcceptSuggestion(&request, &response, continuation); @@ -1052,13 +1068,13 @@ void ClubService::ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DeclineSuggestionRequest request; + ::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.DeclineSuggestionRequest", &request); + LogCallServerMethod("ClubService.DeclineSuggestion", "bgs.protocol.club.v1.client.DeclineSuggestionRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineSuggestion", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleDeclineSuggestion(&request, &response, continuation); @@ -1067,58 +1083,58 @@ void ClubService::ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetSuggestionRequest request; + ::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.GetSuggestionRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestion", ::bgs::protocol::club::v1::GetSuggestionResponse::descriptor()); - ::bgs::protocol::club::v1::GetSuggestionResponse response; + LogCallServerMethod("ClubService.GetSuggestion", "bgs.protocol.club.v1.client.GetSuggestionRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetSuggestionsRequest request; + ::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.GetSuggestionsRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestions", ::bgs::protocol::club::v1::GetSuggestionsResponse::descriptor()); - ::bgs::protocol::club::v1::GetSuggestionsResponse response; + LogCallServerMethod("ClubService.GetSuggestions", "bgs.protocol.club.v1.client.GetSuggestionsRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::CreateTicketRequest request; + ::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.CreateTicketRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.CreateTicket", ::bgs::protocol::club::v1::CreateTicketResponse::descriptor()); - ::bgs::protocol::club::v1::CreateTicketResponse response; + LogCallServerMethod("ClubService.CreateTicket", "bgs.protocol.club.v1.client.CreateTicketRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::DestroyTicketRequest request; + ::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.DestroyTicketRequest", &request); + LogCallServerMethod("ClubService.DestroyTicket", "bgs.protocol.club.v1.client.DestroyTicketRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyTicket", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleDestroyTicket(&request, &response, continuation); @@ -1127,13 +1143,13 @@ void ClubService::ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, Mes } void ClubService::ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RedeemTicketRequest request; + ::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.RedeemTicketRequest", &request); + LogCallServerMethod("ClubService.RedeemTicket", "bgs.protocol.club.v1.client.RedeemTicketRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.RedeemTicket", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleRedeemTicket(&request, &response, continuation); @@ -1142,43 +1158,43 @@ void ClubService::ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, Mess } void ClubService::ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetTicketRequest request; + ::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.GetTicketRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetTicket", ::bgs::protocol::club::v1::GetTicketResponse::descriptor()); - ::bgs::protocol::club::v1::GetTicketResponse response; + LogCallServerMethod("ClubService.GetTicket", "bgs.protocol.club.v1.client.GetTicketRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetTicketsRequest request; + ::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.GetTicketsRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetTickets", ::bgs::protocol::club::v1::GetTicketsResponse::descriptor()); - ::bgs::protocol::club::v1::GetTicketsResponse response; + LogCallServerMethod("ClubService.GetTickets", "bgs.protocol.club.v1.client.GetTicketsRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::AddBanRequest request; + ::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.AddBanRequest", &request); + LogCallServerMethod("ClubService.AddBan", "bgs.protocol.club.v1.client.AddBanRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.AddBan", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAddBan(&request, &response, continuation); @@ -1187,13 +1203,13 @@ void ClubService::ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuf } void ClubService::ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RemoveBanRequest request; + ::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.RemoveBanRequest", &request); + LogCallServerMethod("ClubService.RemoveBan", "bgs.protocol.club.v1.client.RemoveBanRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.RemoveBan", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleRemoveBan(&request, &response, continuation); @@ -1202,43 +1218,43 @@ void ClubService::ParseAndHandleRemoveBan(uint32 token, uint32 methodId, Message } void ClubService::ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetBanRequest request; + ::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.GetBanRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetBan", ::bgs::protocol::club::v1::GetBanResponse::descriptor()); - ::bgs::protocol::club::v1::GetBanResponse response; + LogCallServerMethod("ClubService.GetBan", "bgs.protocol.club.v1.client.GetBanRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetBansRequest request; + ::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.GetBansRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetBans", ::bgs::protocol::club::v1::GetBansResponse::descriptor()); - ::bgs::protocol::club::v1::GetBansResponse response; + LogCallServerMethod("ClubService.GetBans", "bgs.protocol.club.v1.client.GetBansRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::SubscribeStreamRequest request; + ::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.SubscribeStreamRequest", &request); + LogCallServerMethod("ClubService.SubscribeStream", "bgs.protocol.club.v1.client.SubscribeStreamRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SubscribeStream", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSubscribeStream(&request, &response, continuation); @@ -1247,13 +1263,13 @@ void ClubService::ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, M } void ClubService::ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnsubscribeStreamRequest request; + ::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.UnsubscribeStreamRequest", &request); + LogCallServerMethod("ClubService.UnsubscribeStream", "bgs.protocol.club.v1.client.UnsubscribeStreamRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UnsubscribeStream", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUnsubscribeStream(&request, &response, continuation); @@ -1262,28 +1278,28 @@ void ClubService::ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateStreamRequest request; + ::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.CreateStreamRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.CreateStream", ::bgs::protocol::club::v1::CreateStreamResponse::descriptor()); - ::bgs::protocol::club::v1::CreateStreamResponse response; + LogCallServerMethod("ClubService.CreateStream", "bgs.protocol.club.v1.client.CreateStreamRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::DestroyStreamRequest request; + ::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.DestroyStreamRequest", &request); + LogCallServerMethod("ClubService.DestroyStream", "bgs.protocol.club.v1.client.DestroyStreamRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyStream", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleDestroyStream(&request, &response, continuation); @@ -1292,43 +1308,43 @@ void ClubService::ParseAndHandleDestroyStream(uint32 token, uint32 methodId, Mes } void ClubService::ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamRequest request; + ::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.GetStreamRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetStream", ::bgs::protocol::club::v1::GetStreamResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamResponse response; + LogCallServerMethod("ClubService.GetStream", "bgs.protocol.club.v1.client.GetStreamRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetStreamsRequest request; + ::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.GetStreamsRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreams", ::bgs::protocol::club::v1::GetStreamsResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamsResponse response; + LogCallServerMethod("ClubService.GetStreams", "bgs.protocol.club.v1.client.GetStreamsRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::UpdateStreamStateRequest request; + ::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.UpdateStreamStateRequest", &request); + LogCallServerMethod("ClubService.UpdateStreamState", "bgs.protocol.club.v1.client.UpdateStreamStateRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateStreamState", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleUpdateStreamState(&request, &response, continuation); @@ -1337,13 +1353,13 @@ void ClubService::ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SetStreamFocusRequest request; + ::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.SetStreamFocusRequest", &request); + LogCallServerMethod("ClubService.SetStreamFocus", "bgs.protocol.club.v1.client.SetStreamFocusRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SetStreamFocus", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSetStreamFocus(&request, &response, continuation); @@ -1352,28 +1368,28 @@ void ClubService::ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, Me } void ClubService::ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamVoiceTokenRequest request; + ::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.GetStreamVoiceTokenRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamVoiceToken", ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse response; + LogCallServerMethod("ClubService.GetStreamVoiceToken", "bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::KickFromStreamVoiceRequest request; + ::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.KickFromStreamVoiceRequest", &request); + LogCallServerMethod("ClubService.KickFromStreamVoice", "bgs.protocol.club.v1.client.KickFromStreamVoiceRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.KickFromStreamVoice", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleKickFromStreamVoice(&request, &response, continuation); @@ -1382,58 +1398,58 @@ void ClubService::ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodI } void ClubService::ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateMessageRequest request; + ::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.CreateMessageRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.CreateMessage", ::bgs::protocol::club::v1::CreateMessageResponse::descriptor()); - ::bgs::protocol::club::v1::CreateMessageResponse response; + LogCallServerMethod("ClubService.CreateMessage", "bgs.protocol.club.v1.client.CreateMessageRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::DestroyMessageRequest request; + ::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.DestroyMessageRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyMessage", ::bgs::protocol::club::v1::DestroyMessageResponse::descriptor()); - ::bgs::protocol::club::v1::DestroyMessageResponse response; + LogCallServerMethod("ClubService.DestroyMessage", "bgs.protocol.club.v1.client.DestroyMessageRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::EditMessageRequest request; + ::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.EditMessageRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.EditMessage", ::bgs::protocol::club::v1::EditMessageResponse::descriptor()); - ::bgs::protocol::club::v1::EditMessageResponse response; + LogCallServerMethod("ClubService.EditMessage", "bgs.protocol.club.v1.client.EditMessageRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::SetMessagePinnedRequest request; + ::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.SetMessagePinnedRequest", &request); + LogCallServerMethod("ClubService.SetMessagePinned", "bgs.protocol.club.v1.client.SetMessagePinnedRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SetMessagePinned", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSetMessagePinned(&request, &response, continuation); @@ -1442,13 +1458,13 @@ void ClubService::ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, } void ClubService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SetTypingIndicatorRequest request; + ::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.SetTypingIndicatorRequest", &request); + LogCallServerMethod("ClubService.SetTypingIndicator", "bgs.protocol.club.v1.client.SetTypingIndicatorRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleSetTypingIndicator(&request, &response, continuation); @@ -1457,13 +1473,13 @@ void ClubService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId } void ClubService::ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AdvanceStreamViewTimeRequest request; + ::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.AdvanceStreamViewTimeRequest", &request); + LogCallServerMethod("ClubService.AdvanceStreamViewTime", "bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest", &request); std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.AdvanceStreamViewTime", ::bgs::protocol::NoData::descriptor()); ::bgs::protocol::NoData response; uint32 status = HandleAdvanceStreamViewTime(&request, &response, continuation); @@ -1472,30 +1488,30 @@ void ClubService::ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 metho } void ClubService::ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamHistoryRequest request; + ::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.GetStreamHistoryRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamHistory", ::bgs::protocol::club::v1::GetStreamHistoryResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamHistoryResponse response; + LogCallServerMethod("ClubService.GetStreamHistory", "bgs.protocol.club.v1.client.GetStreamHistoryRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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::GetStreamMessageRequest request; + ::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.GetStreamMessageRequest", &request); - std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamMessage", ::bgs::protocol::club::v1::GetStreamMessageResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamMessageResponse response; + LogCallServerMethod("ClubService.GetStreamMessage", "bgs.protocol.club.v1.client.GetStreamMessageRequest", &request); + std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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); @@ -1503,6 +1519,7 @@ void ClubService::ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_service.pb.h b/src/server/proto/Client/api/client/v1/club_service.pb.h index 4b6c92a9b8e..7f4fcac44b7 100644 --- a/src/server/proto/Client/club_service.pb.h +++ b/src/server/proto/Client/api/client/v1/club_service.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_service.proto +// source: api/client/v1/club_service.proto -#ifndef PROTOBUF_club_5fservice_2eproto__INCLUDED -#define PROTOBUF_club_5fservice_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED #include <string> @@ -22,7 +22,7 @@ #include <google/protobuf/generated_message_util.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include "club_request.pb.h" +#include "api/client/v1/club_request.pb.h" #include "ServiceBase.h" #include "MessageBuffer.h" #include <functional> @@ -33,11 +33,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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(); // =================================================================== @@ -55,7 +56,7 @@ class TC_PROTO_API ClubService : public ServiceBase virtual ~ClubService(); typedef std::integral_constant<uint32, 0xE273DE0Eu> OriginalHash; - typedef std::integral_constant<uint32, 0xCBEDD5C7u> NameHash; + typedef std::integral_constant<uint32, 0x11E68136u> NameHash; static google::protobuf::ServiceDescriptor const* descriptor(); @@ -63,61 +64,61 @@ class TC_PROTO_API ClubService : public ServiceBase protected: // server methods -------------------------------------------------- - virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleCreate(::bgs::protocol::club::v1::CreateRequest const* request, ::bgs::protocol::club::v1::CreateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDestroy(::bgs::protocol::club::v1::DestroyRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetDescription(::bgs::protocol::club::v1::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::GetDescriptionResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetClubType(::bgs::protocol::club::v1::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::GetClubTypeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateClubState(::bgs::protocol::club::v1::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateClubSettings(::bgs::protocol::club::v1::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleJoin(::bgs::protocol::club::v1::JoinRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleLeave(::bgs::protocol::club::v1::LeaveRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleKick(::bgs::protocol::club::v1::KickRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetMember(::bgs::protocol::club::v1::GetMemberRequest const* request, ::bgs::protocol::club::v1::GetMemberResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetMembers(::bgs::protocol::club::v1::GetMembersRequest const* request, ::bgs::protocol::club::v1::GetMembersResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateMemberState(::bgs::protocol::club::v1::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateSubscriberState(::bgs::protocol::club::v1::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAssignRole(::bgs::protocol::club::v1::AssignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnassignRole(::bgs::protocol::club::v1::UnassignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSendInvitation(::bgs::protocol::club::v1::SendInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAcceptInvitation(::bgs::protocol::club::v1::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDeclineInvitation(::bgs::protocol::club::v1::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleRevokeInvitation(::bgs::protocol::club::v1::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetInvitation(::bgs::protocol::club::v1::GetInvitationRequest const* request, ::bgs::protocol::club::v1::GetInvitationResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetInvitations(::bgs::protocol::club::v1::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::GetInvitationsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSendSuggestion(::bgs::protocol::club::v1::SendSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAcceptSuggestion(::bgs::protocol::club::v1::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDeclineSuggestion(::bgs::protocol::club::v1::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetSuggestion(::bgs::protocol::club::v1::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::GetSuggestionResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetSuggestions(::bgs::protocol::club::v1::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::GetSuggestionsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleCreateTicket(::bgs::protocol::club::v1::CreateTicketRequest const* request, ::bgs::protocol::club::v1::CreateTicketResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDestroyTicket(::bgs::protocol::club::v1::DestroyTicketRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleRedeemTicket(::bgs::protocol::club::v1::RedeemTicketRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetTicket(::bgs::protocol::club::v1::GetTicketRequest const* request, ::bgs::protocol::club::v1::GetTicketResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetTickets(::bgs::protocol::club::v1::GetTicketsRequest const* request, ::bgs::protocol::club::v1::GetTicketsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAddBan(::bgs::protocol::club::v1::AddBanRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleRemoveBan(::bgs::protocol::club::v1::RemoveBanRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetBan(::bgs::protocol::club::v1::GetBanRequest const* request, ::bgs::protocol::club::v1::GetBanResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetBans(::bgs::protocol::club::v1::GetBansRequest const* request, ::bgs::protocol::club::v1::GetBansResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSubscribeStream(::bgs::protocol::club::v1::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnsubscribeStream(::bgs::protocol::club::v1::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleCreateStream(::bgs::protocol::club::v1::CreateStreamRequest const* request, ::bgs::protocol::club::v1::CreateStreamResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDestroyStream(::bgs::protocol::club::v1::DestroyStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStream(::bgs::protocol::club::v1::GetStreamRequest const* request, ::bgs::protocol::club::v1::GetStreamResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStreams(::bgs::protocol::club::v1::GetStreamsRequest const* request, ::bgs::protocol::club::v1::GetStreamsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUpdateStreamState(::bgs::protocol::club::v1::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSetStreamFocus(::bgs::protocol::club::v1::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStreamVoiceToken(::bgs::protocol::club::v1::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleKickFromStreamVoice(::bgs::protocol::club::v1::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleCreateMessage(::bgs::protocol::club::v1::CreateMessageRequest const* request, ::bgs::protocol::club::v1::CreateMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleDestroyMessage(::bgs::protocol::club::v1::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::DestroyMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleEditMessage(::bgs::protocol::club::v1::EditMessageRequest const* request, ::bgs::protocol::club::v1::EditMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSetMessagePinned(::bgs::protocol::club::v1::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSetTypingIndicator(::bgs::protocol::club::v1::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStreamHistory(::bgs::protocol::club::v1::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::GetStreamHistoryResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleGetStreamMessage(::bgs::protocol::club::v1::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::GetStreamMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); private: void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); @@ -182,6 +183,7 @@ class TC_PROTO_API ClubService : public ServiceBase // =================================================================== // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol @@ -196,4 +198,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fservice_2eproto__INCLUDED +#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/club_stream.pb.cc b/src/server/proto/Client/api/client/v1/club_stream.pb.cc index c7be954557e..cdf82564159 100644 --- a/src/server/proto/Client/club_stream.pb.cc +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_stream.proto +// source: api/client/v1/club_stream.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_stream.pb.h" +#include "api/client/v1/club_stream.pb.h" #include <utility> @@ -20,6 +20,7 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { namespace { @@ -80,11 +81,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fstream_2eproto() { - protobuf_AddDesc_club_5fstream_2eproto(); +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( - "club_stream.proto"); + "api/client/v1/club_stream.proto"); GOOGLE_CHECK(file != NULL); StreamPosition_descriptor_ = file->message_type(0); static const int StreamPosition_offsets_[1] = { @@ -413,7 +414,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fstream_2eproto); + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -458,7 +459,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fstream_2eproto() { +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto() { delete StreamPosition::default_instance_; delete StreamPosition_reflection_; delete StreamAccess::default_instance_; @@ -497,95 +498,99 @@ void protobuf_ShutdownFile_club_5fstream_2eproto() { delete StreamTypingIndicator_reflection_; } -void protobuf_AddDesc_club_5fstream_2eproto() { +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::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::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(); - ::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); + "\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( - "club_stream.proto", &protobuf_RegisterTypes); + "api/client/v1/club_stream.proto", &protobuf_RegisterTypes); StreamPosition::default_instance_ = new StreamPosition(); StreamAccess::default_instance_ = new StreamAccess(); CreateStreamOptions::default_instance_ = new CreateStreamOptions(); @@ -622,15 +627,15 @@ void protobuf_AddDesc_club_5fstream_2eproto() { StreamStateOptions::default_instance_->InitAsDefaultInstance(); StreamStateAssignment::default_instance_->InitAsDefaultInstance(); StreamTypingIndicator::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fstream_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_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(); +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_club_5fstream_2eproto_; +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fstream_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -640,7 +645,7 @@ const int StreamPosition::kStreamIdFieldNumber; StreamPosition::StreamPosition() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamPosition) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamPosition) } void StreamPosition::InitAsDefaultInstance() { @@ -650,7 +655,7 @@ StreamPosition::StreamPosition(const StreamPosition& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamPosition) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamPosition) } void StreamPosition::SharedCtor() { @@ -659,7 +664,7 @@ void StreamPosition::SharedCtor() { } StreamPosition::~StreamPosition() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamPosition) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamPosition) SharedDtor(); } @@ -679,7 +684,7 @@ const ::google::protobuf::Descriptor* StreamPosition::descriptor() { } const StreamPosition& StreamPosition::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -711,7 +716,7 @@ const int StreamAccess::kRoleFieldNumber; StreamAccess::StreamAccess() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAccess) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAccess) } void StreamAccess::InitAsDefaultInstance() { @@ -721,7 +726,7 @@ StreamAccess::StreamAccess(const StreamAccess& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAccess) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAccess) } void StreamAccess::SharedCtor() { @@ -730,7 +735,7 @@ void StreamAccess::SharedCtor() { } StreamAccess::~StreamAccess() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAccess) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAccess) SharedDtor(); } @@ -750,7 +755,7 @@ const ::google::protobuf::Descriptor* StreamAccess::descriptor() { } const StreamAccess& StreamAccess::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -786,18 +791,18 @@ const int CreateStreamOptions::kVoiceLevelFieldNumber; CreateStreamOptions::CreateStreamOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamOptions) } void CreateStreamOptions::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); + 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.CreateStreamOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamOptions) } void CreateStreamOptions::SharedCtor() { @@ -811,7 +816,7 @@ void CreateStreamOptions::SharedCtor() { } CreateStreamOptions::~CreateStreamOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamOptions) SharedDtor(); } @@ -838,7 +843,7 @@ const ::google::protobuf::Descriptor* CreateStreamOptions::descriptor() { } const CreateStreamOptions& CreateStreamOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -877,18 +882,18 @@ const int Stream::kCreationTimeFieldNumber; Stream::Stream() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Stream) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Stream) } void Stream::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); + 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.Stream) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Stream) } void Stream::SharedCtor() { @@ -905,7 +910,7 @@ void Stream::SharedCtor() { } Stream::~Stream() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Stream) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Stream) SharedDtor(); } @@ -932,7 +937,7 @@ const ::google::protobuf::Descriptor* Stream::descriptor() { } const Stream& Stream::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -965,7 +970,7 @@ const int StreamDescription::kNameFieldNumber; StreamDescription::StreamDescription() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamDescription) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamDescription) } void StreamDescription::InitAsDefaultInstance() { @@ -975,7 +980,7 @@ StreamDescription::StreamDescription(const StreamDescription& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamDescription) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamDescription) } void StreamDescription::SharedCtor() { @@ -987,7 +992,7 @@ void StreamDescription::SharedCtor() { } StreamDescription::~StreamDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamDescription) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamDescription) SharedDtor(); } @@ -1010,7 +1015,7 @@ const ::google::protobuf::Descriptor* StreamDescription::descriptor() { } const StreamDescription& StreamDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1045,7 +1050,7 @@ const int MentionContent::kRoleFieldNumber; MentionContent::MentionContent() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MentionContent) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MentionContent) } void MentionContent::InitAsDefaultInstance() { @@ -1055,7 +1060,7 @@ MentionContent::MentionContent(const MentionContent& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MentionContent) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MentionContent) } void MentionContent::SharedCtor() { @@ -1066,7 +1071,7 @@ void MentionContent::SharedCtor() { } MentionContent::~MentionContent() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MentionContent) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MentionContent) SharedDtor(); } @@ -1086,7 +1091,7 @@ const ::google::protobuf::Descriptor* MentionContent::descriptor() { } const MentionContent& MentionContent::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1119,18 +1124,18 @@ const int CreateMessageOptions::kMentionFieldNumber; CreateMessageOptions::CreateMessageOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageOptions) } void CreateMessageOptions::InitAsDefaultInstance() { - mention_ = const_cast< ::bgs::protocol::club::v1::MentionContent*>(&::bgs::protocol::club::v1::MentionContent::default_instance()); + 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.CreateMessageOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageOptions) } void CreateMessageOptions::SharedCtor() { @@ -1142,7 +1147,7 @@ void CreateMessageOptions::SharedCtor() { } CreateMessageOptions::~CreateMessageOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageOptions) SharedDtor(); } @@ -1166,7 +1171,7 @@ const ::google::protobuf::Descriptor* CreateMessageOptions::descriptor() { } const CreateMessageOptions& CreateMessageOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1198,7 +1203,7 @@ const int ClubStreamMessageContainer::kMessageFieldNumber; ClubStreamMessageContainer::ClubStreamMessageContainer() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStreamMessageContainer) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) } void ClubStreamMessageContainer::InitAsDefaultInstance() { @@ -1208,7 +1213,7 @@ ClubStreamMessageContainer::ClubStreamMessageContainer(const ClubStreamMessageCo : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStreamMessageContainer) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) } void ClubStreamMessageContainer::SharedCtor() { @@ -1217,7 +1222,7 @@ void ClubStreamMessageContainer::SharedCtor() { } ClubStreamMessageContainer::~ClubStreamMessageContainer() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStreamMessageContainer) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) SharedDtor(); } @@ -1237,7 +1242,7 @@ const ::google::protobuf::Descriptor* ClubStreamMessageContainer::descriptor() { } const ClubStreamMessageContainer& ClubStreamMessageContainer::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1272,18 +1277,18 @@ const int ContentChain::kEditTimeFieldNumber; ContentChain::ContentChain() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ContentChain) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ContentChain) } void ContentChain::InitAsDefaultInstance() { - mention_ = const_cast< ::bgs::protocol::club::v1::MentionContent*>(&::bgs::protocol::club::v1::MentionContent::default_instance()); + 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.ContentChain) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ContentChain) } void ContentChain::SharedCtor() { @@ -1296,7 +1301,7 @@ void ContentChain::SharedCtor() { } ContentChain::~ContentChain() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ContentChain) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ContentChain) SharedDtor(); } @@ -1320,7 +1325,7 @@ const ::google::protobuf::Descriptor* ContentChain::descriptor() { } const ContentChain& ContentChain::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1357,20 +1362,20 @@ const int StreamMessage::kDestroyTimeFieldNumber; StreamMessage::StreamMessage() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMessage) + // @@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::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - destroyer_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::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.StreamMessage) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessage) } void StreamMessage::SharedCtor() { @@ -1384,7 +1389,7 @@ void StreamMessage::SharedCtor() { } StreamMessage::~StreamMessage() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMessage) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessage) SharedDtor(); } @@ -1407,7 +1412,7 @@ const ::google::protobuf::Descriptor* StreamMessage::descriptor() { } const StreamMessage& StreamMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1447,15 +1452,15 @@ const int StreamMention::kClubTypeFieldNumber; StreamMention::StreamMention() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMention) + // @@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::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::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::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::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()); } @@ -1463,7 +1468,7 @@ StreamMention::StreamMention(const StreamMention& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMention) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMention) } void StreamMention::SharedCtor() { @@ -1481,7 +1486,7 @@ void StreamMention::SharedCtor() { } StreamMention::~StreamMention() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMention) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMention) SharedDtor(); } @@ -1507,7 +1512,7 @@ const ::google::protobuf::Descriptor* StreamMention::descriptor() { } const StreamMention& StreamMention::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1541,7 +1546,7 @@ const int StreamView::kMarkerFieldNumber; StreamView::StreamView() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamView) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamView) } void StreamView::InitAsDefaultInstance() { @@ -1552,7 +1557,7 @@ StreamView::StreamView(const StreamView& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamView) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamView) } void StreamView::SharedCtor() { @@ -1564,7 +1569,7 @@ void StreamView::SharedCtor() { } StreamView::~StreamView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamView) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamView) SharedDtor(); } @@ -1585,7 +1590,7 @@ const ::google::protobuf::Descriptor* StreamView::descriptor() { } const StreamView& StreamView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1618,7 +1623,7 @@ const int StreamAdvanceViewTime::kViewTimeFieldNumber; StreamAdvanceViewTime::StreamAdvanceViewTime() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAdvanceViewTime) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) } void StreamAdvanceViewTime::InitAsDefaultInstance() { @@ -1628,7 +1633,7 @@ StreamAdvanceViewTime::StreamAdvanceViewTime(const StreamAdvanceViewTime& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAdvanceViewTime) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) } void StreamAdvanceViewTime::SharedCtor() { @@ -1639,7 +1644,7 @@ void StreamAdvanceViewTime::SharedCtor() { } StreamAdvanceViewTime::~StreamAdvanceViewTime() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAdvanceViewTime) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) SharedDtor(); } @@ -1659,7 +1664,7 @@ const ::google::protobuf::Descriptor* StreamAdvanceViewTime::descriptor() { } const StreamAdvanceViewTime& StreamAdvanceViewTime::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1692,7 +1697,7 @@ const int StreamEventTime::kEventTimeFieldNumber; StreamEventTime::StreamEventTime() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamEventTime) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamEventTime) } void StreamEventTime::InitAsDefaultInstance() { @@ -1702,7 +1707,7 @@ StreamEventTime::StreamEventTime(const StreamEventTime& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamEventTime) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamEventTime) } void StreamEventTime::SharedCtor() { @@ -1713,7 +1718,7 @@ void StreamEventTime::SharedCtor() { } StreamEventTime::~StreamEventTime() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamEventTime) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamEventTime) SharedDtor(); } @@ -1733,7 +1738,7 @@ const ::google::protobuf::Descriptor* StreamEventTime::descriptor() { } const StreamEventTime& StreamEventTime::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1767,7 +1772,7 @@ const int StreamMentionView::kMarkerFieldNumber; StreamMentionView::StreamMentionView() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMentionView) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMentionView) } void StreamMentionView::InitAsDefaultInstance() { @@ -1778,7 +1783,7 @@ StreamMentionView::StreamMentionView(const StreamMentionView& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMentionView) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMentionView) } void StreamMentionView::SharedCtor() { @@ -1790,7 +1795,7 @@ void StreamMentionView::SharedCtor() { } StreamMentionView::~StreamMentionView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMentionView) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMentionView) SharedDtor(); } @@ -1811,7 +1816,7 @@ const ::google::protobuf::Descriptor* StreamMentionView::descriptor() { } const StreamMentionView& StreamMentionView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1847,18 +1852,18 @@ const int StreamStateOptions::kVoiceLevelFieldNumber; StreamStateOptions::StreamStateOptions() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateOptions) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateOptions) } void StreamStateOptions::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); + 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.StreamStateOptions) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateOptions) } void StreamStateOptions::SharedCtor() { @@ -1872,7 +1877,7 @@ void StreamStateOptions::SharedCtor() { } StreamStateOptions::~StreamStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateOptions) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateOptions) SharedDtor(); } @@ -1899,7 +1904,7 @@ const ::google::protobuf::Descriptor* StreamStateOptions::descriptor() { } const StreamStateOptions& StreamStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -1937,18 +1942,18 @@ const int StreamStateAssignment::kVoiceLevelFieldNumber; StreamStateAssignment::StreamStateAssignment() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateAssignment) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateAssignment) } void StreamStateAssignment::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); + 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.StreamStateAssignment) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateAssignment) } void StreamStateAssignment::SharedCtor() { @@ -1964,7 +1969,7 @@ void StreamStateAssignment::SharedCtor() { } StreamStateAssignment::~StreamStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateAssignment) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateAssignment) SharedDtor(); } @@ -1991,7 +1996,7 @@ const ::google::protobuf::Descriptor* StreamStateAssignment::descriptor() { } const StreamStateAssignment& StreamStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -2025,7 +2030,7 @@ const int StreamTypingIndicator::kEpochFieldNumber; StreamTypingIndicator::StreamTypingIndicator() : ::google::protobuf::Message() { SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamTypingIndicator) + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) } void StreamTypingIndicator::InitAsDefaultInstance() { @@ -2036,7 +2041,7 @@ StreamTypingIndicator::StreamTypingIndicator(const StreamTypingIndicator& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamTypingIndicator) + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) } void StreamTypingIndicator::SharedCtor() { @@ -2048,7 +2053,7 @@ void StreamTypingIndicator::SharedCtor() { } StreamTypingIndicator::~StreamTypingIndicator() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamTypingIndicator) + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicator) SharedDtor(); } @@ -2069,7 +2074,7 @@ const ::google::protobuf::Descriptor* StreamTypingIndicator::descriptor() { } const StreamTypingIndicator& StreamTypingIndicator::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); return *default_instance_; } @@ -2094,6 +2099,7 @@ void StreamTypingIndicator::Swap(StreamTypingIndicator* other) { // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol diff --git a/src/server/proto/Client/club_stream.pb.h b/src/server/proto/Client/api/client/v1/club_stream.pb.h index 342fb7230c9..294eb70c748 100644 --- a/src/server/proto/Client/club_stream.pb.h +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_stream.proto +// source: api/client/v1/club_stream.proto -#ifndef PROTOBUF_club_5fstream_2eproto__INCLUDED -#define PROTOBUF_club_5fstream_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED #include <string> @@ -24,14 +24,14 @@ #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/unknown_field_set.h> -#include "club_enum.pb.h" -#include "club_member.pb.h" -#include "club_type.pb.h" -#include "api/client/v2/attribute_types.pb.h" +#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 "ets_types.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) @@ -39,11 +39,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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; @@ -118,7 +119,7 @@ class TC_PROTO_API StreamPosition : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* mutable_stream_id(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamPosition) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamPosition) private: ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -126,9 +127,9 @@ class TC_PROTO_API StreamPosition : public ::google::protobuf::Message { ::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(); + 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_; @@ -187,7 +188,7 @@ class TC_PROTO_API StreamAccess : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_role(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAccess) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAccess) private: ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -195,9 +196,9 @@ class TC_PROTO_API StreamAccess : public ::google::protobuf::Message { ::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(); + 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_; @@ -280,23 +281,23 @@ class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message { inline ::std::string* release_subject(); inline void set_allocated_subject(::std::string* subject); - // optional .bgs.protocol.club.v1.StreamAccess access = 4; + // 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::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); + 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.StreamVoiceLevel voice_level = 5; + // 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::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); + 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.CreateStreamOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamOptions) private: inline void set_has_name(); inline void clear_has_name(); @@ -314,11 +315,11 @@ class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -415,21 +416,21 @@ class TC_PROTO_API Stream : public ::google::protobuf::Message { inline ::std::string* release_subject(); inline void set_allocated_subject(::std::string* subject); - // optional .bgs.protocol.club.v1.StreamAccess access = 6; + // 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::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); + 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.StreamVoiceLevel voice_level = 7; + // 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::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); + 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; @@ -438,7 +439,7 @@ class TC_PROTO_API Stream : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Stream) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -464,12 +465,12 @@ class TC_PROTO_API Stream : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -535,7 +536,7 @@ class TC_PROTO_API StreamDescription : public ::google::protobuf::Message { inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamDescription) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamDescription) private: inline void set_has_id(); inline void clear_has_id(); @@ -548,9 +549,9 @@ class TC_PROTO_API StreamDescription : public ::google::protobuf::Message { 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(); + 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_; @@ -635,7 +636,7 @@ class TC_PROTO_API MentionContent : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_role(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MentionContent) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MentionContent) private: inline void set_has_all(); inline void clear_has_all(); @@ -650,9 +651,9 @@ class TC_PROTO_API MentionContent : public ::google::protobuf::Message { ::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(); + 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_; @@ -711,16 +712,16 @@ class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message { inline ::std::string* release_content(); inline void set_allocated_content(::std::string* content); - // optional .bgs.protocol.club.v1.MentionContent mention = 3; + // 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::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); + 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.CreateMessageOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageOptions) private: inline void set_has_content(); inline void clear_has_content(); @@ -732,10 +733,10 @@ class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message { ::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(); + ::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_; @@ -782,29 +783,29 @@ class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Messa // accessors ------------------------------------------------------- - // repeated .bgs.protocol.club.v1.StreamMessage message = 1; + // 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::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 >& + 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::StreamMessage >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* mutable_message(); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStreamMessageContainer) + // @@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::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(); + ::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_; @@ -875,14 +876,14 @@ class TC_PROTO_API ContentChain : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* mutable_embed(); - // optional .bgs.protocol.club.v1.MentionContent mention = 7; + // 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::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); + 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; @@ -891,7 +892,7 @@ class TC_PROTO_API ContentChain : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ContentChain) private: inline void set_has_content(); inline void clear_has_content(); @@ -906,11 +907,11 @@ class TC_PROTO_API ContentChain : public ::google::protobuf::Message { mutable int _cached_size_; ::std::string* content_; ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_; - ::bgs::protocol::club::v1::MentionContent* mention_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -966,35 +967,35 @@ class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { inline ::bgs::protocol::MessageId* release_id(); inline void set_allocated_id(::bgs::protocol::MessageId* id); - // optional .bgs.protocol.club.v1.MemberDescription author = 4; + // 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::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); + 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.ContentChain content_chain = 6; + // 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::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 >& + 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::ContentChain >* + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* mutable_content_chain(); - // optional .bgs.protocol.club.v1.MemberDescription destroyer = 15; + // 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::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); + 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; @@ -1010,7 +1011,7 @@ class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessage) private: inline void set_has_id(); inline void clear_has_id(); @@ -1028,14 +1029,14 @@ class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { ::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_; + ::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_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); + 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_; @@ -1105,14 +1106,14 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -1139,14 +1140,14 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message { 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; + // 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::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); + 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; @@ -1157,7 +1158,7 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMention) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -1185,15 +1186,15 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message { ::google::protobuf::uint64 club_id_; ::google::protobuf::uint64 stream_id_; ::bgs::protocol::MessageId* message_id_; - ::bgs::protocol::club::v1::MemberDescription* author_; + ::bgs::protocol::club::v1::client::MemberDescription* author_; ::bgs::protocol::TimeSeriesId* mention_id_; ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::StreamMessage* message_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -1263,7 +1264,7 @@ class TC_PROTO_API StreamView : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamView) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -1279,9 +1280,9 @@ class TC_PROTO_API StreamView : public ::google::protobuf::Message { ::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(); + 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_; @@ -1342,7 +1343,7 @@ class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTime) private: inline void set_has_stream_id(); inline void clear_has_stream_id(); @@ -1355,9 +1356,9 @@ class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message { 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(); + 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_; @@ -1418,7 +1419,7 @@ class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamEventTime) private: inline void set_has_stream_id(); inline void clear_has_stream_id(); @@ -1431,9 +1432,9 @@ class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message { 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(); + 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_; @@ -1503,7 +1504,7 @@ class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message { 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) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMentionView) private: inline void set_has_club_id(); inline void clear_has_club_id(); @@ -1519,9 +1520,9 @@ class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message { ::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(); + 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_; @@ -1604,23 +1605,23 @@ class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message { inline ::std::string* release_subject(); inline void set_allocated_subject(::std::string* subject); - // optional .bgs.protocol.club.v1.StreamAccess access = 4; + // 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::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); + 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.StreamVoiceLevel voice_level = 5; + // 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::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); + 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.StreamStateOptions) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateOptions) private: inline void set_has_name(); inline void clear_has_name(); @@ -1638,11 +1639,11 @@ class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -1732,14 +1733,14 @@ class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { inline ::std::string* release_subject(); inline void set_allocated_subject(::std::string* subject); - // optional .bgs.protocol.club.v1.StreamAccess access = 5; + // 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::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); + 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; @@ -1748,14 +1749,14 @@ class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { inline bool stream_subscription_removed() const; inline void set_stream_subscription_removed(bool value); - // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; + // 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::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); + 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.StreamStateAssignment) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateAssignment) private: inline void set_has_stream_id(); inline void clear_has_stream_id(); @@ -1778,12 +1779,12 @@ class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; ::std::string* name_; ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; + ::bgs::protocol::club::v1::client::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(); + 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_; @@ -1853,7 +1854,7 @@ class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message { inline ::google::protobuf::uint64 epoch() const; inline void set_epoch(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamTypingIndicator) + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicator) private: inline void set_has_author_id(); inline void clear_has_author_id(); @@ -1869,9 +1870,9 @@ class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message { ::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(); + 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_; @@ -1892,25 +1893,25 @@ 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) + // @@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.StreamPosition.stream_id) + // @@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.StreamPosition.stream_id) + // @@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.StreamPosition.stream_id) + // @@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.StreamPosition.stream_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamPosition.stream_id) return &stream_id_; } @@ -1926,25 +1927,25 @@ 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) + // @@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.StreamAccess.role) + // @@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.StreamAccess.role) + // @@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.StreamAccess.role) + // @@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.StreamAccess.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAccess.role) return &role_; } @@ -1960,25 +1961,25 @@ 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) + // @@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.CreateStreamOptions.attribute) + // @@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.CreateStreamOptions.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.CreateStreamOptions.attribute) + // @@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.CreateStreamOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) return &attribute_; } @@ -1999,7 +2000,7 @@ inline void CreateStreamOptions::clear_name() { clear_has_name(); } inline const ::std::string& CreateStreamOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.name) return *name_; } inline void CreateStreamOptions::set_name(const ::std::string& value) { @@ -2008,7 +2009,7 @@ inline void CreateStreamOptions::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.name) } inline void CreateStreamOptions::set_name(const char* value) { set_has_name(); @@ -2016,7 +2017,7 @@ inline void CreateStreamOptions::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.name) + // @@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(); @@ -2024,14 +2025,14 @@ inline void CreateStreamOptions::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.name) + // @@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.CreateStreamOptions.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.name) return name_; } inline ::std::string* CreateStreamOptions::release_name() { @@ -2055,7 +2056,7 @@ inline void CreateStreamOptions::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.name) } // optional string subject = 3; @@ -2075,7 +2076,7 @@ inline void CreateStreamOptions::clear_subject() { clear_has_subject(); } inline const ::std::string& CreateStreamOptions::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.subject) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.subject) return *subject_; } inline void CreateStreamOptions::set_subject(const ::std::string& value) { @@ -2084,7 +2085,7 @@ inline void CreateStreamOptions::set_subject(const ::std::string& value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.subject) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.subject) } inline void CreateStreamOptions::set_subject(const char* value) { set_has_subject(); @@ -2092,7 +2093,7 @@ inline void CreateStreamOptions::set_subject(const char* value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.subject) + // @@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(); @@ -2100,14 +2101,14 @@ inline void CreateStreamOptions::set_subject(const char* value, size_t size) { subject_ = new ::std::string; } subject_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.subject) + // @@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.CreateStreamOptions.subject) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.subject) return subject_; } inline ::std::string* CreateStreamOptions::release_subject() { @@ -2131,10 +2132,10 @@ inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) { clear_has_subject(); subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.subject) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.subject) } -// optional .bgs.protocol.club.v1.StreamAccess access = 4; +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; inline bool CreateStreamOptions::has_access() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -2145,26 +2146,26 @@ 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(); + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::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) +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::StreamAccess* CreateStreamOptions::mutable_access() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamAccess* CreateStreamOptions::release_access() { +inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::release_access() { clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; access_ = NULL; return temp; } -inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { +inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { delete access_; access_ = access; if (access) { @@ -2172,10 +2173,10 @@ inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1: } else { clear_has_access(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.access) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.access) } -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; inline bool CreateStreamOptions::has_voice_level() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -2189,15 +2190,15 @@ 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 ::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::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); +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.CreateStreamOptions.voice_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level) } // ------------------------------------------------------------------- @@ -2219,13 +2220,13 @@ inline void Stream::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 Stream::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.club_id) + // @@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.Stream.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.club_id) } // optional uint64 id = 2; @@ -2243,13 +2244,13 @@ inline void Stream::clear_id() { clear_has_id(); } inline ::google::protobuf::uint64 Stream::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.id) + // @@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.Stream.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.id) } // repeated .bgs.protocol.v2.Attribute attribute = 3; @@ -2260,25 +2261,25 @@ 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) + // @@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.Stream.attribute) + // @@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.Stream.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.Stream.attribute) + // @@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.Stream.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Stream.attribute) return &attribute_; } @@ -2299,7 +2300,7 @@ inline void Stream::clear_name() { clear_has_name(); } inline const ::std::string& Stream::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.name) return *name_; } inline void Stream::set_name(const ::std::string& value) { @@ -2308,7 +2309,7 @@ inline void Stream::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.name) } inline void Stream::set_name(const char* value) { set_has_name(); @@ -2316,7 +2317,7 @@ inline void Stream::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.name) + // @@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(); @@ -2324,14 +2325,14 @@ inline void Stream::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.name) + // @@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.Stream.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.name) return name_; } inline ::std::string* Stream::release_name() { @@ -2355,7 +2356,7 @@ inline void Stream::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.name) } // optional string subject = 5; @@ -2375,7 +2376,7 @@ inline void Stream::clear_subject() { clear_has_subject(); } inline const ::std::string& Stream::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.subject) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.subject) return *subject_; } inline void Stream::set_subject(const ::std::string& value) { @@ -2384,7 +2385,7 @@ inline void Stream::set_subject(const ::std::string& value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.subject) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.subject) } inline void Stream::set_subject(const char* value) { set_has_subject(); @@ -2392,7 +2393,7 @@ inline void Stream::set_subject(const char* value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.subject) + // @@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(); @@ -2400,14 +2401,14 @@ inline void Stream::set_subject(const char* value, size_t size) { subject_ = new ::std::string; } subject_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.subject) + // @@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.Stream.subject) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.subject) return subject_; } inline ::std::string* Stream::release_subject() { @@ -2431,10 +2432,10 @@ inline void Stream::set_allocated_subject(::std::string* subject) { clear_has_subject(); subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.subject) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.subject) } -// optional .bgs.protocol.club.v1.StreamAccess access = 6; +// optional .bgs.protocol.club.v1.client.StreamAccess access = 6; inline bool Stream::has_access() const { return (_has_bits_[0] & 0x00000020u) != 0; } @@ -2445,26 +2446,26 @@ 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(); + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::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) +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::StreamAccess* Stream::mutable_access() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamAccess* Stream::release_access() { +inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::release_access() { clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; access_ = NULL; return temp; } -inline void Stream::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { +inline void Stream::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { delete access_; access_ = access; if (access) { @@ -2472,10 +2473,10 @@ inline void Stream::set_allocated_access(::bgs::protocol::club::v1::StreamAccess } else { clear_has_access(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.access) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.access) } -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; inline bool Stream::has_voice_level() const { return (_has_bits_[0] & 0x00000040u) != 0; } @@ -2489,15 +2490,15 @@ 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 ::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::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); +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.Stream.voice_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.voice_level) } // optional uint64 creation_time = 8; @@ -2515,13 +2516,13 @@ inline void Stream::clear_creation_time() { clear_has_creation_time(); } inline ::google::protobuf::uint64 Stream::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.creation_time) + // @@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.Stream.creation_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.creation_time) } // ------------------------------------------------------------------- @@ -2543,13 +2544,13 @@ inline void StreamDescription::clear_id() { clear_has_id(); } inline ::google::protobuf::uint64 StreamDescription::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.id) + // @@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.StreamDescription.id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.id) } // optional string name = 4; @@ -2569,7 +2570,7 @@ inline void StreamDescription::clear_name() { clear_has_name(); } inline const ::std::string& StreamDescription::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.name) return *name_; } inline void StreamDescription::set_name(const ::std::string& value) { @@ -2578,7 +2579,7 @@ inline void StreamDescription::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamDescription.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.name) } inline void StreamDescription::set_name(const char* value) { set_has_name(); @@ -2586,7 +2587,7 @@ inline void StreamDescription::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamDescription.name) + // @@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(); @@ -2594,14 +2595,14 @@ inline void StreamDescription::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamDescription.name) + // @@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.StreamDescription.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamDescription.name) return name_; } inline ::std::string* StreamDescription::release_name() { @@ -2625,7 +2626,7 @@ inline void StreamDescription::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamDescription.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamDescription.name) } // ------------------------------------------------------------------- @@ -2647,13 +2648,13 @@ inline void MentionContent::clear_all() { clear_has_all(); } inline bool MentionContent::all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.all) + // @@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.MentionContent.all) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.all) } // optional bool here = 2; @@ -2671,13 +2672,13 @@ inline void MentionContent::clear_here() { clear_has_here(); } inline bool MentionContent::here() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.here) + // @@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.MentionContent.here) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.here) } // repeated .bgs.protocol.club.v1.MemberId member_id = 3; @@ -2688,25 +2689,25 @@ 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) + // @@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.MentionContent.member_id) + // @@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.MentionContent.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.MentionContent.member_id) + // @@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.MentionContent.member_id) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.member_id) return &member_id_; } @@ -2718,25 +2719,25 @@ 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) + // @@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.MentionContent.role) + // @@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.MentionContent.role) + // @@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.MentionContent.role) + // @@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.MentionContent.role) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.role) return &role_; } @@ -2761,7 +2762,7 @@ inline void CreateMessageOptions::clear_content() { clear_has_content(); } inline const ::std::string& CreateMessageOptions::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageOptions.content) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.content) return *content_; } inline void CreateMessageOptions::set_content(const ::std::string& value) { @@ -2770,7 +2771,7 @@ inline void CreateMessageOptions::set_content(const ::std::string& value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMessageOptions.content) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageOptions.content) } inline void CreateMessageOptions::set_content(const char* value) { set_has_content(); @@ -2778,7 +2779,7 @@ inline void CreateMessageOptions::set_content(const char* value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateMessageOptions.content) + // @@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(); @@ -2786,14 +2787,14 @@ inline void CreateMessageOptions::set_content(const char* value, size_t size) { content_ = new ::std::string; } content_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateMessageOptions.content) + // @@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.CreateMessageOptions.content) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.content) return content_; } inline ::std::string* CreateMessageOptions::release_content() { @@ -2817,10 +2818,10 @@ inline void CreateMessageOptions::set_allocated_content(::std::string* content) clear_has_content(); content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.content) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.content) } -// optional .bgs.protocol.club.v1.MentionContent mention = 3; +// optional .bgs.protocol.club.v1.client.MentionContent mention = 3; inline bool CreateMessageOptions::has_mention() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -2831,26 +2832,26 @@ 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(); + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::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) +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::MentionContent* CreateMessageOptions::mutable_mention() { +inline ::bgs::protocol::club::v1::client::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) + 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::MentionContent* CreateMessageOptions::release_mention() { +inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::release_mention() { clear_has_mention(); - ::bgs::protocol::club::v1::MentionContent* temp = mention_; + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; mention_ = NULL; return temp; } -inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention) { +inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { delete mention_; mention_ = mention; if (mention) { @@ -2858,40 +2859,40 @@ inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v } else { clear_has_mention(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.mention) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.mention) } // ------------------------------------------------------------------- // ClubStreamMessageContainer -// repeated .bgs.protocol.club.v1.StreamMessage message = 1; +// 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::StreamMessage& ClubStreamMessageContainer::message(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamMessageContainer.message) +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::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamMessageContainer.message) +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::StreamMessage* ClubStreamMessageContainer::add_message() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStreamMessageContainer.message) +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::StreamMessage >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& ClubStreamMessageContainer::message() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) return message_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* ClubStreamMessageContainer::mutable_message() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) return &message_; } @@ -2916,7 +2917,7 @@ inline void ContentChain::clear_content() { clear_has_content(); } inline const ::std::string& ContentChain::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.content) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.content) return *content_; } inline void ContentChain::set_content(const ::std::string& value) { @@ -2925,7 +2926,7 @@ inline void ContentChain::set_content(const ::std::string& value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ContentChain.content) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.content) } inline void ContentChain::set_content(const char* value) { set_has_content(); @@ -2933,7 +2934,7 @@ inline void ContentChain::set_content(const char* value) { content_ = new ::std::string; } content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ContentChain.content) + // @@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(); @@ -2941,14 +2942,14 @@ inline void ContentChain::set_content(const char* value, size_t size) { content_ = new ::std::string; } content_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ContentChain.content) + // @@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.ContentChain.content) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.content) return content_; } inline ::std::string* ContentChain::release_content() { @@ -2972,7 +2973,7 @@ inline void ContentChain::set_allocated_content(::std::string* content) { clear_has_content(); content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.content) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.content) } // repeated .bgs.protocol.EmbedInfo embed = 6; @@ -2983,29 +2984,29 @@ 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) + // @@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.ContentChain.embed) + // @@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.ContentChain.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.ContentChain.embed) + // @@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.ContentChain.embed) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ContentChain.embed) return &embed_; } -// optional .bgs.protocol.club.v1.MentionContent mention = 7; +// optional .bgs.protocol.club.v1.client.MentionContent mention = 7; inline bool ContentChain::has_mention() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -3016,26 +3017,26 @@ 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(); + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::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) +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::MentionContent* ContentChain::mutable_mention() { +inline ::bgs::protocol::club::v1::client::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) + 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::MentionContent* ContentChain::release_mention() { +inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::release_mention() { clear_has_mention(); - ::bgs::protocol::club::v1::MentionContent* temp = mention_; + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; mention_ = NULL; return temp; } -inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention) { +inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { delete mention_; mention_ = mention; if (mention) { @@ -3043,7 +3044,7 @@ inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::Menti } else { clear_has_mention(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.mention) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.mention) } // optional uint64 edit_time = 8; @@ -3061,13 +3062,13 @@ inline void ContentChain::clear_edit_time() { clear_has_edit_time(); } inline ::google::protobuf::uint64 ContentChain::edit_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.edit_time) + // @@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.ContentChain.edit_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.edit_time) } // ------------------------------------------------------------------- @@ -3089,13 +3090,13 @@ inline void StreamMessage::clear_id() { clear_has_id(); } inline const ::bgs::protocol::MessageId& StreamMessage::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.id) + // @@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.StreamMessage.id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.id) return id_; } inline ::bgs::protocol::MessageId* StreamMessage::release_id() { @@ -3112,10 +3113,10 @@ inline void StreamMessage::set_allocated_id(::bgs::protocol::MessageId* id) { } else { clear_has_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.id) } -// optional .bgs.protocol.club.v1.MemberDescription author = 4; +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; inline bool StreamMessage::has_author() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -3126,26 +3127,26 @@ 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(); + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* StreamMessage::mutable_author() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* StreamMessage::release_author() { +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_author() { clear_has_author(); - ::bgs::protocol::club::v1::MemberDescription* temp = author_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; author_ = NULL; return temp; } -inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author) { +inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { delete author_; author_ = author; if (author) { @@ -3153,40 +3154,40 @@ inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::Membe } else { clear_has_author(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.author) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.author) } -// repeated .bgs.protocol.club.v1.ContentChain content_chain = 6; +// 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::ContentChain& StreamMessage::content_chain(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.content_chain) +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::ContentChain* StreamMessage::mutable_content_chain(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.content_chain) +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::ContentChain* StreamMessage::add_content_chain() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamMessage.content_chain) +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::ContentChain >& +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >& StreamMessage::content_chain() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamMessage.content_chain) + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) return content_chain_; } -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >* +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* StreamMessage::mutable_content_chain() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamMessage.content_chain) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) return &content_chain_; } -// optional .bgs.protocol.club.v1.MemberDescription destroyer = 15; +// optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15; inline bool StreamMessage::has_destroyer() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -3197,26 +3198,26 @@ 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(); + if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* StreamMessage::mutable_destroyer() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* StreamMessage::release_destroyer() { +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_destroyer() { clear_has_destroyer(); - ::bgs::protocol::club::v1::MemberDescription* temp = destroyer_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = destroyer_; destroyer_ = NULL; return temp; } -inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::MemberDescription* destroyer) { +inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer) { delete destroyer_; destroyer_ = destroyer; if (destroyer) { @@ -3224,7 +3225,7 @@ inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::Me } else { clear_has_destroyer(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.destroyer) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.destroyer) } // optional bool destroyed = 16; @@ -3242,13 +3243,13 @@ inline void StreamMessage::clear_destroyed() { clear_has_destroyed(); } inline bool StreamMessage::destroyed() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroyed) + // @@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.StreamMessage.destroyed) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroyed) } // optional uint64 destroy_time = 17; @@ -3266,13 +3267,13 @@ inline void StreamMessage::clear_destroy_time() { clear_has_destroy_time(); } inline ::google::protobuf::uint64 StreamMessage::destroy_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroy_time) + // @@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.StreamMessage.destroy_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroy_time) } // ------------------------------------------------------------------- @@ -3294,13 +3295,13 @@ inline void StreamMention::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamMention::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_id) + // @@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.StreamMention.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.club_id) } // optional uint64 stream_id = 2; @@ -3318,13 +3319,13 @@ inline void StreamMention::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamMention::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.stream_id) + // @@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.StreamMention.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.stream_id) } // optional .bgs.protocol.MessageId message_id = 3; @@ -3342,13 +3343,13 @@ inline void StreamMention::clear_message_id() { 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) + // @@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.StreamMention.message_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message_id) return message_id_; } inline ::bgs::protocol::MessageId* StreamMention::release_message_id() { @@ -3365,10 +3366,10 @@ inline void StreamMention::set_allocated_message_id(::bgs::protocol::MessageId* } else { clear_has_message_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message_id) } -// optional .bgs.protocol.club.v1.MemberDescription author = 4; +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; inline bool StreamMention::has_author() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -3379,26 +3380,26 @@ 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(); + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::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) +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::MemberDescription* StreamMention::mutable_author() { +inline ::bgs::protocol::club::v1::client::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) + 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::MemberDescription* StreamMention::release_author() { +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::release_author() { clear_has_author(); - ::bgs::protocol::club::v1::MemberDescription* temp = author_; + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; author_ = NULL; return temp; } -inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author) { +inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { delete author_; author_ = author; if (author) { @@ -3406,7 +3407,7 @@ inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::Membe } else { clear_has_author(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.author) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.author) } // optional bool destroyed = 5; @@ -3424,13 +3425,13 @@ inline void StreamMention::clear_destroyed() { clear_has_destroyed(); } inline bool StreamMention::destroyed() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.destroyed) + // @@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.StreamMention.destroyed) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.destroyed) } // optional .bgs.protocol.TimeSeriesId mention_id = 6; @@ -3448,13 +3449,13 @@ inline void StreamMention::clear_mention_id() { 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) + // @@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.StreamMention.mention_id) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.mention_id) return mention_id_; } inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() { @@ -3471,7 +3472,7 @@ inline void StreamMention::set_allocated_mention_id(::bgs::protocol::TimeSeriesI } else { clear_has_mention_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.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; @@ -3489,13 +3490,13 @@ inline void StreamMention::clear_member_id() { 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) + // @@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.StreamMention.member_id) + // @@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() { @@ -3512,10 +3513,10 @@ inline void StreamMention::set_allocated_member_id(::bgs::protocol::club::v1::Me } else { clear_has_member_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.member_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.member_id) } -// optional .bgs.protocol.club.v1.StreamMessage message = 8; +// optional .bgs.protocol.club.v1.client.StreamMessage message = 8; inline bool StreamMention::has_message() const { return (_has_bits_[0] & 0x00000080u) != 0; } @@ -3526,26 +3527,26 @@ 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(); + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::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) +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::StreamMessage* StreamMention::mutable_message() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamMessage* StreamMention::release_message() { +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::release_message() { clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; message_ = NULL; return temp; } -inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { +inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { delete message_; message_ = message; if (message) { @@ -3553,7 +3554,7 @@ inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::Stre } else { clear_has_message(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message) } // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; @@ -3571,13 +3572,13 @@ inline void StreamMention::clear_club_type() { 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) + // @@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.StreamMention.club_type) + // @@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() { @@ -3594,7 +3595,7 @@ inline void StreamMention::set_allocated_club_type(::bgs::protocol::club::v1::Un } else { clear_has_club_type(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.club_type) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.club_type) } // ------------------------------------------------------------------- @@ -3616,13 +3617,13 @@ inline void StreamView::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.club_id) + // @@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.StreamView.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.club_id) } // optional uint64 stream_id = 2; @@ -3640,13 +3641,13 @@ inline void StreamView::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamView::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.stream_id) + // @@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.StreamView.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.stream_id) } // optional .bgs.protocol.ViewMarker marker = 3; @@ -3664,13 +3665,13 @@ inline void StreamView::clear_marker() { clear_has_marker(); } inline const ::bgs::protocol::ViewMarker& StreamView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.marker) + // @@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.StreamView.marker) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamView.marker) return marker_; } inline ::bgs::protocol::ViewMarker* StreamView::release_marker() { @@ -3687,7 +3688,7 @@ inline void StreamView::set_allocated_marker(::bgs::protocol::ViewMarker* marker } else { clear_has_marker(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamView.marker) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamView.marker) } // ------------------------------------------------------------------- @@ -3709,13 +3710,13 @@ inline void StreamAdvanceViewTime::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamAdvanceViewTime::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.stream_id) + // @@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.StreamAdvanceViewTime.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id) } // optional uint64 view_time = 2; @@ -3733,13 +3734,13 @@ inline void StreamAdvanceViewTime::clear_view_time() { clear_has_view_time(); } inline ::google::protobuf::uint64 StreamAdvanceViewTime::view_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.view_time) + // @@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.StreamAdvanceViewTime.view_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time) } // ------------------------------------------------------------------- @@ -3761,13 +3762,13 @@ inline void StreamEventTime::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamEventTime::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.stream_id) + // @@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.StreamEventTime.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.stream_id) } // optional uint64 event_time = 2; @@ -3785,13 +3786,13 @@ inline void StreamEventTime::clear_event_time() { clear_has_event_time(); } inline ::google::protobuf::uint64 StreamEventTime::event_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.event_time) + // @@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.StreamEventTime.event_time) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.event_time) } // ------------------------------------------------------------------- @@ -3813,13 +3814,13 @@ inline void StreamMentionView::clear_club_id() { clear_has_club_id(); } inline ::google::protobuf::uint64 StreamMentionView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.club_id) + // @@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.StreamMentionView.club_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.club_id) } // optional uint64 stream_id = 2; @@ -3837,13 +3838,13 @@ inline void StreamMentionView::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamMentionView::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.stream_id) + // @@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.StreamMentionView.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.stream_id) } // optional .bgs.protocol.ViewMarker marker = 3; @@ -3861,13 +3862,13 @@ inline void StreamMentionView::clear_marker() { clear_has_marker(); } inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.marker) + // @@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.StreamMentionView.marker) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMentionView.marker) return marker_; } inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() { @@ -3884,7 +3885,7 @@ inline void StreamMentionView::set_allocated_marker(::bgs::protocol::ViewMarker* } else { clear_has_marker(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMentionView.marker) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMentionView.marker) } // ------------------------------------------------------------------- @@ -3899,25 +3900,25 @@ 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) + // @@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.StreamStateOptions.attribute) + // @@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.StreamStateOptions.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.StreamStateOptions.attribute) + // @@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.StreamStateOptions.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute) return &attribute_; } @@ -3938,7 +3939,7 @@ inline void StreamStateOptions::clear_name() { clear_has_name(); } inline const ::std::string& StreamStateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.name) return *name_; } inline void StreamStateOptions::set_name(const ::std::string& value) { @@ -3947,7 +3948,7 @@ inline void StreamStateOptions::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.name) } inline void StreamStateOptions::set_name(const char* value) { set_has_name(); @@ -3955,7 +3956,7 @@ inline void StreamStateOptions::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.name) + // @@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(); @@ -3963,14 +3964,14 @@ inline void StreamStateOptions::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.name) + // @@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.StreamStateOptions.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.name) return name_; } inline ::std::string* StreamStateOptions::release_name() { @@ -3994,7 +3995,7 @@ inline void StreamStateOptions::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.name) } // optional string subject = 3; @@ -4014,7 +4015,7 @@ inline void StreamStateOptions::clear_subject() { clear_has_subject(); } inline const ::std::string& StreamStateOptions::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.subject) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.subject) return *subject_; } inline void StreamStateOptions::set_subject(const ::std::string& value) { @@ -4023,7 +4024,7 @@ inline void StreamStateOptions::set_subject(const ::std::string& value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.subject) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.subject) } inline void StreamStateOptions::set_subject(const char* value) { set_has_subject(); @@ -4031,7 +4032,7 @@ inline void StreamStateOptions::set_subject(const char* value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.subject) + // @@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(); @@ -4039,14 +4040,14 @@ inline void StreamStateOptions::set_subject(const char* value, size_t size) { subject_ = new ::std::string; } subject_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.subject) + // @@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.StreamStateOptions.subject) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.subject) return subject_; } inline ::std::string* StreamStateOptions::release_subject() { @@ -4070,10 +4071,10 @@ inline void StreamStateOptions::set_allocated_subject(::std::string* subject) { clear_has_subject(); subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.subject) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.subject) } -// optional .bgs.protocol.club.v1.StreamAccess access = 4; +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; inline bool StreamStateOptions::has_access() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -4084,26 +4085,26 @@ 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(); + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::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) +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::StreamAccess* StreamStateOptions::mutable_access() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamAccess* StreamStateOptions::release_access() { +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::release_access() { clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; access_ = NULL; return temp; } -inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { +inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { delete access_; access_ = access; if (access) { @@ -4111,10 +4112,10 @@ inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1:: } else { clear_has_access(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.access) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.access) } -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; inline bool StreamStateOptions::has_voice_level() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -4128,15 +4129,15 @@ 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 ::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::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); +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.StreamStateOptions.voice_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.voice_level) } // ------------------------------------------------------------------- @@ -4158,13 +4159,13 @@ inline void StreamStateAssignment::clear_stream_id() { clear_has_stream_id(); } inline ::google::protobuf::uint64 StreamStateAssignment::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.stream_id) + // @@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.StreamStateAssignment.stream_id) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id) } // repeated .bgs.protocol.v2.Attribute attribute = 2; @@ -4175,25 +4176,25 @@ 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) + // @@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.StreamStateAssignment.attribute) + // @@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.StreamStateAssignment.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.StreamStateAssignment.attribute) + // @@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.StreamStateAssignment.attribute) + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) return &attribute_; } @@ -4214,7 +4215,7 @@ inline void StreamStateAssignment::clear_name() { clear_has_name(); } inline const ::std::string& StreamStateAssignment::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.name) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.name) return *name_; } inline void StreamStateAssignment::set_name(const ::std::string& value) { @@ -4223,7 +4224,7 @@ inline void StreamStateAssignment::set_name(const ::std::string& value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.name) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.name) } inline void StreamStateAssignment::set_name(const char* value) { set_has_name(); @@ -4231,7 +4232,7 @@ inline void StreamStateAssignment::set_name(const char* value) { name_ = new ::std::string; } name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.name) + // @@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(); @@ -4239,14 +4240,14 @@ inline void StreamStateAssignment::set_name(const char* value, size_t size) { name_ = new ::std::string; } name_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.name) + // @@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.StreamStateAssignment.name) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.name) return name_; } inline ::std::string* StreamStateAssignment::release_name() { @@ -4270,7 +4271,7 @@ inline void StreamStateAssignment::set_allocated_name(::std::string* name) { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.name) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.name) } // optional string subject = 4; @@ -4290,7 +4291,7 @@ inline void StreamStateAssignment::clear_subject() { clear_has_subject(); } inline const ::std::string& StreamStateAssignment::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.subject) + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.subject) return *subject_; } inline void StreamStateAssignment::set_subject(const ::std::string& value) { @@ -4299,7 +4300,7 @@ inline void StreamStateAssignment::set_subject(const ::std::string& value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.subject) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.subject) } inline void StreamStateAssignment::set_subject(const char* value) { set_has_subject(); @@ -4307,7 +4308,7 @@ inline void StreamStateAssignment::set_subject(const char* value) { subject_ = new ::std::string; } subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.subject) + // @@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(); @@ -4315,14 +4316,14 @@ inline void StreamStateAssignment::set_subject(const char* value, size_t size) { subject_ = new ::std::string; } subject_->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.subject) + // @@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.StreamStateAssignment.subject) + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.subject) return subject_; } inline ::std::string* StreamStateAssignment::release_subject() { @@ -4346,10 +4347,10 @@ inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) clear_has_subject(); subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.subject) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.subject) } -// optional .bgs.protocol.club.v1.StreamAccess access = 5; +// optional .bgs.protocol.club.v1.client.StreamAccess access = 5; inline bool StreamStateAssignment::has_access() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -4360,26 +4361,26 @@ 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(); + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::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) +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::StreamAccess* StreamStateAssignment::mutable_access() { +inline ::bgs::protocol::club::v1::client::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) + 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::StreamAccess* StreamStateAssignment::release_access() { +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::release_access() { clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; access_ = NULL; return temp; } -inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { +inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { delete access_; access_ = access; if (access) { @@ -4387,7 +4388,7 @@ inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v } else { clear_has_access(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.access) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.access) } // optional bool stream_subscription_removed = 6; @@ -4405,16 +4406,16 @@ inline void StreamStateAssignment::clear_stream_subscription_removed() { 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) + // @@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.StreamStateAssignment.stream_subscription_removed) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed) } -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; inline bool StreamStateAssignment::has_voice_level() const { return (_has_bits_[0] & 0x00000040u) != 0; } @@ -4428,15 +4429,15 @@ 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 ::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::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); +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.StreamStateAssignment.voice_level) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level) } // ------------------------------------------------------------------- @@ -4458,13 +4459,13 @@ inline void StreamTypingIndicator::clear_author_id() { 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) + // @@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.StreamTypingIndicator.author_id) + // @@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() { @@ -4481,7 +4482,7 @@ inline void StreamTypingIndicator::set_allocated_author_id(::bgs::protocol::club } else { clear_has_author_id(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamTypingIndicator.author_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) } // optional .bgs.protocol.TypingIndicator indicator = 2; @@ -4499,14 +4500,14 @@ inline void StreamTypingIndicator::clear_indicator() { clear_has_indicator(); } inline ::bgs::protocol::TypingIndicator StreamTypingIndicator::indicator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.indicator) + // @@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.StreamTypingIndicator.indicator) + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator) } // optional uint64 epoch = 3; @@ -4524,17 +4525,18 @@ inline void StreamTypingIndicator::clear_epoch() { clear_has_epoch(); } inline ::google::protobuf::uint64 StreamTypingIndicator::epoch() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.epoch) + // @@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.StreamTypingIndicator.epoch) + // @@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 @@ -4549,4 +4551,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fstream_2eproto__INCLUDED +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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/club_types.pb.h b/src/server/proto/Client/api/client/v1/club_types.pb.h index babc660a81c..9ad78486e2b 100644 --- a/src/server/proto/Client/club_types.pb.h +++ b/src/server/proto/Client/api/client/v1/club_types.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_types.proto +// source: api/client/v1/club_types.proto -#ifndef PROTOBUF_club_5ftypes_2eproto__INCLUDED -#define PROTOBUF_club_5ftypes_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED #include <string> @@ -22,19 +22,21 @@ #include <google/protobuf/generated_message_util.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#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 "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 @@ -49,11 +51,12 @@ namespace bgs { namespace protocol { namespace club { namespace v1 { +namespace client { // 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(); +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(); // =================================================================== @@ -64,6 +67,7 @@ void protobuf_ShutdownFile_club_5ftypes_2eproto(); // =================================================================== // @@protoc_insertion_point(namespace_scope) +} // namespace client } // namespace v1 } // namespace club } // namespace protocol @@ -78,4 +82,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5ftypes_2eproto__INCLUDED +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#include "api/client/v2/notification_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include <functional> +#include <type_traits> +// @@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<uint32, 0xF8E1EB98u> OriginalHash; + typedef std::integral_constant<uint32, 0xBC7B33AFu> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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<const char*>(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<const char*>(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 <google/protobuf/extension_set.h> #include <google/protobuf/generated_enum_reflection.h> #include <google/protobuf/unknown_field_set.h> -#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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 <functional> +#include <type_traits> +// @@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<uint32, 0x62615E21u> OriginalHash; + typedef std::integral_constant<uint32, 0x2A6F55F4u> 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<const char*>(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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +#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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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 <functional> +#include <type_traits> +// @@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<uint32, 0xFEE1AA14u> OriginalHash; + typedef std::integral_constant<uint32, 0xB5C9D257u> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::whisper::v2::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleGetWhisperHistory(::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest const* request, ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSendWhisper(::bgs::protocol::whisper::v2::client::SendWhisperRequest const* request, ::bgs::protocol::whisper::v2::client::SendWhisperResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/generated_enum_reflection.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_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>( + 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>( + 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>( + 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/club_member_id.pb.cc b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc index e00da71ba84..6b02d270c97 100644 --- a/src/server/proto/Client/club_member_id.pb.cc +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member_id.proto +// source: api/common/v1/club_member_id.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_member_id.pb.h" +#include "api/common/v1/club_member_id.pb.h" #include <utility> @@ -29,16 +29,17 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5fmember_5fid_2eproto() { - protobuf_AddDesc_club_5fmember_5fid_2eproto(); +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( - "club_member_id.proto"); + "api/common/v1/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_), + 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( @@ -58,7 +59,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmember_5fid_2eproto); + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -69,12 +70,12 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5fmember_5fid_2eproto() { +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { delete MemberId::default_instance_; delete MemberId_reflection_; } -void protobuf_AddDesc_club_5fmember_5fid_2eproto() { +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; @@ -84,30 +85,32 @@ void protobuf_AddDesc_club_5fmember_5fid_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); + "\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( - "club_member_id.proto", &protobuf_RegisterTypes); + "api/common/v1/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); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_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(); +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_club_5fmember_5fid_2eproto_; +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto_; // =================================================================== #ifndef _MSC_VER -const int MemberId::kAccountIdFieldNumber; +const int MemberId::kAccountIdDeprecatedFieldNumber; const int MemberId::kUniqueIdFieldNumber; +const int MemberId::kAccountIdFieldNumber; #endif // !_MSC_VER MemberId::MemberId() @@ -117,7 +120,7 @@ MemberId::MemberId() } void MemberId::InitAsDefaultInstance() { - account_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + account_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); } MemberId::MemberId(const MemberId& from) @@ -129,8 +132,9 @@ MemberId::MemberId(const MemberId& from) void MemberId::SharedCtor() { _cached_size_ = 0; - account_id_ = NULL; + account_id_deprecated_ = NULL; unique_id_ = GOOGLE_ULONGLONG(0); + account_id_ = GOOGLE_ULONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -141,7 +145,7 @@ MemberId::~MemberId() { void MemberId::SharedDtor() { if (this != default_instance_) { - delete account_id_; + delete account_id_deprecated_; } } @@ -156,7 +160,7 @@ const ::google::protobuf::Descriptor* MemberId::descriptor() { } const MemberId& MemberId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_5fid_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); return *default_instance_; } diff --git a/src/server/proto/Client/club_member_id.pb.h b/src/server/proto/Client/api/common/v1/club_member_id.pb.h index ad9700ea0d0..150aac7c393 100644 --- a/src/server/proto/Client/club_member_id.pb.h +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member_id.proto +// source: api/common/v1/club_member_id.proto -#ifndef PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED -#define PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED #include <string> @@ -36,9 +36,9 @@ 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(); +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; @@ -84,14 +84,14 @@ class TC_PROTO_API MemberId : public ::google::protobuf::Message { // 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 .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; @@ -100,22 +100,32 @@ class TC_PROTO_API MemberId : public ::google::protobuf::Message { 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(); - inline void clear_has_account_id(); + 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_; + ::bgs::protocol::account::v1::AccountId* account_id_deprecated_; ::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(); + ::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_; @@ -128,45 +138,45 @@ class TC_PROTO_API MemberId : public ::google::protobuf::Message { // MemberId -// optional .bgs.protocol.account.v1.AccountId account_id = 1; -inline bool MemberId::has_account_id() const { +// 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() { +inline void MemberId::set_has_account_id_deprecated() { _has_bits_[0] |= 0x00000001u; } -inline void MemberId::clear_has_account_id() { +inline void MemberId::clear_has_account_id_deprecated() { _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 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() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id) - return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; +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() { - 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::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() { - clear_has_account_id(); - ::bgs::protocol::account::v1::AccountId* temp = account_id_; - account_id_ = NULL; +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(::bgs::protocol::account::v1::AccountId* account_id) { - delete account_id_; - account_id_ = account_id; - if (account_id) { - set_has_account_id(); +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(); + clear_has_account_id_deprecated(); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id_deprecated) } // optional uint64 unique_id = 2; @@ -193,6 +203,30 @@ inline void MemberId::set_unique_id(::google::protobuf::uint64 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 @@ -209,4 +243,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_tag.pb.cc b/src/server/proto/Client/api/common/v1/club_tag.pb.cc index d0194082859..a651868269a 100644 --- a/src/server/proto/Client/club_tag.pb.cc +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_tag.proto +// source: api/common/v1/club_tag.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_tag.pb.h" +#include "api/common/v1/club_tag.pb.h" #include <utility> @@ -37,11 +37,11 @@ const ::google::protobuf::EnumDescriptor* TagType_descriptor_ = NULL; } // namespace -void protobuf_AssignDesc_club_5ftag_2eproto() { - protobuf_AddDesc_club_5ftag_2eproto(); +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( - "club_tag.proto"); + "api/common/v1/club_tag.proto"); GOOGLE_CHECK(file != NULL); TagOptions_descriptor_ = file->message_type(0); static const int TagOptions_offsets_[2] = { @@ -101,7 +101,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5ftag_2eproto); + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -116,7 +116,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5ftag_2eproto() { +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { delete TagOptions::default_instance_; delete TagOptions_reflection_; delete TagIdentifier::default_instance_; @@ -125,7 +125,7 @@ void protobuf_ShutdownFile_club_5ftag_2eproto() { delete LocalizedTag_reflection_; } -void protobuf_AddDesc_club_5ftag_2eproto() { +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; @@ -133,35 +133,36 @@ void protobuf_AddDesc_club_5ftag_2eproto() { ::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); + "\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( - "club_tag.proto", &protobuf_RegisterTypes); + "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_club_5ftag_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_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(); +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_club_5ftag_2eproto_; +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto_; const ::google::protobuf::EnumDescriptor* TagAction_descriptor() { protobuf_AssignDescriptorsOnce(); return TagAction_descriptor_; @@ -242,7 +243,7 @@ const ::google::protobuf::Descriptor* TagOptions::descriptor() { } const TagOptions& TagOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); return *default_instance_; } @@ -316,7 +317,7 @@ const ::google::protobuf::Descriptor* TagIdentifier::descriptor() { } const TagIdentifier& TagIdentifier::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); return *default_instance_; } @@ -401,7 +402,7 @@ const ::google::protobuf::Descriptor* LocalizedTag::descriptor() { } const LocalizedTag& LocalizedTag::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); return *default_instance_; } diff --git a/src/server/proto/Client/club_tag.pb.h b/src/server/proto/Client/api/common/v1/club_tag.pb.h index 1795e6bdd3f..ff1921aa476 100644 --- a/src/server/proto/Client/club_tag.pb.h +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_tag.proto +// source: api/common/v1/club_tag.proto -#ifndef PROTOBUF_club_5ftag_2eproto__INCLUDED -#define PROTOBUF_club_5ftag_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED #include <string> @@ -35,9 +35,9 @@ 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(); +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; @@ -155,9 +155,9 @@ class TC_PROTO_API TagOptions : public ::google::protobuf::Message { 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(); + 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_; @@ -231,9 +231,9 @@ class TC_PROTO_API TagIdentifier : public ::google::protobuf::Message { 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(); + 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_; @@ -329,9 +329,9 @@ class TC_PROTO_API LocalizedTag : public ::google::protobuf::Message { ::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(); + 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_; @@ -673,4 +673,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagTy // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5ftag_2eproto__INCLUDED +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_type.pb.cc b/src/server/proto/Client/api/common/v1/club_type.pb.cc index 79fe50bd39d..5ee6c0eef57 100644 --- a/src/server/proto/Client/club_type.pb.cc +++ b/src/server/proto/Client/api/common/v1/club_type.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_type.proto +// source: api/common/v1/club_type.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_type.pb.h" +#include "api/common/v1/club_type.pb.h" #include <utility> @@ -29,11 +29,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection* } // namespace -void protobuf_AssignDesc_club_5ftype_2eproto() { - protobuf_AddDesc_club_5ftype_2eproto(); +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( - "club_type.proto"); + "api/common/v1/club_type.proto"); GOOGLE_CHECK(file != NULL); UniqueClubType_descriptor_ = file->message_type(0); static const int UniqueClubType_offsets_[2] = { @@ -58,7 +58,7 @@ namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5ftype_2eproto); + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -69,34 +69,34 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_club_5ftype_2eproto() { +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { delete UniqueClubType::default_instance_; delete UniqueClubType_reflection_; } -void protobuf_AddDesc_club_5ftype_2eproto() { +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\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); + "\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( - "club_type.proto", &protobuf_RegisterTypes); + "api/common/v1/club_type.proto", &protobuf_RegisterTypes); UniqueClubType::default_instance_ = new UniqueClubType(); UniqueClubType::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftype_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_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(); +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_club_5ftype_2eproto_; +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -152,7 +152,7 @@ const ::google::protobuf::Descriptor* UniqueClubType::descriptor() { } const UniqueClubType& UniqueClubType::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftype_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); return *default_instance_; } diff --git a/src/server/proto/Client/club_type.pb.h b/src/server/proto/Client/api/common/v1/club_type.pb.h index 36aa28ebd30..9c9fd29dcf2 100644 --- a/src/server/proto/Client/club_type.pb.h +++ b/src/server/proto/Client/api/common/v1/club_type.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_type.proto +// source: api/common/v1/club_type.proto -#ifndef PROTOBUF_club_5ftype_2eproto__INCLUDED -#define PROTOBUF_club_5ftype_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED #include <string> @@ -33,9 +33,9 @@ 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(); +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; @@ -113,9 +113,9 @@ class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message { 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(); + 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_; @@ -244,4 +244,4 @@ namespace protobuf { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_club_5ftype_2eproto__INCLUDED +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.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_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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/generated_enum_reflection.h> +#include <google/protobuf/unknown_field_set.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_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>( + 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/generated_enum_reflection.h> +#include <google/protobuf/unknown_field_set.h> +#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>( + 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>( + 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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/generated_enum_reflection.h> +#include <google/protobuf/unknown_field_set.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_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>( + 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>( + 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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/generated_enum_reflection.h> +#include <google/protobuf/unknown_field_set.h> +#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>( + 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>( + 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>( + 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<const char*>(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<const char*>(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<const char*>(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/client/v2/attribute_types.pb.cc b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc index b0c4fc4e402..0ae2579ea56 100644 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.cc +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto +// source: api/common/v2/attribute_types.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "api/client/v2/attribute_types.pb.h" +#include "api/common/v2/attribute_types.pb.h" #include <utility> @@ -43,11 +43,11 @@ const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor_ } // namespace -void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); +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/client/v2/attribute_types.proto"); + "api/common/v2/attribute_types.proto"); GOOGLE_CHECK(file != NULL); Variant_descriptor_ = file->message_type(0); static const int Variant_offsets_[7] = { @@ -112,7 +112,7 @@ 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); + &protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { @@ -127,7 +127,7 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace -void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { delete Variant::default_instance_; delete Variant_default_oneof_instance_; delete Variant_reflection_; @@ -137,14 +137,14 @@ void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { delete AttributeFilter_reflection_; } -void protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { +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/client/v2/attribute_types.proto\022\017b" + "\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" @@ -158,7 +158,7 @@ void protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { "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); + "api/common/v2/attribute_types.proto", &protobuf_RegisterTypes); Variant::default_instance_ = new Variant(); Variant_default_oneof_instance_ = new VariantOneofInstance; Attribute::default_instance_ = new Attribute(); @@ -166,15 +166,15 @@ void protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { Variant::default_instance_->InitAsDefaultInstance(); Attribute::default_instance_->InitAsDefaultInstance(); AttributeFilter::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_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(); +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_2fclient_2fv2_2fattribute_5ftypes_2eproto_; +} static_descriptor_initializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto_; // =================================================================== #ifndef _MSC_VER @@ -239,7 +239,7 @@ const ::google::protobuf::Descriptor* Variant::descriptor() { } const Variant& Variant::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); return *default_instance_; } @@ -352,7 +352,7 @@ const ::google::protobuf::Descriptor* Attribute::descriptor() { } const Attribute& Attribute::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); return *default_instance_; } @@ -450,7 +450,7 @@ const ::google::protobuf::Descriptor* AttributeFilter::descriptor() { } const AttributeFilter& AttributeFilter::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); return *default_instance_; } diff --git a/src/server/proto/Client/api/client/v2/attribute_types.pb.h b/src/server/proto/Client/api/common/v2/attribute_types.pb.h index 80e1bdb5f0c..e9fdd54a2b3 100644 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.h +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto +// source: api/common/v2/attribute_types.proto -#ifndef PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED -#define PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED +#ifndef PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED #include <string> @@ -33,9 +33,9 @@ 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(); +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; @@ -194,9 +194,9 @@ class TC_PROTO_API Variant : public ::google::protobuf::Message { } 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(); + 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_; @@ -277,9 +277,9 @@ class TC_PROTO_API Attribute : public ::google::protobuf::Message { 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(); + 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_; @@ -382,9 +382,9 @@ class TC_PROTO_API AttributeFilter : public ::google::protobuf::Message { 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(); + 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_; @@ -854,4 +854,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFi // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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 <utility> + +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/once.h> +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@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 <string> + +#include <google/protobuf/stubs/common.h> + +#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 <google/protobuf/generated_message_util.h> +#include <google/protobuf/message.h> +#include <google/protobuf/repeated_field.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/unknown_field_set.h> +#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<const char*>(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<const char*>(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<const char*>(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/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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -// @@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_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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -#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 <string> - -#include <google/protobuf/stubs/common.h> - -#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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.h> -#include "club_notification.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include <functional> -#include <type_traits> -// @@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<uint32, 0x80909D73u> OriginalHash; - typedef std::integral_constant<uint32, 0x40BE3344u> 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_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_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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -// @@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/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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include <google/protobuf/unknown_field_set.h> +#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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> +#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>( - 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<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) + ciid_->assign(reinterpret_cast<const char*>(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<const char*>(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 <google/protobuf/wire_format.h> // @@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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> -#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>( - 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>( - 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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> +#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>( - 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 <google/protobuf/unknown_field_set.h> #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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -#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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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 <string> - -#include <google/protobuf/stubs/common.h> - -#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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/unknown_field_set.h> -#include "account_types.pb.h" -#include "report_types.pb.h" -#include "rpc_types.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include <functional> -#include <type_traits> -// @@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<uint32, 0x7CAF61C9u> OriginalHash; - typedef std::integral_constant<uint32, 0x724F5F47u> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleSubmitReport(::bgs::protocol::report::v1::SubmitReportRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& 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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -// @@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 <string> - -#include <google/protobuf/stubs/common.h> - -#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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> -#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>( - 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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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<const char*>(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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -#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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> 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 <string> - -#include <google/protobuf/stubs/common.h> - -#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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/unknown_field_set.h> -#include "user_manager_types.pb.h" -#include "entity_types.pb.h" -#include "rpc_types.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include <functional> -#include <type_traits> -// @@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<uint32, 0x3E19268Au> OriginalHash; - typedef std::integral_constant<uint32, 0x8EE5694Eu> 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<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleAddRecentPlayers(::bgs::protocol::user_manager::v1::AddRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleClearRecentPlayers(::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleBlockPlayer(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnblockPlayer(::bgs::protocol::user_manager::v1::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::user_manager::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& 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<uint32, 0xBC872C22u> OriginalHash; - typedef std::integral_constant<uint32, 0xB3426BB3u> 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 <utility> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -// @@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 <string> - -#include <google/protobuf/stubs/common.h> - -#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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/unknown_field_set.h> -#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<const char*>(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<const char*>(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 <google/protobuf/wire_format.h> // @@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 <google/protobuf/generated_message_util.h> -#include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> #include <google/protobuf/extension_set.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> +#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>( - 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>( - 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>( - 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<const char*>(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<const char*>(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<const char*>(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 <http://www.gnu.org/licenses/>. */ -#include "club_types.pb.h" +#include "api/client/v1/club_types.pb.h" #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/wire_format_lite_inl.h> |