From df5bc87eb4e80dac2d357f34d53e5d5d9957a902 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 27 Jul 2024 00:20:04 +0200 Subject: Core/Proto: Updated protobuf messages and services for 11.0.2 (cherry picked from commit d4f4cdc23869a92715e65e273d49d0b36b44f035) --- .../Client/api/client/v1/block_list_listener.pb.cc | 328 + .../Client/api/client/v1/block_list_listener.pb.h | 367 + .../Client/api/client/v1/block_list_service.pb.cc | 951 ++ .../Client/api/client/v1/block_list_service.pb.h | 743 + .../Client/api/client/v1/block_list_types.pb.cc | 585 + .../Client/api/client/v1/block_list_types.pb.h | 707 + .../proto/Client/api/client/v1/channel_types.pb.cc | 1132 ++ .../proto/Client/api/client/v1/channel_types.pb.h | 2362 +++ .../proto/Client/api/client/v1/club_ban.pb.cc | 326 + .../proto/Client/api/client/v1/club_ban.pb.h | 740 + .../proto/Client/api/client/v1/club_core.pb.cc | 1543 ++ .../proto/Client/api/client/v1/club_core.pb.h | 5193 +++++++ .../proto/Client/api/client/v1/club_enum.pb.cc | 209 + .../proto/Client/api/client/v1/club_enum.pb.h | 217 + .../Client/api/client/v1/club_invitation.pb.cc | 937 ++ .../Client/api/client/v1/club_invitation.pb.h | 2269 +++ .../proto/Client/api/client/v1/club_listener.pb.cc | 273 + .../proto/Client/api/client/v1/club_listener.pb.h | 109 + .../proto/Client/api/client/v1/club_listener.proto | 121 + .../proto/Client/api/client/v1/club_member.pb.cc | 1745 +++ .../proto/Client/api/client/v1/club_member.pb.h | 3440 +++++ .../api/client/v1/club_membership_listener.pb.cc | 1050 ++ .../api/client/v1/club_membership_listener.pb.h | 1601 ++ .../api/client/v1/club_membership_service.pb.cc | 1340 ++ .../api/client/v1/club_membership_service.pb.h | 1559 ++ .../api/client/v1/club_membership_types.pb.cc | 1015 ++ .../api/client/v1/club_membership_types.pb.h | 1310 ++ .../Client/api/client/v1/club_name_generator.pb.cc | 518 + .../Client/api/client/v1/club_name_generator.pb.h | 1017 ++ .../Client/api/client/v1/club_notification.pb.cc | 2417 +++ .../Client/api/client/v1/club_notification.pb.h | 4559 ++++++ .../Client/api/client/v1/club_range_set.pb.cc | 887 ++ .../proto/Client/api/client/v1/club_range_set.pb.h | 1710 +++ .../proto/Client/api/client/v1/club_request.pb.cc | 8939 +++++++++++ .../proto/Client/api/client/v1/club_request.pb.h | 14863 +++++++++++++++++++ .../proto/Client/api/client/v1/club_role.pb.cc | 589 + .../proto/Client/api/client/v1/club_role.pb.h | 2332 +++ .../proto/Client/api/client/v1/club_service.pb.cc | 1528 ++ .../proto/Client/api/client/v1/club_service.pb.h | 201 + .../proto/Client/api/client/v1/club_service.proto | 293 + .../proto/Client/api/client/v1/club_stream.pb.cc | 2108 +++ .../proto/Client/api/client/v1/club_stream.pb.h | 4554 ++++++ .../proto/Client/api/client/v1/club_types.pb.cc | 117 + .../proto/Client/api/client/v1/club_types.pb.h | 85 + .../Client/api/client/v2/attribute_types.pb.cc | 482 - .../Client/api/client/v2/attribute_types.pb.h | 857 -- .../api/client/v2/notification_service.pb.cc | 241 + .../Client/api/client/v2/notification_service.pb.h | 208 + .../Client/api/client/v2/notification_types.pb.cc | 566 + .../Client/api/client/v2/notification_types.pb.h | 1009 ++ .../proto/Client/api/client/v2/report_types.pb.cc | 8 +- .../proto/Client/api/client/v2/report_types.pb.h | 2 +- .../Client/api/client/v2/whisper_listener.pb.cc | 805 + .../Client/api/client/v2/whisper_listener.pb.h | 1209 ++ .../Client/api/client/v2/whisper_service.pb.cc | 1291 ++ .../Client/api/client/v2/whisper_service.pb.h | 1236 ++ .../proto/Client/api/common/v1/club_core.pb.cc | 344 + .../proto/Client/api/common/v1/club_core.pb.h | 949 ++ .../proto/Client/api/common/v1/club_enum.pb.cc | 140 + .../proto/Client/api/common/v1/club_enum.pb.h | 137 + .../Client/api/common/v1/club_member_id.pb.cc | 193 + .../proto/Client/api/common/v1/club_member_id.pb.h | 246 + .../proto/Client/api/common/v1/club_tag.pb.cc | 435 + .../proto/Client/api/common/v1/club_tag.pb.h | 676 + .../proto/Client/api/common/v1/club_type.pb.cc | 185 + .../proto/Client/api/common/v1/club_type.pb.h | 247 + .../proto/Client/api/common/v1/embed_types.pb.cc | 531 + .../proto/Client/api/common/v1/embed_types.pb.h | 1233 ++ .../Client/api/common/v1/event_view_types.pb.cc | 303 + .../Client/api/common/v1/event_view_types.pb.h | 409 + .../Client/api/common/v1/invitation_types.pb.cc | 373 + .../Client/api/common/v1/invitation_types.pb.h | 848 ++ .../proto/Client/api/common/v1/message_types.pb.cc | 212 + .../proto/Client/api/common/v1/message_types.pb.h | 235 + .../proto/Client/api/common/v1/voice_types.pb.cc | 262 + .../proto/Client/api/common/v1/voice_types.pb.h | 539 + .../Client/api/common/v2/attribute_types.pb.cc | 482 + .../Client/api/common/v2/attribute_types.pb.h | 857 ++ .../Client/api/common/v2/game_account_handle.pb.cc | 187 + .../Client/api/common/v2/game_account_handle.pb.h | 225 + .../proto/Client/api/common/v2/whisper_types.pb.cc | 421 + .../proto/Client/api/common/v2/whisper_types.pb.h | 806 + 82 files changed, 96934 insertions(+), 1344 deletions(-) create mode 100644 src/server/proto/Client/api/client/v1/block_list_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/block_list_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/block_list_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/channel_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/channel_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_ban.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_ban.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_core.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_core.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_enum.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_enum.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_invitation.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_invitation.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_listener.proto create mode 100644 src/server/proto/Client/api/client/v1/club_member.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_member.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_name_generator.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_name_generator.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_notification.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_notification.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_range_set.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_range_set.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_request.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_request.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_role.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_role.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_service.proto create mode 100644 src/server/proto/Client/api/client/v1/club_stream.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_stream.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_types.pb.h delete mode 100644 src/server/proto/Client/api/client/v2/attribute_types.pb.cc delete mode 100644 src/server/proto/Client/api/client/v2/attribute_types.pb.h create mode 100644 src/server/proto/Client/api/client/v2/notification_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/notification_service.pb.h create mode 100644 src/server/proto/Client/api/client/v2/notification_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/notification_types.pb.h create mode 100644 src/server/proto/Client/api/client/v2/whisper_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/whisper_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v2/whisper_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/whisper_service.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_core.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_core.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_enum.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_enum.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_member_id.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_member_id.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_tag.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_tag.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_type.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_type.pb.h create mode 100644 src/server/proto/Client/api/common/v1/embed_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/embed_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/event_view_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/event_view_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/invitation_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/invitation_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/message_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/message_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/voice_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/voice_types.pb.h create mode 100644 src/server/proto/Client/api/common/v2/attribute_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/attribute_types.pb.h create mode 100644 src/server/proto/Client/api/common/v2/game_account_handle.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/game_account_handle.pb.h create mode 100644 src/server/proto/Client/api/common/v2/whisper_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/whisper_types.pb.h (limited to 'src/server/proto/Client/api') diff --git a/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc b/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc new file mode 100644 index 00000000000..dd0cfe0a9fa --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc @@ -0,0 +1,328 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayerAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayerRemovedNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* BlockListListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_listener.proto"); + GOOGLE_CHECK(file != NULL); + BlockedPlayerAddedNotification_descriptor_ = file->message_type(0); + static const int BlockedPlayerAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, agent_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, player_), + }; + BlockedPlayerAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayerAddedNotification_descriptor_, + BlockedPlayerAddedNotification::default_instance_, + BlockedPlayerAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayerAddedNotification)); + BlockedPlayerRemovedNotification_descriptor_ = file->message_type(1); + static const int BlockedPlayerRemovedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, agent_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, player_), + }; + BlockedPlayerRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayerRemovedNotification_descriptor_, + BlockedPlayerRemovedNotification::default_instance_, + BlockedPlayerRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayerRemovedNotification)); + BlockListListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayerAddedNotification_descriptor_, &BlockedPlayerAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayerRemovedNotification_descriptor_, &BlockedPlayerRemovedNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + delete BlockedPlayerAddedNotification::default_instance_; + delete BlockedPlayerAddedNotification_reflection_; + delete BlockedPlayerRemovedNotification::default_instance_; + delete BlockedPlayerRemovedNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::block_list::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/client/v1/block_list_listener.prot" + "o\022!bgs.protocol.block_list.v1.client\032$ap" + "i/client/v1/block_list_types.proto\032\017rpc_" + "types.proto\"|\n\036BlockedPlayerAddedNotific" + "ation\022\030\n\020agent_account_id\030\001 \001(\004\022@\n\006playe" + "r\030\002 \003(\01320.bgs.protocol.block_list.v1.cli" + "ent.BlockedPlayer\"\210\001\n BlockedPlayerRemov" + "edNotification\022\030\n\020agent_account_id\030\001 \001(\004" + "\022J\n\006player\030\002 \003(\0132:.bgs.protocol.block_li" + "st.v1.client.UnblockPlayerAssignment2\332\002\n" + "\021BlockListListener\022|\n\024OnBlockedPlayerAdd" + "ed\022A.bgs.protocol.block_list.v1.client.B" + "lockedPlayerAddedNotification\032\031.bgs.prot" + "ocol.NO_RESPONSE\"\006\202\371+\002\010\001\022\200\001\n\026OnBlockedPl" + "ayerRemoved\022C.bgs.protocol.block_list.v1" + ".client.BlockedPlayerRemovedNotification" + "\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\032D\202\371+" + "8\n4bnet.protocol.block_list.v1.client.Bl" + "ockListListener8\001\212\371+\004\010\001\030\001B\002H\002", 749); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_listener.proto", &protobuf_RegisterTypes); + BlockedPlayerAddedNotification::default_instance_ = new BlockedPlayerAddedNotification(); + BlockedPlayerRemovedNotification::default_instance_ = new BlockedPlayerRemovedNotification(); + BlockedPlayerAddedNotification::default_instance_->InitAsDefaultInstance(); + BlockedPlayerRemovedNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayerAddedNotification::kAgentAccountIdFieldNumber; +const int BlockedPlayerAddedNotification::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockedPlayerAddedNotification::BlockedPlayerAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) +} + +void BlockedPlayerAddedNotification::InitAsDefaultInstance() { +} + +BlockedPlayerAddedNotification::BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) +} + +void BlockedPlayerAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayerAddedNotification::~BlockedPlayerAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) + SharedDtor(); +} + +void BlockedPlayerAddedNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockedPlayerAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayerAddedNotification_descriptor_; +} + +const BlockedPlayerAddedNotification& BlockedPlayerAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + return *default_instance_; +} + +BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::default_instance_ = NULL; + +BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::New() const { + return new BlockedPlayerAddedNotification; +} + +void BlockedPlayerAddedNotification::Swap(BlockedPlayerAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayerAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayerAddedNotification_descriptor_; + metadata.reflection = BlockedPlayerAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayerRemovedNotification::kAgentAccountIdFieldNumber; +const int BlockedPlayerRemovedNotification::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) +} + +void BlockedPlayerRemovedNotification::InitAsDefaultInstance() { +} + +BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) +} + +void BlockedPlayerRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayerRemovedNotification::~BlockedPlayerRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) + SharedDtor(); +} + +void BlockedPlayerRemovedNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockedPlayerRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayerRemovedNotification_descriptor_; +} + +const BlockedPlayerRemovedNotification& BlockedPlayerRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + return *default_instance_; +} + +BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::default_instance_ = NULL; + +BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::New() const { + return new BlockedPlayerRemovedNotification; +} + +void BlockedPlayerRemovedNotification::Swap(BlockedPlayerRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayerRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayerRemovedNotification_descriptor_; + metadata.reflection = BlockedPlayerRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +BlockListListener::BlockListListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +BlockListListener::~BlockListListener() { +} + +google::protobuf::ServiceDescriptor const* BlockListListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListListener_descriptor_; +} + +void BlockListListener::OnBlockedPlayerAdded(::bgs::protocol::block_list::v1::client::BlockedPlayerAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("BlockListListener.OnBlockedPlayerAdded", "bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void BlockListListener::OnBlockedPlayerRemoved(::bgs::protocol::block_list::v1::client::BlockedPlayerRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("BlockListListener.OnBlockedPlayerRemoved", "bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void BlockListListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_listener.pb.h b/src/server/proto/Client/api/client/v1/block_list_listener.pb.h new file mode 100644 index 00000000000..daf3927320b --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_listener.pb.h @@ -0,0 +1,367 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + +class BlockedPlayerAddedNotification; +class BlockedPlayerRemovedNotification; + +// =================================================================== + +class TC_PROTO_API BlockedPlayerAddedNotification : public ::google::protobuf::Message { + public: + BlockedPlayerAddedNotification(); + virtual ~BlockedPlayerAddedNotification(); + + BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from); + + inline BlockedPlayerAddedNotification& operator=(const BlockedPlayerAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayerAddedNotification& default_instance(); + + void Swap(BlockedPlayerAddedNotification* other); + + // implements Message ---------------------------------------------- + + BlockedPlayerAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 agent_account_id = 1; + inline bool has_agent_account_id() const; + inline void clear_agent_account_id(); + static const int kAgentAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 agent_account_id() const; + inline void set_agent_account_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 2; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) + private: + inline void set_has_agent_account_id(); + inline void clear_has_agent_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 agent_account_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayerAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockedPlayerRemovedNotification : public ::google::protobuf::Message { + public: + BlockedPlayerRemovedNotification(); + virtual ~BlockedPlayerRemovedNotification(); + + BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from); + + inline BlockedPlayerRemovedNotification& operator=(const BlockedPlayerRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayerRemovedNotification& default_instance(); + + void Swap(BlockedPlayerRemovedNotification* other); + + // implements Message ---------------------------------------------- + + BlockedPlayerRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 agent_account_id = 1; + inline bool has_agent_account_id() const; + inline void clear_agent_account_id(); + static const int kAgentAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 agent_account_id() const; + inline void set_agent_account_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.block_list.v1.client.UnblockPlayerAssignment player = 2; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) + private: + inline void set_has_agent_account_id(); + inline void clear_has_agent_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 agent_account_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayerRemovedNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API BlockListListener : public ServiceBase +{ + public: + + explicit BlockListListener(bool use_original_hash); + BlockListListener(BlockListListener const&) = delete; + BlockListListener(BlockListListener&&) = delete; + BlockListListener& operator=(BlockListListener const&) = delete; + BlockListListener& operator=(BlockListListener&&) = delete; + virtual ~BlockListListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnBlockedPlayerAdded(::bgs::protocol::block_list::v1::client::BlockedPlayerAddedNotification const* request, bool client = false, bool server = false); + void OnBlockedPlayerRemoved(::bgs::protocol::block_list::v1::client::BlockedPlayerRemovedNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// BlockedPlayerAddedNotification + +// optional uint64 agent_account_id = 1; +inline bool BlockedPlayerAddedNotification::has_agent_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayerAddedNotification::set_has_agent_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayerAddedNotification::clear_has_agent_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayerAddedNotification::clear_agent_account_id() { + agent_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_account_id(); +} +inline ::google::protobuf::uint64 BlockedPlayerAddedNotification::agent_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.agent_account_id) + return agent_account_id_; +} +inline void BlockedPlayerAddedNotification::set_agent_account_id(::google::protobuf::uint64 value) { + set_has_agent_account_id(); + agent_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.agent_account_id) +} + +// repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 2; +inline int BlockedPlayerAddedNotification::player_size() const { + return player_.size(); +} +inline void BlockedPlayerAddedNotification::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& BlockedPlayerAddedNotification::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockedPlayerAddedNotification::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockedPlayerAddedNotification::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& +BlockedPlayerAddedNotification::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* +BlockedPlayerAddedNotification::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return &player_; +} + +// ------------------------------------------------------------------- + +// BlockedPlayerRemovedNotification + +// optional uint64 agent_account_id = 1; +inline bool BlockedPlayerRemovedNotification::has_agent_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayerRemovedNotification::set_has_agent_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayerRemovedNotification::clear_has_agent_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayerRemovedNotification::clear_agent_account_id() { + agent_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_account_id(); +} +inline ::google::protobuf::uint64 BlockedPlayerRemovedNotification::agent_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.agent_account_id) + return agent_account_id_; +} +inline void BlockedPlayerRemovedNotification::set_agent_account_id(::google::protobuf::uint64 value) { + set_has_agent_account_id(); + agent_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.agent_account_id) +} + +// repeated .bgs.protocol.block_list.v1.client.UnblockPlayerAssignment player = 2; +inline int BlockedPlayerRemovedNotification::player_size() const { + return player_.size(); +} +inline void BlockedPlayerRemovedNotification::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment& BlockedPlayerRemovedNotification::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* BlockedPlayerRemovedNotification::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* BlockedPlayerRemovedNotification::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >& +BlockedPlayerRemovedNotification::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >* +BlockedPlayerRemovedNotification::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return &player_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/block_list_service.pb.cc b/src/server/proto/Client/api/client/v1/block_list_service.pb.cc new file mode 100644 index 00000000000..99a062c3741 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_service.pb.cc @@ -0,0 +1,951 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockPlayerRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockPlayerRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* BlockListService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[1] = { + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, state_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetStateRequest_descriptor_ = file->message_type(3); + static const int GetStateRequest_offsets_[1] = { + }; + GetStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateRequest_descriptor_, + GetStateRequest::default_instance_, + GetStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateRequest)); + GetStateResponse_descriptor_ = file->message_type(4); + static const int GetStateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, state_), + }; + GetStateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateResponse_descriptor_, + GetStateResponse::default_instance_, + GetStateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateResponse)); + BlockPlayerRequest_descriptor_ = file->message_type(5); + static const int BlockPlayerRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, options_), + }; + BlockPlayerRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockPlayerRequest_descriptor_, + BlockPlayerRequest::default_instance_, + BlockPlayerRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockPlayerRequest)); + UnblockPlayerRequest_descriptor_ = file->message_type(6); + static const int UnblockPlayerRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, options_), + }; + UnblockPlayerRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerRequest_descriptor_, + UnblockPlayerRequest::default_instance_, + UnblockPlayerRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerRequest)); + BlockListService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateRequest_descriptor_, &GetStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateResponse_descriptor_, &GetStateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockPlayerRequest_descriptor_, &BlockPlayerRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerRequest_descriptor_, &UnblockPlayerRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetStateRequest::default_instance_; + delete GetStateRequest_reflection_; + delete GetStateResponse::default_instance_; + delete GetStateResponse_reflection_; + delete BlockPlayerRequest::default_instance_; + delete BlockPlayerRequest_reflection_; + delete UnblockPlayerRequest::default_instance_; + delete UnblockPlayerRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::block_list::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n&api/client/v1/block_list_service.proto" + "\022!bgs.protocol.block_list.v1.client\032$api" + "/client/v1/block_list_types.proto\032\017rpc_t" + "ypes.proto\"\022\n\020SubscribeRequest\"U\n\021Subscr" + "ibeResponse\022@\n\005state\030\001 \001(\01321.bgs.protoco" + "l.block_list.v1.client.BlockListState\"\024\n" + "\022UnsubscribeRequest\"\021\n\017GetStateRequest\"T" + "\n\020GetStateResponse\022@\n\005state\030\001 \001(\01321.bgs." + "protocol.block_list.v1.client.BlockListS" + "tate\"f\n\022BlockPlayerRequest\022P\n\007options\030\002 " + "\001(\01325.bgs.protocol.block_list.v1.client." + "BlockPlayerOptionsB\010\212\371+\0042\002\010\001\"j\n\024UnblockP" + "layerRequest\022R\n\007options\030\002 \001(\01327.bgs.prot" + "ocol.block_list.v1.client.UnblockPlayerO" + "ptionsB\010\212\371+\0042\002\010\0012\211\006\n\020BlockListService\022\200\001" + "\n\tSubscribe\0223.bgs.protocol.block_list.v1" + ".client.SubscribeRequest\0324.bgs.protocol." + "block_list.v1.client.SubscribeResponse\"\010" + "\202\371+\004\010\001\020\001\022d\n\013Unsubscribe\0225.bgs.protocol.b" + "lock_list.v1.client.UnsubscribeRequest\032\024" + ".bgs.protocol.NoData\"\010\202\371+\004\010\002\020\001\022}\n\010GetSta" + "te\0222.bgs.protocol.block_list.v1.client.G" + "etStateRequest\0323.bgs.protocol.block_list" + ".v1.client.GetStateResponse\"\010\202\371+\004\010\003\020\001\022d\n" + "\013BlockPlayer\0225.bgs.protocol.block_list.v" + "1.client.BlockPlayerRequest\032\024.bgs.protoc" + "ol.NoData\"\010\202\371+\004\010\004\020\001\022h\n\rUnblockPlayer\0227.b" + "gs.protocol.block_list.v1.client.Unblock" + "PlayerRequest\032\024.bgs.protocol.NoData\"\010\202\371+" + "\004\010\005\020\001\022n\n\025BlockPlayerForSession\0225.bgs.pro" + "tocol.block_list.v1.client.BlockPlayerRe" + "quest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001\032M\202" + "\371+A\n3bnet.protocol.block_list.v1.client." + "BlockListService*\nblock_list\212\371+\004\020\001\030\001B\002H\002", 1360); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetStateRequest::default_instance_ = new GetStateRequest(); + GetStateResponse::default_instance_ = new GetStateResponse(); + BlockPlayerRequest::default_instance_ = new BlockPlayerRequest(); + UnblockPlayerRequest::default_instance_ = new UnblockPlayerRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetStateRequest::default_instance_->InitAsDefaultInstance(); + GetStateResponse::default_instance_->InitAsDefaultInstance(); + BlockPlayerRequest::default_instance_->InitAsDefaultInstance(); + UnblockPlayerRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kStateFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockListState*>(&::bgs::protocol::block_list::v1::client::BlockListState::default_instance()); +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +GetStateRequest::GetStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.GetStateRequest) +} + +void GetStateRequest::InitAsDefaultInstance() { +} + +GetStateRequest::GetStateRequest(const GetStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.GetStateRequest) +} + +void GetStateRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateRequest::~GetStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.GetStateRequest) + SharedDtor(); +} + +void GetStateRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateRequest_descriptor_; +} + +const GetStateRequest& GetStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +GetStateRequest* GetStateRequest::default_instance_ = NULL; + +GetStateRequest* GetStateRequest::New() const { + return new GetStateRequest; +} + +void GetStateRequest::Swap(GetStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateRequest_descriptor_; + metadata.reflection = GetStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateResponse::kStateFieldNumber; +#endif // !_MSC_VER + +GetStateResponse::GetStateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.GetStateResponse) +} + +void GetStateResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockListState*>(&::bgs::protocol::block_list::v1::client::BlockListState::default_instance()); +} + +GetStateResponse::GetStateResponse(const GetStateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.GetStateResponse) +} + +void GetStateResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateResponse::~GetStateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.GetStateResponse) + SharedDtor(); +} + +void GetStateResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void GetStateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateResponse_descriptor_; +} + +const GetStateResponse& GetStateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +GetStateResponse* GetStateResponse::default_instance_ = NULL; + +GetStateResponse* GetStateResponse::New() const { + return new GetStateResponse; +} + +void GetStateResponse::Swap(GetStateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateResponse_descriptor_; + metadata.reflection = GetStateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockPlayerRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +BlockPlayerRequest::BlockPlayerRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) +} + +void BlockPlayerRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockPlayerOptions*>(&::bgs::protocol::block_list::v1::client::BlockPlayerOptions::default_instance()); +} + +BlockPlayerRequest::BlockPlayerRequest(const BlockPlayerRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) +} + +void BlockPlayerRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockPlayerRequest::~BlockPlayerRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) + SharedDtor(); +} + +void BlockPlayerRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void BlockPlayerRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockPlayerRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockPlayerRequest_descriptor_; +} + +const BlockPlayerRequest& BlockPlayerRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +BlockPlayerRequest* BlockPlayerRequest::default_instance_ = NULL; + +BlockPlayerRequest* BlockPlayerRequest::New() const { + return new BlockPlayerRequest; +} + +void BlockPlayerRequest::Swap(BlockPlayerRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockPlayerRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockPlayerRequest_descriptor_; + metadata.reflection = BlockPlayerRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerRequest::UnblockPlayerRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) +} + +void UnblockPlayerRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions*>(&::bgs::protocol::block_list::v1::client::UnblockPlayerOptions::default_instance()); +} + +UnblockPlayerRequest::UnblockPlayerRequest(const UnblockPlayerRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) +} + +void UnblockPlayerRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerRequest::~UnblockPlayerRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) + SharedDtor(); +} + +void UnblockPlayerRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void UnblockPlayerRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerRequest_descriptor_; +} + +const UnblockPlayerRequest& UnblockPlayerRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +UnblockPlayerRequest* UnblockPlayerRequest::default_instance_ = NULL; + +UnblockPlayerRequest* UnblockPlayerRequest::New() const { + return new UnblockPlayerRequest; +} + +void UnblockPlayerRequest::Swap(UnblockPlayerRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerRequest_descriptor_; + metadata.reflection = UnblockPlayerRequest_reflection_; + return metadata; +} + +// =================================================================== + +BlockListService::BlockListService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +BlockListService::~BlockListService() { +} + +google::protobuf::ServiceDescriptor const* BlockListService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListService_descriptor_; +} + +void BlockListService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetState(token, methodId, buffer); + break; + case 4: + ParseAndHandleBlockPlayer(token, methodId, buffer); + break; + case 5: + ParseAndHandleUnblockPlayer(token, methodId, buffer); + break; + case 6: + ParseAndHandleBlockPlayerForSession(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 BlockListService::HandleSubscribe(::bgs::protocol::block_list::v1::client::SubscribeRequest const* request, ::bgs::protocol::block_list::v1::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const* request, ::bgs::protocol::block_list::v1::client::GetStateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.GetState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.BlockPlayer", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.UnblockPlayer", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.BlockPlayerForSession", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void BlockListService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.Subscribe", "bgs.protocol.block_list.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.Subscribe", ::bgs::protocol::block_list::v1::client::SubscribeResponse::descriptor()); + ::bgs::protocol::block_list::v1::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.Unsubscribe", "bgs.protocol.block_list.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::GetStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.GetState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.GetState", "bgs.protocol.block_list.v1.client.GetStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.GetState", ::bgs::protocol::block_list::v1::client::GetStateResponse::descriptor()); + ::bgs::protocol::block_list::v1::client::GetStateResponse response; + uint32 status = HandleGetState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::BlockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.BlockPlayer"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.BlockPlayer", "bgs.protocol.block_list.v1.client.BlockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.BlockPlayer", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleBlockPlayer(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::UnblockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.UnblockPlayer"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.UnblockPlayer", "bgs.protocol.block_list.v1.client.UnblockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.UnblockPlayer", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnblockPlayer(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::BlockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.BlockPlayerForSession"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.BlockPlayerForSession", "bgs.protocol.block_list.v1.client.BlockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.BlockPlayerForSession", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleBlockPlayerForSession(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_service.pb.h b/src/server/proto/Client/api/client/v1/block_list_service.pb.h new file mode 100644 index 00000000000..24145d41d88 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_service.pb.h @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetStateRequest; +class GetStateResponse; +class BlockPlayerRequest; +class UnblockPlayerRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.SubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockListState& state() const; + inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state(); + inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state(); + inline void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.SubscribeResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockListState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnsubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { + public: + GetStateRequest(); + virtual ~GetStateRequest(); + + GetStateRequest(const GetStateRequest& from); + + inline GetStateRequest& operator=(const GetStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateRequest& default_instance(); + + void Swap(GetStateRequest* other); + + // implements Message ---------------------------------------------- + + GetStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.GetStateRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { + public: + GetStateResponse(); + virtual ~GetStateResponse(); + + GetStateResponse(const GetStateResponse& from); + + inline GetStateResponse& operator=(const GetStateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateResponse& default_instance(); + + void Swap(GetStateResponse* other); + + // implements Message ---------------------------------------------- + + GetStateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockListState& state() const; + inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state(); + inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state(); + inline void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.GetStateResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockListState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockPlayerRequest : public ::google::protobuf::Message { + public: + BlockPlayerRequest(); + virtual ~BlockPlayerRequest(); + + BlockPlayerRequest(const BlockPlayerRequest& from); + + inline BlockPlayerRequest& operator=(const BlockPlayerRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockPlayerRequest& default_instance(); + + void Swap(BlockPlayerRequest* other); + + // implements Message ---------------------------------------------- + + BlockPlayerRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockPlayerOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions& options() const; + inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* mutable_options(); + inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockPlayerRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static BlockPlayerRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerRequest : public ::google::protobuf::Message { + public: + UnblockPlayerRequest(); + virtual ~UnblockPlayerRequest(); + + UnblockPlayerRequest(const UnblockPlayerRequest& from); + + inline UnblockPlayerRequest& operator=(const UnblockPlayerRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerRequest& default_instance(); + + void Swap(UnblockPlayerRequest* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.UnblockPlayerOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions& options() const; + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* mutable_options(); + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API BlockListService : public ServiceBase +{ + public: + + explicit BlockListService(bool use_original_hash); + BlockListService(BlockListService const&) = delete; + BlockListService(BlockListService&&) = delete; + BlockListService& operator=(BlockListService const&) = delete; + BlockListService& operator=(BlockListService&&) = delete; + virtual ~BlockListService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::block_list::v1::client::SubscribeRequest const* request, ::bgs::protocol::block_list::v1::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const* request, ::bgs::protocol::block_list::v1::client::GetStateResponse* response, std::function& continuation); + virtual uint32 HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; +inline bool SubscribeResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockListState& SubscribeResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.SubscribeResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* SubscribeResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::block_list::v1::client::BlockListState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.SubscribeResponse.state) + return state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* SubscribeResponse::release_state() { + clear_has_state(); + ::bgs::protocol::block_list::v1::client::BlockListState* temp = state_; + state_ = NULL; + return temp; +} +inline void SubscribeResponse::set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.SubscribeResponse.state) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// ------------------------------------------------------------------- + +// GetStateRequest + +// ------------------------------------------------------------------- + +// GetStateResponse + +// optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; +inline bool GetStateResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockListState& GetStateResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.GetStateResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* GetStateResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::block_list::v1::client::BlockListState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.GetStateResponse.state) + return state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* GetStateResponse::release_state() { + clear_has_state(); + ::bgs::protocol::block_list::v1::client::BlockListState* temp = state_; + state_ = NULL; + return temp; +} +inline void GetStateResponse::set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.GetStateResponse.state) +} + +// ------------------------------------------------------------------- + +// BlockPlayerRequest + +// optional .bgs.protocol.block_list.v1.client.BlockPlayerOptions options = 2; +inline bool BlockPlayerRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockPlayerRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockPlayerRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockPlayerRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::block_list::v1::client::BlockPlayerOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions& BlockPlayerRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* BlockPlayerRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::block_list::v1::client::BlockPlayerOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) + return options_; +} +inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* BlockPlayerRequest::release_options() { + clear_has_options(); + ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void BlockPlayerRequest::set_allocated_options(::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerRequest + +// optional .bgs.protocol.block_list.v1.client.UnblockPlayerOptions options = 2; +inline bool UnblockPlayerRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::block_list::v1::client::UnblockPlayerOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions& UnblockPlayerRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* UnblockPlayerRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) + return options_; +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* UnblockPlayerRequest::release_options() { + clear_has_options(); + ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UnblockPlayerRequest::set_allocated_options(::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/block_list_types.pb.cc b/src/server/proto/Client/api/client/v1/block_list_types.pb.cc new file mode 100644 index 00000000000..0c2da347cde --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_types.pb.cc @@ -0,0 +1,585 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* BlockedPlayer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayer_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockPlayerOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockPlayerOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockListState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockListState_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_types.proto"); + GOOGLE_CHECK(file != NULL); + BlockedPlayer_descriptor_ = file->message_type(0); + static const int BlockedPlayer_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, creation_time_us_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, modified_time_us_), + }; + BlockedPlayer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayer_descriptor_, + BlockedPlayer::default_instance_, + BlockedPlayer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayer)); + BlockPlayerOptions_descriptor_ = file->message_type(1); + static const int BlockPlayerOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, account_id_), + }; + BlockPlayerOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockPlayerOptions_descriptor_, + BlockPlayerOptions::default_instance_, + BlockPlayerOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockPlayerOptions)); + UnblockPlayerOptions_descriptor_ = file->message_type(2); + static const int UnblockPlayerOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, account_id_), + }; + UnblockPlayerOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerOptions_descriptor_, + UnblockPlayerOptions::default_instance_, + UnblockPlayerOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerOptions)); + UnblockPlayerAssignment_descriptor_ = file->message_type(3); + static const int UnblockPlayerAssignment_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, id_), + }; + UnblockPlayerAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerAssignment_descriptor_, + UnblockPlayerAssignment::default_instance_, + UnblockPlayerAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerAssignment)); + BlockListState_descriptor_ = file->message_type(4); + static const int BlockListState_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, player_), + }; + BlockListState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockListState_descriptor_, + BlockListState::default_instance_, + BlockListState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockListState)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayer_descriptor_, &BlockedPlayer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockPlayerOptions_descriptor_, &BlockPlayerOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerOptions_descriptor_, &UnblockPlayerOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerAssignment_descriptor_, &UnblockPlayerAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockListState_descriptor_, &BlockListState::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + delete BlockedPlayer::default_instance_; + delete BlockedPlayer_reflection_; + delete BlockPlayerOptions::default_instance_; + delete BlockPlayerOptions_reflection_; + delete UnblockPlayerOptions::default_instance_; + delete UnblockPlayerOptions_reflection_; + delete UnblockPlayerAssignment::default_instance_; + delete UnblockPlayerAssignment_reflection_; + delete BlockListState::default_instance_; + delete BlockListState_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/client/v1/block_list_types.proto\022!" + "bgs.protocol.block_list.v1.client\032\017rpc_t" + "ypes.proto\"k\n\rBlockedPlayer\022\n\n\002id\030\001 \001(\004\022" + "\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\030\n\020creation_" + "time_us\030\004 \001(\004\022\030\n\020modified_time_us\030\005 \001(\004\"" + "2\n\022BlockPlayerOptions\022\034\n\naccount_id\030\001 \001(" + "\004B\010\212\371+\004\022\002\020\000\"4\n\024UnblockPlayerOptions\022\034\n\na" + "ccount_id\030\001 \001(\004B\010\212\371+\004\022\002\020\000\"%\n\027UnblockPlay" + "erAssignment\022\n\n\002id\030\001 \001(\004\"R\n\016BlockListSta" + "te\022@\n\006player\030\001 \003(\01320.bgs.protocol.block_" + "list.v1.client.BlockedPlayerB\002H\002", 432); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_types.proto", &protobuf_RegisterTypes); + BlockedPlayer::default_instance_ = new BlockedPlayer(); + BlockPlayerOptions::default_instance_ = new BlockPlayerOptions(); + UnblockPlayerOptions::default_instance_ = new UnblockPlayerOptions(); + UnblockPlayerAssignment::default_instance_ = new UnblockPlayerAssignment(); + BlockListState::default_instance_ = new BlockListState(); + BlockedPlayer::default_instance_->InitAsDefaultInstance(); + BlockPlayerOptions::default_instance_->InitAsDefaultInstance(); + UnblockPlayerOptions::default_instance_->InitAsDefaultInstance(); + UnblockPlayerAssignment::default_instance_->InitAsDefaultInstance(); + BlockListState::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayer::kIdFieldNumber; +const int BlockedPlayer::kBattleTagFieldNumber; +const int BlockedPlayer::kCreationTimeUsFieldNumber; +const int BlockedPlayer::kModifiedTimeUsFieldNumber; +#endif // !_MSC_VER + +BlockedPlayer::BlockedPlayer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayer) +} + +void BlockedPlayer::InitAsDefaultInstance() { +} + +BlockedPlayer::BlockedPlayer(const BlockedPlayer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayer) +} + +void BlockedPlayer::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_us_ = GOOGLE_ULONGLONG(0); + modified_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayer::~BlockedPlayer() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayer) + SharedDtor(); +} + +void BlockedPlayer::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + } +} + +void BlockedPlayer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayer_descriptor_; +} + +const BlockedPlayer& BlockedPlayer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockedPlayer* BlockedPlayer::default_instance_ = NULL; + +BlockedPlayer* BlockedPlayer::New() const { + return new BlockedPlayer; +} + +void BlockedPlayer::Swap(BlockedPlayer* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayer_descriptor_; + metadata.reflection = BlockedPlayer_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockPlayerOptions::kAccountIdFieldNumber; +#endif // !_MSC_VER + +BlockPlayerOptions::BlockPlayerOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) +} + +void BlockPlayerOptions::InitAsDefaultInstance() { +} + +BlockPlayerOptions::BlockPlayerOptions(const BlockPlayerOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) +} + +void BlockPlayerOptions::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockPlayerOptions::~BlockPlayerOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) + SharedDtor(); +} + +void BlockPlayerOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockPlayerOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockPlayerOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockPlayerOptions_descriptor_; +} + +const BlockPlayerOptions& BlockPlayerOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockPlayerOptions* BlockPlayerOptions::default_instance_ = NULL; + +BlockPlayerOptions* BlockPlayerOptions::New() const { + return new BlockPlayerOptions; +} + +void BlockPlayerOptions::Swap(BlockPlayerOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockPlayerOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockPlayerOptions_descriptor_; + metadata.reflection = BlockPlayerOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerOptions::kAccountIdFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerOptions::UnblockPlayerOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) +} + +void UnblockPlayerOptions::InitAsDefaultInstance() { +} + +UnblockPlayerOptions::UnblockPlayerOptions(const UnblockPlayerOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) +} + +void UnblockPlayerOptions::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerOptions::~UnblockPlayerOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) + SharedDtor(); +} + +void UnblockPlayerOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnblockPlayerOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerOptions_descriptor_; +} + +const UnblockPlayerOptions& UnblockPlayerOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +UnblockPlayerOptions* UnblockPlayerOptions::default_instance_ = NULL; + +UnblockPlayerOptions* UnblockPlayerOptions::New() const { + return new UnblockPlayerOptions; +} + +void UnblockPlayerOptions::Swap(UnblockPlayerOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerOptions_descriptor_; + metadata.reflection = UnblockPlayerOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerAssignment::kIdFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerAssignment::UnblockPlayerAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) +} + +void UnblockPlayerAssignment::InitAsDefaultInstance() { +} + +UnblockPlayerAssignment::UnblockPlayerAssignment(const UnblockPlayerAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) +} + +void UnblockPlayerAssignment::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerAssignment::~UnblockPlayerAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) + SharedDtor(); +} + +void UnblockPlayerAssignment::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnblockPlayerAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerAssignment_descriptor_; +} + +const UnblockPlayerAssignment& UnblockPlayerAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +UnblockPlayerAssignment* UnblockPlayerAssignment::default_instance_ = NULL; + +UnblockPlayerAssignment* UnblockPlayerAssignment::New() const { + return new UnblockPlayerAssignment; +} + +void UnblockPlayerAssignment::Swap(UnblockPlayerAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerAssignment_descriptor_; + metadata.reflection = UnblockPlayerAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockListState::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockListState::BlockListState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockListState) +} + +void BlockListState::InitAsDefaultInstance() { +} + +BlockListState::BlockListState(const BlockListState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockListState) +} + +void BlockListState::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockListState::~BlockListState() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockListState) + SharedDtor(); +} + +void BlockListState::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockListState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockListState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListState_descriptor_; +} + +const BlockListState& BlockListState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockListState* BlockListState::default_instance_ = NULL; + +BlockListState* BlockListState::New() const { + return new BlockListState; +} + +void BlockListState::Swap(BlockListState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockListState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockListState_descriptor_; + metadata.reflection = BlockListState_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_types.pb.h b/src/server/proto/Client/api/client/v1/block_list_types.pb.h new file mode 100644 index 00000000000..0e418dc9740 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_types.pb.h @@ -0,0 +1,707 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + +class BlockedPlayer; +class BlockPlayerOptions; +class UnblockPlayerOptions; +class UnblockPlayerAssignment; +class BlockListState; + +// =================================================================== + +class TC_PROTO_API BlockedPlayer : public ::google::protobuf::Message { + public: + BlockedPlayer(); + virtual ~BlockedPlayer(); + + BlockedPlayer(const BlockedPlayer& from); + + inline BlockedPlayer& operator=(const BlockedPlayer& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayer& default_instance(); + + void Swap(BlockedPlayer* other); + + // implements Message ---------------------------------------------- + + BlockedPlayer* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // optional uint64 creation_time_us = 4; + inline bool has_creation_time_us() const; + inline void clear_creation_time_us(); + static const int kCreationTimeUsFieldNumber = 4; + inline ::google::protobuf::uint64 creation_time_us() const; + inline void set_creation_time_us(::google::protobuf::uint64 value); + + // optional uint64 modified_time_us = 5; + inline bool has_modified_time_us() const; + inline void clear_modified_time_us(); + static const int kModifiedTimeUsFieldNumber = 5; + inline ::google::protobuf::uint64 modified_time_us() const; + inline void set_modified_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayer) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_creation_time_us(); + inline void clear_has_creation_time_us(); + inline void set_has_modified_time_us(); + inline void clear_has_modified_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::std::string* battle_tag_; + ::google::protobuf::uint64 creation_time_us_; + ::google::protobuf::uint64 modified_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayer* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockPlayerOptions : public ::google::protobuf::Message { + public: + BlockPlayerOptions(); + virtual ~BlockPlayerOptions(); + + BlockPlayerOptions(const BlockPlayerOptions& from); + + inline BlockPlayerOptions& operator=(const BlockPlayerOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockPlayerOptions& default_instance(); + + void Swap(BlockPlayerOptions* other); + + // implements Message ---------------------------------------------- + + BlockPlayerOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockPlayerOptions) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockPlayerOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerOptions : public ::google::protobuf::Message { + public: + UnblockPlayerOptions(); + virtual ~UnblockPlayerOptions(); + + UnblockPlayerOptions(const UnblockPlayerOptions& from); + + inline UnblockPlayerOptions& operator=(const UnblockPlayerOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerOptions& default_instance(); + + void Swap(UnblockPlayerOptions* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerAssignment : public ::google::protobuf::Message { + public: + UnblockPlayerAssignment(); + virtual ~UnblockPlayerAssignment(); + + UnblockPlayerAssignment(const UnblockPlayerAssignment& from); + + inline UnblockPlayerAssignment& operator=(const UnblockPlayerAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerAssignment& default_instance(); + + void Swap(UnblockPlayerAssignment* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockListState : public ::google::protobuf::Message { + public: + BlockListState(); + virtual ~BlockListState(); + + BlockListState(const BlockListState& from); + + inline BlockListState& operator=(const BlockListState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockListState& default_instance(); + + void Swap(BlockListState* other); + + // implements Message ---------------------------------------------- + + BlockListState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 1; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockListState) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockListState* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// BlockedPlayer + +// optional uint64 id = 1; +inline bool BlockedPlayer::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayer::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayer::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayer::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 BlockedPlayer::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.id) + return id_; +} +inline void BlockedPlayer::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.id) +} + +// optional string battle_tag = 2; +inline bool BlockedPlayer::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void BlockedPlayer::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void BlockedPlayer::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void BlockedPlayer::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& BlockedPlayer::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) + return *battle_tag_; +} +inline void BlockedPlayer::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline void BlockedPlayer::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline void BlockedPlayer::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline ::std::string* BlockedPlayer::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) + return battle_tag_; +} +inline ::std::string* BlockedPlayer::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void BlockedPlayer::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} + +// optional uint64 creation_time_us = 4; +inline bool BlockedPlayer::has_creation_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void BlockedPlayer::set_has_creation_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void BlockedPlayer::clear_has_creation_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void BlockedPlayer::clear_creation_time_us() { + creation_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time_us(); +} +inline ::google::protobuf::uint64 BlockedPlayer::creation_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.creation_time_us) + return creation_time_us_; +} +inline void BlockedPlayer::set_creation_time_us(::google::protobuf::uint64 value) { + set_has_creation_time_us(); + creation_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.creation_time_us) +} + +// optional uint64 modified_time_us = 5; +inline bool BlockedPlayer::has_modified_time_us() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void BlockedPlayer::set_has_modified_time_us() { + _has_bits_[0] |= 0x00000008u; +} +inline void BlockedPlayer::clear_has_modified_time_us() { + _has_bits_[0] &= ~0x00000008u; +} +inline void BlockedPlayer::clear_modified_time_us() { + modified_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_modified_time_us(); +} +inline ::google::protobuf::uint64 BlockedPlayer::modified_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.modified_time_us) + return modified_time_us_; +} +inline void BlockedPlayer::set_modified_time_us(::google::protobuf::uint64 value) { + set_has_modified_time_us(); + modified_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.modified_time_us) +} + +// ------------------------------------------------------------------- + +// BlockPlayerOptions + +// optional uint64 account_id = 1; +inline bool BlockPlayerOptions::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockPlayerOptions::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockPlayerOptions::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockPlayerOptions::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 BlockPlayerOptions::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockPlayerOptions.account_id) + return account_id_; +} +inline void BlockPlayerOptions::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockPlayerOptions.account_id) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerOptions + +// optional uint64 account_id = 1; +inline bool UnblockPlayerOptions::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerOptions::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerOptions::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerOptions::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 UnblockPlayerOptions::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerOptions.account_id) + return account_id_; +} +inline void UnblockPlayerOptions::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.UnblockPlayerOptions.account_id) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerAssignment + +// optional uint64 id = 1; +inline bool UnblockPlayerAssignment::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerAssignment::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerAssignment::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerAssignment::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 UnblockPlayerAssignment::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment.id) + return id_; +} +inline void UnblockPlayerAssignment::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment.id) +} + +// ------------------------------------------------------------------- + +// BlockListState + +// repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 1; +inline int BlockListState::player_size() const { + return player_.size(); +} +inline void BlockListState::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& BlockListState::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockListState::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockListState::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& +BlockListState::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* +BlockListState::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockListState.player) + return &player_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/channel_types.pb.cc b/src/server/proto/Client/api/client/v1/channel_types.pb.cc new file mode 100644 index 00000000000..ffa9b89b4f4 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.cc @@ -0,0 +1,1132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/channel_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/channel_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace channel { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* Message_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Message_reflection_ = NULL; +const ::google::protobuf::Descriptor* ListChannelsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ListChannelsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelState_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor_ = NULL; +const ::google::protobuf::Descriptor* MemberAccountInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAccountInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberState_reflection_ = NULL; +const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Member_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberId_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/channel_types.proto"); + GOOGLE_CHECK(file != NULL); + Message_descriptor_ = file->message_type(0); + static const int Message_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, attribute_), + }; + Message_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Message_descriptor_, + Message::default_instance_, + Message_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Message)); + ListChannelsOptions_descriptor_ = file->message_type(1); + static const int ListChannelsOptions_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, start_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, max_results_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, capacity_full_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, attribute_filter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, channel_type_), + }; + ListChannelsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ListChannelsOptions_descriptor_, + ListChannelsOptions::default_instance_, + ListChannelsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ListChannelsOptions)); + ChannelDescription_descriptor_ = file->message_type(2); + static const int ChannelDescription_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, channel_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, current_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, state_), + }; + ChannelDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelDescription_descriptor_, + ChannelDescription::default_instance_, + ChannelDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelDescription)); + ChannelInfo_descriptor_ = file->message_type(3); + static const int ChannelInfo_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, member_), + }; + ChannelInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelInfo_descriptor_, + ChannelInfo::default_instance_, + ChannelInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelInfo)); + ChannelState_descriptor_ = file->message_type(4); + static const int ChannelState_offsets_[10] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, max_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, min_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, reason_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, channel_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, subscribe_to_presence_), + }; + ChannelState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelState_descriptor_, + ChannelState::default_instance_, + ChannelState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelState)); + ChannelState_PrivacyLevel_descriptor_ = ChannelState_descriptor_->enum_type(0); + MemberAccountInfo_descriptor_ = file->message_type(5); + static const int MemberAccountInfo_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, battle_tag_), + }; + MemberAccountInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAccountInfo_descriptor_, + MemberAccountInfo::default_instance_, + MemberAccountInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAccountInfo)); + MemberState_descriptor_ = file->message_type(6); + static const int MemberState_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, privileges_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, info_), + }; + MemberState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberState_descriptor_, + MemberState::default_instance_, + MemberState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberState)); + Member_descriptor_ = file->message_type(7); + static const int Member_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, state_), + }; + Member_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Member_descriptor_, + Member::default_instance_, + Member_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Member)); + SubscriberId_descriptor_ = file->message_type(8); + static const int SubscriberId_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, game_account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, process_), + }; + SubscriberId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberId_descriptor_, + SubscriberId::default_instance_, + SubscriberId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberId)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Message_descriptor_, &Message::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ListChannelsOptions_descriptor_, &ListChannelsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelDescription_descriptor_, &ChannelDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelInfo_descriptor_, &ChannelInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelState_descriptor_, &ChannelState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAccountInfo_descriptor_, &MemberAccountInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberState_descriptor_, &MemberState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Member_descriptor_, &Member::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberId_descriptor_, &SubscriberId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + delete Message::default_instance_; + delete Message_reflection_; + delete ListChannelsOptions::default_instance_; + delete ListChannelsOptions_reflection_; + delete ChannelDescription::default_instance_; + delete ChannelDescription_reflection_; + delete ChannelInfo::default_instance_; + delete ChannelInfo_reflection_; + delete ChannelState::default_instance_; + delete ChannelState_reflection_; + delete ChannelState::_default_channel_type_; + delete MemberAccountInfo::default_instance_; + delete MemberAccountInfo_reflection_; + delete MemberState::default_instance_; + delete MemberState_reflection_; + delete Member::default_instance_; + delete Member_reflection_; + delete SubscriberId::default_instance_; + delete SubscriberId_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::channel::v1::protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto(); + ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/client/v1/channel_types.proto\022\027bgs" + ".protocol.channel.v1\032\036api/client/v1/chan" + "nel_id.proto\032\025attribute_types.proto\032\022ent" + "ity_types.proto\032\023account_types.proto\032$ap" + "i/common/v1/invitation_types.proto\032\017rpc_" + "types.proto\"<\n\007Message\022*\n\tattribute\030\001 \003(" + "\0132\027.bgs.protocol.Attribute*\005\010d\020\220N\"\333\001\n\023Li" + "stChannelsOptions\022\026\n\013start_index\030\001 \001(\r:\001" + "0\022\027\n\013max_results\030\002 \001(\r:\00216\022\014\n\004name\030\003 \001(\t" + "\022\017\n\007program\030\004 \001(\007\022\016\n\006locale\030\005 \001(\007\022\025\n\rcap" + "acity_full\030\006 \001(\r\0227\n\020attribute_filter\030\007 \002" + "(\0132\035.bgs.protocol.AttributeFilter\022\024\n\014cha" + "nnel_type\030\010 \001(\t\"\217\001\n\022ChannelDescription\022*" + "\n\nchannel_id\030\001 \002(\0132\026.bgs.protocol.Entity" + "Id\022\027\n\017current_members\030\002 \001(\r\0224\n\005state\030\003 \001" + "(\0132%.bgs.protocol.channel.v1.ChannelStat" + "e\"\200\001\n\013ChannelInfo\022@\n\013description\030\001 \002(\0132+" + ".bgs.protocol.channel.v1.ChannelDescript" + "ion\022/\n\006member\030\002 \003(\0132\037.bgs.protocol.chann" + "el.v1.Member\"\377\003\n\014ChannelState\022\023\n\013max_mem" + "bers\030\001 \001(\r\022\023\n\013min_members\030\002 \001(\r\022*\n\tattri" + "bute\030\003 \003(\0132\027.bgs.protocol.Attribute\022,\n\ni" + "nvitation\030\004 \003(\0132\030.bgs.protocol.Invitatio" + "n\022\016\n\006reason\030\006 \001(\r\022]\n\rprivacy_level\030\007 \001(\016" + "22.bgs.protocol.channel.v1.ChannelState." + "PrivacyLevel:\022PRIVACY_LEVEL_OPEN\022\014\n\004name" + "\030\010 \001(\t\022\035\n\014channel_type\030\n \001(\t:\007default\022\017\n" + "\007program\030\013 \001(\007\022#\n\025subscribe_to_presence\030" + "\r \001(\010:\004true\"\221\001\n\014PrivacyLevel\022\026\n\022PRIVACY_" + "LEVEL_OPEN\020\001\022,\n(PRIVACY_LEVEL_OPEN_INVIT" + "ATION_AND_FRIEND\020\002\022!\n\035PRIVACY_LEVEL_OPEN" + "_INVITATION\020\003\022\030\n\024PRIVACY_LEVEL_CLOSED\020\004*" + "\005\010d\020\220N\"/\n\021MemberAccountInfo\022\032\n\nbattle_ta" + "g\030\003 \001(\tB\006\202\371+\002\010\001\"\234\001\n\013MemberState\022*\n\tattri" + "bute\030\001 \003(\0132\027.bgs.protocol.Attribute\022\020\n\004r" + "ole\030\002 \003(\rB\002\020\001\022\025\n\nprivileges\030\003 \001(\004:\0010\0228\n\004" + "info\030\004 \001(\0132*.bgs.protocol.channel.v1.Mem" + "berAccountInfo\"g\n\006Member\022(\n\010identity\030\001 \002" + "(\0132\026.bgs.protocol.Identity\0223\n\005state\030\002 \002(" + "\0132$.bgs.protocol.channel.v1.MemberState\"" + "\273\001\n\014SubscriberId\0227\n\007account\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\002\030\001\022@\n\014gam" + "e_account\030\002 \001(\0132*.bgs.protocol.account.v" + "1.GameAccountHandle\022(\n\007process\030\003 \001(\0132\027.b" + "gs.protocol.ProcessId:\006\202\371+\002\020\001B\002H\002P\000", 1795); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/channel_types.proto", &protobuf_RegisterTypes); + Message::default_instance_ = new Message(); + ListChannelsOptions::default_instance_ = new ListChannelsOptions(); + ChannelDescription::default_instance_ = new ChannelDescription(); + ChannelInfo::default_instance_ = new ChannelInfo(); + ChannelState::_default_channel_type_ = + new ::std::string("default", 7); + ChannelState::default_instance_ = new ChannelState(); + MemberAccountInfo::default_instance_ = new MemberAccountInfo(); + MemberState::default_instance_ = new MemberState(); + Member::default_instance_ = new Member(); + SubscriberId::default_instance_ = new SubscriberId(); + Message::default_instance_->InitAsDefaultInstance(); + ListChannelsOptions::default_instance_->InitAsDefaultInstance(); + ChannelDescription::default_instance_->InitAsDefaultInstance(); + ChannelInfo::default_instance_->InitAsDefaultInstance(); + ChannelState::default_instance_->InitAsDefaultInstance(); + MemberAccountInfo::default_instance_->InitAsDefaultInstance(); + MemberState::default_instance_->InitAsDefaultInstance(); + Member::default_instance_->InitAsDefaultInstance(); + SubscriberId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Message::kAttributeFieldNumber; +#endif // !_MSC_VER + +Message::Message() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Message) +} + +void Message::InitAsDefaultInstance() { +} + +Message::Message(const Message& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Message) +} + +void Message::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Message::~Message() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Message) + SharedDtor(); +} + +void Message::SharedDtor() { + if (this != default_instance_) { + } +} + +void Message::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Message::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Message_descriptor_; +} + +const Message& Message::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +Message* Message::default_instance_ = NULL; + +Message* Message::New() const { + return new Message; +} + +void Message::Swap(Message* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Message::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Message_descriptor_; + metadata.reflection = Message_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ListChannelsOptions::kStartIndexFieldNumber; +const int ListChannelsOptions::kMaxResultsFieldNumber; +const int ListChannelsOptions::kNameFieldNumber; +const int ListChannelsOptions::kProgramFieldNumber; +const int ListChannelsOptions::kLocaleFieldNumber; +const int ListChannelsOptions::kCapacityFullFieldNumber; +const int ListChannelsOptions::kAttributeFilterFieldNumber; +const int ListChannelsOptions::kChannelTypeFieldNumber; +#endif // !_MSC_VER + +ListChannelsOptions::ListChannelsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ListChannelsOptions) +} + +void ListChannelsOptions::InitAsDefaultInstance() { + attribute_filter_ = const_cast< ::bgs::protocol::AttributeFilter*>(&::bgs::protocol::AttributeFilter::default_instance()); +} + +ListChannelsOptions::ListChannelsOptions(const ListChannelsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ListChannelsOptions) +} + +void ListChannelsOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + start_index_ = 0u; + max_results_ = 16u; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + program_ = 0u; + locale_ = 0u; + capacity_full_ = 0u; + attribute_filter_ = NULL; + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ListChannelsOptions::~ListChannelsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ListChannelsOptions) + SharedDtor(); +} + +void ListChannelsOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_type_; + } + if (this != default_instance_) { + delete attribute_filter_; + } +} + +void ListChannelsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ListChannelsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ListChannelsOptions_descriptor_; +} + +const ListChannelsOptions& ListChannelsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ListChannelsOptions* ListChannelsOptions::default_instance_ = NULL; + +ListChannelsOptions* ListChannelsOptions::New() const { + return new ListChannelsOptions; +} + +void ListChannelsOptions::Swap(ListChannelsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ListChannelsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ListChannelsOptions_descriptor_; + metadata.reflection = ListChannelsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ChannelDescription::kChannelIdFieldNumber; +const int ChannelDescription::kCurrentMembersFieldNumber; +const int ChannelDescription::kStateFieldNumber; +#endif // !_MSC_VER + +ChannelDescription::ChannelDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelDescription) +} + +void ChannelDescription::InitAsDefaultInstance() { + channel_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); + state_ = const_cast< ::bgs::protocol::channel::v1::ChannelState*>(&::bgs::protocol::channel::v1::ChannelState::default_instance()); +} + +ChannelDescription::ChannelDescription(const ChannelDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelDescription) +} + +void ChannelDescription::SharedCtor() { + _cached_size_ = 0; + channel_id_ = NULL; + current_members_ = 0u; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelDescription::~ChannelDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelDescription) + SharedDtor(); +} + +void ChannelDescription::SharedDtor() { + if (this != default_instance_) { + delete channel_id_; + delete state_; + } +} + +void ChannelDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelDescription_descriptor_; +} + +const ChannelDescription& ChannelDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelDescription* ChannelDescription::default_instance_ = NULL; + +ChannelDescription* ChannelDescription::New() const { + return new ChannelDescription; +} + +void ChannelDescription::Swap(ChannelDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelDescription_descriptor_; + metadata.reflection = ChannelDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ChannelInfo::kDescriptionFieldNumber; +const int ChannelInfo::kMemberFieldNumber; +#endif // !_MSC_VER + +ChannelInfo::ChannelInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelInfo) +} + +void ChannelInfo::InitAsDefaultInstance() { + description_ = const_cast< ::bgs::protocol::channel::v1::ChannelDescription*>(&::bgs::protocol::channel::v1::ChannelDescription::default_instance()); +} + +ChannelInfo::ChannelInfo(const ChannelInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelInfo) +} + +void ChannelInfo::SharedCtor() { + _cached_size_ = 0; + description_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelInfo::~ChannelInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelInfo) + SharedDtor(); +} + +void ChannelInfo::SharedDtor() { + if (this != default_instance_) { + delete description_; + } +} + +void ChannelInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelInfo_descriptor_; +} + +const ChannelInfo& ChannelInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelInfo* ChannelInfo::default_instance_ = NULL; + +ChannelInfo* ChannelInfo::New() const { + return new ChannelInfo; +} + +void ChannelInfo::Swap(ChannelInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelInfo_descriptor_; + metadata.reflection = ChannelInfo_reflection_; + return metadata; +} + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelState_PrivacyLevel_descriptor_; +} +bool ChannelState_PrivacyLevel_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_CLOSED; +const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MIN; +const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MAX; +const int ChannelState::PrivacyLevel_ARRAYSIZE; +#endif // _MSC_VER +::std::string* ChannelState::_default_channel_type_ = NULL; +#ifndef _MSC_VER +const int ChannelState::kMaxMembersFieldNumber; +const int ChannelState::kMinMembersFieldNumber; +const int ChannelState::kAttributeFieldNumber; +const int ChannelState::kInvitationFieldNumber; +const int ChannelState::kReasonFieldNumber; +const int ChannelState::kPrivacyLevelFieldNumber; +const int ChannelState::kNameFieldNumber; +const int ChannelState::kChannelTypeFieldNumber; +const int ChannelState::kProgramFieldNumber; +const int ChannelState::kSubscribeToPresenceFieldNumber; +#endif // !_MSC_VER + +ChannelState::ChannelState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelState) +} + +void ChannelState::InitAsDefaultInstance() { +} + +ChannelState::ChannelState(const ChannelState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelState) +} + +void ChannelState::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + max_members_ = 0u; + min_members_ = 0u; + reason_ = 0u; + privacy_level_ = 1; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + program_ = 0u; + subscribe_to_presence_ = true; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelState::~ChannelState() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelState) + SharedDtor(); +} + +void ChannelState::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (channel_type_ != _default_channel_type_) { + delete channel_type_; + } + if (this != default_instance_) { + } +} + +void ChannelState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelState_descriptor_; +} + +const ChannelState& ChannelState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelState* ChannelState::default_instance_ = NULL; + +ChannelState* ChannelState::New() const { + return new ChannelState; +} + +void ChannelState::Swap(ChannelState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelState_descriptor_; + metadata.reflection = ChannelState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAccountInfo::kBattleTagFieldNumber; +#endif // !_MSC_VER + +MemberAccountInfo::MemberAccountInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberAccountInfo) +} + +void MemberAccountInfo::InitAsDefaultInstance() { +} + +MemberAccountInfo::MemberAccountInfo(const MemberAccountInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberAccountInfo) +} + +void MemberAccountInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAccountInfo::~MemberAccountInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberAccountInfo) + SharedDtor(); +} + +void MemberAccountInfo::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + } +} + +void MemberAccountInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAccountInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAccountInfo_descriptor_; +} + +const MemberAccountInfo& MemberAccountInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +MemberAccountInfo* MemberAccountInfo::default_instance_ = NULL; + +MemberAccountInfo* MemberAccountInfo::New() const { + return new MemberAccountInfo; +} + +void MemberAccountInfo::Swap(MemberAccountInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAccountInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAccountInfo_descriptor_; + metadata.reflection = MemberAccountInfo_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberState::kAttributeFieldNumber; +const int MemberState::kRoleFieldNumber; +const int MemberState::kPrivilegesFieldNumber; +const int MemberState::kInfoFieldNumber; +#endif // !_MSC_VER + +MemberState::MemberState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberState) +} + +void MemberState::InitAsDefaultInstance() { + info_ = const_cast< ::bgs::protocol::channel::v1::MemberAccountInfo*>(&::bgs::protocol::channel::v1::MemberAccountInfo::default_instance()); +} + +MemberState::MemberState(const MemberState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberState) +} + +void MemberState::SharedCtor() { + _cached_size_ = 0; + privileges_ = GOOGLE_ULONGLONG(0); + info_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberState::~MemberState() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberState) + SharedDtor(); +} + +void MemberState::SharedDtor() { + if (this != default_instance_) { + delete info_; + } +} + +void MemberState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberState_descriptor_; +} + +const MemberState& MemberState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +MemberState* MemberState::default_instance_ = NULL; + +MemberState* MemberState::New() const { + return new MemberState; +} + +void MemberState::Swap(MemberState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberState_descriptor_; + metadata.reflection = MemberState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Member::kIdentityFieldNumber; +const int Member::kStateFieldNumber; +#endif // !_MSC_VER + +Member::Member() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Member) +} + +void Member::InitAsDefaultInstance() { + identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); + state_ = const_cast< ::bgs::protocol::channel::v1::MemberState*>(&::bgs::protocol::channel::v1::MemberState::default_instance()); +} + +Member::Member(const Member& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Member) +} + +void Member::SharedCtor() { + _cached_size_ = 0; + identity_ = NULL; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Member::~Member() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Member) + SharedDtor(); +} + +void Member::SharedDtor() { + if (this != default_instance_) { + delete identity_; + delete state_; + } +} + +void Member::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Member::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Member_descriptor_; +} + +const Member& Member::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +Member* Member::default_instance_ = NULL; + +Member* Member::New() const { + return new Member; +} + +void Member::Swap(Member* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Member::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Member_descriptor_; + metadata.reflection = Member_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberId::kAccountFieldNumber; +const int SubscriberId::kGameAccountFieldNumber; +const int SubscriberId::kProcessFieldNumber; +#endif // !_MSC_VER + +SubscriberId::SubscriberId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.SubscriberId) +} + +void SubscriberId::InitAsDefaultInstance() { + account_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + game_account_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); + process_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance()); +} + +SubscriberId::SubscriberId(const SubscriberId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.SubscriberId) +} + +void SubscriberId::SharedCtor() { + _cached_size_ = 0; + account_ = NULL; + game_account_ = NULL; + process_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberId::~SubscriberId() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.SubscriberId) + SharedDtor(); +} + +void SubscriberId::SharedDtor() { + if (this != default_instance_) { + delete account_; + delete game_account_; + delete process_; + } +} + +void SubscriberId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberId_descriptor_; +} + +const SubscriberId& SubscriberId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +SubscriberId* SubscriberId::default_instance_ = NULL; + +SubscriberId* SubscriberId::New() const { + return new SubscriberId; +} + +void SubscriberId::Swap(SubscriberId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberId_descriptor_; + metadata.reflection = SubscriberId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace channel +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/channel_types.pb.h b/src/server/proto/Client/api/client/v1/channel_types.pb.h new file mode 100644 index 00000000000..7d6a145d481 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.h @@ -0,0 +1,2362 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/channel_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "api/client/v1/channel_id.pb.h" // IWYU pragma: export +#include "attribute_types.pb.h" +#include "entity_types.pb.h" +#include "account_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace channel { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + +class Message; +class ListChannelsOptions; +class ChannelDescription; +class ChannelInfo; +class ChannelState; +class MemberAccountInfo; +class MemberState; +class Member; +class SubscriberId; + +enum ChannelState_PrivacyLevel { + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN = 1, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = 2, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION = 3, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED = 4 +}; +TC_PROTO_API bool ChannelState_PrivacyLevel_IsValid(int value); +const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MIN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; +const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MAX = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; +const int ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE = ChannelState_PrivacyLevel_PrivacyLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor(); +inline const ::std::string& ChannelState_PrivacyLevel_Name(ChannelState_PrivacyLevel value) { + return ::google::protobuf::internal::NameOfEnum( + ChannelState_PrivacyLevel_descriptor(), value); +} +inline bool ChannelState_PrivacyLevel_Parse( + const ::std::string& name, ChannelState_PrivacyLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ChannelState_PrivacyLevel_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Message : public ::google::protobuf::Message { + public: + Message(); + virtual ~Message(); + + Message(const Message& from); + + inline Message& operator=(const Message& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Message& default_instance(); + + void Swap(Message* other); + + // implements Message ---------------------------------------------- + + Message* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message) + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Message) + private: + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Message* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ListChannelsOptions : public ::google::protobuf::Message { + public: + ListChannelsOptions(); + virtual ~ListChannelsOptions(); + + ListChannelsOptions(const ListChannelsOptions& from); + + inline ListChannelsOptions& operator=(const ListChannelsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ListChannelsOptions& default_instance(); + + void Swap(ListChannelsOptions* other); + + // implements Message ---------------------------------------------- + + ListChannelsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 start_index = 1 [default = 0]; + inline bool has_start_index() const; + inline void clear_start_index(); + static const int kStartIndexFieldNumber = 1; + inline ::google::protobuf::uint32 start_index() const; + inline void set_start_index(::google::protobuf::uint32 value); + + // optional uint32 max_results = 2 [default = 16]; + inline bool has_max_results() const; + inline void clear_max_results(); + static const int kMaxResultsFieldNumber = 2; + inline ::google::protobuf::uint32 max_results() const; + inline void set_max_results(::google::protobuf::uint32 value); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional fixed32 program = 4; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 4; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional fixed32 locale = 5; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 5; + inline ::google::protobuf::uint32 locale() const; + inline void set_locale(::google::protobuf::uint32 value); + + // optional uint32 capacity_full = 6; + inline bool has_capacity_full() const; + inline void clear_capacity_full(); + static const int kCapacityFullFieldNumber = 6; + inline ::google::protobuf::uint32 capacity_full() const; + inline void set_capacity_full(::google::protobuf::uint32 value); + + // required .bgs.protocol.AttributeFilter attribute_filter = 7; + inline bool has_attribute_filter() const; + inline void clear_attribute_filter(); + static const int kAttributeFilterFieldNumber = 7; + inline const ::bgs::protocol::AttributeFilter& attribute_filter() const; + inline ::bgs::protocol::AttributeFilter* mutable_attribute_filter(); + inline ::bgs::protocol::AttributeFilter* release_attribute_filter(); + inline void set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter); + + // optional string channel_type = 8; + inline bool has_channel_type() const; + inline void clear_channel_type(); + static const int kChannelTypeFieldNumber = 8; + inline const ::std::string& channel_type() const; + inline void set_channel_type(const ::std::string& value); + inline void set_channel_type(const char* value); + inline void set_channel_type(const char* value, size_t size); + inline ::std::string* mutable_channel_type(); + inline ::std::string* release_channel_type(); + inline void set_allocated_channel_type(::std::string* channel_type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ListChannelsOptions) + private: + inline void set_has_start_index(); + inline void clear_has_start_index(); + inline void set_has_max_results(); + inline void clear_has_max_results(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_capacity_full(); + inline void clear_has_capacity_full(); + inline void set_has_attribute_filter(); + inline void clear_has_attribute_filter(); + inline void set_has_channel_type(); + inline void clear_has_channel_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 start_index_; + ::google::protobuf::uint32 max_results_; + ::std::string* name_; + ::google::protobuf::uint32 program_; + ::google::protobuf::uint32 locale_; + ::bgs::protocol::AttributeFilter* attribute_filter_; + ::std::string* channel_type_; + ::google::protobuf::uint32 capacity_full_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ListChannelsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelDescription : public ::google::protobuf::Message { + public: + ChannelDescription(); + virtual ~ChannelDescription(); + + ChannelDescription(const ChannelDescription& from); + + inline ChannelDescription& operator=(const ChannelDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelDescription& default_instance(); + + void Swap(ChannelDescription* other); + + // implements Message ---------------------------------------------- + + ChannelDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.EntityId channel_id = 1; + inline bool has_channel_id() const; + inline void clear_channel_id(); + static const int kChannelIdFieldNumber = 1; + inline const ::bgs::protocol::EntityId& channel_id() const; + inline ::bgs::protocol::EntityId* mutable_channel_id(); + inline ::bgs::protocol::EntityId* release_channel_id(); + inline void set_allocated_channel_id(::bgs::protocol::EntityId* channel_id); + + // optional uint32 current_members = 2; + inline bool has_current_members() const; + inline void clear_current_members(); + static const int kCurrentMembersFieldNumber = 2; + inline ::google::protobuf::uint32 current_members() const; + inline void set_current_members(::google::protobuf::uint32 value); + + // optional .bgs.protocol.channel.v1.ChannelState state = 3; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 3; + inline const ::bgs::protocol::channel::v1::ChannelState& state() const; + inline ::bgs::protocol::channel::v1::ChannelState* mutable_state(); + inline ::bgs::protocol::channel::v1::ChannelState* release_state(); + inline void set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelDescription) + private: + inline void set_has_channel_id(); + inline void clear_has_channel_id(); + inline void set_has_current_members(); + inline void clear_has_current_members(); + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::EntityId* channel_id_; + ::bgs::protocol::channel::v1::ChannelState* state_; + ::google::protobuf::uint32 current_members_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelInfo : public ::google::protobuf::Message { + public: + ChannelInfo(); + virtual ~ChannelInfo(); + + ChannelInfo(const ChannelInfo& from); + + inline ChannelInfo& operator=(const ChannelInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelInfo& default_instance(); + + void Swap(ChannelInfo* other); + + // implements Message ---------------------------------------------- + + ChannelInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.channel.v1.ChannelDescription description = 1; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 1; + inline const ::bgs::protocol::channel::v1::ChannelDescription& description() const; + inline ::bgs::protocol::channel::v1::ChannelDescription* mutable_description(); + inline ::bgs::protocol::channel::v1::ChannelDescription* release_description(); + inline void set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description); + + // repeated .bgs.protocol.channel.v1.Member member = 2; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 2; + inline const ::bgs::protocol::channel::v1::Member& member(int index) const; + inline ::bgs::protocol::channel::v1::Member* mutable_member(int index); + inline ::bgs::protocol::channel::v1::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelInfo) + private: + inline void set_has_description(); + inline void clear_has_description(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::channel::v1::ChannelDescription* description_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelState : public ::google::protobuf::Message { + public: + ChannelState(); + virtual ~ChannelState(); + + ChannelState(const ChannelState& from); + + inline ChannelState& operator=(const ChannelState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelState& default_instance(); + + void Swap(ChannelState* other); + + // implements Message ---------------------------------------------- + + ChannelState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + typedef ChannelState_PrivacyLevel PrivacyLevel; + static const PrivacyLevel PRIVACY_LEVEL_OPEN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; + static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; + static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION; + static const PrivacyLevel PRIVACY_LEVEL_CLOSED = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; + static inline bool PrivacyLevel_IsValid(int value) { + return ChannelState_PrivacyLevel_IsValid(value); + } + static const PrivacyLevel PrivacyLevel_MIN = + ChannelState_PrivacyLevel_PrivacyLevel_MIN; + static const PrivacyLevel PrivacyLevel_MAX = + ChannelState_PrivacyLevel_PrivacyLevel_MAX; + static const int PrivacyLevel_ARRAYSIZE = + ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + PrivacyLevel_descriptor() { + return ChannelState_PrivacyLevel_descriptor(); + } + static inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { + return ChannelState_PrivacyLevel_Name(value); + } + static inline bool PrivacyLevel_Parse(const ::std::string& name, + PrivacyLevel* value) { + return ChannelState_PrivacyLevel_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // optional uint32 max_members = 1; + inline bool has_max_members() const; + inline void clear_max_members(); + static const int kMaxMembersFieldNumber = 1; + inline ::google::protobuf::uint32 max_members() const; + inline void set_max_members(::google::protobuf::uint32 value); + + // optional uint32 min_members = 2; + inline bool has_min_members() const; + inline void clear_min_members(); + static const int kMinMembersFieldNumber = 2; + inline ::google::protobuf::uint32 min_members() const; + inline void set_min_members(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + // repeated .bgs.protocol.Invitation invitation = 4; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 4; + inline const ::bgs::protocol::Invitation& invitation(int index) const; + inline ::bgs::protocol::Invitation* mutable_invitation(int index); + inline ::bgs::protocol::Invitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* + mutable_invitation(); + + // optional uint32 reason = 6; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 6; + inline ::google::protobuf::uint32 reason() const; + inline void set_reason(::google::protobuf::uint32 value); + + // optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 7; + inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value); + + // optional string name = 8; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 8; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string channel_type = 10 [default = "default"]; + inline bool has_channel_type() const; + inline void clear_channel_type(); + static const int kChannelTypeFieldNumber = 10; + inline const ::std::string& channel_type() const; + inline void set_channel_type(const ::std::string& value); + inline void set_channel_type(const char* value); + inline void set_channel_type(const char* value, size_t size); + inline ::std::string* mutable_channel_type(); + inline ::std::string* release_channel_type(); + inline void set_allocated_channel_type(::std::string* channel_type); + + // optional fixed32 program = 11; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 11; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional bool subscribe_to_presence = 13 [default = true]; + inline bool has_subscribe_to_presence() const; + inline void clear_subscribe_to_presence(); + static const int kSubscribeToPresenceFieldNumber = 13; + inline bool subscribe_to_presence() const; + inline void set_subscribe_to_presence(bool value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ChannelState) + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelState) + private: + inline void set_has_max_members(); + inline void clear_has_max_members(); + inline void set_has_min_members(); + inline void clear_has_min_members(); + inline void set_has_reason(); + inline void clear_has_reason(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_channel_type(); + inline void clear_has_channel_type(); + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_subscribe_to_presence(); + inline void clear_has_subscribe_to_presence(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 max_members_; + ::google::protobuf::uint32 min_members_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation > invitation_; + ::google::protobuf::uint32 reason_; + int privacy_level_; + ::std::string* name_; + static ::std::string* _default_channel_type_; + ::std::string* channel_type_; + ::google::protobuf::uint32 program_; + bool subscribe_to_presence_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAccountInfo : public ::google::protobuf::Message { + public: + MemberAccountInfo(); + virtual ~MemberAccountInfo(); + + MemberAccountInfo(const MemberAccountInfo& from); + + inline MemberAccountInfo& operator=(const MemberAccountInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAccountInfo& default_instance(); + + void Swap(MemberAccountInfo* other); + + // implements Message ---------------------------------------------- + + MemberAccountInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string battle_tag = 3; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 3; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberAccountInfo) + private: + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MemberAccountInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberState : public ::google::protobuf::Message { + public: + MemberState(); + virtual ~MemberState(); + + MemberState(const MemberState& from); + + inline MemberState& operator=(const MemberState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberState& default_instance(); + + void Swap(MemberState* other); + + // implements Message ---------------------------------------------- + + MemberState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // optional uint64 privileges = 3 [default = 0]; + inline bool has_privileges() const; + inline void clear_privileges(); + static const int kPrivilegesFieldNumber = 3; + inline ::google::protobuf::uint64 privileges() const; + inline void set_privileges(::google::protobuf::uint64 value); + + // optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; + inline bool has_info() const; + inline void clear_info(); + static const int kInfoFieldNumber = 4; + inline const ::bgs::protocol::channel::v1::MemberAccountInfo& info() const; + inline ::bgs::protocol::channel::v1::MemberAccountInfo* mutable_info(); + inline ::bgs::protocol::channel::v1::MemberAccountInfo* release_info(); + inline void set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberState) + private: + inline void set_has_privileges(); + inline void clear_has_privileges(); + inline void set_has_info(); + inline void clear_has_info(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + ::google::protobuf::uint64 privileges_; + ::bgs::protocol::channel::v1::MemberAccountInfo* info_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MemberState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Member : public ::google::protobuf::Message { + public: + Member(); + virtual ~Member(); + + Member(const Member& from); + + inline Member& operator=(const Member& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Member& default_instance(); + + void Swap(Member* other); + + // implements Message ---------------------------------------------- + + Member* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.Identity identity = 1; + inline bool has_identity() const; + inline void clear_identity(); + static const int kIdentityFieldNumber = 1; + inline const ::bgs::protocol::Identity& identity() const; + inline ::bgs::protocol::Identity* mutable_identity(); + inline ::bgs::protocol::Identity* release_identity(); + inline void set_allocated_identity(::bgs::protocol::Identity* identity); + + // required .bgs.protocol.channel.v1.MemberState state = 2; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 2; + inline const ::bgs::protocol::channel::v1::MemberState& state() const; + inline ::bgs::protocol::channel::v1::MemberState* mutable_state(); + inline ::bgs::protocol::channel::v1::MemberState* release_state(); + inline void set_allocated_state(::bgs::protocol::channel::v1::MemberState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Member) + private: + inline void set_has_identity(); + inline void clear_has_identity(); + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::Identity* identity_; + ::bgs::protocol::channel::v1::MemberState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Member* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberId : public ::google::protobuf::Message { + public: + SubscriberId(); + virtual ~SubscriberId(); + + SubscriberId(const SubscriberId& from); + + inline SubscriberId& operator=(const SubscriberId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberId& default_instance(); + + void Swap(SubscriberId* other); + + // implements Message ---------------------------------------------- + + SubscriberId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; + inline bool has_account() const PROTOBUF_DEPRECATED; + inline void clear_account() PROTOBUF_DEPRECATED; + static const int kAccountFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& account() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_account() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_account() PROTOBUF_DEPRECATED; + inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; + inline bool has_game_account() const; + inline void clear_game_account(); + static const int kGameAccountFieldNumber = 2; + inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const; + inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account(); + inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account(); + inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account); + + // optional .bgs.protocol.ProcessId process = 3; + inline bool has_process() const; + inline void clear_process(); + static const int kProcessFieldNumber = 3; + inline const ::bgs::protocol::ProcessId& process() const; + inline ::bgs::protocol::ProcessId* mutable_process(); + inline ::bgs::protocol::ProcessId* release_process(); + inline void set_allocated_process(::bgs::protocol::ProcessId* process); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.SubscriberId) + private: + inline void set_has_account(); + inline void clear_has_account(); + inline void set_has_game_account(); + inline void clear_has_game_account(); + inline void set_has_process(); + inline void clear_has_process(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* account_; + ::bgs::protocol::account::v1::GameAccountHandle* game_account_; + ::bgs::protocol::ProcessId* process_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Message + +// repeated .bgs.protocol.Attribute attribute = 1; +inline int Message::attribute_size() const { + return attribute_.size(); +} +inline void Message::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& Message::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* Message::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* Message::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +Message::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.Message.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +Message::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.Message.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// ListChannelsOptions + +// optional uint32 start_index = 1 [default = 0]; +inline bool ListChannelsOptions::has_start_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ListChannelsOptions::set_has_start_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void ListChannelsOptions::clear_has_start_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ListChannelsOptions::clear_start_index() { + start_index_ = 0u; + clear_has_start_index(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::start_index() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.start_index) + return start_index_; +} +inline void ListChannelsOptions::set_start_index(::google::protobuf::uint32 value) { + set_has_start_index(); + start_index_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.start_index) +} + +// optional uint32 max_results = 2 [default = 16]; +inline bool ListChannelsOptions::has_max_results() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ListChannelsOptions::set_has_max_results() { + _has_bits_[0] |= 0x00000002u; +} +inline void ListChannelsOptions::clear_has_max_results() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ListChannelsOptions::clear_max_results() { + max_results_ = 16u; + clear_has_max_results(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::max_results() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.max_results) + return max_results_; +} +inline void ListChannelsOptions::set_max_results(::google::protobuf::uint32 value) { + set_has_max_results(); + max_results_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.max_results) +} + +// optional string name = 3; +inline bool ListChannelsOptions::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ListChannelsOptions::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ListChannelsOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ListChannelsOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ListChannelsOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.name) + return *name_; +} +inline void ListChannelsOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline void ListChannelsOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline void ListChannelsOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline ::std::string* ListChannelsOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.name) + return name_; +} +inline ::std::string* ListChannelsOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ListChannelsOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.name) +} + +// optional fixed32 program = 4; +inline bool ListChannelsOptions::has_program() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ListChannelsOptions::set_has_program() { + _has_bits_[0] |= 0x00000008u; +} +inline void ListChannelsOptions::clear_has_program() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ListChannelsOptions::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.program) + return program_; +} +inline void ListChannelsOptions::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.program) +} + +// optional fixed32 locale = 5; +inline bool ListChannelsOptions::has_locale() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ListChannelsOptions::set_has_locale() { + _has_bits_[0] |= 0x00000010u; +} +inline void ListChannelsOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ListChannelsOptions::clear_locale() { + locale_ = 0u; + clear_has_locale(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.locale) + return locale_; +} +inline void ListChannelsOptions::set_locale(::google::protobuf::uint32 value) { + set_has_locale(); + locale_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.locale) +} + +// optional uint32 capacity_full = 6; +inline bool ListChannelsOptions::has_capacity_full() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ListChannelsOptions::set_has_capacity_full() { + _has_bits_[0] |= 0x00000020u; +} +inline void ListChannelsOptions::clear_has_capacity_full() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ListChannelsOptions::clear_capacity_full() { + capacity_full_ = 0u; + clear_has_capacity_full(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::capacity_full() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) + return capacity_full_; +} +inline void ListChannelsOptions::set_capacity_full(::google::protobuf::uint32 value) { + set_has_capacity_full(); + capacity_full_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) +} + +// required .bgs.protocol.AttributeFilter attribute_filter = 7; +inline bool ListChannelsOptions::has_attribute_filter() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ListChannelsOptions::set_has_attribute_filter() { + _has_bits_[0] |= 0x00000040u; +} +inline void ListChannelsOptions::clear_has_attribute_filter() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ListChannelsOptions::clear_attribute_filter() { + if (attribute_filter_ != NULL) attribute_filter_->::bgs::protocol::AttributeFilter::Clear(); + clear_has_attribute_filter(); +} +inline const ::bgs::protocol::AttributeFilter& ListChannelsOptions::attribute_filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) + return attribute_filter_ != NULL ? *attribute_filter_ : *default_instance_->attribute_filter_; +} +inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::mutable_attribute_filter() { + set_has_attribute_filter(); + if (attribute_filter_ == NULL) attribute_filter_ = new ::bgs::protocol::AttributeFilter; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) + return attribute_filter_; +} +inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::release_attribute_filter() { + clear_has_attribute_filter(); + ::bgs::protocol::AttributeFilter* temp = attribute_filter_; + attribute_filter_ = NULL; + return temp; +} +inline void ListChannelsOptions::set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter) { + delete attribute_filter_; + attribute_filter_ = attribute_filter; + if (attribute_filter) { + set_has_attribute_filter(); + } else { + clear_has_attribute_filter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) +} + +// optional string channel_type = 8; +inline bool ListChannelsOptions::has_channel_type() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ListChannelsOptions::set_has_channel_type() { + _has_bits_[0] |= 0x00000080u; +} +inline void ListChannelsOptions::clear_has_channel_type() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ListChannelsOptions::clear_channel_type() { + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_->clear(); + } + clear_has_channel_type(); +} +inline const ::std::string& ListChannelsOptions::channel_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) + return *channel_type_; +} +inline void ListChannelsOptions::set_channel_type(const ::std::string& value) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline void ListChannelsOptions::set_channel_type(const char* value) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline void ListChannelsOptions::set_channel_type(const char* value, size_t size) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline ::std::string* ListChannelsOptions::mutable_channel_type() { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) + return channel_type_; +} +inline ::std::string* ListChannelsOptions::release_channel_type() { + clear_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = channel_type_; + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ListChannelsOptions::set_allocated_channel_type(::std::string* channel_type) { + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_type_; + } + if (channel_type) { + set_has_channel_type(); + channel_type_ = channel_type; + } else { + clear_has_channel_type(); + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} + +// ------------------------------------------------------------------- + +// ChannelDescription + +// required .bgs.protocol.EntityId channel_id = 1; +inline bool ChannelDescription::has_channel_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelDescription::set_has_channel_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelDescription::clear_has_channel_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelDescription::clear_channel_id() { + if (channel_id_ != NULL) channel_id_->::bgs::protocol::EntityId::Clear(); + clear_has_channel_id(); +} +inline const ::bgs::protocol::EntityId& ChannelDescription::channel_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.channel_id) + return channel_id_ != NULL ? *channel_id_ : *default_instance_->channel_id_; +} +inline ::bgs::protocol::EntityId* ChannelDescription::mutable_channel_id() { + set_has_channel_id(); + if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::EntityId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.channel_id) + return channel_id_; +} +inline ::bgs::protocol::EntityId* ChannelDescription::release_channel_id() { + clear_has_channel_id(); + ::bgs::protocol::EntityId* temp = channel_id_; + channel_id_ = NULL; + return temp; +} +inline void ChannelDescription::set_allocated_channel_id(::bgs::protocol::EntityId* channel_id) { + delete channel_id_; + channel_id_ = channel_id; + if (channel_id) { + set_has_channel_id(); + } else { + clear_has_channel_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.channel_id) +} + +// optional uint32 current_members = 2; +inline bool ChannelDescription::has_current_members() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ChannelDescription::set_has_current_members() { + _has_bits_[0] |= 0x00000002u; +} +inline void ChannelDescription::clear_has_current_members() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ChannelDescription::clear_current_members() { + current_members_ = 0u; + clear_has_current_members(); +} +inline ::google::protobuf::uint32 ChannelDescription::current_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.current_members) + return current_members_; +} +inline void ChannelDescription::set_current_members(::google::protobuf::uint32 value) { + set_has_current_members(); + current_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelDescription.current_members) +} + +// optional .bgs.protocol.channel.v1.ChannelState state = 3; +inline bool ChannelDescription::has_state() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ChannelDescription::set_has_state() { + _has_bits_[0] |= 0x00000004u; +} +inline void ChannelDescription::clear_has_state() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ChannelDescription::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::channel::v1::ChannelState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::channel::v1::ChannelState& ChannelDescription::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::ChannelState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.state) + return state_; +} +inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::release_state() { + clear_has_state(); + ::bgs::protocol::channel::v1::ChannelState* temp = state_; + state_ = NULL; + return temp; +} +inline void ChannelDescription::set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.state) +} + +// ------------------------------------------------------------------- + +// ChannelInfo + +// required .bgs.protocol.channel.v1.ChannelDescription description = 1; +inline bool ChannelInfo::has_description() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelInfo::set_has_description() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelInfo::clear_has_description() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelInfo::clear_description() { + if (description_ != NULL) description_->::bgs::protocol::channel::v1::ChannelDescription::Clear(); + clear_has_description(); +} +inline const ::bgs::protocol::channel::v1::ChannelDescription& ChannelInfo::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.description) + return description_ != NULL ? *description_ : *default_instance_->description_; +} +inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::mutable_description() { + set_has_description(); + if (description_ == NULL) description_ = new ::bgs::protocol::channel::v1::ChannelDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.description) + return description_; +} +inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::release_description() { + clear_has_description(); + ::bgs::protocol::channel::v1::ChannelDescription* temp = description_; + description_ = NULL; + return temp; +} +inline void ChannelInfo::set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description) { + delete description_; + description_ = description; + if (description) { + set_has_description(); + } else { + clear_has_description(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelInfo.description) +} + +// repeated .bgs.protocol.channel.v1.Member member = 2; +inline int ChannelInfo::member_size() const { + return member_.size(); +} +inline void ChannelInfo::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::channel::v1::Member& ChannelInfo::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Get(index); +} +inline ::bgs::protocol::channel::v1::Member* ChannelInfo::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::channel::v1::Member* ChannelInfo::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& +ChannelInfo::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelInfo.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* +ChannelInfo::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelInfo.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// ChannelState + +// optional uint32 max_members = 1; +inline bool ChannelState::has_max_members() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelState::set_has_max_members() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelState::clear_has_max_members() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelState::clear_max_members() { + max_members_ = 0u; + clear_has_max_members(); +} +inline ::google::protobuf::uint32 ChannelState::max_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.max_members) + return max_members_; +} +inline void ChannelState::set_max_members(::google::protobuf::uint32 value) { + set_has_max_members(); + max_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.max_members) +} + +// optional uint32 min_members = 2; +inline bool ChannelState::has_min_members() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ChannelState::set_has_min_members() { + _has_bits_[0] |= 0x00000002u; +} +inline void ChannelState::clear_has_min_members() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ChannelState::clear_min_members() { + min_members_ = 0u; + clear_has_min_members(); +} +inline ::google::protobuf::uint32 ChannelState::min_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.min_members) + return min_members_; +} +inline void ChannelState::set_min_members(::google::protobuf::uint32 value) { + set_has_min_members(); + min_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.min_members) +} + +// repeated .bgs.protocol.Attribute attribute = 3; +inline int ChannelState::attribute_size() const { + return attribute_.size(); +} +inline void ChannelState::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& ChannelState::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* ChannelState::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* ChannelState::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +ChannelState::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +ChannelState::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.attribute) + return &attribute_; +} + +// repeated .bgs.protocol.Invitation invitation = 4; +inline int ChannelState::invitation_size() const { + return invitation_.size(); +} +inline void ChannelState::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::Invitation& ChannelState::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::Invitation* ChannelState::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::Invitation* ChannelState::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& +ChannelState::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* +ChannelState::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.invitation) + return &invitation_; +} + +// optional uint32 reason = 6; +inline bool ChannelState::has_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ChannelState::set_has_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void ChannelState::clear_has_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ChannelState::clear_reason() { + reason_ = 0u; + clear_has_reason(); +} +inline ::google::protobuf::uint32 ChannelState::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.reason) + return reason_; +} +inline void ChannelState::set_reason(::google::protobuf::uint32 value) { + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.reason) +} + +// optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; +inline bool ChannelState::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ChannelState::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ChannelState::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ChannelState::clear_privacy_level() { + privacy_level_ = 1; + clear_has_privacy_level(); +} +inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel ChannelState::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.privacy_level) + return static_cast< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel >(privacy_level_); +} +inline void ChannelState::set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value) { + assert(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.privacy_level) +} + +// optional string name = 8; +inline bool ChannelState::has_name() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ChannelState::set_has_name() { + _has_bits_[0] |= 0x00000040u; +} +inline void ChannelState::clear_has_name() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ChannelState::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ChannelState::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.name) + return *name_; +} +inline void ChannelState::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.name) +} +inline void ChannelState::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.name) +} +inline void ChannelState::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.name) +} +inline ::std::string* ChannelState::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.name) + return name_; +} +inline ::std::string* ChannelState::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ChannelState::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.name) +} + +// optional string channel_type = 10 [default = "default"]; +inline bool ChannelState::has_channel_type() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ChannelState::set_has_channel_type() { + _has_bits_[0] |= 0x00000080u; +} +inline void ChannelState::clear_has_channel_type() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ChannelState::clear_channel_type() { + if (channel_type_ != _default_channel_type_) { + channel_type_->assign(*_default_channel_type_); + } + clear_has_channel_type(); +} +inline const ::std::string& ChannelState::channel_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.channel_type) + return *channel_type_; +} +inline void ChannelState::set_channel_type(const ::std::string& value) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline void ChannelState::set_channel_type(const char* value) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline void ChannelState::set_channel_type(const char* value, size_t size) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline ::std::string* ChannelState::mutable_channel_type() { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string(*_default_channel_type_); + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.channel_type) + return channel_type_; +} +inline ::std::string* ChannelState::release_channel_type() { + clear_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + return NULL; + } else { + ::std::string* temp = channel_type_; + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + return temp; + } +} +inline void ChannelState::set_allocated_channel_type(::std::string* channel_type) { + if (channel_type_ != _default_channel_type_) { + delete channel_type_; + } + if (channel_type) { + set_has_channel_type(); + channel_type_ = channel_type; + } else { + clear_has_channel_type(); + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.channel_type) +} + +// optional fixed32 program = 11; +inline bool ChannelState::has_program() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ChannelState::set_has_program() { + _has_bits_[0] |= 0x00000100u; +} +inline void ChannelState::clear_has_program() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ChannelState::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 ChannelState::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.program) + return program_; +} +inline void ChannelState::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.program) +} + +// optional bool subscribe_to_presence = 13 [default = true]; +inline bool ChannelState::has_subscribe_to_presence() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ChannelState::set_has_subscribe_to_presence() { + _has_bits_[0] |= 0x00000200u; +} +inline void ChannelState::clear_has_subscribe_to_presence() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ChannelState::clear_subscribe_to_presence() { + subscribe_to_presence_ = true; + clear_has_subscribe_to_presence(); +} +inline bool ChannelState::subscribe_to_presence() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) + return subscribe_to_presence_; +} +inline void ChannelState::set_subscribe_to_presence(bool value) { + set_has_subscribe_to_presence(); + subscribe_to_presence_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) +} + +// ------------------------------------------------------------------- + +// MemberAccountInfo + +// optional string battle_tag = 3; +inline bool MemberAccountInfo::has_battle_tag() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAccountInfo::set_has_battle_tag() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAccountInfo::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAccountInfo::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& MemberAccountInfo::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) + return *battle_tag_; +} +inline void MemberAccountInfo::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline void MemberAccountInfo::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline void MemberAccountInfo::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline ::std::string* MemberAccountInfo::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) + return battle_tag_; +} +inline ::std::string* MemberAccountInfo::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberAccountInfo::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} + +// ------------------------------------------------------------------- + +// MemberState + +// repeated .bgs.protocol.Attribute attribute = 1; +inline int MemberState::attribute_size() const { + return attribute_.size(); +} +inline void MemberState::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& MemberState::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* MemberState::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* MemberState::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +MemberState::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +MemberState::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.attribute) + return &attribute_; +} + +// repeated uint32 role = 2 [packed = true]; +inline int MemberState::role_size() const { + return role_.size(); +} +inline void MemberState::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 MemberState::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.role) + return role_.Get(index); +} +inline void MemberState::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.role) +} +inline void MemberState::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +MemberState::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +MemberState::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.role) + return &role_; +} + +// optional uint64 privileges = 3 [default = 0]; +inline bool MemberState::has_privileges() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberState::set_has_privileges() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberState::clear_has_privileges() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberState::clear_privileges() { + privileges_ = GOOGLE_ULONGLONG(0); + clear_has_privileges(); +} +inline ::google::protobuf::uint64 MemberState::privileges() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.privileges) + return privileges_; +} +inline void MemberState::set_privileges(::google::protobuf::uint64 value) { + set_has_privileges(); + privileges_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.privileges) +} + +// optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; +inline bool MemberState::has_info() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberState::set_has_info() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberState::clear_has_info() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberState::clear_info() { + if (info_ != NULL) info_->::bgs::protocol::channel::v1::MemberAccountInfo::Clear(); + clear_has_info(); +} +inline const ::bgs::protocol::channel::v1::MemberAccountInfo& MemberState::info() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.info) + return info_ != NULL ? *info_ : *default_instance_->info_; +} +inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::mutable_info() { + set_has_info(); + if (info_ == NULL) info_ = new ::bgs::protocol::channel::v1::MemberAccountInfo; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.info) + return info_; +} +inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::release_info() { + clear_has_info(); + ::bgs::protocol::channel::v1::MemberAccountInfo* temp = info_; + info_ = NULL; + return temp; +} +inline void MemberState::set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info) { + delete info_; + info_ = info; + if (info) { + set_has_info(); + } else { + clear_has_info(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberState.info) +} + +// ------------------------------------------------------------------- + +// Member + +// required .bgs.protocol.Identity identity = 1; +inline bool Member::has_identity() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Member::set_has_identity() { + _has_bits_[0] |= 0x00000001u; +} +inline void Member::clear_has_identity() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Member::clear_identity() { + if (identity_ != NULL) identity_->::bgs::protocol::Identity::Clear(); + clear_has_identity(); +} +inline const ::bgs::protocol::Identity& Member::identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.identity) + return identity_ != NULL ? *identity_ : *default_instance_->identity_; +} +inline ::bgs::protocol::Identity* Member::mutable_identity() { + set_has_identity(); + if (identity_ == NULL) identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.identity) + return identity_; +} +inline ::bgs::protocol::Identity* Member::release_identity() { + clear_has_identity(); + ::bgs::protocol::Identity* temp = identity_; + identity_ = NULL; + return temp; +} +inline void Member::set_allocated_identity(::bgs::protocol::Identity* identity) { + delete identity_; + identity_ = identity; + if (identity) { + set_has_identity(); + } else { + clear_has_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.identity) +} + +// required .bgs.protocol.channel.v1.MemberState state = 2; +inline bool Member::has_state() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Member::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void Member::clear_has_state() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Member::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::channel::v1::MemberState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::channel::v1::MemberState& Member::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::channel::v1::MemberState* Member::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::MemberState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.state) + return state_; +} +inline ::bgs::protocol::channel::v1::MemberState* Member::release_state() { + clear_has_state(); + ::bgs::protocol::channel::v1::MemberState* temp = state_; + state_ = NULL; + return temp; +} +inline void Member::set_allocated_state(::bgs::protocol::channel::v1::MemberState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.state) +} + +// ------------------------------------------------------------------- + +// SubscriberId + +// optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; +inline bool SubscriberId::has_account() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberId::set_has_account() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberId::clear_has_account() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberId::clear_account() { + if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_account(); +} +inline const ::bgs::protocol::account::v1::AccountId& SubscriberId::account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.account) + return account_ != NULL ? *account_ : *default_instance_->account_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscriberId::mutable_account() { + set_has_account(); + if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.account) + return account_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscriberId::release_account() { + clear_has_account(); + ::bgs::protocol::account::v1::AccountId* temp = account_; + account_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_account(::bgs::protocol::account::v1::AccountId* account) { + delete account_; + account_ = account; + if (account) { + set_has_account(); + } else { + clear_has_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.account) +} + +// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; +inline bool SubscriberId::has_game_account() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberId::set_has_game_account() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberId::clear_has_game_account() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberId::clear_game_account() { + if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); + clear_has_game_account(); +} +inline const ::bgs::protocol::account::v1::GameAccountHandle& SubscriberId::game_account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.game_account) + return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::mutable_game_account() { + set_has_game_account(); + if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.game_account) + return game_account_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::release_game_account() { + clear_has_game_account(); + ::bgs::protocol::account::v1::GameAccountHandle* temp = game_account_; + game_account_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) { + delete game_account_; + game_account_ = game_account; + if (game_account) { + set_has_game_account(); + } else { + clear_has_game_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.game_account) +} + +// optional .bgs.protocol.ProcessId process = 3; +inline bool SubscriberId::has_process() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscriberId::set_has_process() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscriberId::clear_has_process() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscriberId::clear_process() { + if (process_ != NULL) process_->::bgs::protocol::ProcessId::Clear(); + clear_has_process(); +} +inline const ::bgs::protocol::ProcessId& SubscriberId::process() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.process) + return process_ != NULL ? *process_ : *default_instance_->process_; +} +inline ::bgs::protocol::ProcessId* SubscriberId::mutable_process() { + set_has_process(); + if (process_ == NULL) process_ = new ::bgs::protocol::ProcessId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.process) + return process_; +} +inline ::bgs::protocol::ProcessId* SubscriberId::release_process() { + clear_has_process(); + ::bgs::protocol::ProcessId* temp = process_; + process_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_process(::bgs::protocol::ProcessId* process) { + delete process_; + process_ = process; + if (process) { + set_has_process(); + } else { + clear_has_process(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.process) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace channel +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel>() { + return ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_ban.pb.cc b/src/server/proto/Client/api/client/v1/club_ban.pb.cc new file mode 100644 index 00000000000..993b7c757fd --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.cc @@ -0,0 +1,326 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_ban.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_ban.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* AddBanOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddBanOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubBan_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubBan_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_ban.proto"); + GOOGLE_CHECK(file != NULL); + AddBanOptions_descriptor_ = file->message_type(0); + static const int AddBanOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, reason_), + }; + AddBanOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddBanOptions_descriptor_, + AddBanOptions::default_instance_, + AddBanOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddBanOptions)); + ClubBan_descriptor_ = file->message_type(1); + static const int ClubBan_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, reason_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creation_time_), + }; + ClubBan_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubBan_descriptor_, + ClubBan::default_instance_, + ClubBan_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubBan)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddBanOptions_descriptor_, &AddBanOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubBan_descriptor_, &ClubBan::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto() { + delete AddBanOptions::default_instance_; + delete AddBanOptions_reflection_; + delete ClubBan::default_instance_; + delete ClubBan_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\034api/client/v1/club_ban.proto\022\033bgs.prot" + "ocol.club.v1.client\032%global_extensions/f" + "ield_options.proto\032\037api/client/v1/club_m" + "ember.proto\032#api/common/v2/attribute_typ" + "es.proto\"\201\001\n\rAddBanOptions\0221\n\ttarget_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022-\n" + "\tattribute\030\002 \003(\0132\032.bgs.protocol.v2.Attri" + "bute\022\016\n\006reason\030\003 \001(\t\"\350\001\n\007ClubBan\022*\n\002id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\032\n\n" + "battle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\?\n\007creator\030\003 \001(" + "\0132..bgs.protocol.club.v1.client.MemberDe" + "scription\022-\n\tattribute\030\004 \003(\0132\032.bgs.proto" + "col.v2.Attribute\022\016\n\006reason\030\005 \001(\t\022\025\n\rcrea" + "tion_time\030\006 \001(\004B\002H\002", 539); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_ban.proto", &protobuf_RegisterTypes); + AddBanOptions::default_instance_ = new AddBanOptions(); + ClubBan::default_instance_ = new ClubBan(); + AddBanOptions::default_instance_->InitAsDefaultInstance(); + ClubBan::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fban_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fban_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fban_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int AddBanOptions::kTargetIdFieldNumber; +const int AddBanOptions::kAttributeFieldNumber; +const int AddBanOptions::kReasonFieldNumber; +#endif // !_MSC_VER + +AddBanOptions::AddBanOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddBanOptions) +} + +void AddBanOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AddBanOptions::AddBanOptions(const AddBanOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanOptions) +} + +void AddBanOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + target_id_ = NULL; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddBanOptions::~AddBanOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanOptions) + SharedDtor(); +} + +void AddBanOptions::SharedDtor() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (this != default_instance_) { + delete target_id_; + } +} + +void AddBanOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddBanOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddBanOptions_descriptor_; +} + +const AddBanOptions& AddBanOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + return *default_instance_; +} + +AddBanOptions* AddBanOptions::default_instance_ = NULL; + +AddBanOptions* AddBanOptions::New() const { + return new AddBanOptions; +} + +void AddBanOptions::Swap(AddBanOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddBanOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddBanOptions_descriptor_; + metadata.reflection = AddBanOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubBan::kIdFieldNumber; +const int ClubBan::kBattleTagFieldNumber; +const int ClubBan::kCreatorFieldNumber; +const int ClubBan::kAttributeFieldNumber; +const int ClubBan::kReasonFieldNumber; +const int ClubBan::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +ClubBan::ClubBan() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubBan) +} + +void ClubBan::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +ClubBan::ClubBan(const ClubBan& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBan) +} + +void ClubBan::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubBan::~ClubBan() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBan) + SharedDtor(); +} + +void ClubBan::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (this != default_instance_) { + delete id_; + delete creator_; + } +} + +void ClubBan::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubBan::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubBan_descriptor_; +} + +const ClubBan& ClubBan::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + return *default_instance_; +} + +ClubBan* ClubBan::default_instance_ = NULL; + +ClubBan* ClubBan::New() const { + return new ClubBan; +} + +void ClubBan::Swap(ClubBan* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubBan::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubBan_descriptor_; + metadata.reflection = ClubBan_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_ban.pb.h b/src/server/proto/Client/api/client/v1/club_ban.pb.h new file mode 100644 index 00000000000..bf42f4ff348 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.h @@ -0,0 +1,740 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_ban.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/field_options.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + +class AddBanOptions; +class ClubBan; + +// =================================================================== + +class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message { + public: + AddBanOptions(); + virtual ~AddBanOptions(); + + AddBanOptions(const AddBanOptions& from); + + inline AddBanOptions& operator=(const AddBanOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddBanOptions& default_instance(); + + void Swap(AddBanOptions* other); + + // implements Message ---------------------------------------------- + + AddBanOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string reason = 3; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 3; + inline const ::std::string& reason() const; + inline void set_reason(const ::std::string& value); + inline void set_reason(const char* value); + inline void set_reason(const char* value, size_t size); + inline ::std::string* mutable_reason(); + inline ::std::string* release_reason(); + inline void set_allocated_reason(::std::string* reason); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + + void InitAsDefaultInstance(); + static AddBanOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubBan : public ::google::protobuf::Message { + public: + ClubBan(); + virtual ~ClubBan(); + + ClubBan(const ClubBan& from); + + inline ClubBan& operator=(const ClubBan& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubBan& default_instance(); + + void Swap(ClubBan* other); + + // implements Message ---------------------------------------------- + + ClubBan* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 3; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline const ::std::string& reason() const; + inline void set_reason(const ::std::string& value); + inline void set_reason(const char* value); + inline void set_reason(const char* value, size_t size); + inline ::std::string* mutable_reason(); + inline ::std::string* release_reason(); + inline void set_allocated_reason(::std::string* reason); + + // optional uint64 creation_time = 6; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 6; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBan) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_reason(); + inline void clear_has_reason(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* reason_; + ::google::protobuf::uint64 creation_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + + void InitAsDefaultInstance(); + static ClubBan* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// AddBanOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool AddBanOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddBanOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddBanOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddBanOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddBanOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void AddBanOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.target_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int AddBanOptions::attribute_size() const { + return attribute_.size(); +} +inline void AddBanOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& AddBanOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* AddBanOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* AddBanOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +AddBanOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +AddBanOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return &attribute_; +} + +// optional string reason = 3; +inline bool AddBanOptions::has_reason() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddBanOptions::set_has_reason() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddBanOptions::clear_has_reason() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddBanOptions::clear_reason() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_->clear(); + } + clear_has_reason(); +} +inline const ::std::string& AddBanOptions::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.reason) + return *reason_; +} +inline void AddBanOptions::set_reason(const ::std::string& value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline void AddBanOptions::set_reason(const char* value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline void AddBanOptions::set_reason(const char* value, size_t size) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline ::std::string* AddBanOptions::mutable_reason() { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.reason) + return reason_; +} +inline ::std::string* AddBanOptions::release_reason() { + clear_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = reason_; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void AddBanOptions::set_allocated_reason(::std::string* reason) { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (reason) { + set_has_reason(); + reason_ = reason; + } else { + clear_has_reason(); + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.reason) +} + +// ------------------------------------------------------------------- + +// ClubBan + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool ClubBan::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubBan::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubBan::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubBan::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubBan::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubBan::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubBan::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void ClubBan::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.id) +} + +// optional string battle_tag = 2; +inline bool ClubBan::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubBan::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubBan::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubBan::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& ClubBan::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.battle_tag) + return *battle_tag_; +} +inline void ClubBan::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline void ClubBan::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline void ClubBan::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline ::std::string* ClubBan::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.battle_tag) + return battle_tag_; +} +inline ::std::string* ClubBan::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubBan::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 3; +inline bool ClubBan::has_creator() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubBan::set_has_creator() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubBan::clear_has_creator() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubBan::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubBan::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.creator) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int ClubBan::attribute_size() const { + return attribute_.size(); +} +inline void ClubBan::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubBan::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubBan::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubBan::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubBan::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubBan::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubBan.attribute) + return &attribute_; +} + +// optional string reason = 5; +inline bool ClubBan::has_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubBan::set_has_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubBan::clear_has_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubBan::clear_reason() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_->clear(); + } + clear_has_reason(); +} +inline const ::std::string& ClubBan::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.reason) + return *reason_; +} +inline void ClubBan::set_reason(const ::std::string& value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline void ClubBan::set_reason(const char* value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline void ClubBan::set_reason(const char* value, size_t size) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline ::std::string* ClubBan::mutable_reason() { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.reason) + return reason_; +} +inline ::std::string* ClubBan::release_reason() { + clear_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = reason_; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubBan::set_allocated_reason(::std::string* reason) { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (reason) { + set_has_reason(); + reason_ = reason; + } else { + clear_has_reason(); + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.reason) +} + +// optional uint64 creation_time = 6; +inline bool ClubBan::has_creation_time() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubBan::set_has_creation_time() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubBan::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubBan::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubBan::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creation_time) + return creation_time_; +} +inline void ClubBan::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.creation_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_core.pb.cc b/src/server/proto/Client/api/client/v1/club_core.pb.cc new file mode 100644 index 00000000000..83df2d99f02 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_core.pb.cc @@ -0,0 +1,1543 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_core.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_core.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SetBroadcastOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetBroadcastOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Broadcast_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Broadcast_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubCreateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubCreateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Club_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Club_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubView_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettingsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettingsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettingsAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettingsAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_core.proto"); + GOOGLE_CHECK(file != NULL); + SetBroadcastOptions_descriptor_ = file->message_type(0); + static const int SetBroadcastOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, content_), + }; + SetBroadcastOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetBroadcastOptions_descriptor_, + SetBroadcastOptions::default_instance_, + SetBroadcastOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetBroadcastOptions)); + Broadcast_descriptor_ = file->message_type(1); + static const int Broadcast_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creation_time_), + }; + Broadcast_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Broadcast_descriptor_, + Broadcast::default_instance_, + Broadcast_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Broadcast)); + ClubCreateOptions_descriptor_ = file->message_type(2); + static const int ClubCreateOptions_offsets_[14] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, timezone_), + }; + ClubCreateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubCreateOptions_descriptor_, + ClubCreateOptions::default_instance_, + ClubCreateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubCreateOptions)); + Club_descriptor_ = file->message_type(3); + static const int Club_offsets_[19] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, member_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, role_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, leader_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, timezone_), + }; + Club_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Club_descriptor_, + Club::default_instance_, + Club_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Club)); + ClubView_descriptor_ = file->message_type(4); + static const int ClubView_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, marker_), + }; + ClubView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubView_descriptor_, + ClubView::default_instance_, + ClubView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubView)); + ClubStateOptions_descriptor_ = file->message_type(5); + static const int ClubStateOptions_offsets_[13] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, tag_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, search_attribute_), + }; + ClubStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStateOptions_descriptor_, + ClubStateOptions::default_instance_, + ClubStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStateOptions)); + ClubStateAssignment_descriptor_ = file->message_type(6); + static const int ClubStateAssignment_offsets_[15] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_cleared_), + }; + ClubStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStateAssignment_descriptor_, + ClubStateAssignment::default_instance_, + ClubStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStateAssignment)); + StreamSettings_descriptor_ = file->message_type(7); + static const int StreamSettings_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, filter_), + }; + StreamSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamSettings_descriptor_, + StreamSettings::default_instance_, + StreamSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamSettings)); + ClubSettings_descriptor_ = file->message_type(8); + static const int ClubSettings_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_notification_filter_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, push_notification_filter_all_), + }; + ClubSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettings_descriptor_, + ClubSettings::default_instance_, + ClubSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettings)); + ClubSettingsOptions_descriptor_ = file->message_type(9); + static const int ClubSettingsOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, settings_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, version_), + }; + ClubSettingsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettingsOptions_descriptor_, + ClubSettingsOptions::default_instance_, + ClubSettingsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettingsOptions)); + ClubSettingsAssignment_descriptor_ = file->message_type(10); + static const int ClubSettingsAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, settings_), + }; + ClubSettingsAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettingsAssignment_descriptor_, + ClubSettingsAssignment::default_instance_, + ClubSettingsAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettingsAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetBroadcastOptions_descriptor_, &SetBroadcastOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Broadcast_descriptor_, &Broadcast::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubCreateOptions_descriptor_, &ClubCreateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Club_descriptor_, &Club::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubView_descriptor_, &ClubView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStateOptions_descriptor_, &ClubStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStateAssignment_descriptor_, &ClubStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamSettings_descriptor_, &StreamSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettings_descriptor_, &ClubSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettingsOptions_descriptor_, &ClubSettingsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettingsAssignment_descriptor_, &ClubSettingsAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + delete SetBroadcastOptions::default_instance_; + delete SetBroadcastOptions_reflection_; + delete Broadcast::default_instance_; + delete Broadcast_reflection_; + delete ClubCreateOptions::default_instance_; + delete ClubCreateOptions_reflection_; + delete Club::default_instance_; + delete Club_reflection_; + delete ClubView::default_instance_; + delete ClubView_reflection_; + delete ClubStateOptions::default_instance_; + delete ClubStateOptions_reflection_; + delete ClubStateAssignment::default_instance_; + delete ClubStateAssignment_reflection_; + delete StreamSettings::default_instance_; + delete StreamSettings_reflection_; + delete ClubSettings::default_instance_; + delete ClubSettings_reflection_; + delete ClubSettingsOptions::default_instance_; + delete ClubSettingsOptions_reflection_; + delete ClubSettingsAssignment::default_instance_; + delete ClubSettingsAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_core.proto\022\033bgs.pro" + "tocol.club.v1.client\032\035api/client/v1/club" + "_enum.proto\032\035api/client/v1/club_role.pro" + "to\032\037api/client/v1/club_member.proto\032\037api" + "/client/v1/club_stream.proto\032\035api/common" + "/v1/club_core.proto\032\035api/common/v1/club_" + "enum.proto\032\034api/common/v1/club_tag.proto" + "\032\035api/common/v1/club_type.proto\032#api/com" + "mon/v2/attribute_types.proto\032\026event_view" + "_types.proto\"&\n\023SetBroadcastOptions\022\017\n\007c" + "ontent\030\001 \001(\t\"t\n\tBroadcast\022\017\n\007content\030\001 \001" + "(\t\022\?\n\007creator\030\002 \001(\0132..bgs.protocol.club." + "v1.client.MemberDescription\022\025\n\rcreation_" + "time\030\003 \001(\004\"\344\004\n\021ClubCreateOptions\0222\n\004type" + "\030\001 \001(\0132$.bgs.protocol.club.v1.UniqueClub" + "Type\022-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v" + "2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013description" + "\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol.cl" + "ub.v1.AvatarId\0229\n\rprivacy_level\030\006 \001(\0162\"." + "bgs.protocol.club.v1.PrivacyLevel\022\022\n\nsho" + "rt_name\030\007 \001(\t\022\?\n\020visibility_level\030\010 \001(\0162" + "%.bgs.protocol.club.v1.VisibilityLevel\022@" + "\n\006member\030\n \001(\01320.bgs.protocol.club.v1.cl" + "ient.CreateMemberOptions\022@\n\006stream\030\013 \001(\013" + "20.bgs.protocol.club.v1.client.CreateStr" + "eamOptions\022-\n\003tag\030\014 \001(\0132 .bgs.protocol.c" + "lub.v1.TagOptions\0224\n\020search_attribute\030\r " + "\003(\0132\032.bgs.protocol.v2.Attribute\022\016\n\006local" + "e\030\016 \001(\t\022\020\n\010timezone\030\017 \001(\t\"\214\006\n\004Club\022\n\n\002id" + "\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club" + ".v1.UniqueClubType\022-\n\tattribute\030\003 \003(\0132\032." + "bgs.protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t\022" + "\023\n\013description\030\005 \001(\t\0229\n\tbroadcast\030\006 \001(\0132" + "&.bgs.protocol.club.v1.client.Broadcast\022" + ".\n\006avatar\030\007 \001(\0132\036.bgs.protocol.club.v1.A" + "vatarId\0229\n\rprivacy_level\030\010 \001(\0162\".bgs.pro" + "tocol.club.v1.PrivacyLevel\022\?\n\020visibility" + "_level\030\t \001(\0162%.bgs.protocol.club.v1.Visi" + "bilityLevel\022\024\n\014member_count\030\n \001(\r\022\025\n\rcre" + "ation_time\030\013 \001(\004\022D\n\017stream_position\030\014 \001(" + "\0132+.bgs.protocol.club.v1.client.StreamPo" + "sition\022:\n\010role_set\030\r \001(\0132(.bgs.protocol." + "club.v1.client.ClubRoleSet\022>\n\006leader\030\016 \003" + "(\0132..bgs.protocol.club.v1.client.MemberD" + "escription\022\022\n\nshort_name\030\017 \001(\t\0224\n\020search" + "_attribute\030\020 \003(\0132\032.bgs.protocol.v2.Attri" + "bute\0220\n\003tag\030\021 \003(\0132#.bgs.protocol.club.v1" + ".TagIdentifier\022\016\n\006locale\030\022 \001(\t\022\020\n\010timezo" + "ne\030\023 \001(\t\"E\n\010ClubView\022\017\n\007club_id\030\001 \001(\004\022(\n" + "\006marker\030\002 \001(\0132\030.bgs.protocol.ViewMarker\"" + "\276\004\n\020ClubStateOptions\022-\n\tattribute\030\001 \003(\0132" + "\032.bgs.protocol.v2.Attribute\022\014\n\004name\030\002 \001(" + "\t\022\023\n\013description\030\003 \001(\t\022C\n\tbroadcast\030\004 \001(" + "\01320.bgs.protocol.club.v1.client.SetBroad" + "castOptions\022.\n\006avatar\030\005 \001(\0132\036.bgs.protoc" + "ol.club.v1.AvatarId\0229\n\rprivacy_level\030\006 \001" + "(\0162\".bgs.protocol.club.v1.PrivacyLevel\022D" + "\n\017stream_position\030\007 \001(\0132+.bgs.protocol.c" + "lub.v1.client.StreamPosition\022\022\n\nshort_na" + "me\030\010 \001(\t\022\?\n\020visibility_level\030\t \001(\0162%.bgs" + ".protocol.club.v1.VisibilityLevel\022\016\n\006loc" + "ale\030\n \001(\t\022\020\n\010timezone\030\013 \001(\t\0225\n\013tag_optio" + "ns\030\014 \001(\0132 .bgs.protocol.club.v1.TagOptio" + "ns\0224\n\020search_attribute\030\r \003(\0132\032.bgs.proto" + "col.v2.Attribute\"\330\004\n\023ClubStateAssignment" + "\022\017\n\007club_id\030\001 \001(\004\022-\n\tattribute\030\002 \003(\0132\032.b" + "gs.protocol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023" + "\n\013description\030\004 \001(\t\0229\n\tbroadcast\030\005 \001(\0132&" + ".bgs.protocol.club.v1.client.Broadcast\022." + "\n\006avatar\030\006 \001(\0132\036.bgs.protocol.club.v1.Av" + "atarId\0229\n\rprivacy_level\030\007 \001(\0162\".bgs.prot" + "ocol.club.v1.PrivacyLevel\022D\n\017stream_posi" + "tion\030\010 \001(\0132+.bgs.protocol.club.v1.client" + ".StreamPosition\022\022\n\nshort_name\030\t \001(\t\022\?\n\020v" + "isibility_level\030\n \001(\0162%.bgs.protocol.clu" + "b.v1.VisibilityLevel\022\016\n\006locale\030\013 \001(\t\022\020\n\010" + "timezone\030\014 \001(\t\0220\n\003tag\030\r \003(\0132#.bgs.protoc" + "ol.club.v1.TagIdentifier\0224\n\020search_attri" + "bute\030\016 \003(\0132\032.bgs.protocol.v2.Attribute\022\023" + "\n\013tag_cleared\030\017 \001(\010\"j\n\016StreamSettings\022\021\n" + "\tstream_id\030\001 \001(\004\022E\n\006filter\030\002 \001(\01625.bgs.p" + "rotocol.club.v1.client.StreamNotificatio" + "nFilter\"\310\001\n\014ClubSettings\022;\n\006stream\030\001 \003(\013" + "2+.bgs.protocol.club.v1.client.StreamSet" + "tings\022&\n\036stream_notification_filter_all\030" + "\002 \001(\010\022-\n\tattribute\030\003 \003(\0132\032.bgs.protocol." + "v2.Attribute\022$\n\034push_notification_filter" + "_all\030\004 \001(\010\"\244\001\n\023ClubSettingsOptions\022\?\n\006st" + "ream\030\001 \003(\0132+.bgs.protocol.club.v1.client" + ".StreamSettingsB\002\030\001\022;\n\010settings\030\002 \001(\0132)." + "bgs.protocol.club.v1.client.ClubSettings" + "\022\017\n\007version\030\003 \001(\r\"\226\001\n\026ClubSettingsAssign" + "ment\022\?\n\006stream\030\001 \003(\0132+.bgs.protocol.club" + ".v1.client.StreamSettingsB\002\030\001\022;\n\010setting" + "s\030\002 \001(\0132).bgs.protocol.club.v1.client.Cl" + "ubSettingsB\002H\002", 3814); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_core.proto", &protobuf_RegisterTypes); + SetBroadcastOptions::default_instance_ = new SetBroadcastOptions(); + Broadcast::default_instance_ = new Broadcast(); + ClubCreateOptions::default_instance_ = new ClubCreateOptions(); + Club::default_instance_ = new Club(); + ClubView::default_instance_ = new ClubView(); + ClubStateOptions::default_instance_ = new ClubStateOptions(); + ClubStateAssignment::default_instance_ = new ClubStateAssignment(); + StreamSettings::default_instance_ = new StreamSettings(); + ClubSettings::default_instance_ = new ClubSettings(); + ClubSettingsOptions::default_instance_ = new ClubSettingsOptions(); + ClubSettingsAssignment::default_instance_ = new ClubSettingsAssignment(); + SetBroadcastOptions::default_instance_->InitAsDefaultInstance(); + Broadcast::default_instance_->InitAsDefaultInstance(); + ClubCreateOptions::default_instance_->InitAsDefaultInstance(); + Club::default_instance_->InitAsDefaultInstance(); + ClubView::default_instance_->InitAsDefaultInstance(); + ClubStateOptions::default_instance_->InitAsDefaultInstance(); + ClubStateAssignment::default_instance_->InitAsDefaultInstance(); + StreamSettings::default_instance_->InitAsDefaultInstance(); + ClubSettings::default_instance_->InitAsDefaultInstance(); + ClubSettingsOptions::default_instance_->InitAsDefaultInstance(); + ClubSettingsAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fcore_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SetBroadcastOptions::kContentFieldNumber; +#endif // !_MSC_VER + +SetBroadcastOptions::SetBroadcastOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) +} + +void SetBroadcastOptions::InitAsDefaultInstance() { +} + +SetBroadcastOptions::SetBroadcastOptions(const SetBroadcastOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) +} + +void SetBroadcastOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetBroadcastOptions::~SetBroadcastOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetBroadcastOptions) + SharedDtor(); +} + +void SetBroadcastOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void SetBroadcastOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetBroadcastOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetBroadcastOptions_descriptor_; +} + +const SetBroadcastOptions& SetBroadcastOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +SetBroadcastOptions* SetBroadcastOptions::default_instance_ = NULL; + +SetBroadcastOptions* SetBroadcastOptions::New() const { + return new SetBroadcastOptions; +} + +void SetBroadcastOptions::Swap(SetBroadcastOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetBroadcastOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetBroadcastOptions_descriptor_; + metadata.reflection = SetBroadcastOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Broadcast::kContentFieldNumber; +const int Broadcast::kCreatorFieldNumber; +const int Broadcast::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +Broadcast::Broadcast() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Broadcast) +} + +void Broadcast::InitAsDefaultInstance() { + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +Broadcast::Broadcast(const Broadcast& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Broadcast) +} + +void Broadcast::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Broadcast::~Broadcast() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Broadcast) + SharedDtor(); +} + +void Broadcast::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete creator_; + } +} + +void Broadcast::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Broadcast::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Broadcast_descriptor_; +} + +const Broadcast& Broadcast::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +Broadcast* Broadcast::default_instance_ = NULL; + +Broadcast* Broadcast::New() const { + return new Broadcast; +} + +void Broadcast::Swap(Broadcast* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Broadcast::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Broadcast_descriptor_; + metadata.reflection = Broadcast_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubCreateOptions::kTypeFieldNumber; +const int ClubCreateOptions::kAttributeFieldNumber; +const int ClubCreateOptions::kNameFieldNumber; +const int ClubCreateOptions::kDescriptionFieldNumber; +const int ClubCreateOptions::kAvatarFieldNumber; +const int ClubCreateOptions::kPrivacyLevelFieldNumber; +const int ClubCreateOptions::kShortNameFieldNumber; +const int ClubCreateOptions::kVisibilityLevelFieldNumber; +const int ClubCreateOptions::kMemberFieldNumber; +const int ClubCreateOptions::kStreamFieldNumber; +const int ClubCreateOptions::kTagFieldNumber; +const int ClubCreateOptions::kSearchAttributeFieldNumber; +const int ClubCreateOptions::kLocaleFieldNumber; +const int ClubCreateOptions::kTimezoneFieldNumber; +#endif // !_MSC_VER + +ClubCreateOptions::ClubCreateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubCreateOptions) +} + +void ClubCreateOptions::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::CreateStreamOptions*>(&::bgs::protocol::club::v1::client::CreateStreamOptions::default_instance()); + tag_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); +} + +ClubCreateOptions::ClubCreateOptions(const ClubCreateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubCreateOptions) +} + +void ClubCreateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_ = NULL; + privacy_level_ = 0; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + member_ = NULL; + stream_ = NULL; + tag_ = NULL; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubCreateOptions::~ClubCreateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubCreateOptions) + SharedDtor(); +} + +void ClubCreateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete type_; + delete avatar_; + delete member_; + delete stream_; + delete tag_; + } +} + +void ClubCreateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubCreateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubCreateOptions_descriptor_; +} + +const ClubCreateOptions& ClubCreateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubCreateOptions* ClubCreateOptions::default_instance_ = NULL; + +ClubCreateOptions* ClubCreateOptions::New() const { + return new ClubCreateOptions; +} + +void ClubCreateOptions::Swap(ClubCreateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubCreateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubCreateOptions_descriptor_; + metadata.reflection = ClubCreateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Club::kIdFieldNumber; +const int Club::kTypeFieldNumber; +const int Club::kAttributeFieldNumber; +const int Club::kNameFieldNumber; +const int Club::kDescriptionFieldNumber; +const int Club::kBroadcastFieldNumber; +const int Club::kAvatarFieldNumber; +const int Club::kPrivacyLevelFieldNumber; +const int Club::kVisibilityLevelFieldNumber; +const int Club::kMemberCountFieldNumber; +const int Club::kCreationTimeFieldNumber; +const int Club::kStreamPositionFieldNumber; +const int Club::kRoleSetFieldNumber; +const int Club::kLeaderFieldNumber; +const int Club::kShortNameFieldNumber; +const int Club::kSearchAttributeFieldNumber; +const int Club::kTagFieldNumber; +const int Club::kLocaleFieldNumber; +const int Club::kTimezoneFieldNumber; +#endif // !_MSC_VER + +Club::Club() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Club) +} + +void Club::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::Broadcast*>(&::bgs::protocol::club::v1::client::Broadcast::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); + role_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubRoleSet*>(&::bgs::protocol::club::v1::client::ClubRoleSet::default_instance()); +} + +Club::Club(const Club& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Club) +} + +void Club::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + visibility_level_ = 0; + member_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + stream_position_ = NULL; + role_set_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Club::~Club() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Club) + SharedDtor(); +} + +void Club::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete type_; + delete broadcast_; + delete avatar_; + delete stream_position_; + delete role_set_; + } +} + +void Club::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Club::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Club_descriptor_; +} + +const Club& Club::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +Club* Club::default_instance_ = NULL; + +Club* Club::New() const { + return new Club; +} + +void Club::Swap(Club* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Club::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Club_descriptor_; + metadata.reflection = Club_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubView::kClubIdFieldNumber; +const int ClubView::kMarkerFieldNumber; +#endif // !_MSC_VER + +ClubView::ClubView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubView) +} + +void ClubView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +ClubView::ClubView(const ClubView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubView) +} + +void ClubView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubView::~ClubView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubView) + SharedDtor(); +} + +void ClubView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void ClubView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubView_descriptor_; +} + +const ClubView& ClubView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubView* ClubView::default_instance_ = NULL; + +ClubView* ClubView::New() const { + return new ClubView; +} + +void ClubView::Swap(ClubView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubView_descriptor_; + metadata.reflection = ClubView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStateOptions::kAttributeFieldNumber; +const int ClubStateOptions::kNameFieldNumber; +const int ClubStateOptions::kDescriptionFieldNumber; +const int ClubStateOptions::kBroadcastFieldNumber; +const int ClubStateOptions::kAvatarFieldNumber; +const int ClubStateOptions::kPrivacyLevelFieldNumber; +const int ClubStateOptions::kStreamPositionFieldNumber; +const int ClubStateOptions::kShortNameFieldNumber; +const int ClubStateOptions::kVisibilityLevelFieldNumber; +const int ClubStateOptions::kLocaleFieldNumber; +const int ClubStateOptions::kTimezoneFieldNumber; +const int ClubStateOptions::kTagOptionsFieldNumber; +const int ClubStateOptions::kSearchAttributeFieldNumber; +#endif // !_MSC_VER + +ClubStateOptions::ClubStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateOptions) +} + +void ClubStateOptions::InitAsDefaultInstance() { + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::SetBroadcastOptions*>(&::bgs::protocol::club::v1::client::SetBroadcastOptions::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); + tag_options_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); +} + +ClubStateOptions::ClubStateOptions(const ClubStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateOptions) +} + +void ClubStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + stream_position_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStateOptions::~ClubStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateOptions) + SharedDtor(); +} + +void ClubStateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete broadcast_; + delete avatar_; + delete stream_position_; + delete tag_options_; + } +} + +void ClubStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStateOptions_descriptor_; +} + +const ClubStateOptions& ClubStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubStateOptions* ClubStateOptions::default_instance_ = NULL; + +ClubStateOptions* ClubStateOptions::New() const { + return new ClubStateOptions; +} + +void ClubStateOptions::Swap(ClubStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStateOptions_descriptor_; + metadata.reflection = ClubStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStateAssignment::kClubIdFieldNumber; +const int ClubStateAssignment::kAttributeFieldNumber; +const int ClubStateAssignment::kNameFieldNumber; +const int ClubStateAssignment::kDescriptionFieldNumber; +const int ClubStateAssignment::kBroadcastFieldNumber; +const int ClubStateAssignment::kAvatarFieldNumber; +const int ClubStateAssignment::kPrivacyLevelFieldNumber; +const int ClubStateAssignment::kStreamPositionFieldNumber; +const int ClubStateAssignment::kShortNameFieldNumber; +const int ClubStateAssignment::kVisibilityLevelFieldNumber; +const int ClubStateAssignment::kLocaleFieldNumber; +const int ClubStateAssignment::kTimezoneFieldNumber; +const int ClubStateAssignment::kTagFieldNumber; +const int ClubStateAssignment::kSearchAttributeFieldNumber; +const int ClubStateAssignment::kTagClearedFieldNumber; +#endif // !_MSC_VER + +ClubStateAssignment::ClubStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateAssignment) +} + +void ClubStateAssignment::InitAsDefaultInstance() { + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::Broadcast*>(&::bgs::protocol::club::v1::client::Broadcast::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); +} + +ClubStateAssignment::ClubStateAssignment(const ClubStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateAssignment) +} + +void ClubStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + stream_position_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_cleared_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStateAssignment::~ClubStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateAssignment) + SharedDtor(); +} + +void ClubStateAssignment::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete broadcast_; + delete avatar_; + delete stream_position_; + } +} + +void ClubStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStateAssignment_descriptor_; +} + +const ClubStateAssignment& ClubStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubStateAssignment* ClubStateAssignment::default_instance_ = NULL; + +ClubStateAssignment* ClubStateAssignment::New() const { + return new ClubStateAssignment; +} + +void ClubStateAssignment::Swap(ClubStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStateAssignment_descriptor_; + metadata.reflection = ClubStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamSettings::kStreamIdFieldNumber; +const int StreamSettings::kFilterFieldNumber; +#endif // !_MSC_VER + +StreamSettings::StreamSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamSettings) +} + +void StreamSettings::InitAsDefaultInstance() { +} + +StreamSettings::StreamSettings(const StreamSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamSettings) +} + +void StreamSettings::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + filter_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamSettings::~StreamSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamSettings) + SharedDtor(); +} + +void StreamSettings::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamSettings_descriptor_; +} + +const StreamSettings& StreamSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +StreamSettings* StreamSettings::default_instance_ = NULL; + +StreamSettings* StreamSettings::New() const { + return new StreamSettings; +} + +void StreamSettings::Swap(StreamSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamSettings_descriptor_; + metadata.reflection = StreamSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettings::kStreamFieldNumber; +const int ClubSettings::kStreamNotificationFilterAllFieldNumber; +const int ClubSettings::kAttributeFieldNumber; +const int ClubSettings::kPushNotificationFilterAllFieldNumber; +#endif // !_MSC_VER + +ClubSettings::ClubSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettings) +} + +void ClubSettings::InitAsDefaultInstance() { +} + +ClubSettings::ClubSettings(const ClubSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettings) +} + +void ClubSettings::SharedCtor() { + _cached_size_ = 0; + stream_notification_filter_all_ = false; + push_notification_filter_all_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettings::~ClubSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettings) + SharedDtor(); +} + +void ClubSettings::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettings_descriptor_; +} + +const ClubSettings& ClubSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettings* ClubSettings::default_instance_ = NULL; + +ClubSettings* ClubSettings::New() const { + return new ClubSettings; +} + +void ClubSettings::Swap(ClubSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettings_descriptor_; + metadata.reflection = ClubSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettingsOptions::kStreamFieldNumber; +const int ClubSettingsOptions::kSettingsFieldNumber; +const int ClubSettingsOptions::kVersionFieldNumber; +#endif // !_MSC_VER + +ClubSettingsOptions::ClubSettingsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) +} + +void ClubSettingsOptions::InitAsDefaultInstance() { + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); +} + +ClubSettingsOptions::ClubSettingsOptions(const ClubSettingsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) +} + +void ClubSettingsOptions::SharedCtor() { + _cached_size_ = 0; + settings_ = NULL; + version_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettingsOptions::~ClubSettingsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsOptions) + SharedDtor(); +} + +void ClubSettingsOptions::SharedDtor() { + if (this != default_instance_) { + delete settings_; + } +} + +void ClubSettingsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettingsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettingsOptions_descriptor_; +} + +const ClubSettingsOptions& ClubSettingsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettingsOptions* ClubSettingsOptions::default_instance_ = NULL; + +ClubSettingsOptions* ClubSettingsOptions::New() const { + return new ClubSettingsOptions; +} + +void ClubSettingsOptions::Swap(ClubSettingsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettingsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettingsOptions_descriptor_; + metadata.reflection = ClubSettingsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettingsAssignment::kStreamFieldNumber; +const int ClubSettingsAssignment::kSettingsFieldNumber; +#endif // !_MSC_VER + +ClubSettingsAssignment::ClubSettingsAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) +} + +void ClubSettingsAssignment::InitAsDefaultInstance() { + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); +} + +ClubSettingsAssignment::ClubSettingsAssignment(const ClubSettingsAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) +} + +void ClubSettingsAssignment::SharedCtor() { + _cached_size_ = 0; + settings_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettingsAssignment::~ClubSettingsAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) + SharedDtor(); +} + +void ClubSettingsAssignment::SharedDtor() { + if (this != default_instance_) { + delete settings_; + } +} + +void ClubSettingsAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettingsAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettingsAssignment_descriptor_; +} + +const ClubSettingsAssignment& ClubSettingsAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettingsAssignment* ClubSettingsAssignment::default_instance_ = NULL; + +ClubSettingsAssignment* ClubSettingsAssignment::New() const { + return new ClubSettingsAssignment; +} + +void ClubSettingsAssignment::Swap(ClubSettingsAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettingsAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettingsAssignment_descriptor_; + metadata.reflection = ClubSettingsAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_core.pb.h b/src/server/proto/Client/api/client/v1/club_core.pb.h new file mode 100644 index 00000000000..04661fcb3b9 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_core.pb.h @@ -0,0 +1,5193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_core.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_enum.pb.h" +#include "api/client/v1/club_role.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/client/v1/club_stream.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "api/common/v1/club_enum.pb.h" +#include "api/common/v1/club_tag.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "event_view_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + +class SetBroadcastOptions; +class Broadcast; +class ClubCreateOptions; +class Club; +class ClubView; +class ClubStateOptions; +class ClubStateAssignment; +class StreamSettings; +class ClubSettings; +class ClubSettingsOptions; +class ClubSettingsAssignment; + +// =================================================================== + +class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message { + public: + SetBroadcastOptions(); + virtual ~SetBroadcastOptions(); + + SetBroadcastOptions(const SetBroadcastOptions& from); + + inline SetBroadcastOptions& operator=(const SetBroadcastOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetBroadcastOptions& default_instance(); + + void Swap(SetBroadcastOptions* other); + + // implements Message ---------------------------------------------- + + SetBroadcastOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetBroadcastOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static SetBroadcastOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Broadcast : public ::google::protobuf::Message { + public: + Broadcast(); + virtual ~Broadcast(); + + Broadcast(const Broadcast& from); + + inline Broadcast& operator=(const Broadcast& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Broadcast& default_instance(); + + void Swap(Broadcast* other); + + // implements Message ---------------------------------------------- + + Broadcast* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // optional uint64 creation_time = 3; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 3; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Broadcast) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::google::protobuf::uint64 creation_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static Broadcast* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { + public: + ClubCreateOptions(); + virtual ~ClubCreateOptions(); + + ClubCreateOptions(const ClubCreateOptions& from); + + inline ClubCreateOptions& operator=(const ClubCreateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubCreateOptions& default_instance(); + + void Swap(ClubCreateOptions* other); + + // implements Message ---------------------------------------------- + + ClubCreateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.UniqueClubType type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional string short_name = 7; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 7; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 10; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& member() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_member(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member); + + // optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 11; + inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& stream() const; + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* mutable_stream(); + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream); + + // optional .bgs.protocol.club.v1.TagOptions tag = 12; + inline bool has_tag() const; + inline void clear_tag(); + static const int kTagFieldNumber = 12; + inline const ::bgs::protocol::club::v1::TagOptions& tag() const; + inline ::bgs::protocol::club::v1::TagOptions* mutable_tag(); + inline ::bgs::protocol::club::v1::TagOptions* release_tag(); + inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 13; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 13; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // optional string locale = 14; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 14; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 15; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 15; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubCreateOptions) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member(); + inline void clear_has_member(); + inline void set_has_stream(); + inline void clear_has_stream(); + inline void set_has_tag(); + inline void clear_has_tag(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::std::string* short_name_; + int privacy_level_; + int visibility_level_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* member_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* stream_; + ::bgs::protocol::club::v1::TagOptions* tag_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + ::std::string* locale_; + ::std::string* timezone_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubCreateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Club : public ::google::protobuf::Message { + public: + Club(); + virtual ~Club(); + + Club(const Club& from); + + inline Club& operator=(const Club& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Club& default_instance(); + + void Swap(Club* other); + + // implements Message ---------------------------------------------- + + Club* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 5; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 5; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const; + inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 7; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 7; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 9; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional uint32 member_count = 10; + inline bool has_member_count() const; + inline void clear_member_count(); + static const int kMemberCountFieldNumber = 10; + inline ::google::protobuf::uint32 member_count() const; + inline void set_member_count(::google::protobuf::uint32 value); + + // optional uint64 creation_time = 11; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 11; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 12; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13; + inline bool has_role_set() const; + inline void clear_role_set(); + static const int kRoleSetFieldNumber = 13; + inline const ::bgs::protocol::club::v1::client::ClubRoleSet& role_set() const; + inline ::bgs::protocol::club::v1::client::ClubRoleSet* mutable_role_set(); + inline ::bgs::protocol::club::v1::client::ClubRoleSet* release_role_set(); + inline void set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set); + + // repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14; + inline int leader_size() const; + inline void clear_leader(); + static const int kLeaderFieldNumber = 14; + inline const ::bgs::protocol::club::v1::client::MemberDescription& leader(int index) const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_leader(int index); + inline ::bgs::protocol::club::v1::client::MemberDescription* add_leader(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& + leader() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* + mutable_leader(); + + // optional string short_name = 15; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 15; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 16; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 16; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 17; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // optional string locale = 18; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 18; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 19; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 19; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Club) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member_count(); + inline void clear_has_member_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_role_set(); + inline void clear_has_role_set(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::Broadcast* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + int privacy_level_; + int visibility_level_; + ::google::protobuf::uint64 creation_time_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + ::bgs::protocol::club::v1::client::ClubRoleSet* role_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_; + ::std::string* short_name_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::std::string* locale_; + ::std::string* timezone_; + ::google::protobuf::uint32 member_count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static Club* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubView : public ::google::protobuf::Message { + public: + ClubView(); + virtual ~ClubView(); + + ClubView(const ClubView& from); + + inline ClubView& operator=(const ClubView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubView& default_instance(); + + void Swap(ClubView* other); + + // implements Message ---------------------------------------------- + + ClubView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 2; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 2; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { + public: + ClubStateOptions(); + virtual ~ClubStateOptions(); + + ClubStateOptions(const ClubStateOptions& from); + + inline ClubStateOptions& operator=(const ClubStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStateOptions& default_instance(); + + void Swap(ClubStateOptions* other); + + // implements Message ---------------------------------------------- + + ClubStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 3; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 3; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& broadcast() const; + inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 7; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional string short_name = 8; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 8; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 9; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional string locale = 10; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 10; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 11; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 11; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // optional .bgs.protocol.club.v1.TagOptions tag_options = 12; + inline bool has_tag_options() const; + inline void clear_tag_options(); + static const int kTagOptionsFieldNumber = 12; + inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const; + inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options(); + inline ::bgs::protocol::club::v1::TagOptions* release_tag_options(); + inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 13; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 13; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_tag_options(); + inline void clear_has_tag_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + int privacy_level_; + int visibility_level_; + ::std::string* short_name_; + ::std::string* locale_; + ::std::string* timezone_; + ::bgs::protocol::club::v1::TagOptions* tag_options_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { + public: + ClubStateAssignment(); + virtual ~ClubStateAssignment(); + + ClubStateAssignment(const ClubStateAssignment& from); + + inline ClubStateAssignment& operator=(const ClubStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStateAssignment& default_instance(); + + void Swap(ClubStateAssignment* other); + + // implements Message ---------------------------------------------- + + ClubStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const; + inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 6; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 6; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 8; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional string short_name = 9; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 9; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 10; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional string locale = 11; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 11; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 12; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 12; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 13; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 14; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 14; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // optional bool tag_cleared = 15; + inline bool has_tag_cleared() const; + inline void clear_tag_cleared(); + static const int kTagClearedFieldNumber = 15; + inline bool tag_cleared() const; + inline void set_tag_cleared(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateAssignment) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_tag_cleared(); + inline void clear_has_tag_cleared(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::Broadcast* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + int privacy_level_; + int visibility_level_; + ::std::string* short_name_; + ::std::string* locale_; + ::std::string* timezone_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + bool tag_cleared_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamSettings : public ::google::protobuf::Message { + public: + StreamSettings(); + virtual ~StreamSettings(); + + StreamSettings(const StreamSettings& from); + + inline StreamSettings& operator=(const StreamSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamSettings& default_instance(); + + void Swap(StreamSettings* other); + + // implements Message ---------------------------------------------- + + StreamSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2; + inline bool has_filter() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::StreamNotificationFilter filter() const; + inline void set_filter(::bgs::protocol::club::v1::client::StreamNotificationFilter value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamSettings) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_filter(); + inline void clear_has_filter(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + int filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static StreamSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { + public: + ClubSettings(); + virtual ~ClubSettings(); + + ClubSettings(const ClubSettings& from); + + inline ClubSettings& operator=(const ClubSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettings& default_instance(); + + void Swap(ClubSettings* other); + + // implements Message ---------------------------------------------- + + ClubSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1; + inline int stream_size() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index); + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream(); + + // optional bool stream_notification_filter_all = 2; + inline bool has_stream_notification_filter_all() const; + inline void clear_stream_notification_filter_all(); + static const int kStreamNotificationFilterAllFieldNumber = 2; + inline bool stream_notification_filter_all() const; + inline void set_stream_notification_filter_all(bool value); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional bool push_notification_filter_all = 4; + inline bool has_push_notification_filter_all() const; + inline void clear_push_notification_filter_all(); + static const int kPushNotificationFilterAllFieldNumber = 4; + inline bool push_notification_filter_all() const; + inline void set_push_notification_filter_all(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettings) + private: + inline void set_has_stream_notification_filter_all(); + inline void clear_has_stream_notification_filter_all(); + inline void set_has_push_notification_filter_all(); + inline void clear_has_push_notification_filter_all(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + bool stream_notification_filter_all_; + bool push_notification_filter_all_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { + public: + ClubSettingsOptions(); + virtual ~ClubSettingsOptions(); + + ClubSettingsOptions(const ClubSettingsOptions& from); + + inline ClubSettingsOptions& operator=(const ClubSettingsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettingsOptions& default_instance(); + + void Swap(ClubSettingsOptions* other); + + // implements Message ---------------------------------------------- + + ClubSettingsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; + inline int stream_size() const PROTOBUF_DEPRECATED; + inline void clear_stream() PROTOBUF_DEPRECATED; + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED; + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const PROTOBUF_DEPRECATED; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream() PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // optional uint32 version = 3; + inline bool has_version() const; + inline void clear_version(); + static const int kVersionFieldNumber = 3; + inline ::google::protobuf::uint32 version() const; + inline void set_version(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsOptions) + private: + inline void set_has_settings(); + inline void clear_has_settings(); + inline void set_has_version(); + inline void clear_has_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + ::google::protobuf::uint32 version_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettingsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { + public: + ClubSettingsAssignment(); + virtual ~ClubSettingsAssignment(); + + ClubSettingsAssignment(const ClubSettingsAssignment& from); + + inline ClubSettingsAssignment& operator=(const ClubSettingsAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettingsAssignment& default_instance(); + + void Swap(ClubSettingsAssignment* other); + + // implements Message ---------------------------------------------- + + ClubSettingsAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; + inline int stream_size() const PROTOBUF_DEPRECATED; + inline void clear_stream() PROTOBUF_DEPRECATED; + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED; + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const PROTOBUF_DEPRECATED; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream() PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsAssignment) + private: + inline void set_has_settings(); + inline void clear_has_settings(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettingsAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SetBroadcastOptions + +// optional string content = 1; +inline bool SetBroadcastOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetBroadcastOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetBroadcastOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetBroadcastOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& SetBroadcastOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetBroadcastOptions.content) + return *content_; +} +inline void SetBroadcastOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline void SetBroadcastOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline void SetBroadcastOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline ::std::string* SetBroadcastOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetBroadcastOptions.content) + return content_; +} +inline ::std::string* SetBroadcastOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SetBroadcastOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} + +// ------------------------------------------------------------------- + +// Broadcast + +// optional string content = 1; +inline bool Broadcast::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Broadcast::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void Broadcast::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Broadcast::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& Broadcast::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.content) + return *content_; +} +inline void Broadcast::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.content) +} +inline void Broadcast::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Broadcast.content) +} +inline void Broadcast::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Broadcast.content) +} +inline ::std::string* Broadcast::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.content) + return content_; +} +inline ::std::string* Broadcast::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Broadcast::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.content) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; +inline bool Broadcast::has_creator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Broadcast::set_has_creator() { + _has_bits_[0] |= 0x00000002u; +} +inline void Broadcast::clear_has_creator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Broadcast::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& Broadcast::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.creator) +} + +// optional uint64 creation_time = 3; +inline bool Broadcast::has_creation_time() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Broadcast::set_has_creation_time() { + _has_bits_[0] |= 0x00000004u; +} +inline void Broadcast::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Broadcast::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Broadcast::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creation_time) + return creation_time_; +} +inline void Broadcast::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.creation_time) +} + +// ------------------------------------------------------------------- + +// ClubCreateOptions + +// optional .bgs.protocol.club.v1.UniqueClubType type = 1; +inline bool ClubCreateOptions::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubCreateOptions::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubCreateOptions::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubCreateOptions::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.type) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int ClubCreateOptions::attribute_size() const { + return attribute_.size(); +} +inline void ClubCreateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubCreateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubCreateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool ClubCreateOptions::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubCreateOptions::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubCreateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubCreateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubCreateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.name) + return *name_; +} +inline void ClubCreateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline void ClubCreateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline void ClubCreateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline ::std::string* ClubCreateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.name) + return name_; +} +inline ::std::string* ClubCreateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} + +// optional string description = 4; +inline bool ClubCreateOptions::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubCreateOptions::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubCreateOptions::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubCreateOptions::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubCreateOptions::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.description) + return *description_; +} +inline void ClubCreateOptions::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline void ClubCreateOptions::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline void ClubCreateOptions::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline ::std::string* ClubCreateOptions::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.description) + return description_; +} +inline ::std::string* ClubCreateOptions::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubCreateOptions::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubCreateOptions::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubCreateOptions::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubCreateOptions::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubCreateOptions::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubCreateOptions::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubCreateOptions::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubCreateOptions::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubCreateOptions::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubCreateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level) +} + +// optional string short_name = 7; +inline bool ClubCreateOptions::has_short_name() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubCreateOptions::set_has_short_name() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubCreateOptions::clear_has_short_name() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubCreateOptions::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubCreateOptions::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) + return *short_name_; +} +inline void ClubCreateOptions::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline void ClubCreateOptions::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline void ClubCreateOptions::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline ::std::string* ClubCreateOptions::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) + return short_name_; +} +inline ::std::string* ClubCreateOptions::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; +inline bool ClubCreateOptions::has_visibility_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubCreateOptions::set_has_visibility_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubCreateOptions::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubCreateOptions::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubCreateOptions::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubCreateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10; +inline bool ClubCreateOptions::has_member() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubCreateOptions::set_has_member() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubCreateOptions::clear_has_member() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubCreateOptions::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& ClubCreateOptions::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = member_; + member_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.member) +} + +// optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11; +inline bool ClubCreateOptions::has_stream() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubCreateOptions::set_has_stream() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubCreateOptions::clear_has_stream() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubCreateOptions::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::CreateStreamOptions::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& ClubCreateOptions::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::CreateStreamOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = stream_; + stream_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.stream) +} + +// optional .bgs.protocol.club.v1.TagOptions tag = 12; +inline bool ClubCreateOptions::has_tag() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubCreateOptions::set_has_tag() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubCreateOptions::clear_has_tag() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubCreateOptions::clear_tag() { + if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear(); + clear_has_tag(); +} +inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.tag) + return tag_ != NULL ? *tag_ : *default_instance_->tag_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() { + set_has_tag(); + if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.tag) + return tag_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() { + clear_has_tag(); + ::bgs::protocol::club::v1::TagOptions* temp = tag_; + tag_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag) { + delete tag_; + tag_ = tag; + if (tag) { + set_has_tag(); + } else { + clear_has_tag(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.tag) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 13; +inline int ClubCreateOptions::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubCreateOptions::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubCreateOptions::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubCreateOptions::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return &search_attribute_; +} + +// optional string locale = 14; +inline bool ClubCreateOptions::has_locale() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void ClubCreateOptions::set_has_locale() { + _has_bits_[0] |= 0x00001000u; +} +inline void ClubCreateOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00001000u; +} +inline void ClubCreateOptions::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubCreateOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.locale) + return *locale_; +} +inline void ClubCreateOptions::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline void ClubCreateOptions::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline void ClubCreateOptions::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline ::std::string* ClubCreateOptions::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.locale) + return locale_; +} +inline ::std::string* ClubCreateOptions::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} + +// optional string timezone = 15; +inline bool ClubCreateOptions::has_timezone() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void ClubCreateOptions::set_has_timezone() { + _has_bits_[0] |= 0x00002000u; +} +inline void ClubCreateOptions::clear_has_timezone() { + _has_bits_[0] &= ~0x00002000u; +} +inline void ClubCreateOptions::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubCreateOptions::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) + return *timezone_; +} +inline void ClubCreateOptions::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline void ClubCreateOptions::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline void ClubCreateOptions::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline ::std::string* ClubCreateOptions::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) + return timezone_; +} +inline ::std::string* ClubCreateOptions::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} + +// ------------------------------------------------------------------- + +// Club + +// optional uint64 id = 1; +inline bool Club::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Club::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Club::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Club::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Club::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.id) + return id_; +} +inline void Club::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool Club::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Club::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void Club::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Club::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* Club::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void Club::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.type) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int Club::attribute_size() const { + return attribute_.size(); +} +inline void Club::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Club::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Club::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Club::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Club::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Club::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.attribute) + return &attribute_; +} + +// optional string name = 4; +inline bool Club::has_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Club::set_has_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Club::clear_has_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Club::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Club::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.name) + return *name_; +} +inline void Club::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.name) +} +inline void Club::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.name) +} +inline void Club::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.name) +} +inline ::std::string* Club::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.name) + return name_; +} +inline ::std::string* Club::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.name) +} + +// optional string description = 5; +inline bool Club::has_description() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Club::set_has_description() { + _has_bits_[0] |= 0x00000010u; +} +inline void Club::clear_has_description() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Club::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& Club::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.description) + return *description_; +} +inline void Club::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.description) +} +inline void Club::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.description) +} +inline void Club::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.description) +} +inline ::std::string* Club::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.description) + return description_; +} +inline ::std::string* Club::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.description) +} + +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6; +inline bool Club::has_broadcast() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Club::set_has_broadcast() { + _has_bits_[0] |= 0x00000020u; +} +inline void Club::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Club::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::Broadcast& Club::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* Club::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* Club::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 7; +inline bool Club::has_avatar() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Club::set_has_avatar() { + _has_bits_[0] |= 0x00000040u; +} +inline void Club::clear_has_avatar() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Club::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* Club::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void Club::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; +inline bool Club::has_privacy_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Club::set_has_privacy_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void Club::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Club::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel Club::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void Club::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.privacy_level) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; +inline bool Club::has_visibility_level() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void Club::set_has_visibility_level() { + _has_bits_[0] |= 0x00000100u; +} +inline void Club::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000100u; +} +inline void Club::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel Club::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void Club::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.visibility_level) +} + +// optional uint32 member_count = 10; +inline bool Club::has_member_count() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void Club::set_has_member_count() { + _has_bits_[0] |= 0x00000200u; +} +inline void Club::clear_has_member_count() { + _has_bits_[0] &= ~0x00000200u; +} +inline void Club::clear_member_count() { + member_count_ = 0u; + clear_has_member_count(); +} +inline ::google::protobuf::uint32 Club::member_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.member_count) + return member_count_; +} +inline void Club::set_member_count(::google::protobuf::uint32 value) { + set_has_member_count(); + member_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.member_count) +} + +// optional uint64 creation_time = 11; +inline bool Club::has_creation_time() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void Club::set_has_creation_time() { + _has_bits_[0] |= 0x00000400u; +} +inline void Club::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000400u; +} +inline void Club::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Club::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.creation_time) + return creation_time_; +} +inline void Club::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.creation_time) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12; +inline bool Club::has_stream_position() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void Club::set_has_stream_position() { + _has_bits_[0] |= 0x00000800u; +} +inline void Club::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000800u; +} +inline void Club::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& Club::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* Club::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* Club::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void Club::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.stream_position) +} + +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13; +inline bool Club::has_role_set() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void Club::set_has_role_set() { + _has_bits_[0] |= 0x00001000u; +} +inline void Club::clear_has_role_set() { + _has_bits_[0] &= ~0x00001000u; +} +inline void Club::clear_role_set() { + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::ClubRoleSet::Clear(); + clear_has_role_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubRoleSet& Club::role_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.role_set) + return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::mutable_role_set() { + set_has_role_set(); + if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::client::ClubRoleSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.role_set) + return role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::release_role_set() { + clear_has_role_set(); + ::bgs::protocol::club::v1::client::ClubRoleSet* temp = role_set_; + role_set_ = NULL; + return temp; +} +inline void Club::set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set) { + delete role_set_; + role_set_ = role_set; + if (role_set) { + set_has_role_set(); + } else { + clear_has_role_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.role_set) +} + +// repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14; +inline int Club::leader_size() const { + return leader_.size(); +} +inline void Club::clear_leader() { + leader_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& Club::leader(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.leader) + return leader_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Club::mutable_leader(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.leader) + return leader_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Club::add_leader() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.leader) + return leader_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& +Club::leader() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.leader) + return leader_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* +Club::mutable_leader() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.leader) + return &leader_; +} + +// optional string short_name = 15; +inline bool Club::has_short_name() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void Club::set_has_short_name() { + _has_bits_[0] |= 0x00004000u; +} +inline void Club::clear_has_short_name() { + _has_bits_[0] &= ~0x00004000u; +} +inline void Club::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& Club::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.short_name) + return *short_name_; +} +inline void Club::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.short_name) +} +inline void Club::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.short_name) +} +inline void Club::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.short_name) +} +inline ::std::string* Club::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.short_name) + return short_name_; +} +inline ::std::string* Club::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.short_name) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 16; +inline int Club::search_attribute_size() const { + return search_attribute_.size(); +} +inline void Club::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Club::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Club::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.search_attribute) + return &search_attribute_; +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; +inline int Club::tag_size() const { + return tag_.size(); +} +inline void Club::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +Club::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +Club::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.tag) + return &tag_; +} + +// optional string locale = 18; +inline bool Club::has_locale() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void Club::set_has_locale() { + _has_bits_[0] |= 0x00020000u; +} +inline void Club::clear_has_locale() { + _has_bits_[0] &= ~0x00020000u; +} +inline void Club::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& Club::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.locale) + return *locale_; +} +inline void Club::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.locale) +} +inline void Club::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.locale) +} +inline void Club::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.locale) +} +inline ::std::string* Club::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.locale) + return locale_; +} +inline ::std::string* Club::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.locale) +} + +// optional string timezone = 19; +inline bool Club::has_timezone() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void Club::set_has_timezone() { + _has_bits_[0] |= 0x00040000u; +} +inline void Club::clear_has_timezone() { + _has_bits_[0] &= ~0x00040000u; +} +inline void Club::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& Club::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.timezone) + return *timezone_; +} +inline void Club::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.timezone) +} +inline void Club::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.timezone) +} +inline void Club::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.timezone) +} +inline ::std::string* Club::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.timezone) + return timezone_; +} +inline ::std::string* Club::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.timezone) +} + +// ------------------------------------------------------------------- + +// ClubView + +// optional uint64 club_id = 1; +inline bool ClubView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.club_id) + return club_id_; +} +inline void ClubView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubView.club_id) +} + +// optional .bgs.protocol.ViewMarker marker = 2; +inline bool ClubView::has_marker() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubView::set_has_marker() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubView::clear_has_marker() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& ClubView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* ClubView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* ClubView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void ClubView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubView.marker) +} + +// ------------------------------------------------------------------- + +// ClubStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int ClubStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void ClubStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool ClubStateOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubStateOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubStateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubStateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubStateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.name) + return *name_; +} +inline void ClubStateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline void ClubStateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline void ClubStateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline ::std::string* ClubStateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.name) + return name_; +} +inline ::std::string* ClubStateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.name) +} + +// optional string description = 3; +inline bool ClubStateOptions::has_description() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStateOptions::set_has_description() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStateOptions::clear_has_description() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStateOptions::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubStateOptions::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.description) + return *description_; +} +inline void ClubStateOptions::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline void ClubStateOptions::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline void ClubStateOptions::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline ::std::string* ClubStateOptions::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.description) + return description_; +} +inline ::std::string* ClubStateOptions::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.description) +} + +// optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4; +inline bool ClubStateOptions::has_broadcast() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStateOptions::set_has_broadcast() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStateOptions::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStateOptions::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::SetBroadcastOptions::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& ClubStateOptions::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::SetBroadcastOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::SetBroadcastOptions* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubStateOptions::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubStateOptions::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubStateOptions::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubStateOptions::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubStateOptions::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubStateOptions::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubStateOptions::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubStateOptions::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateOptions::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubStateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7; +inline bool ClubStateOptions::has_stream_position() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubStateOptions::set_has_stream_position() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubStateOptions::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubStateOptions::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateOptions::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) +} + +// optional string short_name = 8; +inline bool ClubStateOptions::has_short_name() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubStateOptions::set_has_short_name() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubStateOptions::clear_has_short_name() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubStateOptions::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubStateOptions::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.short_name) + return *short_name_; +} +inline void ClubStateOptions::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline void ClubStateOptions::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline void ClubStateOptions::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline ::std::string* ClubStateOptions::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.short_name) + return short_name_; +} +inline ::std::string* ClubStateOptions::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; +inline bool ClubStateOptions::has_visibility_level() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubStateOptions::set_has_visibility_level() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubStateOptions::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubStateOptions::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateOptions::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubStateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level) +} + +// optional string locale = 10; +inline bool ClubStateOptions::has_locale() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubStateOptions::set_has_locale() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubStateOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubStateOptions::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubStateOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.locale) + return *locale_; +} +inline void ClubStateOptions::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline void ClubStateOptions::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline void ClubStateOptions::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline ::std::string* ClubStateOptions::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.locale) + return locale_; +} +inline ::std::string* ClubStateOptions::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} + +// optional string timezone = 11; +inline bool ClubStateOptions::has_timezone() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubStateOptions::set_has_timezone() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubStateOptions::clear_has_timezone() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubStateOptions::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubStateOptions::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.timezone) + return *timezone_; +} +inline void ClubStateOptions::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline void ClubStateOptions::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline void ClubStateOptions::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline ::std::string* ClubStateOptions::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.timezone) + return timezone_; +} +inline ::std::string* ClubStateOptions::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} + +// optional .bgs.protocol.club.v1.TagOptions tag_options = 12; +inline bool ClubStateOptions::has_tag_options() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubStateOptions::set_has_tag_options() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubStateOptions::clear_has_tag_options() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubStateOptions::clear_tag_options() { + if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear(); + clear_has_tag_options(); +} +inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) + return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() { + set_has_tag_options(); + if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) + return tag_options_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() { + clear_has_tag_options(); + ::bgs::protocol::club::v1::TagOptions* temp = tag_options_; + tag_options_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options) { + delete tag_options_; + tag_options_ = tag_options; + if (tag_options) { + set_has_tag_options(); + } else { + clear_has_tag_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 13; +inline int ClubStateOptions::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubStateOptions::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateOptions::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateOptions::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return &search_attribute_; +} + +// ------------------------------------------------------------------- + +// ClubStateAssignment + +// optional uint64 club_id = 1; +inline bool ClubStateAssignment::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubStateAssignment::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubStateAssignment::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubStateAssignment::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubStateAssignment::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.club_id) + return club_id_; +} +inline void ClubStateAssignment::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.club_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int ClubStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void ClubStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool ClubStateAssignment::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStateAssignment::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStateAssignment::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStateAssignment::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubStateAssignment::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.name) + return *name_; +} +inline void ClubStateAssignment::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline void ClubStateAssignment::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline void ClubStateAssignment::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline ::std::string* ClubStateAssignment::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.name) + return name_; +} +inline ::std::string* ClubStateAssignment::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} + +// optional string description = 4; +inline bool ClubStateAssignment::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStateAssignment::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStateAssignment::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStateAssignment::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubStateAssignment::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.description) + return *description_; +} +inline void ClubStateAssignment::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline void ClubStateAssignment::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline void ClubStateAssignment::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline ::std::string* ClubStateAssignment::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.description) + return description_; +} +inline ::std::string* ClubStateAssignment::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} + +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5; +inline bool ClubStateAssignment::has_broadcast() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubStateAssignment::set_has_broadcast() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubStateAssignment::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubStateAssignment::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::Broadcast& ClubStateAssignment::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 6; +inline bool ClubStateAssignment::has_avatar() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubStateAssignment::set_has_avatar() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubStateAssignment::clear_has_avatar() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubStateAssignment::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; +inline bool ClubStateAssignment::has_privacy_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubStateAssignment::set_has_privacy_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubStateAssignment::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubStateAssignment::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateAssignment::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubStateAssignment::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8; +inline bool ClubStateAssignment::has_stream_position() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubStateAssignment::set_has_stream_position() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubStateAssignment::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubStateAssignment::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateAssignment::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) +} + +// optional string short_name = 9; +inline bool ClubStateAssignment::has_short_name() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubStateAssignment::set_has_short_name() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubStateAssignment::clear_has_short_name() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubStateAssignment::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubStateAssignment::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) + return *short_name_; +} +inline void ClubStateAssignment::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline void ClubStateAssignment::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline void ClubStateAssignment::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline ::std::string* ClubStateAssignment::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) + return short_name_; +} +inline ::std::string* ClubStateAssignment::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; +inline bool ClubStateAssignment::has_visibility_level() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubStateAssignment::set_has_visibility_level() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubStateAssignment::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubStateAssignment::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateAssignment::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubStateAssignment::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level) +} + +// optional string locale = 11; +inline bool ClubStateAssignment::has_locale() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubStateAssignment::set_has_locale() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubStateAssignment::clear_has_locale() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubStateAssignment::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubStateAssignment::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.locale) + return *locale_; +} +inline void ClubStateAssignment::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline void ClubStateAssignment::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline void ClubStateAssignment::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline ::std::string* ClubStateAssignment::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.locale) + return locale_; +} +inline ::std::string* ClubStateAssignment::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} + +// optional string timezone = 12; +inline bool ClubStateAssignment::has_timezone() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubStateAssignment::set_has_timezone() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubStateAssignment::clear_has_timezone() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubStateAssignment::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubStateAssignment::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) + return *timezone_; +} +inline void ClubStateAssignment::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline void ClubStateAssignment::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline void ClubStateAssignment::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline ::std::string* ClubStateAssignment::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) + return timezone_; +} +inline ::std::string* ClubStateAssignment::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; +inline int ClubStateAssignment::tag_size() const { + return tag_.size(); +} +inline void ClubStateAssignment::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +ClubStateAssignment::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +ClubStateAssignment::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return &tag_; +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 14; +inline int ClubStateAssignment::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubStateAssignment::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateAssignment::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateAssignment::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return &search_attribute_; +} + +// optional bool tag_cleared = 15; +inline bool ClubStateAssignment::has_tag_cleared() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void ClubStateAssignment::set_has_tag_cleared() { + _has_bits_[0] |= 0x00004000u; +} +inline void ClubStateAssignment::clear_has_tag_cleared() { + _has_bits_[0] &= ~0x00004000u; +} +inline void ClubStateAssignment::clear_tag_cleared() { + tag_cleared_ = false; + clear_has_tag_cleared(); +} +inline bool ClubStateAssignment::tag_cleared() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared) + return tag_cleared_; +} +inline void ClubStateAssignment::set_tag_cleared(bool value) { + set_has_tag_cleared(); + tag_cleared_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared) +} + +// ------------------------------------------------------------------- + +// StreamSettings + +// optional uint64 stream_id = 1; +inline bool StreamSettings::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamSettings::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamSettings::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamSettings::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamSettings::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.stream_id) + return stream_id_; +} +inline void StreamSettings::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2; +inline bool StreamSettings::has_filter() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamSettings::set_has_filter() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamSettings::clear_has_filter() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamSettings::clear_filter() { + filter_ = 0; + clear_has_filter(); +} +inline ::bgs::protocol::club::v1::client::StreamNotificationFilter StreamSettings::filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.filter) + return static_cast< ::bgs::protocol::club::v1::client::StreamNotificationFilter >(filter_); +} +inline void StreamSettings::set_filter(::bgs::protocol::club::v1::client::StreamNotificationFilter value) { + assert(::bgs::protocol::club::v1::client::StreamNotificationFilter_IsValid(value)); + set_has_filter(); + filter_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.filter) +} + +// ------------------------------------------------------------------- + +// ClubSettings + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1; +inline int ClubSettings::stream_size() const { + return stream_.size(); +} +inline void ClubSettings::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettings::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettings::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettings::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.stream) + return &stream_; +} + +// optional bool stream_notification_filter_all = 2; +inline bool ClubSettings::has_stream_notification_filter_all() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettings::set_has_stream_notification_filter_all() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettings::clear_has_stream_notification_filter_all() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettings::clear_stream_notification_filter_all() { + stream_notification_filter_all_ = false; + clear_has_stream_notification_filter_all(); +} +inline bool ClubSettings::stream_notification_filter_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all) + return stream_notification_filter_all_; +} +inline void ClubSettings::set_stream_notification_filter_all(bool value) { + set_has_stream_notification_filter_all(); + stream_notification_filter_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int ClubSettings::attribute_size() const { + return attribute_.size(); +} +inline void ClubSettings::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubSettings::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSettings::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSettings::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubSettings::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubSettings::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.attribute) + return &attribute_; +} + +// optional bool push_notification_filter_all = 4; +inline bool ClubSettings::has_push_notification_filter_all() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubSettings::set_has_push_notification_filter_all() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubSettings::clear_has_push_notification_filter_all() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubSettings::clear_push_notification_filter_all() { + push_notification_filter_all_ = false; + clear_has_push_notification_filter_all(); +} +inline bool ClubSettings::push_notification_filter_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all) + return push_notification_filter_all_; +} +inline void ClubSettings::set_push_notification_filter_all(bool value) { + set_has_push_notification_filter_all(); + push_notification_filter_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all) +} + +// ------------------------------------------------------------------- + +// ClubSettingsOptions + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; +inline int ClubSettingsOptions::stream_size() const { + return stream_.size(); +} +inline void ClubSettingsOptions::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsOptions::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettingsOptions::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettingsOptions::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return &stream_; +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; +inline bool ClubSettingsOptions::has_settings() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettingsOptions::set_has_settings() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettingsOptions::clear_has_settings() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettingsOptions::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsOptions::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) +} + +// optional uint32 version = 3; +inline bool ClubSettingsOptions::has_version() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubSettingsOptions::set_has_version() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubSettingsOptions::clear_has_version() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubSettingsOptions::clear_version() { + version_ = 0u; + clear_has_version(); +} +inline ::google::protobuf::uint32 ClubSettingsOptions::version() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.version) + return version_; +} +inline void ClubSettingsOptions::set_version(::google::protobuf::uint32 value) { + set_has_version(); + version_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettingsOptions.version) +} + +// ------------------------------------------------------------------- + +// ClubSettingsAssignment + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; +inline int ClubSettingsAssignment::stream_size() const { + return stream_.size(); +} +inline void ClubSettingsAssignment::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsAssignment::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettingsAssignment::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettingsAssignment::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return &stream_; +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; +inline bool ClubSettingsAssignment::has_settings() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettingsAssignment::set_has_settings() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettingsAssignment::clear_has_settings() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettingsAssignment::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsAssignment::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_enum.pb.cc b/src/server/proto/Client/api/client/v1/club_enum.pb.cc new file mode 100644 index 00000000000..88442d57265 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_enum.pb.cc @@ -0,0 +1,209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_enum.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_enum.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_enum.proto"); + GOOGLE_CHECK(file != NULL); + ClubRemovedReason_descriptor_ = file->enum_type(0); + StreamVoiceLevel_descriptor_ = file->enum_type(1); + VoiceMicrophoneState_descriptor_ = file->enum_type(2); + PresenceLevel_descriptor_ = file->enum_type(3); + WhisperLevel_descriptor_ = file->enum_type(4); + StreamNotificationFilter_descriptor_ = file->enum_type(5); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_enum.proto\022\033bgs.pro" + "tocol.club.v1.client*\262\002\n\021ClubRemovedReas" + "on\022\034\n\030CLUB_REMOVED_REASON_NONE\020\000\022#\n\037CLUB" + "_REMOVED_REASON_MEMBER_LEFT\020\001\022%\n!CLUB_RE" + "MOVED_REASON_MEMBER_KICKED\020\002\022%\n!CLUB_REM" + "OVED_REASON_MEMBER_BANNED\020\003\0221\n-CLUB_REMO" + "VED_REASON_MEMBER_REMOVED_BY_SERVICE\020\004\022+" + "\n\'CLUB_REMOVED_REASON_DESTROYED_BY_MEMBE" + "R\020\005\022,\n(CLUB_REMOVED_REASON_DESTROYED_BY_" + "SERVICE\020\006*d\n\020StreamVoiceLevel\022\030\n\024VOICE_L" + "EVEL_DISABLED\020\000\022\034\n\030VOICE_LEVEL_PUSH_TO_T" + "ALK\020\001\022\030\n\024VOICE_LEVEL_OPEN_MIC\020\002*s\n\024Voice" + "MicrophoneState\022\033\n\027MICROPHONE_STATE_NORM" + "AL\020\000\022\036\n\032MICROPHONE_STATE_SELF_MUTE\020\001\022\036\n\032" + "MICROPHONE_STATE_SELF_DEAF\020\002*[\n\rPresence" + "Level\022\027\n\023PRESENCE_LEVEL_NONE\020\000\022\030\n\024PRESEN" + "CE_LEVEL_BASIC\020\001\022\027\n\023PRESENCE_LEVEL_RICH\020" + "\002*D\n\014WhisperLevel\022\026\n\022WHISPER_LEVEL_OPEN\020" + "\000\022\034\n\030WHISPER_LEVEL_RESTRICTED\020\001*\213\001\n\030Stre" + "amNotificationFilter\022#\n\037STREAM_NOTIFICAT" + "ION_FILTER_NONE\020\000\022&\n\"STREAM_NOTIFICATION" + "_FILTER_MENTION\020\001\022\"\n\036STREAM_NOTIFICATION" + "_FILTER_ALL\020\002B\002H\002", 897); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_enum.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fenum_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fenum_2eproto_; +const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRemovedReason_descriptor_; +} +bool ClubRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamVoiceLevel_descriptor_; +} +bool StreamVoiceLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceMicrophoneState_descriptor_; +} +bool VoiceMicrophoneState_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return PresenceLevel_descriptor_; +} +bool PresenceLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperLevel_descriptor_; +} +bool WhisperLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamNotificationFilter_descriptor_; +} +bool StreamNotificationFilter_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_enum.pb.h b/src/server/proto/Client/api/client/v1/club_enum.pb.h new file mode 100644 index 00000000000..499dce8969f --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_enum.pb.h @@ -0,0 +1,217 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_enum.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + +enum ClubRemovedReason { + CLUB_REMOVED_REASON_NONE = 0, + CLUB_REMOVED_REASON_MEMBER_LEFT = 1, + CLUB_REMOVED_REASON_MEMBER_KICKED = 2, + CLUB_REMOVED_REASON_MEMBER_BANNED = 3, + CLUB_REMOVED_REASON_MEMBER_REMOVED_BY_SERVICE = 4, + CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER = 5, + CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE = 6 +}; +TC_PROTO_API bool ClubRemovedReason_IsValid(int value); +const ClubRemovedReason ClubRemovedReason_MIN = CLUB_REMOVED_REASON_NONE; +const ClubRemovedReason ClubRemovedReason_MAX = CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE; +const int ClubRemovedReason_ARRAYSIZE = ClubRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor(); +inline const ::std::string& ClubRemovedReason_Name(ClubRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + ClubRemovedReason_descriptor(), value); +} +inline bool ClubRemovedReason_Parse( + const ::std::string& name, ClubRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ClubRemovedReason_descriptor(), name, value); +} +enum StreamVoiceLevel { + VOICE_LEVEL_DISABLED = 0, + VOICE_LEVEL_PUSH_TO_TALK = 1, + VOICE_LEVEL_OPEN_MIC = 2 +}; +TC_PROTO_API bool StreamVoiceLevel_IsValid(int value); +const StreamVoiceLevel StreamVoiceLevel_MIN = VOICE_LEVEL_DISABLED; +const StreamVoiceLevel StreamVoiceLevel_MAX = VOICE_LEVEL_OPEN_MIC; +const int StreamVoiceLevel_ARRAYSIZE = StreamVoiceLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor(); +inline const ::std::string& StreamVoiceLevel_Name(StreamVoiceLevel value) { + return ::google::protobuf::internal::NameOfEnum( + StreamVoiceLevel_descriptor(), value); +} +inline bool StreamVoiceLevel_Parse( + const ::std::string& name, StreamVoiceLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + StreamVoiceLevel_descriptor(), name, value); +} +enum VoiceMicrophoneState { + MICROPHONE_STATE_NORMAL = 0, + MICROPHONE_STATE_SELF_MUTE = 1, + MICROPHONE_STATE_SELF_DEAF = 2 +}; +TC_PROTO_API bool VoiceMicrophoneState_IsValid(int value); +const VoiceMicrophoneState VoiceMicrophoneState_MIN = MICROPHONE_STATE_NORMAL; +const VoiceMicrophoneState VoiceMicrophoneState_MAX = MICROPHONE_STATE_SELF_DEAF; +const int VoiceMicrophoneState_ARRAYSIZE = VoiceMicrophoneState_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor(); +inline const ::std::string& VoiceMicrophoneState_Name(VoiceMicrophoneState value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceMicrophoneState_descriptor(), value); +} +inline bool VoiceMicrophoneState_Parse( + const ::std::string& name, VoiceMicrophoneState* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceMicrophoneState_descriptor(), name, value); +} +enum PresenceLevel { + PRESENCE_LEVEL_NONE = 0, + PRESENCE_LEVEL_BASIC = 1, + PRESENCE_LEVEL_RICH = 2 +}; +TC_PROTO_API bool PresenceLevel_IsValid(int value); +const PresenceLevel PresenceLevel_MIN = PRESENCE_LEVEL_NONE; +const PresenceLevel PresenceLevel_MAX = PRESENCE_LEVEL_RICH; +const int PresenceLevel_ARRAYSIZE = PresenceLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor(); +inline const ::std::string& PresenceLevel_Name(PresenceLevel value) { + return ::google::protobuf::internal::NameOfEnum( + PresenceLevel_descriptor(), value); +} +inline bool PresenceLevel_Parse( + const ::std::string& name, PresenceLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PresenceLevel_descriptor(), name, value); +} +enum WhisperLevel { + WHISPER_LEVEL_OPEN = 0, + WHISPER_LEVEL_RESTRICTED = 1 +}; +TC_PROTO_API bool WhisperLevel_IsValid(int value); +const WhisperLevel WhisperLevel_MIN = WHISPER_LEVEL_OPEN; +const WhisperLevel WhisperLevel_MAX = WHISPER_LEVEL_RESTRICTED; +const int WhisperLevel_ARRAYSIZE = WhisperLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor(); +inline const ::std::string& WhisperLevel_Name(WhisperLevel value) { + return ::google::protobuf::internal::NameOfEnum( + WhisperLevel_descriptor(), value); +} +inline bool WhisperLevel_Parse( + const ::std::string& name, WhisperLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + WhisperLevel_descriptor(), name, value); +} +enum StreamNotificationFilter { + STREAM_NOTIFICATION_FILTER_NONE = 0, + STREAM_NOTIFICATION_FILTER_MENTION = 1, + STREAM_NOTIFICATION_FILTER_ALL = 2 +}; +TC_PROTO_API bool StreamNotificationFilter_IsValid(int value); +const StreamNotificationFilter StreamNotificationFilter_MIN = STREAM_NOTIFICATION_FILTER_NONE; +const StreamNotificationFilter StreamNotificationFilter_MAX = STREAM_NOTIFICATION_FILTER_ALL; +const int StreamNotificationFilter_ARRAYSIZE = StreamNotificationFilter_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor(); +inline const ::std::string& StreamNotificationFilter_Name(StreamNotificationFilter value) { + return ::google::protobuf::internal::NameOfEnum( + StreamNotificationFilter_descriptor(), value); +} +inline bool StreamNotificationFilter_Parse( + const ::std::string& name, StreamNotificationFilter* value) { + return ::google::protobuf::internal::ParseNamedEnum( + StreamNotificationFilter_descriptor(), name, value); +} +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::ClubRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::ClubRemovedReason>() { + return ::bgs::protocol::club::v1::client::ClubRemovedReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::StreamVoiceLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::StreamVoiceLevel>() { + return ::bgs::protocol::club::v1::client::StreamVoiceLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::VoiceMicrophoneState> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::VoiceMicrophoneState>() { + return ::bgs::protocol::club::v1::client::VoiceMicrophoneState_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::PresenceLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::PresenceLevel>() { + return ::bgs::protocol::club::v1::client::PresenceLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::WhisperLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::WhisperLevel>() { + return ::bgs::protocol::club::v1::client::WhisperLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::StreamNotificationFilter> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::StreamNotificationFilter>() { + return ::bgs::protocol::club::v1::client::StreamNotificationFilter_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_invitation.pb.cc b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc new file mode 100644 index 00000000000..55b90216636 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc @@ -0,0 +1,937 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_invitation.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_invitation.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubSlot_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSlot_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendInvitationOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendInvitationOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubInvitation_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubInvitation_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendSuggestionOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendSuggestionOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSuggestion_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSuggestion_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubTicket_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTicket_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_invitation.proto"); + GOOGLE_CHECK(file != NULL); + ClubSlot_descriptor_ = file->message_type(0); + static const int ClubSlot_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, default_stream_id_), + }; + ClubSlot_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSlot_descriptor_, + ClubSlot::default_instance_, + ClubSlot_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSlot)); + SendInvitationOptions_descriptor_ = file->message_type(1); + static const int SendInvitationOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, attribute_), + }; + SendInvitationOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendInvitationOptions_descriptor_, + SendInvitationOptions::default_instance_, + SendInvitationOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendInvitationOptions)); + ClubInvitation_descriptor_ = file->message_type(2); + static const int ClubInvitation_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, inviter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, invitee_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, expiration_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, suggester_), + }; + ClubInvitation_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubInvitation_descriptor_, + ClubInvitation::default_instance_, + ClubInvitation_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubInvitation)); + SendSuggestionOptions_descriptor_ = file->message_type(3); + static const int SendSuggestionOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, join_club_source_), + }; + SendSuggestionOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendSuggestionOptions_descriptor_, + SendSuggestionOptions::default_instance_, + SendSuggestionOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendSuggestionOptions)); + ClubSuggestion_descriptor_ = file->message_type(4); + static const int ClubSuggestion_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggester_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggestee_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, expiration_time_), + }; + ClubSuggestion_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSuggestion_descriptor_, + ClubSuggestion::default_instance_, + ClubSuggestion_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSuggestion)); + CreateTicketOptions_descriptor_ = file->message_type(5); + static const int CreateTicketOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, allowed_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, expiration_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, join_club_source_), + }; + CreateTicketOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketOptions_descriptor_, + CreateTicketOptions::default_instance_, + CreateTicketOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketOptions)); + ClubTicket_descriptor_ = file->message_type(6); + static const int ClubTicket_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, current_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, allowed_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, expiration_time_), + }; + ClubTicket_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTicket_descriptor_, + ClubTicket::default_instance_, + ClubTicket_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTicket)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSlot_descriptor_, &ClubSlot::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendInvitationOptions_descriptor_, &SendInvitationOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubInvitation_descriptor_, &ClubInvitation::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendSuggestionOptions_descriptor_, &SendSuggestionOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSuggestion_descriptor_, &ClubSuggestion::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketOptions_descriptor_, &CreateTicketOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTicket_descriptor_, &ClubTicket::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + delete ClubSlot::default_instance_; + delete ClubSlot_reflection_; + delete SendInvitationOptions::default_instance_; + delete SendInvitationOptions_reflection_; + delete ClubInvitation::default_instance_; + delete ClubInvitation_reflection_; + delete SendSuggestionOptions::default_instance_; + delete SendSuggestionOptions_reflection_; + delete ClubSuggestion::default_instance_; + delete ClubSuggestion_reflection_; + delete CreateTicketOptions::default_instance_; + delete CreateTicketOptions_reflection_; + delete ClubTicket::default_instance_; + delete ClubTicket_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/client/v1/club_invitation.proto\022\033b" + "gs.protocol.club.v1.client\032%global_exten" + "sions/field_options.proto\032\037api/client/v1" + "/club_member.proto\032\035api/common/v1/club_c" + "ore.proto\032#api/common/v2/attribute_types" + ".proto\"3\n\010ClubSlot\022\014\n\004role\030\001 \001(\r\022\031\n\021defa" + "ult_stream_id\030\002 \001(\004\"\256\001\n\025SendInvitationOp" + "tions\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\0223\n\004slot\030\002 \001(\0132%.bgs.pro" + "tocol.club.v1.client.ClubSlot\022-\n\tattribu" + "te\030\003 \003(\0132\032.bgs.protocol.v2.Attribute\"\252\003\n" + "\016ClubInvitation\022\n\n\002id\030\001 \001(\006\022\?\n\007inviter\030\002" + " \001(\0132..bgs.protocol.club.v1.client.Membe" + "rDescription\022\?\n\007invitee\030\003 \001(\0132..bgs.prot" + "ocol.club.v1.client.MemberDescription\0223\n" + "\004club\030\004 \001(\0132%.bgs.protocol.club.v1.ClubD" + "escription\0223\n\004slot\030\005 \001(\0132%.bgs.protocol." + "club.v1.client.ClubSlot\022-\n\tattribute\030\006 \003" + "(\0132\032.bgs.protocol.v2.Attribute\022\025\n\rcreati" + "on_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001(\004\022A" + "\n\tsuggester\030\t \001(\0132..bgs.protocol.club.v1" + ".client.MemberDescription\"\336\001\n\025SendSugges" + "tionOptions\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.pro" + "tocol.club.v1.MemberId\0223\n\004slot\030\002 \001(\0132%.b" + "gs.protocol.club.v1.client.ClubSlot\022-\n\ta" + "ttribute\030\003 \003(\0132\032.bgs.protocol.v2.Attribu" + "te\022.\n\020join_club_source\030\004 \001(\rB\024\202\371+\020*\016Join" + "ClubSource\"\307\002\n\016ClubSuggestion\022\n\n\002id\030\001 \001(" + "\006\022\017\n\007club_id\030\002 \001(\004\022A\n\tsuggester\030\003 \001(\0132.." + "bgs.protocol.club.v1.client.MemberDescri" + "ption\022A\n\tsuggestee\030\004 \001(\0132..bgs.protocol." + "club.v1.client.MemberDescription\0223\n\004slot" + "\030\005 \001(\0132%.bgs.protocol.club.v1.client.Clu" + "bSlot\022-\n\tattribute\030\006 \003(\0132\032.bgs.protocol." + "v2.Attribute\022\025\n\rcreation_time\030\007 \001(\004\022\027\n\017e" + "xpiration_time\030\010 \001(\004\"\340\001\n\023CreateTicketOpt" + "ions\0223\n\004slot\030\001 \001(\0132%.bgs.protocol.club.v" + "1.client.ClubSlot\022-\n\tattribute\030\002 \003(\0132\032.b" + "gs.protocol.v2.Attribute\022\034\n\024allowed_rede" + "em_count\030\003 \001(\r\022\027\n\017expiration_time\030\004 \001(\004\022" + ".\n\020join_club_source\030\005 \001(\rB\024\202\371+\020*\016JoinClu" + "bSource\"\336\002\n\nClubTicket\022\n\n\002id\030\001 \001(\t\022\?\n\007cr" + "eator\030\002 \001(\0132..bgs.protocol.club.v1.clien" + "t.MemberDescription\0223\n\004club\030\003 \001(\0132%.bgs." + "protocol.club.v1.ClubDescription\0223\n\004slot" + "\030\004 \001(\0132%.bgs.protocol.club.v1.client.Clu" + "bSlot\022-\n\tattribute\030\005 \003(\0132\032.bgs.protocol." + "v2.Attribute\022\034\n\024current_redeem_count\030\006 \001" + "(\r\022\034\n\024allowed_redeem_count\030\007 \001(\r\022\025\n\rcrea" + "tion_time\030\010 \001(\004\022\027\n\017expiration_time\030\t \001(\004" + "B\002H\002P\000", 2006); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_invitation.proto", &protobuf_RegisterTypes); + ClubSlot::default_instance_ = new ClubSlot(); + SendInvitationOptions::default_instance_ = new SendInvitationOptions(); + ClubInvitation::default_instance_ = new ClubInvitation(); + SendSuggestionOptions::default_instance_ = new SendSuggestionOptions(); + ClubSuggestion::default_instance_ = new ClubSuggestion(); + CreateTicketOptions::default_instance_ = new CreateTicketOptions(); + ClubTicket::default_instance_ = new ClubTicket(); + ClubSlot::default_instance_->InitAsDefaultInstance(); + SendInvitationOptions::default_instance_->InitAsDefaultInstance(); + ClubInvitation::default_instance_->InitAsDefaultInstance(); + SendSuggestionOptions::default_instance_->InitAsDefaultInstance(); + ClubSuggestion::default_instance_->InitAsDefaultInstance(); + CreateTicketOptions::default_instance_->InitAsDefaultInstance(); + ClubTicket::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubSlot::kRoleFieldNumber; +const int ClubSlot::kDefaultStreamIdFieldNumber; +#endif // !_MSC_VER + +ClubSlot::ClubSlot() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSlot) +} + +void ClubSlot::InitAsDefaultInstance() { +} + +ClubSlot::ClubSlot(const ClubSlot& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSlot) +} + +void ClubSlot::SharedCtor() { + _cached_size_ = 0; + role_ = 0u; + default_stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSlot::~ClubSlot() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSlot) + SharedDtor(); +} + +void ClubSlot::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubSlot::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSlot::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSlot_descriptor_; +} + +const ClubSlot& ClubSlot::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubSlot* ClubSlot::default_instance_ = NULL; + +ClubSlot* ClubSlot::New() const { + return new ClubSlot; +} + +void ClubSlot::Swap(ClubSlot* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSlot::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSlot_descriptor_; + metadata.reflection = ClubSlot_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendInvitationOptions::kTargetIdFieldNumber; +const int SendInvitationOptions::kSlotFieldNumber; +const int SendInvitationOptions::kAttributeFieldNumber; +#endif // !_MSC_VER + +SendInvitationOptions::SendInvitationOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendInvitationOptions) +} + +void SendInvitationOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +SendInvitationOptions::SendInvitationOptions(const SendInvitationOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationOptions) +} + +void SendInvitationOptions::SharedCtor() { + _cached_size_ = 0; + target_id_ = NULL; + slot_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendInvitationOptions::~SendInvitationOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationOptions) + SharedDtor(); +} + +void SendInvitationOptions::SharedDtor() { + if (this != default_instance_) { + delete target_id_; + delete slot_; + } +} + +void SendInvitationOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendInvitationOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendInvitationOptions_descriptor_; +} + +const SendInvitationOptions& SendInvitationOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +SendInvitationOptions* SendInvitationOptions::default_instance_ = NULL; + +SendInvitationOptions* SendInvitationOptions::New() const { + return new SendInvitationOptions; +} + +void SendInvitationOptions::Swap(SendInvitationOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendInvitationOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendInvitationOptions_descriptor_; + metadata.reflection = SendInvitationOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubInvitation::kIdFieldNumber; +const int ClubInvitation::kInviterFieldNumber; +const int ClubInvitation::kInviteeFieldNumber; +const int ClubInvitation::kClubFieldNumber; +const int ClubInvitation::kSlotFieldNumber; +const int ClubInvitation::kAttributeFieldNumber; +const int ClubInvitation::kCreationTimeFieldNumber; +const int ClubInvitation::kExpirationTimeFieldNumber; +const int ClubInvitation::kSuggesterFieldNumber; +#endif // !_MSC_VER + +ClubInvitation::ClubInvitation() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubInvitation) +} + +void ClubInvitation::InitAsDefaultInstance() { + inviter_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + invitee_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); + suggester_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +ClubInvitation::ClubInvitation(const ClubInvitation& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitation) +} + +void ClubInvitation::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + inviter_ = NULL; + invitee_ = NULL; + club_ = NULL; + slot_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + suggester_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubInvitation::~ClubInvitation() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitation) + SharedDtor(); +} + +void ClubInvitation::SharedDtor() { + if (this != default_instance_) { + delete inviter_; + delete invitee_; + delete club_; + delete slot_; + delete suggester_; + } +} + +void ClubInvitation::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubInvitation::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubInvitation_descriptor_; +} + +const ClubInvitation& ClubInvitation::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubInvitation* ClubInvitation::default_instance_ = NULL; + +ClubInvitation* ClubInvitation::New() const { + return new ClubInvitation; +} + +void ClubInvitation::Swap(ClubInvitation* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubInvitation::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubInvitation_descriptor_; + metadata.reflection = ClubInvitation_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendSuggestionOptions::kTargetIdFieldNumber; +const int SendSuggestionOptions::kSlotFieldNumber; +const int SendSuggestionOptions::kAttributeFieldNumber; +const int SendSuggestionOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +SendSuggestionOptions::SendSuggestionOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendSuggestionOptions) +} + +void SendSuggestionOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +SendSuggestionOptions::SendSuggestionOptions(const SendSuggestionOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionOptions) +} + +void SendSuggestionOptions::SharedCtor() { + _cached_size_ = 0; + target_id_ = NULL; + slot_ = NULL; + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendSuggestionOptions::~SendSuggestionOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionOptions) + SharedDtor(); +} + +void SendSuggestionOptions::SharedDtor() { + if (this != default_instance_) { + delete target_id_; + delete slot_; + } +} + +void SendSuggestionOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendSuggestionOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendSuggestionOptions_descriptor_; +} + +const SendSuggestionOptions& SendSuggestionOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +SendSuggestionOptions* SendSuggestionOptions::default_instance_ = NULL; + +SendSuggestionOptions* SendSuggestionOptions::New() const { + return new SendSuggestionOptions; +} + +void SendSuggestionOptions::Swap(SendSuggestionOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendSuggestionOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendSuggestionOptions_descriptor_; + metadata.reflection = SendSuggestionOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSuggestion::kIdFieldNumber; +const int ClubSuggestion::kClubIdFieldNumber; +const int ClubSuggestion::kSuggesterFieldNumber; +const int ClubSuggestion::kSuggesteeFieldNumber; +const int ClubSuggestion::kSlotFieldNumber; +const int ClubSuggestion::kAttributeFieldNumber; +const int ClubSuggestion::kCreationTimeFieldNumber; +const int ClubSuggestion::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +ClubSuggestion::ClubSuggestion() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSuggestion) +} + +void ClubSuggestion::InitAsDefaultInstance() { + suggester_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + suggestee_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +ClubSuggestion::ClubSuggestion(const ClubSuggestion& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestion) +} + +void ClubSuggestion::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + club_id_ = GOOGLE_ULONGLONG(0); + suggester_ = NULL; + suggestee_ = NULL; + slot_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSuggestion::~ClubSuggestion() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestion) + SharedDtor(); +} + +void ClubSuggestion::SharedDtor() { + if (this != default_instance_) { + delete suggester_; + delete suggestee_; + delete slot_; + } +} + +void ClubSuggestion::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSuggestion::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSuggestion_descriptor_; +} + +const ClubSuggestion& ClubSuggestion::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubSuggestion* ClubSuggestion::default_instance_ = NULL; + +ClubSuggestion* ClubSuggestion::New() const { + return new ClubSuggestion; +} + +void ClubSuggestion::Swap(ClubSuggestion* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSuggestion::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSuggestion_descriptor_; + metadata.reflection = ClubSuggestion_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketOptions::kSlotFieldNumber; +const int CreateTicketOptions::kAttributeFieldNumber; +const int CreateTicketOptions::kAllowedRedeemCountFieldNumber; +const int CreateTicketOptions::kExpirationTimeFieldNumber; +const int CreateTicketOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +CreateTicketOptions::CreateTicketOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketOptions) +} + +void CreateTicketOptions::InitAsDefaultInstance() { + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +CreateTicketOptions::CreateTicketOptions(const CreateTicketOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketOptions) +} + +void CreateTicketOptions::SharedCtor() { + _cached_size_ = 0; + slot_ = NULL; + allowed_redeem_count_ = 0u; + expiration_time_ = GOOGLE_ULONGLONG(0); + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketOptions::~CreateTicketOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketOptions) + SharedDtor(); +} + +void CreateTicketOptions::SharedDtor() { + if (this != default_instance_) { + delete slot_; + } +} + +void CreateTicketOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketOptions_descriptor_; +} + +const CreateTicketOptions& CreateTicketOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +CreateTicketOptions* CreateTicketOptions::default_instance_ = NULL; + +CreateTicketOptions* CreateTicketOptions::New() const { + return new CreateTicketOptions; +} + +void CreateTicketOptions::Swap(CreateTicketOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketOptions_descriptor_; + metadata.reflection = CreateTicketOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubTicket::kIdFieldNumber; +const int ClubTicket::kCreatorFieldNumber; +const int ClubTicket::kClubFieldNumber; +const int ClubTicket::kSlotFieldNumber; +const int ClubTicket::kAttributeFieldNumber; +const int ClubTicket::kCurrentRedeemCountFieldNumber; +const int ClubTicket::kAllowedRedeemCountFieldNumber; +const int ClubTicket::kCreationTimeFieldNumber; +const int ClubTicket::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +ClubTicket::ClubTicket() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicket) +} + +void ClubTicket::InitAsDefaultInstance() { + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +ClubTicket::ClubTicket(const ClubTicket& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicket) +} + +void ClubTicket::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + club_ = NULL; + slot_ = NULL; + current_redeem_count_ = 0u; + allowed_redeem_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTicket::~ClubTicket() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicket) + SharedDtor(); +} + +void ClubTicket::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + delete creator_; + delete club_; + delete slot_; + } +} + +void ClubTicket::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTicket::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTicket_descriptor_; +} + +const ClubTicket& ClubTicket::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubTicket* ClubTicket::default_instance_ = NULL; + +ClubTicket* ClubTicket::New() const { + return new ClubTicket; +} + +void ClubTicket::Swap(ClubTicket* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTicket::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTicket_descriptor_; + metadata.reflection = ClubTicket_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_invitation.pb.h b/src/server/proto/Client/api/client/v1/club_invitation.pb.h new file mode 100644 index 00000000000..b0a3496bd5a --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.h @@ -0,0 +1,2269 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_invitation.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/field_options.pb.h" // IWYU pragma: export +#include "api/client/v1/club_member.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + +class ClubSlot; +class SendInvitationOptions; +class ClubInvitation; +class SendSuggestionOptions; +class ClubSuggestion; +class CreateTicketOptions; +class ClubTicket; + +// =================================================================== + +class TC_PROTO_API ClubSlot : public ::google::protobuf::Message { + public: + ClubSlot(); + virtual ~ClubSlot(); + + ClubSlot(const ClubSlot& from); + + inline ClubSlot& operator=(const ClubSlot& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSlot& default_instance(); + + void Swap(ClubSlot* other); + + // implements Message ---------------------------------------------- + + ClubSlot* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 role = 1; + inline bool has_role() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline ::google::protobuf::uint32 role() const; + inline void set_role(::google::protobuf::uint32 value); + + // optional uint64 default_stream_id = 2; + inline bool has_default_stream_id() const; + inline void clear_default_stream_id(); + static const int kDefaultStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 default_stream_id() const; + inline void set_default_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSlot) + private: + inline void set_has_role(); + inline void clear_has_role(); + inline void set_has_default_stream_id(); + inline void clear_has_default_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 default_stream_id_; + ::google::protobuf::uint32 role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubSlot* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { + public: + SendInvitationOptions(); + virtual ~SendInvitationOptions(); + + SendInvitationOptions(const SendInvitationOptions& from); + + inline SendInvitationOptions& operator=(const SendInvitationOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendInvitationOptions& default_instance(); + + void Swap(SendInvitationOptions* other); + + // implements Message ---------------------------------------------- + + SendInvitationOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_slot(); + inline void clear_has_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static SendInvitationOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { + public: + ClubInvitation(); + virtual ~ClubInvitation(); + + ClubInvitation(const ClubInvitation& from); + + inline ClubInvitation& operator=(const ClubInvitation& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubInvitation& default_instance(); + + void Swap(ClubInvitation* other); + + // implements Message ---------------------------------------------- + + ClubInvitation* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription inviter = 2; + inline bool has_inviter() const; + inline void clear_inviter(); + static const int kInviterFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& inviter() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_inviter(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_inviter(); + inline void set_allocated_inviter(::bgs::protocol::club::v1::client::MemberDescription* inviter); + + // optional .bgs.protocol.club.v1.client.MemberDescription invitee = 3; + inline bool has_invitee() const; + inline void clear_invitee(); + static const int kInviteeFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& invitee() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_invitee(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_invitee(); + inline void set_allocated_invitee(::bgs::protocol::club::v1::client::MemberDescription* invitee); + + // optional .bgs.protocol.club.v1.ClubDescription club = 4; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 4; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 6; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 6; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggester = 9; + inline bool has_suggester() const; + inline void clear_suggester(); + static const int kSuggesterFieldNumber = 9; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggester() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggester(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggester(); + inline void set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitation) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_inviter(); + inline void clear_has_inviter(); + inline void set_has_invitee(); + inline void clear_has_invitee(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + inline void set_has_suggester(); + inline void clear_has_suggester(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::client::MemberDescription* inviter_; + ::bgs::protocol::club::v1::client::MemberDescription* invitee_; + ::bgs::protocol::club::v1::ClubDescription* club_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + ::bgs::protocol::club::v1::client::MemberDescription* suggester_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubInvitation* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { + public: + SendSuggestionOptions(); + virtual ~SendSuggestionOptions(); + + SendSuggestionOptions(const SendSuggestionOptions& from); + + inline SendSuggestionOptions& operator=(const SendSuggestionOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendSuggestionOptions& default_instance(); + + void Swap(SendSuggestionOptions* other); + + // implements Message ---------------------------------------------- + + SendSuggestionOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 join_club_source = 4; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 4; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static SendSuggestionOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { + public: + ClubSuggestion(); + virtual ~ClubSuggestion(); + + ClubSuggestion(const ClubSuggestion& from); + + inline ClubSuggestion& operator=(const ClubSuggestion& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSuggestion& default_instance(); + + void Swap(ClubSuggestion* other); + + // implements Message ---------------------------------------------- + + ClubSuggestion* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggester = 3; + inline bool has_suggester() const; + inline void clear_suggester(); + static const int kSuggesterFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggester() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggester(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggester(); + inline void set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggestee = 4; + inline bool has_suggestee() const; + inline void clear_suggestee(); + static const int kSuggesteeFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggestee() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggestee(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggestee(); + inline void set_allocated_suggestee(::bgs::protocol::club::v1::client::MemberDescription* suggestee); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 6; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 6; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestion) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggester(); + inline void clear_has_suggester(); + inline void set_has_suggestee(); + inline void clear_has_suggestee(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::MemberDescription* suggester_; + ::bgs::protocol::club::v1::client::MemberDescription* suggestee_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubSuggestion* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { + public: + CreateTicketOptions(); + virtual ~CreateTicketOptions(); + + CreateTicketOptions(const CreateTicketOptions& from); + + inline CreateTicketOptions& operator=(const CreateTicketOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketOptions& default_instance(); + + void Swap(CreateTicketOptions* other); + + // implements Message ---------------------------------------------- + + CreateTicketOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 1; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 allowed_redeem_count = 3; + inline bool has_allowed_redeem_count() const; + inline void clear_allowed_redeem_count(); + static const int kAllowedRedeemCountFieldNumber = 3; + inline ::google::protobuf::uint32 allowed_redeem_count() const; + inline void set_allowed_redeem_count(::google::protobuf::uint32 value); + + // optional uint64 expiration_time = 4; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 4; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // optional uint32 join_club_source = 5; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 5; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketOptions) + private: + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_allowed_redeem_count(); + inline void clear_has_allowed_redeem_count(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 expiration_time_; + ::google::protobuf::uint32 allowed_redeem_count_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { + public: + ClubTicket(); + virtual ~ClubTicket(); + + ClubTicket(const ClubTicket& from); + + inline ClubTicket& operator=(const ClubTicket& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTicket& default_instance(); + + void Swap(ClubTicket* other); + + // implements Message ---------------------------------------------- + + ClubTicket* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // optional .bgs.protocol.club.v1.ClubDescription club = 3; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 3; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 4; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 5; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 5; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 current_redeem_count = 6; + inline bool has_current_redeem_count() const; + inline void clear_current_redeem_count(); + static const int kCurrentRedeemCountFieldNumber = 6; + inline ::google::protobuf::uint32 current_redeem_count() const; + inline void set_current_redeem_count(::google::protobuf::uint32 value); + + // optional uint32 allowed_redeem_count = 7; + inline bool has_allowed_redeem_count() const; + inline void clear_allowed_redeem_count(); + static const int kAllowedRedeemCountFieldNumber = 7; + inline ::google::protobuf::uint32 allowed_redeem_count() const; + inline void set_allowed_redeem_count(::google::protobuf::uint32 value); + + // optional uint64 creation_time = 8; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 9; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 9; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicket) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_current_redeem_count(); + inline void clear_has_current_redeem_count(); + inline void set_has_allowed_redeem_count(); + inline void clear_has_allowed_redeem_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::bgs::protocol::club::v1::ClubDescription* club_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 current_redeem_count_; + ::google::protobuf::uint32 allowed_redeem_count_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubTicket* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubSlot + +// optional uint32 role = 1; +inline bool ClubSlot::has_role() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSlot::set_has_role() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSlot::clear_has_role() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSlot::clear_role() { + role_ = 0u; + clear_has_role(); +} +inline ::google::protobuf::uint32 ClubSlot::role() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSlot.role) + return role_; +} +inline void ClubSlot::set_role(::google::protobuf::uint32 value) { + set_has_role(); + role_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.role) +} + +// optional uint64 default_stream_id = 2; +inline bool ClubSlot::has_default_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSlot::set_has_default_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSlot::clear_has_default_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSlot::clear_default_stream_id() { + default_stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_default_stream_id(); +} +inline ::google::protobuf::uint64 ClubSlot::default_stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSlot.default_stream_id) + return default_stream_id_; +} +inline void ClubSlot::set_default_stream_id(::google::protobuf::uint64 value) { + set_has_default_stream_id(); + default_stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.default_stream_id) +} + +// ------------------------------------------------------------------- + +// SendInvitationOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool SendInvitationOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendInvitationOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendInvitationOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendInvitationOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendInvitationOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void SendInvitationOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; +inline bool SendInvitationOptions::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendInvitationOptions::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendInvitationOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendInvitationOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& SendInvitationOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendInvitationOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendInvitationOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int SendInvitationOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendInvitationOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendInvitationOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendInvitationOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendInvitationOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// ClubInvitation + +// optional fixed64 id = 1; +inline bool ClubInvitation::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubInvitation::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubInvitation::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubInvitation::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubInvitation::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.id) + return id_; +} +inline void ClubInvitation::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription inviter = 2; +inline bool ClubInvitation::has_inviter() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubInvitation::set_has_inviter() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubInvitation::clear_has_inviter() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubInvitation::clear_inviter() { + if (inviter_ != NULL) inviter_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_inviter(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::inviter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.inviter) + return inviter_ != NULL ? *inviter_ : *default_instance_->inviter_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_inviter() { + set_has_inviter(); + if (inviter_ == NULL) inviter_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.inviter) + return inviter_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_inviter() { + clear_has_inviter(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = inviter_; + inviter_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::client::MemberDescription* inviter) { + delete inviter_; + inviter_ = inviter; + if (inviter) { + set_has_inviter(); + } else { + clear_has_inviter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.inviter) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription invitee = 3; +inline bool ClubInvitation::has_invitee() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubInvitation::set_has_invitee() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubInvitation::clear_has_invitee() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubInvitation::clear_invitee() { + if (invitee_ != NULL) invitee_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_invitee(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::invitee() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.invitee) + return invitee_ != NULL ? *invitee_ : *default_instance_->invitee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_invitee() { + set_has_invitee(); + if (invitee_ == NULL) invitee_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.invitee) + return invitee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_invitee() { + clear_has_invitee(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = invitee_; + invitee_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::client::MemberDescription* invitee) { + delete invitee_; + invitee_ = invitee; + if (invitee) { + set_has_invitee(); + } else { + clear_has_invitee(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.invitee) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 4; +inline bool ClubInvitation::has_club() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubInvitation::set_has_club() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubInvitation::clear_has_club() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubInvitation::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubInvitation::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.club) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; +inline bool ClubInvitation::has_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubInvitation::set_has_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubInvitation::clear_has_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubInvitation::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubInvitation::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubInvitation::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubInvitation::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 6; +inline int ClubInvitation::attribute_size() const { + return attribute_.size(); +} +inline void ClubInvitation::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubInvitation::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubInvitation::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubInvitation::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubInvitation::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubInvitation::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return &attribute_; +} + +// optional uint64 creation_time = 7; +inline bool ClubInvitation::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubInvitation::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubInvitation::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubInvitation::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubInvitation::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.creation_time) + return creation_time_; +} +inline void ClubInvitation::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool ClubInvitation::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubInvitation::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubInvitation::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubInvitation::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubInvitation::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.expiration_time) + return expiration_time_; +} +inline void ClubInvitation::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.expiration_time) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 9; +inline bool ClubInvitation::has_suggester() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubInvitation::set_has_suggester() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubInvitation::clear_has_suggester() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubInvitation::clear_suggester() { + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggester(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::suggester() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.suggester) + return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_suggester() { + set_has_suggester(); + if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.suggester) + return suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_suggester() { + clear_has_suggester(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; + suggester_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { + delete suggester_; + suggester_ = suggester; + if (suggester) { + set_has_suggester(); + } else { + clear_has_suggester(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.suggester) +} + +// ------------------------------------------------------------------- + +// SendSuggestionOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool SendSuggestionOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendSuggestionOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendSuggestionOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendSuggestionOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void SendSuggestionOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; +inline bool SendSuggestionOptions::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendSuggestionOptions::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendSuggestionOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendSuggestionOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& SendSuggestionOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendSuggestionOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendSuggestionOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int SendSuggestionOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendSuggestionOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendSuggestionOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendSuggestionOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendSuggestionOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return &attribute_; +} + +// optional uint32 join_club_source = 4; +inline bool SendSuggestionOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SendSuggestionOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000008u; +} +inline void SendSuggestionOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SendSuggestionOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 SendSuggestionOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.join_club_source) + return join_club_source_; +} +inline void SendSuggestionOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// ClubSuggestion + +// optional fixed64 id = 1; +inline bool ClubSuggestion::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSuggestion::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSuggestion::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSuggestion::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubSuggestion::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.id) + return id_; +} +inline void ClubSuggestion::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.id) +} + +// optional uint64 club_id = 2; +inline bool ClubSuggestion::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSuggestion::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSuggestion::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSuggestion::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubSuggestion::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.club_id) + return club_id_; +} +inline void ClubSuggestion::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.club_id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 3; +inline bool ClubSuggestion::has_suggester() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubSuggestion::set_has_suggester() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubSuggestion::clear_has_suggester() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubSuggestion::clear_suggester() { + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggester(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubSuggestion::suggester() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.suggester) + return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::mutable_suggester() { + set_has_suggester(); + if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.suggester) + return suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggester() { + clear_has_suggester(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; + suggester_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { + delete suggester_; + suggester_ = suggester; + if (suggester) { + set_has_suggester(); + } else { + clear_has_suggester(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggester) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggestee = 4; +inline bool ClubSuggestion::has_suggestee() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubSuggestion::set_has_suggestee() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubSuggestion::clear_has_suggestee() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubSuggestion::clear_suggestee() { + if (suggestee_ != NULL) suggestee_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggestee(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubSuggestion::suggestee() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) + return suggestee_ != NULL ? *suggestee_ : *default_instance_->suggestee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::mutable_suggestee() { + set_has_suggestee(); + if (suggestee_ == NULL) suggestee_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) + return suggestee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggestee() { + clear_has_suggestee(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggestee_; + suggestee_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::client::MemberDescription* suggestee) { + delete suggestee_; + suggestee_ = suggestee; + if (suggestee) { + set_has_suggestee(); + } else { + clear_has_suggestee(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; +inline bool ClubSuggestion::has_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubSuggestion::set_has_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubSuggestion::clear_has_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubSuggestion::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubSuggestion::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubSuggestion::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubSuggestion::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 6; +inline int ClubSuggestion::attribute_size() const { + return attribute_.size(); +} +inline void ClubSuggestion::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubSuggestion::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSuggestion::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSuggestion::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubSuggestion::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubSuggestion::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return &attribute_; +} + +// optional uint64 creation_time = 7; +inline bool ClubSuggestion::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubSuggestion::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubSuggestion::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubSuggestion::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubSuggestion::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.creation_time) + return creation_time_; +} +inline void ClubSuggestion::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool ClubSuggestion::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubSuggestion::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubSuggestion::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubSuggestion::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubSuggestion::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.expiration_time) + return expiration_time_; +} +inline void ClubSuggestion::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.expiration_time) +} + +// ------------------------------------------------------------------- + +// CreateTicketOptions + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 1; +inline bool CreateTicketOptions::has_slot() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketOptions::set_has_slot() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& CreateTicketOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* CreateTicketOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* CreateTicketOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int CreateTicketOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateTicketOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateTicketOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateTicketOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateTicketOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return &attribute_; +} + +// optional uint32 allowed_redeem_count = 3; +inline bool CreateTicketOptions::has_allowed_redeem_count() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateTicketOptions::set_has_allowed_redeem_count() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateTicketOptions::clear_has_allowed_redeem_count() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateTicketOptions::clear_allowed_redeem_count() { + allowed_redeem_count_ = 0u; + clear_has_allowed_redeem_count(); +} +inline ::google::protobuf::uint32 CreateTicketOptions::allowed_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.allowed_redeem_count) + return allowed_redeem_count_; +} +inline void CreateTicketOptions::set_allowed_redeem_count(::google::protobuf::uint32 value) { + set_has_allowed_redeem_count(); + allowed_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.allowed_redeem_count) +} + +// optional uint64 expiration_time = 4; +inline bool CreateTicketOptions::has_expiration_time() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateTicketOptions::set_has_expiration_time() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateTicketOptions::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateTicketOptions::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 CreateTicketOptions::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.expiration_time) + return expiration_time_; +} +inline void CreateTicketOptions::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.expiration_time) +} + +// optional uint32 join_club_source = 5; +inline bool CreateTicketOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CreateTicketOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000010u; +} +inline void CreateTicketOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CreateTicketOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 CreateTicketOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.join_club_source) + return join_club_source_; +} +inline void CreateTicketOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// ClubTicket + +// optional string id = 1; +inline bool ClubTicket::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTicket::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTicket::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTicket::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& ClubTicket::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.id) + return *id_; +} +inline void ClubTicket::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline void ClubTicket::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline void ClubTicket::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline ::std::string* ClubTicket::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.id) + return id_; +} +inline ::std::string* ClubTicket::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubTicket::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; +inline bool ClubTicket::has_creator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubTicket::set_has_creator() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubTicket::clear_has_creator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubTicket::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubTicket::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubTicket::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubTicket::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.creator) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 3; +inline bool ClubTicket::has_club() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubTicket::set_has_club() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubTicket::clear_has_club() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubTicket::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubTicket::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.club) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 4; +inline bool ClubTicket::has_slot() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubTicket::set_has_slot() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubTicket::clear_has_slot() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubTicket::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubTicket::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubTicket::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubTicket::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 5; +inline int ClubTicket::attribute_size() const { + return attribute_.size(); +} +inline void ClubTicket::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubTicket::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubTicket::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubTicket::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubTicket::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubTicket::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubTicket.attribute) + return &attribute_; +} + +// optional uint32 current_redeem_count = 6; +inline bool ClubTicket::has_current_redeem_count() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubTicket::set_has_current_redeem_count() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubTicket::clear_has_current_redeem_count() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubTicket::clear_current_redeem_count() { + current_redeem_count_ = 0u; + clear_has_current_redeem_count(); +} +inline ::google::protobuf::uint32 ClubTicket::current_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.current_redeem_count) + return current_redeem_count_; +} +inline void ClubTicket::set_current_redeem_count(::google::protobuf::uint32 value) { + set_has_current_redeem_count(); + current_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.current_redeem_count) +} + +// optional uint32 allowed_redeem_count = 7; +inline bool ClubTicket::has_allowed_redeem_count() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubTicket::set_has_allowed_redeem_count() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubTicket::clear_has_allowed_redeem_count() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubTicket::clear_allowed_redeem_count() { + allowed_redeem_count_ = 0u; + clear_has_allowed_redeem_count(); +} +inline ::google::protobuf::uint32 ClubTicket::allowed_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.allowed_redeem_count) + return allowed_redeem_count_; +} +inline void ClubTicket::set_allowed_redeem_count(::google::protobuf::uint32 value) { + set_has_allowed_redeem_count(); + allowed_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.allowed_redeem_count) +} + +// optional uint64 creation_time = 8; +inline bool ClubTicket::has_creation_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubTicket::set_has_creation_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubTicket::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubTicket::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubTicket::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.creation_time) + return creation_time_; +} +inline void ClubTicket::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.creation_time) +} + +// optional uint64 expiration_time = 9; +inline bool ClubTicket::has_expiration_time() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubTicket::set_has_expiration_time() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubTicket::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubTicket::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubTicket::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.expiration_time) + return expiration_time_; +} +inline void ClubTicket::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.expiration_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_listener.pb.cc b/src/server/proto/Client/api/client/v1/club_listener.pb.cc new file mode 100644 index 00000000000..7117ba4b8ff --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.pb.cc @@ -0,0 +1,273 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::ServiceDescriptor* ClubListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_listener.proto"); + GOOGLE_CHECK(file != NULL); + ClubListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/client/v1/club_listener.proto\022\033bgs" + ".protocol.club.v1.client\032%api/client/v1/" + "club_notification.proto2\305\023\n\014ClubListener" + "\022d\n\013OnSubscribe\0222.bgs.protocol.club.v1.c" + "lient.SubscribeNotification\032\031.bgs.protoc" + "ol.NO_RESPONSE\"\006\202\371+\002\010\001\022h\n\rOnUnsubscribe\022" + "4.bgs.protocol.club.v1.client.Unsubscrib" + "eNotification\032\031.bgs.protocol.NO_RESPONSE" + "\"\006\202\371+\002\010\002\022j\n\016OnStateChanged\0225.bgs.protoco" + "l.club.v1.client.StateChangedNotificatio" + "n\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\003\022p\n\021" + "OnSettingsChanged\0228.bgs.protocol.club.v1" + ".client.SettingsChangedNotification\032\031.bg" + "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\004\022h\n\rOnMemb" + "erAdded\0224.bgs.protocol.club.v1.client.Me" + "mberAddedNotification\032\031.bgs.protocol.NO_" + "RESPONSE\"\006\202\371+\002\010\036\022l\n\017OnMemberRemoved\0226.bg" + "s.protocol.club.v1.client.MemberRemovedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\010\037\022v\n\024OnMemberStateChanged\022;.bgs.pro" + "tocol.club.v1.client.MemberStateChangedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\010 \022~\n\030OnSubscriberStateChanged\022\?.bgs" + ".protocol.club.v1.client.SubscriberState" + "ChangedNotification\032\031.bgs.protocol.NO_RE" + "SPONSE\"\006\202\371+\002\010!\022t\n\023OnMemberRoleChanged\022:." + "bgs.protocol.club.v1.client.MemberRoleCh" + "angedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010\"\022p\n\021OnInvitationAdded\0228.bgs." + "protocol.club.v1.client.InvitationAddedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\0102\022t\n\023OnInvitationRemoved\022:.bgs.prot" + "ocol.club.v1.client.InvitationRemovedNot" + "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371" + "+\002\0103\022p\n\021OnSuggestionAdded\0228.bgs.protocol" + ".club.v1.client.SuggestionAddedNotificat" + "ion\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010F\022t" + "\n\023OnSuggestionRemoved\022:.bgs.protocol.clu" + "b.v1.client.SuggestionRemovedNotificatio" + "n\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010G\022h\n\r" + "OnStreamAdded\0224.bgs.protocol.club.v1.cli" + "ent.StreamAddedNotification\032\031.bgs.protoc" + "ol.NO_RESPONSE\"\006\202\371+\002\010d\022l\n\017OnStreamRemove" + "d\0226.bgs.protocol.club.v1.client.StreamRe" + "movedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010e\022v\n\024OnStreamStateChanged\022;.b" + "gs.protocol.club.v1.client.StreamStateCh" + "angedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010f\022w\n\024OnStreamMessageAdded\022;.b" + "gs.protocol.club.v1.client.StreamMessage" + "AddedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\007\202\371+\003\010\226\001\022{\n\026OnStreamMessageUpdated\022" + "=.bgs.protocol.club.v1.client.StreamMess" + "ageUpdatedNotification\032\031.bgs.protocol.NO" + "_RESPONSE\"\007\202\371+\003\010\230\001\022}\n\027OnStreamTypingIndi" + "cator\022>.bgs.protocol.club.v1.client.Stre" + "amTypingIndicatorNotification\032\031.bgs.prot" + "ocol.NO_RESPONSE\"\007\202\371+\003\010\231\001\022}\n\027OnStreamUnr" + "eadIndicator\022>.bgs.protocol.club.v1.clie" + "nt.StreamUnreadIndicatorNotification\032\031.b" + "gs.protocol.NO_RESPONSE\"\007\202\371+\003\010\232\001\022}\n\027OnSt" + "reamAdvanceViewTime\022>.bgs.protocol.club." + "v1.client.StreamAdvanceViewTimeNotificat" + "ion\032\031.bgs.protocol.NO_RESPONSE\"\007\202\371+\003\010\233\001\032" + ".\202\371+$\n\"bnet.protocol.club.v1.ClubListene" + "r\212\371+\002\010\001B\005H\002\200\001\000", 2614); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_listener.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5flistener_2eproto_; +// =================================================================== + +ClubListener::ClubListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubListener::~ClubListener() { +} + +google::protobuf::ServiceDescriptor const* ClubListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubListener_descriptor_; +} + +void ClubListener::OnSubscribe(::bgs::protocol::club::v1::client::SubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSubscribe", "bgs.protocol.club.v1.client.SubscribeNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnUnsubscribe", "bgs.protocol.club.v1.client.UnsubscribeNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStateChanged(::bgs::protocol::club::v1::client::StateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStateChanged", "bgs.protocol.club.v1.client.StateChangedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSettingsChanged(::bgs::protocol::club::v1::client::SettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSettingsChanged", "bgs.protocol.club.v1.client.SettingsChangedNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberAdded(::bgs::protocol::club::v1::client::MemberAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberAdded", "bgs.protocol.club.v1.client.MemberAddedNotification", request); + SendRequest(service_hash_, 30 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberRemoved(::bgs::protocol::club::v1::client::MemberRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberRemoved", "bgs.protocol.club.v1.client.MemberRemovedNotification", request); + SendRequest(service_hash_, 31 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberStateChanged(::bgs::protocol::club::v1::client::MemberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberStateChanged", "bgs.protocol.club.v1.client.MemberStateChangedNotification", request); + SendRequest(service_hash_, 32 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSubscriberStateChanged(::bgs::protocol::club::v1::client::SubscriberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSubscriberStateChanged", "bgs.protocol.club.v1.client.SubscriberStateChangedNotification", request); + SendRequest(service_hash_, 33 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberRoleChanged(::bgs::protocol::club::v1::client::MemberRoleChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberRoleChanged", "bgs.protocol.club.v1.client.MemberRoleChangedNotification", request); + SendRequest(service_hash_, 34 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnInvitationAdded(::bgs::protocol::club::v1::client::InvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnInvitationAdded", "bgs.protocol.club.v1.client.InvitationAddedNotification", request); + SendRequest(service_hash_, 50 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnInvitationRemoved(::bgs::protocol::club::v1::client::InvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnInvitationRemoved", "bgs.protocol.club.v1.client.InvitationRemovedNotification", request); + SendRequest(service_hash_, 51 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSuggestionAdded(::bgs::protocol::club::v1::client::SuggestionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSuggestionAdded", "bgs.protocol.club.v1.client.SuggestionAddedNotification", request); + SendRequest(service_hash_, 70 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSuggestionRemoved(::bgs::protocol::club::v1::client::SuggestionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSuggestionRemoved", "bgs.protocol.club.v1.client.SuggestionRemovedNotification", request); + SendRequest(service_hash_, 71 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamAdded(::bgs::protocol::club::v1::client::StreamAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamAdded", "bgs.protocol.club.v1.client.StreamAddedNotification", request); + SendRequest(service_hash_, 100 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamRemoved(::bgs::protocol::club::v1::client::StreamRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamRemoved", "bgs.protocol.club.v1.client.StreamRemovedNotification", request); + SendRequest(service_hash_, 101 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamStateChanged(::bgs::protocol::club::v1::client::StreamStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamStateChanged", "bgs.protocol.club.v1.client.StreamStateChangedNotification", request); + SendRequest(service_hash_, 102 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamMessageAdded(::bgs::protocol::club::v1::client::StreamMessageAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamMessageAdded", "bgs.protocol.club.v1.client.StreamMessageAddedNotification", request); + SendRequest(service_hash_, 150 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamMessageUpdated(::bgs::protocol::club::v1::client::StreamMessageUpdatedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamMessageUpdated", "bgs.protocol.club.v1.client.StreamMessageUpdatedNotification", request); + SendRequest(service_hash_, 152 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamTypingIndicator(::bgs::protocol::club::v1::client::StreamTypingIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamTypingIndicator", "bgs.protocol.club.v1.client.StreamTypingIndicatorNotification", request); + SendRequest(service_hash_, 153 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamUnreadIndicator(::bgs::protocol::club::v1::client::StreamUnreadIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamUnreadIndicator", "bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification", request); + SendRequest(service_hash_, 154 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamAdvanceViewTime(::bgs::protocol::club::v1::client::StreamAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamAdvanceViewTime", "bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification", request); + SendRequest(service_hash_, 155 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_listener.pb.h b/src/server/proto/Client/api/client/v1/club_listener.pb.h new file mode 100644 index 00000000000..40ec620c8d2 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.pb.h @@ -0,0 +1,109 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_notification.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + +// =================================================================== + +// =================================================================== + +class TC_PROTO_API ClubListener : public ServiceBase +{ + public: + + explicit ClubListener(bool use_original_hash); + ClubListener(ClubListener const&) = delete; + ClubListener(ClubListener&&) = delete; + ClubListener& operator=(ClubListener const&) = delete; + ClubListener& operator=(ClubListener&&) = delete; + virtual ~ClubListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnSubscribe(::bgs::protocol::club::v1::client::SubscribeNotification const* request, bool client = false, bool server = false); + void OnUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeNotification const* request, bool client = false, bool server = false); + void OnStateChanged(::bgs::protocol::club::v1::client::StateChangedNotification const* request, bool client = false, bool server = false); + void OnSettingsChanged(::bgs::protocol::club::v1::client::SettingsChangedNotification const* request, bool client = false, bool server = false); + void OnMemberAdded(::bgs::protocol::club::v1::client::MemberAddedNotification const* request, bool client = false, bool server = false); + void OnMemberRemoved(::bgs::protocol::club::v1::client::MemberRemovedNotification const* request, bool client = false, bool server = false); + void OnMemberStateChanged(::bgs::protocol::club::v1::client::MemberStateChangedNotification const* request, bool client = false, bool server = false); + void OnSubscriberStateChanged(::bgs::protocol::club::v1::client::SubscriberStateChangedNotification const* request, bool client = false, bool server = false); + void OnMemberRoleChanged(::bgs::protocol::club::v1::client::MemberRoleChangedNotification const* request, bool client = false, bool server = false); + void OnInvitationAdded(::bgs::protocol::club::v1::client::InvitationAddedNotification const* request, bool client = false, bool server = false); + void OnInvitationRemoved(::bgs::protocol::club::v1::client::InvitationRemovedNotification const* request, bool client = false, bool server = false); + void OnSuggestionAdded(::bgs::protocol::club::v1::client::SuggestionAddedNotification const* request, bool client = false, bool server = false); + void OnSuggestionRemoved(::bgs::protocol::club::v1::client::SuggestionRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamAdded(::bgs::protocol::club::v1::client::StreamAddedNotification const* request, bool client = false, bool server = false); + void OnStreamRemoved(::bgs::protocol::club::v1::client::StreamRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamStateChanged(::bgs::protocol::club::v1::client::StreamStateChangedNotification const* request, bool client = false, bool server = false); + void OnStreamMessageAdded(::bgs::protocol::club::v1::client::StreamMessageAddedNotification const* request, bool client = false, bool server = false); + void OnStreamMessageUpdated(::bgs::protocol::club::v1::client::StreamMessageUpdatedNotification const* request, bool client = false, bool server = false); + void OnStreamTypingIndicator(::bgs::protocol::club::v1::client::StreamTypingIndicatorNotification const* request, bool client = false, bool server = false); + void OnStreamUnreadIndicator(::bgs::protocol::club::v1::client::StreamUnreadIndicatorNotification const* request, bool client = false, bool server = false); + void OnStreamAdvanceViewTime(::bgs::protocol::club::v1::client::StreamAdvanceViewTimeNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_listener.proto b/src/server/proto/Client/api/client/v1/club_listener.proto new file mode 100644 index 00000000000..21ef82da02e --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.proto @@ -0,0 +1,121 @@ +syntax = "proto2"; + +import "api/client/v1/club_notification.proto"; +package bgs.protocol.club.v1.client; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubListener { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubListener" + }; + option (.bgs.protocol.sdk_service_options) = { + inbound: true + }; + rpc OnSubscribe(.bgs.protocol.club.v1.client.SubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc OnUnsubscribe(.bgs.protocol.club.v1.client.UnsubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc OnStateChanged(.bgs.protocol.club.v1.client.StateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc OnSettingsChanged(.bgs.protocol.club.v1.client.SettingsChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc OnMemberAdded(.bgs.protocol.club.v1.client.MemberAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc OnMemberRemoved(.bgs.protocol.club.v1.client.MemberRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc OnMemberStateChanged(.bgs.protocol.club.v1.client.MemberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc OnSubscriberStateChanged(.bgs.protocol.club.v1.client.SubscriberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc OnMemberRoleChanged(.bgs.protocol.club.v1.client.MemberRoleChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc OnInvitationAdded(.bgs.protocol.club.v1.client.InvitationAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc OnInvitationRemoved(.bgs.protocol.club.v1.client.InvitationRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc OnSuggestionAdded(.bgs.protocol.club.v1.client.SuggestionAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc OnSuggestionRemoved(.bgs.protocol.club.v1.client.SuggestionRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc OnStreamAdded(.bgs.protocol.club.v1.client.StreamAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc OnStreamRemoved(.bgs.protocol.club.v1.client.StreamRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc OnStreamStateChanged(.bgs.protocol.club.v1.client.StreamStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc OnStreamMessageAdded(.bgs.protocol.club.v1.client.StreamMessageAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc OnStreamMessageUpdated(.bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc OnStreamTypingIndicator(.bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc OnStreamUnreadIndicator(.bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc OnStreamAdvanceViewTime(.bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } +} diff --git a/src/server/proto/Client/api/client/v1/club_member.pb.cc b/src/server/proto/Client/api/client/v1/club_member.pb.cc new file mode 100644 index 00000000000..f3750076a07 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_member.pb.cc @@ -0,0 +1,1745 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_member.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_member.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Member_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberResult_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberResult_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveMemberOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveMemberOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRemovedAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRemovedAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberVoiceOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberVoiceOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberVoiceState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberVoiceState_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMemberOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMemberOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* RoleOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RoleOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* RoleAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RoleAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberAttributeAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAttributeAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_member.proto"); + GOOGLE_CHECK(file != NULL); + Member_descriptor_ = file->message_type(0); + static const int Member_offsets_[11] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, join_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, active_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, voice_), + }; + Member_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Member_descriptor_, + Member::default_instance_, + Member_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Member)); + MemberResult_descriptor_ = file->message_type(1); + static const int MemberResult_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, status_), + }; + MemberResult_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberResult_descriptor_, + MemberResult::default_instance_, + MemberResult_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberResult)); + RemoveMemberOptions_descriptor_ = file->message_type(2); + static const int RemoveMemberOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, reason_), + }; + RemoveMemberOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveMemberOptions_descriptor_, + RemoveMemberOptions::default_instance_, + RemoveMemberOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveMemberOptions)); + MemberRemovedAssignment_descriptor_ = file->message_type(3); + static const int MemberRemovedAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, reason_), + }; + MemberRemovedAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRemovedAssignment_descriptor_, + MemberRemovedAssignment::default_instance_, + MemberRemovedAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRemovedAssignment)); + MemberVoiceOptions_descriptor_ = file->message_type(4); + static const int MemberVoiceOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, joined_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, microphone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, active_), + }; + MemberVoiceOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberVoiceOptions_descriptor_, + MemberVoiceOptions::default_instance_, + MemberVoiceOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberVoiceOptions)); + MemberVoiceState_descriptor_ = file->message_type(5); + static const int MemberVoiceState_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, joined_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, microphone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, active_), + }; + MemberVoiceState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberVoiceState_descriptor_, + MemberVoiceState::default_instance_, + MemberVoiceState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberVoiceState)); + CreateMemberOptions_descriptor_ = file->message_type(6); + static const int CreateMemberOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, join_club_source_), + }; + CreateMemberOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMemberOptions_descriptor_, + CreateMemberOptions::default_instance_, + CreateMemberOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMemberOptions)); + MemberDescription_descriptor_ = file->message_type(7); + static const int MemberDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, battle_tag_), + }; + MemberDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberDescription_descriptor_, + MemberDescription::default_instance_, + MemberDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberDescription)); + RoleOptions_descriptor_ = file->message_type(8); + static const int RoleOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, role_), + }; + RoleOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RoleOptions_descriptor_, + RoleOptions::default_instance_, + RoleOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RoleOptions)); + RoleAssignment_descriptor_ = file->message_type(9); + static const int RoleAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, role_), + }; + RoleAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RoleAssignment_descriptor_, + RoleAssignment::default_instance_, + RoleAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RoleAssignment)); + MemberAttributeAssignment_descriptor_ = file->message_type(10); + static const int MemberAttributeAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, attribute_), + }; + MemberAttributeAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAttributeAssignment_descriptor_, + MemberAttributeAssignment::default_instance_, + MemberAttributeAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAttributeAssignment)); + SubscriberStateOptions_descriptor_ = file->message_type(11); + static const int SubscriberStateOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, voice_), + }; + SubscriberStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateOptions_descriptor_, + SubscriberStateOptions::default_instance_, + SubscriberStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateOptions)); + SubscriberStateAssignment_descriptor_ = file->message_type(12); + static const int SubscriberStateAssignment_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, active_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, voice_), + }; + SubscriberStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateAssignment_descriptor_, + SubscriberStateAssignment::default_instance_, + SubscriberStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateAssignment)); + MemberStateOptions_descriptor_ = file->message_type(13); + static const int MemberStateOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, note_), + }; + MemberStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateOptions_descriptor_, + MemberStateOptions::default_instance_, + MemberStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateOptions)); + MemberStateAssignment_descriptor_ = file->message_type(14); + static const int MemberStateAssignment_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, note_), + }; + MemberStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateAssignment_descriptor_, + MemberStateAssignment::default_instance_, + MemberStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Member_descriptor_, &Member::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberResult_descriptor_, &MemberResult::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveMemberOptions_descriptor_, &RemoveMemberOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRemovedAssignment_descriptor_, &MemberRemovedAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberVoiceOptions_descriptor_, &MemberVoiceOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberVoiceState_descriptor_, &MemberVoiceState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMemberOptions_descriptor_, &CreateMemberOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberDescription_descriptor_, &MemberDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RoleOptions_descriptor_, &RoleOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RoleAssignment_descriptor_, &RoleAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAttributeAssignment_descriptor_, &MemberAttributeAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateOptions_descriptor_, &SubscriberStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateAssignment_descriptor_, &SubscriberStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateOptions_descriptor_, &MemberStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateAssignment_descriptor_, &MemberStateAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + delete Member::default_instance_; + delete Member_reflection_; + delete MemberResult::default_instance_; + delete MemberResult_reflection_; + delete RemoveMemberOptions::default_instance_; + delete RemoveMemberOptions_reflection_; + delete MemberRemovedAssignment::default_instance_; + delete MemberRemovedAssignment_reflection_; + delete MemberVoiceOptions::default_instance_; + delete MemberVoiceOptions_reflection_; + delete MemberVoiceState::default_instance_; + delete MemberVoiceState_reflection_; + delete CreateMemberOptions::default_instance_; + delete CreateMemberOptions_reflection_; + delete MemberDescription::default_instance_; + delete MemberDescription_reflection_; + delete RoleOptions::default_instance_; + delete RoleOptions_reflection_; + delete RoleAssignment::default_instance_; + delete RoleAssignment_reflection_; + delete MemberAttributeAssignment::default_instance_; + delete MemberAttributeAssignment_reflection_; + delete SubscriberStateOptions::default_instance_; + delete SubscriberStateOptions_reflection_; + delete SubscriberStateAssignment::default_instance_; + delete SubscriberStateAssignment_reflection_; + delete MemberStateOptions::default_instance_; + delete MemberStateOptions_reflection_; + delete MemberStateAssignment::default_instance_; + delete MemberStateAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/client/v1/club_member.proto\022\033bgs.p" + "rotocol.club.v1.client\032\"api/common/v1/cl" + "ub_member_id.proto\032#api/common/v2/attrib" + "ute_types.proto\032\035api/client/v1/club_enum" + ".proto\032\017rpc_types.proto\"\236\003\n\006Member\022*\n\002id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\032" + "\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004role\030\003 \003(\r" + "B\002\020\001\022-\n\tattribute\030\004 \003(\0132\032.bgs.protocol.v" + "2.Attribute\022\021\n\tjoin_time\030\005 \001(\004\022B\n\016presen" + "ce_level\030\006 \001(\0162*.bgs.protocol.club.v1.cl" + "ient.PresenceLevel\022\026\n\016moderator_mute\030\007 \001" + "(\010\022@\n\rwhisper_level\030\010 \001(\0162).bgs.protocol" + ".club.v1.client.WhisperLevel\022\014\n\004note\030\t \001" + "(\t\022\016\n\006active\0302 \001(\010\022<\n\005voice\0303 \001(\0132-.bgs." + "protocol.club.v1.client.MemberVoiceState" + "\"Q\n\014MemberResult\0221\n\tmember_id\030\001 \001(\0132\036.bg" + "s.protocol.club.v1.MemberId\022\016\n\006status\030\002 " + "\001(\r\"\201\001\n\023RemoveMemberOptions\022*\n\002id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022>\n\006reaso" + "n\030\002 \001(\0162..bgs.protocol.club.v1.client.Cl" + "ubRemovedReason\"\205\001\n\027MemberRemovedAssignm" + "ent\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" + "emberId\022>\n\006reason\030\002 \001(\0162..bgs.protocol.c" + "lub.v1.client.ClubRemovedReason\"\216\001\n\022Memb" + "erVoiceOptions\022\021\n\tstream_id\030\001 \001(\004\022\016\n\006joi" + "ned\030\002 \001(\010\022E\n\nmicrophone\030\003 \001(\01621.bgs.prot" + "ocol.club.v1.client.VoiceMicrophoneState" + "\022\016\n\006active\030\004 \001(\010\"\230\001\n\020MemberVoiceState\022\n\n" + "\002id\030\001 \001(\t\022\021\n\tstream_id\030\002 \001(\004\022\016\n\006joined\030\003" + " \001(\010\022E\n\nmicrophone\030\004 \001(\01621.bgs.protocol." + "club.v1.client.VoiceMicrophoneState\022\016\n\006a" + "ctive\030\005 \001(\010\"\240\001\n\023CreateMemberOptions\022*\n\002i" + "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" + "-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v2.Att" + "ribute\022.\n\020join_club_source\030\003 \001(\rB\024\202\371+\020*\016" + "JoinClubSource\"[\n\021MemberDescription\022*\n\002i" + "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" + "\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\"^\n\013RoleOptio" + "ns\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\034\n\004role\030\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010" + "\001\020\001\"U\n\016RoleAssignment\0221\n\tmember_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022\020\n\004role" + "\030\002 \003(\rB\002\020\001\"}\n\031MemberAttributeAssignment\022" + "1\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club.v" + "1.MemberId\022-\n\tattribute\030\002 \003(\0132\032.bgs.prot" + "ocol.v2.Attribute\"X\n\026SubscriberStateOpti" + "ons\022>\n\005voice\030\001 \001(\0132/.bgs.protocol.club.v" + "1.client.MemberVoiceOptions\"\234\001\n\031Subscrib" + "erStateAssignment\0221\n\tmember_id\030\001 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\022\016\n\006active\030\002" + " \001(\010\022<\n\005voice\030\003 \001(\0132-.bgs.protocol.club." + "v1.client.MemberVoiceState\"\357\001\n\022MemberSta" + "teOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs.proto" + "col.v2.Attribute\022B\n\016presence_level\030\002 \001(\016" + "2*.bgs.protocol.club.v1.client.PresenceL" + "evel\022\026\n\016moderator_mute\030\003 \001(\010\022@\n\rwhisper_" + "level\030\004 \001(\0162).bgs.protocol.club.v1.clien" + "t.WhisperLevel\022\014\n\004note\030\005 \001(\t\"\245\002\n\025MemberS" + "tateAssignment\0221\n\tmember_id\030\001 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022-\n\tattribute\030\002" + " \003(\0132\032.bgs.protocol.v2.Attribute\022B\n\016pres" + "ence_level\030\003 \001(\0162*.bgs.protocol.club.v1." + "client.PresenceLevel\022\026\n\016moderator_mute\030\004" + " \001(\010\022@\n\rwhisper_level\030\005 \001(\0162).bgs.protoc" + "ol.club.v1.client.WhisperLevel\022\014\n\004note\030\006" + " \001(\tB\002H\002P\000", 2610); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_member.proto", &protobuf_RegisterTypes); + Member::default_instance_ = new Member(); + MemberResult::default_instance_ = new MemberResult(); + RemoveMemberOptions::default_instance_ = new RemoveMemberOptions(); + MemberRemovedAssignment::default_instance_ = new MemberRemovedAssignment(); + MemberVoiceOptions::default_instance_ = new MemberVoiceOptions(); + MemberVoiceState::default_instance_ = new MemberVoiceState(); + CreateMemberOptions::default_instance_ = new CreateMemberOptions(); + MemberDescription::default_instance_ = new MemberDescription(); + RoleOptions::default_instance_ = new RoleOptions(); + RoleAssignment::default_instance_ = new RoleAssignment(); + MemberAttributeAssignment::default_instance_ = new MemberAttributeAssignment(); + SubscriberStateOptions::default_instance_ = new SubscriberStateOptions(); + SubscriberStateAssignment::default_instance_ = new SubscriberStateAssignment(); + MemberStateOptions::default_instance_ = new MemberStateOptions(); + MemberStateAssignment::default_instance_ = new MemberStateAssignment(); + Member::default_instance_->InitAsDefaultInstance(); + MemberResult::default_instance_->InitAsDefaultInstance(); + RemoveMemberOptions::default_instance_->InitAsDefaultInstance(); + MemberRemovedAssignment::default_instance_->InitAsDefaultInstance(); + MemberVoiceOptions::default_instance_->InitAsDefaultInstance(); + MemberVoiceState::default_instance_->InitAsDefaultInstance(); + CreateMemberOptions::default_instance_->InitAsDefaultInstance(); + MemberDescription::default_instance_->InitAsDefaultInstance(); + RoleOptions::default_instance_->InitAsDefaultInstance(); + RoleAssignment::default_instance_->InitAsDefaultInstance(); + MemberAttributeAssignment::default_instance_->InitAsDefaultInstance(); + SubscriberStateOptions::default_instance_->InitAsDefaultInstance(); + SubscriberStateAssignment::default_instance_->InitAsDefaultInstance(); + MemberStateOptions::default_instance_->InitAsDefaultInstance(); + MemberStateAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmember_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmember_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Member::kIdFieldNumber; +const int Member::kBattleTagFieldNumber; +const int Member::kRoleFieldNumber; +const int Member::kAttributeFieldNumber; +const int Member::kJoinTimeFieldNumber; +const int Member::kPresenceLevelFieldNumber; +const int Member::kModeratorMuteFieldNumber; +const int Member::kWhisperLevelFieldNumber; +const int Member::kNoteFieldNumber; +const int Member::kActiveFieldNumber; +const int Member::kVoiceFieldNumber; +#endif // !_MSC_VER + +Member::Member() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Member) +} + +void Member::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceState*>(&::bgs::protocol::club::v1::client::MemberVoiceState::default_instance()); +} + +Member::Member(const Member& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Member) +} + +void Member::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + join_time_ = GOOGLE_ULONGLONG(0); + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + active_ = false; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Member::~Member() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Member) + SharedDtor(); +} + +void Member::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + delete id_; + delete voice_; + } +} + +void Member::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Member::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Member_descriptor_; +} + +const Member& Member::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +Member* Member::default_instance_ = NULL; + +Member* Member::New() const { + return new Member; +} + +void Member::Swap(Member* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Member::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Member_descriptor_; + metadata.reflection = Member_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberResult::kMemberIdFieldNumber; +const int MemberResult::kStatusFieldNumber; +#endif // !_MSC_VER + +MemberResult::MemberResult() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberResult) +} + +void MemberResult::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberResult::MemberResult(const MemberResult& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberResult) +} + +void MemberResult::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + status_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberResult::~MemberResult() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberResult) + SharedDtor(); +} + +void MemberResult::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberResult::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberResult::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberResult_descriptor_; +} + +const MemberResult& MemberResult::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberResult* MemberResult::default_instance_ = NULL; + +MemberResult* MemberResult::New() const { + return new MemberResult; +} + +void MemberResult::Swap(MemberResult* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberResult::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberResult_descriptor_; + metadata.reflection = MemberResult_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveMemberOptions::kIdFieldNumber; +const int RemoveMemberOptions::kReasonFieldNumber; +#endif // !_MSC_VER + +RemoveMemberOptions::RemoveMemberOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) +} + +void RemoveMemberOptions::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RemoveMemberOptions::RemoveMemberOptions(const RemoveMemberOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) +} + +void RemoveMemberOptions::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveMemberOptions::~RemoveMemberOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveMemberOptions) + SharedDtor(); +} + +void RemoveMemberOptions::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void RemoveMemberOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveMemberOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveMemberOptions_descriptor_; +} + +const RemoveMemberOptions& RemoveMemberOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RemoveMemberOptions* RemoveMemberOptions::default_instance_ = NULL; + +RemoveMemberOptions* RemoveMemberOptions::New() const { + return new RemoveMemberOptions; +} + +void RemoveMemberOptions::Swap(RemoveMemberOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveMemberOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveMemberOptions_descriptor_; + metadata.reflection = RemoveMemberOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRemovedAssignment::kIdFieldNumber; +const int MemberRemovedAssignment::kReasonFieldNumber; +#endif // !_MSC_VER + +MemberRemovedAssignment::MemberRemovedAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) +} + +void MemberRemovedAssignment::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRemovedAssignment::MemberRemovedAssignment(const MemberRemovedAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) +} + +void MemberRemovedAssignment::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRemovedAssignment::~MemberRemovedAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) + SharedDtor(); +} + +void MemberRemovedAssignment::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void MemberRemovedAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRemovedAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRemovedAssignment_descriptor_; +} + +const MemberRemovedAssignment& MemberRemovedAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberRemovedAssignment* MemberRemovedAssignment::default_instance_ = NULL; + +MemberRemovedAssignment* MemberRemovedAssignment::New() const { + return new MemberRemovedAssignment; +} + +void MemberRemovedAssignment::Swap(MemberRemovedAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRemovedAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRemovedAssignment_descriptor_; + metadata.reflection = MemberRemovedAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberVoiceOptions::kStreamIdFieldNumber; +const int MemberVoiceOptions::kJoinedFieldNumber; +const int MemberVoiceOptions::kMicrophoneFieldNumber; +const int MemberVoiceOptions::kActiveFieldNumber; +#endif // !_MSC_VER + +MemberVoiceOptions::MemberVoiceOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) +} + +void MemberVoiceOptions::InitAsDefaultInstance() { +} + +MemberVoiceOptions::MemberVoiceOptions(const MemberVoiceOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) +} + +void MemberVoiceOptions::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + joined_ = false; + microphone_ = 0; + active_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberVoiceOptions::~MemberVoiceOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceOptions) + SharedDtor(); +} + +void MemberVoiceOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void MemberVoiceOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberVoiceOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberVoiceOptions_descriptor_; +} + +const MemberVoiceOptions& MemberVoiceOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberVoiceOptions* MemberVoiceOptions::default_instance_ = NULL; + +MemberVoiceOptions* MemberVoiceOptions::New() const { + return new MemberVoiceOptions; +} + +void MemberVoiceOptions::Swap(MemberVoiceOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberVoiceOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberVoiceOptions_descriptor_; + metadata.reflection = MemberVoiceOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberVoiceState::kIdFieldNumber; +const int MemberVoiceState::kStreamIdFieldNumber; +const int MemberVoiceState::kJoinedFieldNumber; +const int MemberVoiceState::kMicrophoneFieldNumber; +const int MemberVoiceState::kActiveFieldNumber; +#endif // !_MSC_VER + +MemberVoiceState::MemberVoiceState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceState) +} + +void MemberVoiceState::InitAsDefaultInstance() { +} + +MemberVoiceState::MemberVoiceState(const MemberVoiceState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceState) +} + +void MemberVoiceState::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + stream_id_ = GOOGLE_ULONGLONG(0); + joined_ = false; + microphone_ = 0; + active_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberVoiceState::~MemberVoiceState() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceState) + SharedDtor(); +} + +void MemberVoiceState::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + } +} + +void MemberVoiceState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberVoiceState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberVoiceState_descriptor_; +} + +const MemberVoiceState& MemberVoiceState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberVoiceState* MemberVoiceState::default_instance_ = NULL; + +MemberVoiceState* MemberVoiceState::New() const { + return new MemberVoiceState; +} + +void MemberVoiceState::Swap(MemberVoiceState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberVoiceState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberVoiceState_descriptor_; + metadata.reflection = MemberVoiceState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMemberOptions::kIdFieldNumber; +const int CreateMemberOptions::kAttributeFieldNumber; +const int CreateMemberOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +CreateMemberOptions::CreateMemberOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMemberOptions) +} + +void CreateMemberOptions::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +CreateMemberOptions::CreateMemberOptions(const CreateMemberOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMemberOptions) +} + +void CreateMemberOptions::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMemberOptions::~CreateMemberOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMemberOptions) + SharedDtor(); +} + +void CreateMemberOptions::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void CreateMemberOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMemberOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMemberOptions_descriptor_; +} + +const CreateMemberOptions& CreateMemberOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +CreateMemberOptions* CreateMemberOptions::default_instance_ = NULL; + +CreateMemberOptions* CreateMemberOptions::New() const { + return new CreateMemberOptions; +} + +void CreateMemberOptions::Swap(CreateMemberOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMemberOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMemberOptions_descriptor_; + metadata.reflection = CreateMemberOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberDescription::kIdFieldNumber; +const int MemberDescription::kBattleTagFieldNumber; +#endif // !_MSC_VER + +MemberDescription::MemberDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberDescription) +} + +void MemberDescription::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberDescription::MemberDescription(const MemberDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberDescription) +} + +void MemberDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberDescription::~MemberDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberDescription) + SharedDtor(); +} + +void MemberDescription::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + delete id_; + } +} + +void MemberDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberDescription_descriptor_; +} + +const MemberDescription& MemberDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberDescription* MemberDescription::default_instance_ = NULL; + +MemberDescription* MemberDescription::New() const { + return new MemberDescription; +} + +void MemberDescription::Swap(MemberDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberDescription_descriptor_; + metadata.reflection = MemberDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RoleOptions::kMemberIdFieldNumber; +const int RoleOptions::kRoleFieldNumber; +#endif // !_MSC_VER + +RoleOptions::RoleOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleOptions) +} + +void RoleOptions::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RoleOptions::RoleOptions(const RoleOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleOptions) +} + +void RoleOptions::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RoleOptions::~RoleOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleOptions) + SharedDtor(); +} + +void RoleOptions::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void RoleOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RoleOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RoleOptions_descriptor_; +} + +const RoleOptions& RoleOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RoleOptions* RoleOptions::default_instance_ = NULL; + +RoleOptions* RoleOptions::New() const { + return new RoleOptions; +} + +void RoleOptions::Swap(RoleOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RoleOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RoleOptions_descriptor_; + metadata.reflection = RoleOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RoleAssignment::kMemberIdFieldNumber; +const int RoleAssignment::kRoleFieldNumber; +#endif // !_MSC_VER + +RoleAssignment::RoleAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleAssignment) +} + +void RoleAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RoleAssignment::RoleAssignment(const RoleAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleAssignment) +} + +void RoleAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RoleAssignment::~RoleAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleAssignment) + SharedDtor(); +} + +void RoleAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void RoleAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RoleAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RoleAssignment_descriptor_; +} + +const RoleAssignment& RoleAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RoleAssignment* RoleAssignment::default_instance_ = NULL; + +RoleAssignment* RoleAssignment::New() const { + return new RoleAssignment; +} + +void RoleAssignment::Swap(RoleAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RoleAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RoleAssignment_descriptor_; + metadata.reflection = RoleAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAttributeAssignment::kMemberIdFieldNumber; +const int MemberAttributeAssignment::kAttributeFieldNumber; +#endif // !_MSC_VER + +MemberAttributeAssignment::MemberAttributeAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) +} + +void MemberAttributeAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberAttributeAssignment::MemberAttributeAssignment(const MemberAttributeAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) +} + +void MemberAttributeAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAttributeAssignment::~MemberAttributeAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) + SharedDtor(); +} + +void MemberAttributeAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberAttributeAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAttributeAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAttributeAssignment_descriptor_; +} + +const MemberAttributeAssignment& MemberAttributeAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberAttributeAssignment* MemberAttributeAssignment::default_instance_ = NULL; + +MemberAttributeAssignment* MemberAttributeAssignment::New() const { + return new MemberAttributeAssignment; +} + +void MemberAttributeAssignment::Swap(MemberAttributeAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAttributeAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAttributeAssignment_descriptor_; + metadata.reflection = MemberAttributeAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateOptions::kVoiceFieldNumber; +#endif // !_MSC_VER + +SubscriberStateOptions::SubscriberStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) +} + +void SubscriberStateOptions::InitAsDefaultInstance() { + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceOptions*>(&::bgs::protocol::club::v1::client::MemberVoiceOptions::default_instance()); +} + +SubscriberStateOptions::SubscriberStateOptions(const SubscriberStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) +} + +void SubscriberStateOptions::SharedCtor() { + _cached_size_ = 0; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateOptions::~SubscriberStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateOptions) + SharedDtor(); +} + +void SubscriberStateOptions::SharedDtor() { + if (this != default_instance_) { + delete voice_; + } +} + +void SubscriberStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateOptions_descriptor_; +} + +const SubscriberStateOptions& SubscriberStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +SubscriberStateOptions* SubscriberStateOptions::default_instance_ = NULL; + +SubscriberStateOptions* SubscriberStateOptions::New() const { + return new SubscriberStateOptions; +} + +void SubscriberStateOptions::Swap(SubscriberStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateOptions_descriptor_; + metadata.reflection = SubscriberStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateAssignment::kMemberIdFieldNumber; +const int SubscriberStateAssignment::kActiveFieldNumber; +const int SubscriberStateAssignment::kVoiceFieldNumber; +#endif // !_MSC_VER + +SubscriberStateAssignment::SubscriberStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) +} + +void SubscriberStateAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceState*>(&::bgs::protocol::club::v1::client::MemberVoiceState::default_instance()); +} + +SubscriberStateAssignment::SubscriberStateAssignment(const SubscriberStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) +} + +void SubscriberStateAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + active_ = false; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateAssignment::~SubscriberStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) + SharedDtor(); +} + +void SubscriberStateAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete voice_; + } +} + +void SubscriberStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateAssignment_descriptor_; +} + +const SubscriberStateAssignment& SubscriberStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +SubscriberStateAssignment* SubscriberStateAssignment::default_instance_ = NULL; + +SubscriberStateAssignment* SubscriberStateAssignment::New() const { + return new SubscriberStateAssignment; +} + +void SubscriberStateAssignment::Swap(SubscriberStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateAssignment_descriptor_; + metadata.reflection = SubscriberStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateOptions::kAttributeFieldNumber; +const int MemberStateOptions::kPresenceLevelFieldNumber; +const int MemberStateOptions::kModeratorMuteFieldNumber; +const int MemberStateOptions::kWhisperLevelFieldNumber; +const int MemberStateOptions::kNoteFieldNumber; +#endif // !_MSC_VER + +MemberStateOptions::MemberStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateOptions) +} + +void MemberStateOptions::InitAsDefaultInstance() { +} + +MemberStateOptions::MemberStateOptions(const MemberStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateOptions) +} + +void MemberStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateOptions::~MemberStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateOptions) + SharedDtor(); +} + +void MemberStateOptions::SharedDtor() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + } +} + +void MemberStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateOptions_descriptor_; +} + +const MemberStateOptions& MemberStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberStateOptions* MemberStateOptions::default_instance_ = NULL; + +MemberStateOptions* MemberStateOptions::New() const { + return new MemberStateOptions; +} + +void MemberStateOptions::Swap(MemberStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateOptions_descriptor_; + metadata.reflection = MemberStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateAssignment::kMemberIdFieldNumber; +const int MemberStateAssignment::kAttributeFieldNumber; +const int MemberStateAssignment::kPresenceLevelFieldNumber; +const int MemberStateAssignment::kModeratorMuteFieldNumber; +const int MemberStateAssignment::kWhisperLevelFieldNumber; +const int MemberStateAssignment::kNoteFieldNumber; +#endif // !_MSC_VER + +MemberStateAssignment::MemberStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateAssignment) +} + +void MemberStateAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberStateAssignment::MemberStateAssignment(const MemberStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateAssignment) +} + +void MemberStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + member_id_ = NULL; + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateAssignment::~MemberStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateAssignment) + SharedDtor(); +} + +void MemberStateAssignment::SharedDtor() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateAssignment_descriptor_; +} + +const MemberStateAssignment& MemberStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberStateAssignment* MemberStateAssignment::default_instance_ = NULL; + +MemberStateAssignment* MemberStateAssignment::New() const { + return new MemberStateAssignment; +} + +void MemberStateAssignment::Swap(MemberStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateAssignment_descriptor_; + metadata.reflection = MemberStateAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_member.pb.h b/src/server/proto/Client/api/client/v1/club_member.pb.h new file mode 100644 index 00000000000..1e08c2d8c01 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_member.pb.h @@ -0,0 +1,3440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_member.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_member_id.pb.h" // IWYU pragma: export +#include "api/common/v2/attribute_types.pb.h" +#include "api/client/v1/club_enum.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + +class Member; +class MemberResult; +class RemoveMemberOptions; +class MemberRemovedAssignment; +class MemberVoiceOptions; +class MemberVoiceState; +class CreateMemberOptions; +class MemberDescription; +class RoleOptions; +class RoleAssignment; +class MemberAttributeAssignment; +class SubscriberStateOptions; +class SubscriberStateAssignment; +class MemberStateOptions; +class MemberStateAssignment; + +// =================================================================== + +class TC_PROTO_API Member : public ::google::protobuf::Message { + public: + Member(); + virtual ~Member(); + + Member(const Member& from); + + inline Member& operator=(const Member& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Member& default_instance(); + + void Swap(Member* other); + + // implements Message ---------------------------------------------- + + Member* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // repeated uint32 role = 3 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 3; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 join_time = 5; + inline bool has_join_time() const; + inline void clear_join_time(); + static const int kJoinTimeFieldNumber = 5; + inline ::google::protobuf::uint64 join_time() const; + inline void set_join_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 7; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 7; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 9; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 9; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // optional bool active = 50; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 50; + inline bool active() const; + inline void set_active(bool value); + + // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 51; + inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Member) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_join_time(); + inline void clear_has_join_time(); + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + inline void set_has_active(); + inline void clear_has_active(); + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 join_time_; + int presence_level_; + int whisper_level_; + ::std::string* note_; + ::bgs::protocol::club::v1::client::MemberVoiceState* voice_; + bool moderator_mute_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static Member* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberResult : public ::google::protobuf::Message { + public: + MemberResult(); + virtual ~MemberResult(); + + MemberResult(const MemberResult& from); + + inline MemberResult& operator=(const MemberResult& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberResult& default_instance(); + + void Swap(MemberResult* other); + + // implements Message ---------------------------------------------- + + MemberResult* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional uint32 status = 2; + inline bool has_status() const; + inline void clear_status(); + static const int kStatusFieldNumber = 2; + inline ::google::protobuf::uint32 status() const; + inline void set_status(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberResult) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_status(); + inline void clear_has_status(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::uint32 status_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberResult* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message { + public: + RemoveMemberOptions(); + virtual ~RemoveMemberOptions(); + + RemoveMemberOptions(const RemoveMemberOptions& from); + + inline RemoveMemberOptions& operator=(const RemoveMemberOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveMemberOptions& default_instance(); + + void Swap(RemoveMemberOptions* other); + + // implements Message ---------------------------------------------- + + RemoveMemberOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveMemberOptions) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RemoveMemberOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message { + public: + MemberRemovedAssignment(); + virtual ~MemberRemovedAssignment(); + + MemberRemovedAssignment(const MemberRemovedAssignment& from); + + inline MemberRemovedAssignment& operator=(const MemberRemovedAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRemovedAssignment& default_instance(); + + void Swap(MemberRemovedAssignment* other); + + // implements Message ---------------------------------------------- + + MemberRemovedAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedAssignment) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberRemovedAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { + public: + MemberVoiceOptions(); + virtual ~MemberVoiceOptions(); + + MemberVoiceOptions(const MemberVoiceOptions& from); + + inline MemberVoiceOptions& operator=(const MemberVoiceOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberVoiceOptions& default_instance(); + + void Swap(MemberVoiceOptions* other); + + // implements Message ---------------------------------------------- + + MemberVoiceOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool joined = 2; + inline bool has_joined() const; + inline void clear_joined(); + static const int kJoinedFieldNumber = 2; + inline bool joined() const; + inline void set_joined(bool value); + + // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3; + inline bool has_microphone() const; + inline void clear_microphone(); + static const int kMicrophoneFieldNumber = 3; + inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const; + inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value); + + // optional bool active = 4; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 4; + inline bool active() const; + inline void set_active(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceOptions) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_joined(); + inline void clear_has_joined(); + inline void set_has_microphone(); + inline void clear_has_microphone(); + inline void set_has_active(); + inline void clear_has_active(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + int microphone_; + bool joined_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberVoiceOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { + public: + MemberVoiceState(); + virtual ~MemberVoiceState(); + + MemberVoiceState(const MemberVoiceState& from); + + inline MemberVoiceState& operator=(const MemberVoiceState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberVoiceState& default_instance(); + + void Swap(MemberVoiceState* other); + + // implements Message ---------------------------------------------- + + MemberVoiceState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool joined = 3; + inline bool has_joined() const; + inline void clear_joined(); + static const int kJoinedFieldNumber = 3; + inline bool joined() const; + inline void set_joined(bool value); + + // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4; + inline bool has_microphone() const; + inline void clear_microphone(); + static const int kMicrophoneFieldNumber = 4; + inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const; + inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value); + + // optional bool active = 5; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 5; + inline bool active() const; + inline void set_active(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceState) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_joined(); + inline void clear_has_joined(); + inline void set_has_microphone(); + inline void clear_has_microphone(); + inline void set_has_active(); + inline void clear_has_active(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::google::protobuf::uint64 stream_id_; + int microphone_; + bool joined_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberVoiceState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message { + public: + CreateMemberOptions(); + virtual ~CreateMemberOptions(); + + CreateMemberOptions(const CreateMemberOptions& from); + + inline CreateMemberOptions& operator=(const CreateMemberOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMemberOptions& default_instance(); + + void Swap(CreateMemberOptions* other); + + // implements Message ---------------------------------------------- + + CreateMemberOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 join_club_source = 3; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 3; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMemberOptions) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static CreateMemberOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberDescription : public ::google::protobuf::Message { + public: + MemberDescription(); + virtual ~MemberDescription(); + + MemberDescription(const MemberDescription& from); + + inline MemberDescription& operator=(const MemberDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberDescription& default_instance(); + + void Swap(MemberDescription* other); + + // implements Message ---------------------------------------------- + + MemberDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RoleOptions : public ::google::protobuf::Message { + public: + RoleOptions(); + virtual ~RoleOptions(); + + RoleOptions(const RoleOptions& from); + + inline RoleOptions& operator=(const RoleOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RoleOptions& default_instance(); + + void Swap(RoleOptions* other); + + // implements Message ---------------------------------------------- + + RoleOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleOptions) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RoleOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message { + public: + RoleAssignment(); + virtual ~RoleAssignment(); + + RoleAssignment(const RoleAssignment& from); + + inline RoleAssignment& operator=(const RoleAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RoleAssignment& default_instance(); + + void Swap(RoleAssignment* other); + + // implements Message ---------------------------------------------- + + RoleAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RoleAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Message { + public: + MemberAttributeAssignment(); + virtual ~MemberAttributeAssignment(); + + MemberAttributeAssignment(const MemberAttributeAssignment& from); + + inline MemberAttributeAssignment& operator=(const MemberAttributeAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAttributeAssignment& default_instance(); + + void Swap(MemberAttributeAssignment* other); + + // implements Message ---------------------------------------------- + + MemberAttributeAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAttributeAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberAttributeAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message { + public: + SubscriberStateOptions(); + virtual ~SubscriberStateOptions(); + + SubscriberStateOptions(const SubscriberStateOptions& from); + + inline SubscriberStateOptions& operator=(const SubscriberStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateOptions& default_instance(); + + void Swap(SubscriberStateOptions* other); + + // implements Message ---------------------------------------------- + + SubscriberStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateOptions) + private: + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::MemberVoiceOptions* voice_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Message { + public: + SubscriberStateAssignment(); + virtual ~SubscriberStateAssignment(); + + SubscriberStateAssignment(const SubscriberStateAssignment& from); + + inline SubscriberStateAssignment& operator=(const SubscriberStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateAssignment& default_instance(); + + void Swap(SubscriberStateAssignment* other); + + // implements Message ---------------------------------------------- + + SubscriberStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional bool active = 2; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 2; + inline bool active() const; + inline void set_active(bool value); + + // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_active(); + inline void clear_has_active(); + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::MemberVoiceState* voice_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { + public: + MemberStateOptions(); + virtual ~MemberStateOptions(); + + MemberStateOptions(const MemberStateOptions& from); + + inline MemberStateOptions& operator=(const MemberStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateOptions& default_instance(); + + void Swap(MemberStateOptions* other); + + // implements Message ---------------------------------------------- + + MemberStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 3; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 3; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 4; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 5; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 5; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateOptions) + private: + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int presence_level_; + bool moderator_mute_; + ::std::string* note_; + int whisper_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { + public: + MemberStateAssignment(); + virtual ~MemberStateAssignment(); + + MemberStateAssignment(const MemberStateAssignment& from); + + inline MemberStateAssignment& operator=(const MemberStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateAssignment& default_instance(); + + void Swap(MemberStateAssignment* other); + + // implements Message ---------------------------------------------- + + MemberStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 3; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 4; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 4; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 6; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 6; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int presence_level_; + bool moderator_mute_; + ::std::string* note_; + int whisper_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Member + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool Member::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Member::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Member::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Member::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& Member::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* Member::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* Member::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void Member::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.id) +} + +// optional string battle_tag = 2; +inline bool Member::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Member::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void Member::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Member::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& Member::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.battle_tag) + return *battle_tag_; +} +inline void Member::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline void Member::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline void Member::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline ::std::string* Member::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.battle_tag) + return battle_tag_; +} +inline ::std::string* Member::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Member::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.battle_tag) +} + +// repeated uint32 role = 3 [packed = true]; +inline int Member::role_size() const { + return role_.size(); +} +inline void Member::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 Member::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.role) + return role_.Get(index); +} +inline void Member::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.role) +} +inline void Member::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +Member::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +Member::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.role) + return &role_; +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int Member::attribute_size() const { + return attribute_.size(); +} +inline void Member::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Member::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Member::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Member::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Member::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Member::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.attribute) + return &attribute_; +} + +// optional uint64 join_time = 5; +inline bool Member::has_join_time() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Member::set_has_join_time() { + _has_bits_[0] |= 0x00000010u; +} +inline void Member::clear_has_join_time() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Member::clear_join_time() { + join_time_ = GOOGLE_ULONGLONG(0); + clear_has_join_time(); +} +inline ::google::protobuf::uint64 Member::join_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.join_time) + return join_time_; +} +inline void Member::set_join_time(::google::protobuf::uint64 value) { + set_has_join_time(); + join_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.join_time) +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6; +inline bool Member::has_presence_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Member::set_has_presence_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void Member::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Member::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel Member::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void Member::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.presence_level) +} + +// optional bool moderator_mute = 7; +inline bool Member::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Member::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000040u; +} +inline void Member::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Member::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool Member::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.moderator_mute) + return moderator_mute_; +} +inline void Member::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8; +inline bool Member::has_whisper_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Member::set_has_whisper_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void Member::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Member::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel Member::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void Member::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.whisper_level) +} + +// optional string note = 9; +inline bool Member::has_note() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void Member::set_has_note() { + _has_bits_[0] |= 0x00000100u; +} +inline void Member::clear_has_note() { + _has_bits_[0] &= ~0x00000100u; +} +inline void Member::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& Member::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.note) + return *note_; +} +inline void Member::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.note) +} +inline void Member::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.note) +} +inline void Member::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.note) +} +inline ::std::string* Member::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.note) + return note_; +} +inline ::std::string* Member::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Member::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.note) +} + +// optional bool active = 50; +inline bool Member::has_active() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void Member::set_has_active() { + _has_bits_[0] |= 0x00000200u; +} +inline void Member::clear_has_active() { + _has_bits_[0] &= ~0x00000200u; +} +inline void Member::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool Member::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.active) + return active_; +} +inline void Member::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.active) +} + +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51; +inline bool Member::has_voice() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void Member::set_has_voice() { + _has_bits_[0] |= 0x00000400u; +} +inline void Member::clear_has_voice() { + _has_bits_[0] &= ~0x00000400u; +} +inline void Member::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceState& Member::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; + voice_ = NULL; + return temp; +} +inline void Member::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.voice) +} + +// ------------------------------------------------------------------- + +// MemberResult + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberResult::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberResult::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberResult::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberResult::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberResult::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberResult::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberResult.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberResult::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberResult::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberResult.member_id) +} + +// optional uint32 status = 2; +inline bool MemberResult::has_status() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberResult::set_has_status() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberResult::clear_has_status() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberResult::clear_status() { + status_ = 0u; + clear_has_status(); +} +inline ::google::protobuf::uint32 MemberResult::status() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.status) + return status_; +} +inline void MemberResult::set_status(::google::protobuf::uint32 value) { + set_has_status(); + status_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberResult.status) +} + +// ------------------------------------------------------------------- + +// RemoveMemberOptions + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool RemoveMemberOptions::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveMemberOptions::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveMemberOptions::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveMemberOptions::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveMemberOptions::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveMemberOptions.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void RemoveMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveMemberOptions.id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; +inline bool RemoveMemberOptions::has_reason() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RemoveMemberOptions::set_has_reason() { + _has_bits_[0] |= 0x00000002u; +} +inline void RemoveMemberOptions::clear_has_reason() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RemoveMemberOptions::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason RemoveMemberOptions::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void RemoveMemberOptions::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveMemberOptions.reason) +} + +// ------------------------------------------------------------------- + +// MemberRemovedAssignment + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool MemberRemovedAssignment::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRemovedAssignment::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRemovedAssignment::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRemovedAssignment::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedAssignment::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void MemberRemovedAssignment::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; +inline bool MemberRemovedAssignment::has_reason() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRemovedAssignment::set_has_reason() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRemovedAssignment::clear_has_reason() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRemovedAssignment::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason MemberRemovedAssignment::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void MemberRemovedAssignment::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason) +} + +// ------------------------------------------------------------------- + +// MemberVoiceOptions + +// optional uint64 stream_id = 1; +inline bool MemberVoiceOptions::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberVoiceOptions::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberVoiceOptions::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberVoiceOptions::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 MemberVoiceOptions::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id) + return stream_id_; +} +inline void MemberVoiceOptions::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id) +} + +// optional bool joined = 2; +inline bool MemberVoiceOptions::has_joined() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberVoiceOptions::set_has_joined() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberVoiceOptions::clear_has_joined() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberVoiceOptions::clear_joined() { + joined_ = false; + clear_has_joined(); +} +inline bool MemberVoiceOptions::joined() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.joined) + return joined_; +} +inline void MemberVoiceOptions::set_joined(bool value) { + set_has_joined(); + joined_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.joined) +} + +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3; +inline bool MemberVoiceOptions::has_microphone() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberVoiceOptions::set_has_microphone() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberVoiceOptions::clear_has_microphone() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberVoiceOptions::clear_microphone() { + microphone_ = 0; + clear_has_microphone(); +} +inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceOptions::microphone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone) + return static_cast< ::bgs::protocol::club::v1::client::VoiceMicrophoneState >(microphone_); +} +inline void MemberVoiceOptions::set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value) { + assert(::bgs::protocol::club::v1::client::VoiceMicrophoneState_IsValid(value)); + set_has_microphone(); + microphone_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone) +} + +// optional bool active = 4; +inline bool MemberVoiceOptions::has_active() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberVoiceOptions::set_has_active() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberVoiceOptions::clear_has_active() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberVoiceOptions::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool MemberVoiceOptions::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.active) + return active_; +} +inline void MemberVoiceOptions::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.active) +} + +// ------------------------------------------------------------------- + +// MemberVoiceState + +// optional string id = 1; +inline bool MemberVoiceState::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberVoiceState::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberVoiceState::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberVoiceState::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& MemberVoiceState::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.id) + return *id_; +} +inline void MemberVoiceState::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline void MemberVoiceState::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline void MemberVoiceState::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline ::std::string* MemberVoiceState::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberVoiceState.id) + return id_; +} +inline ::std::string* MemberVoiceState::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberVoiceState::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberVoiceState.id) +} + +// optional uint64 stream_id = 2; +inline bool MemberVoiceState::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberVoiceState::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberVoiceState::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberVoiceState::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 MemberVoiceState::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.stream_id) + return stream_id_; +} +inline void MemberVoiceState::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.stream_id) +} + +// optional bool joined = 3; +inline bool MemberVoiceState::has_joined() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberVoiceState::set_has_joined() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberVoiceState::clear_has_joined() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberVoiceState::clear_joined() { + joined_ = false; + clear_has_joined(); +} +inline bool MemberVoiceState::joined() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.joined) + return joined_; +} +inline void MemberVoiceState::set_joined(bool value) { + set_has_joined(); + joined_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.joined) +} + +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4; +inline bool MemberVoiceState::has_microphone() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberVoiceState::set_has_microphone() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberVoiceState::clear_has_microphone() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberVoiceState::clear_microphone() { + microphone_ = 0; + clear_has_microphone(); +} +inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceState::microphone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.microphone) + return static_cast< ::bgs::protocol::club::v1::client::VoiceMicrophoneState >(microphone_); +} +inline void MemberVoiceState::set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value) { + assert(::bgs::protocol::club::v1::client::VoiceMicrophoneState_IsValid(value)); + set_has_microphone(); + microphone_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.microphone) +} + +// optional bool active = 5; +inline bool MemberVoiceState::has_active() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberVoiceState::set_has_active() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberVoiceState::clear_has_active() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberVoiceState::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool MemberVoiceState::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.active) + return active_; +} +inline void MemberVoiceState::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.active) +} + +// ------------------------------------------------------------------- + +// CreateMemberOptions + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool CreateMemberOptions::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMemberOptions::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMemberOptions::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMemberOptions::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateMemberOptions::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void CreateMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMemberOptions.id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int CreateMemberOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateMemberOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateMemberOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateMemberOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateMemberOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return &attribute_; +} + +// optional uint32 join_club_source = 3; +inline bool CreateMemberOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateMemberOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateMemberOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateMemberOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 CreateMemberOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source) + return join_club_source_; +} +inline void CreateMemberOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// MemberDescription + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool MemberDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberDescription::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberDescription::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberDescription::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void MemberDescription::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.id) +} + +// optional string battle_tag = 2; +inline bool MemberDescription::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberDescription::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberDescription::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberDescription::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& MemberDescription::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.battle_tag) + return *battle_tag_; +} +inline void MemberDescription::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline void MemberDescription::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline void MemberDescription::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline ::std::string* MemberDescription::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.battle_tag) + return battle_tag_; +} +inline ::std::string* MemberDescription::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberDescription::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} + +// ------------------------------------------------------------------- + +// RoleOptions + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool RoleOptions::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RoleOptions::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RoleOptions::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RoleOptions::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RoleOptions::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleOptions::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleOptions.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleOptions::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void RoleOptions::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleOptions.member_id) +} + +// repeated uint32 role = 2 [packed = true]; +inline int RoleOptions::role_size() const { + return role_.size(); +} +inline void RoleOptions::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 RoleOptions::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.role) + return role_.Get(index); +} +inline void RoleOptions::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleOptions.role) +} +inline void RoleOptions::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleOptions.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +RoleOptions::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleOptions.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +RoleOptions::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleOptions.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// RoleAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool RoleAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RoleAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RoleAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RoleAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RoleAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void RoleAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleAssignment.member_id) +} + +// repeated uint32 role = 2 [packed = true]; +inline int RoleAssignment::role_size() const { + return role_.size(); +} +inline void RoleAssignment::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 RoleAssignment::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.role) + return role_.Get(index); +} +inline void RoleAssignment::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleAssignment.role) +} +inline void RoleAssignment::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleAssignment.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +RoleAssignment::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleAssignment.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +RoleAssignment::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleAssignment.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// MemberAttributeAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberAttributeAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAttributeAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAttributeAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAttributeAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberAttributeAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberAttributeAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int MemberAttributeAssignment::attribute_size() const { + return attribute_.size(); +} +inline void MemberAttributeAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberAttributeAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberAttributeAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberAttributeAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// SubscriberStateOptions + +// optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1; +inline bool SubscriberStateOptions::has_voice() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateOptions::set_has_voice() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateOptions::clear_has_voice() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateOptions::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceOptions::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& SubscriberStateOptions::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceOptions* temp = voice_; + voice_ = NULL; + return temp; +} +inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) +} + +// ------------------------------------------------------------------- + +// SubscriberStateAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool SubscriberStateAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void SubscriberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) +} + +// optional bool active = 2; +inline bool SubscriberStateAssignment::has_active() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberStateAssignment::set_has_active() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberStateAssignment::clear_has_active() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberStateAssignment::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool SubscriberStateAssignment::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.active) + return active_; +} +inline void SubscriberStateAssignment::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateAssignment.active) +} + +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3; +inline bool SubscriberStateAssignment::has_voice() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscriberStateAssignment::set_has_voice() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscriberStateAssignment::clear_has_voice() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscriberStateAssignment::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceState& SubscriberStateAssignment::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; + voice_ = NULL; + return temp; +} +inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) +} + +// ------------------------------------------------------------------- + +// MemberStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int MemberStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void MemberStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return &attribute_; +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2; +inline bool MemberStateOptions::has_presence_level() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberStateOptions::set_has_presence_level() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberStateOptions::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberStateOptions::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateOptions::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void MemberStateOptions::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.presence_level) +} + +// optional bool moderator_mute = 3; +inline bool MemberStateOptions::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberStateOptions::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberStateOptions::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberStateOptions::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool MemberStateOptions::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute) + return moderator_mute_; +} +inline void MemberStateOptions::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4; +inline bool MemberStateOptions::has_whisper_level() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberStateOptions::set_has_whisper_level() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberStateOptions::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberStateOptions::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateOptions::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void MemberStateOptions::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level) +} + +// optional string note = 5; +inline bool MemberStateOptions::has_note() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberStateOptions::set_has_note() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberStateOptions::clear_has_note() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberStateOptions::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& MemberStateOptions::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.note) + return *note_; +} +inline void MemberStateOptions::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline void MemberStateOptions::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline void MemberStateOptions::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline ::std::string* MemberStateOptions::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.note) + return note_; +} +inline ::std::string* MemberStateOptions::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberStateOptions::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateOptions.note) +} + +// ------------------------------------------------------------------- + +// MemberStateAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberStateAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberStateAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberStateAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberStateAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberStateAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int MemberStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void MemberStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return &attribute_; +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3; +inline bool MemberStateAssignment::has_presence_level() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberStateAssignment::set_has_presence_level() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberStateAssignment::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberStateAssignment::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateAssignment::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void MemberStateAssignment::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level) +} + +// optional bool moderator_mute = 4; +inline bool MemberStateAssignment::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberStateAssignment::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberStateAssignment::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberStateAssignment::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool MemberStateAssignment::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute) + return moderator_mute_; +} +inline void MemberStateAssignment::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5; +inline bool MemberStateAssignment::has_whisper_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberStateAssignment::set_has_whisper_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberStateAssignment::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberStateAssignment::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateAssignment::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void MemberStateAssignment::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level) +} + +// optional string note = 6; +inline bool MemberStateAssignment::has_note() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void MemberStateAssignment::set_has_note() { + _has_bits_[0] |= 0x00000020u; +} +inline void MemberStateAssignment::clear_has_note() { + _has_bits_[0] &= ~0x00000020u; +} +inline void MemberStateAssignment::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& MemberStateAssignment::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.note) + return *note_; +} +inline void MemberStateAssignment::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline void MemberStateAssignment::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline void MemberStateAssignment::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline ::std::string* MemberStateAssignment::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.note) + return note_; +} +inline ::std::string* MemberStateAssignment::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberStateAssignment::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc new file mode 100644 index 00000000000..d6247643f2a --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc @@ -0,0 +1,1050 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ReceivedInvitationAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ReceivedInvitationRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SharedSettingsChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SharedSettingsChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionAdvanceViewTimeNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* ClubMembershipListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_listener.proto"); + GOOGLE_CHECK(file != NULL); + ClubAddedNotification_descriptor_ = file->message_type(0); + static const int ClubAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, membership_), + }; + ClubAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubAddedNotification_descriptor_, + ClubAddedNotification::default_instance_, + ClubAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubAddedNotification)); + ClubRemovedNotification_descriptor_ = file->message_type(1); + static const int ClubRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, reason_), + }; + ClubRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRemovedNotification_descriptor_, + ClubRemovedNotification::default_instance_, + ClubRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRemovedNotification)); + ReceivedInvitationAddedNotification_descriptor_ = file->message_type(2); + static const int ReceivedInvitationAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, invitation_), + }; + ReceivedInvitationAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ReceivedInvitationAddedNotification_descriptor_, + ReceivedInvitationAddedNotification::default_instance_, + ReceivedInvitationAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ReceivedInvitationAddedNotification)); + ReceivedInvitationRemovedNotification_descriptor_ = file->message_type(3); + static const int ReceivedInvitationRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, invitation_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, reason_), + }; + ReceivedInvitationRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ReceivedInvitationRemovedNotification_descriptor_, + ReceivedInvitationRemovedNotification::default_instance_, + ReceivedInvitationRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ReceivedInvitationRemovedNotification)); + SharedSettingsChangedNotification_descriptor_ = file->message_type(4); + static const int SharedSettingsChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, assignment_), + }; + SharedSettingsChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SharedSettingsChangedNotification_descriptor_, + SharedSettingsChangedNotification::default_instance_, + SharedSettingsChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SharedSettingsChangedNotification)); + StreamMentionAddedNotification_descriptor_ = file->message_type(5); + static const int StreamMentionAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, mention_), + }; + StreamMentionAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionAddedNotification_descriptor_, + StreamMentionAddedNotification::default_instance_, + StreamMentionAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionAddedNotification)); + StreamMentionRemovedNotification_descriptor_ = file->message_type(6); + static const int StreamMentionRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, mention_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, agent_id_), + }; + StreamMentionRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionRemovedNotification_descriptor_, + StreamMentionRemovedNotification::default_instance_, + StreamMentionRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionRemovedNotification)); + StreamMentionAdvanceViewTimeNotification_descriptor_ = file->message_type(7); + static const int StreamMentionAdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, view_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, agent_id_), + }; + StreamMentionAdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionAdvanceViewTimeNotification_descriptor_, + StreamMentionAdvanceViewTimeNotification::default_instance_, + StreamMentionAdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionAdvanceViewTimeNotification)); + ClubMembershipListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubAddedNotification_descriptor_, &ClubAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRemovedNotification_descriptor_, &ClubRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ReceivedInvitationAddedNotification_descriptor_, &ReceivedInvitationAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ReceivedInvitationRemovedNotification_descriptor_, &ReceivedInvitationRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SharedSettingsChangedNotification_descriptor_, &SharedSettingsChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionAddedNotification_descriptor_, &StreamMentionAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionRemovedNotification_descriptor_, &StreamMentionRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionAdvanceViewTimeNotification_descriptor_, &StreamMentionAdvanceViewTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + delete ClubAddedNotification::default_instance_; + delete ClubAddedNotification_reflection_; + delete ClubRemovedNotification::default_instance_; + delete ClubRemovedNotification_reflection_; + delete ReceivedInvitationAddedNotification::default_instance_; + delete ReceivedInvitationAddedNotification_reflection_; + delete ReceivedInvitationRemovedNotification::default_instance_; + delete ReceivedInvitationRemovedNotification_reflection_; + delete SharedSettingsChangedNotification::default_instance_; + delete SharedSettingsChangedNotification_reflection_; + delete StreamMentionAddedNotification::default_instance_; + delete StreamMentionAddedNotification_reflection_; + delete StreamMentionRemovedNotification::default_instance_; + delete StreamMentionRemovedNotification_reflection_; + delete StreamMentionAdvanceViewTimeNotification::default_instance_; + delete StreamMentionAdvanceViewTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n,api/client/v1/club_membership_listener" + ".proto\022&bgs.protocol.club_membership.v1." + "client\032\036api/client/v1/club_types.proto\032$" + "api/common/v1/invitation_types.proto\"\240\001\n" + "\025ClubAddedNotification\0220\n\010agent_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022U\n\nmemb" + "ership\030\003 \001(\0132A.bgs.protocol.club_members" + "hip.v1.client.ClubMembershipDescription\"" + "\317\001\n\027ClubRemovedNotification\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\0221\n" + "\tmember_id\030\003 \001(\0132\036.bgs.protocol.club.v1." + "MemberId\022\017\n\007club_id\030\004 \001(\004\022>\n\006reason\030\005 \001(" + "\0162..bgs.protocol.club.v1.client.ClubRemo" + "vedReason\"\230\001\n#ReceivedInvitationAddedNot" + "ification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\?\n\ninvitation\030\003 \001(\0132" + "+.bgs.protocol.club.v1.client.ClubInvita" + "tion\"\247\001\n%ReceivedInvitationRemovedNotifi" + "cation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\025\n\rinvitation_id\030\003 \001(\006\022" + "5\n\006reason\030\004 \001(\0162%.bgs.protocol.Invitatio" + "nRemovedReason\"\332\001\n!SharedSettingsChanged" + "Notification\022I\n\023agent_id_deprecated\030\001 \001(" + "\0132\".bgs.protocol.account.v1.AccountIdB\010\030" + "\001\222\371+\002 \001\022\020\n\010agent_id\030\003 \001(\004\022X\n\nassignment\030" + "\004 \001(\0132D.bgs.protocol.club_membership.v1." + "client.ClubSharedSettingsAssignment\"\217\001\n\036" + "StreamMentionAddedNotification\0220\n\010agent_" + "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" + "\022;\n\007mention\030\003 \001(\0132*.bgs.protocol.club.v1" + ".client.StreamMention\"\257\001\n StreamMentionR" + "emovedNotification\022I\n\023agent_id_deprecate" + "d\030\001 \001(\0132\".bgs.protocol.account.v1.Accoun" + "tIdB\010\030\001\222\371+\002 \001\022.\n\nmention_id\030\003 \001(\0132\032.bgs." + "protocol.TimeSeriesId\022\020\n\010agent_id\030\004 \001(\004\"" + "\232\001\n(StreamMentionAdvanceViewTimeNotifica" + "tion\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022" + "\021\n\tview_time\030\003 \001(\004\022\020\n\010agent_id\030\004 \001(\0042\232\t\n" + "\026ClubMembershipListener\022q\n\013OnClubAdded\022=" + ".bgs.protocol.club_membership.v1.client." + "ClubAddedNotification\032\031.bgs.protocol.NO_" + "RESPONSE\"\010\202\371+\004\010\001\030\001\022u\n\rOnClubRemoved\022\?.bg" + "s.protocol.club_membership.v1.client.Clu" + "bRemovedNotification\032\031.bgs.protocol.NO_R" + "ESPONSE\"\010\202\371+\004\010\002\030\001\022\215\001\n\031OnReceivedInvitati" + "onAdded\022K.bgs.protocol.club_membership.v" + "1.client.ReceivedInvitationAddedNotifica" + "tion\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003\030" + "\001\022\221\001\n\033OnReceivedInvitationRemoved\022M.bgs." + "protocol.club_membership.v1.client.Recei" + "vedInvitationRemovedNotification\032\031.bgs.p" + "rotocol.NO_RESPONSE\"\010\202\371+\004\010\004\030\001\022\211\001\n\027OnShar" + "edSettingsChanged\022I.bgs.protocol.club_me" + "mbership.v1.client.SharedSettingsChanged" + "Notification\032\031.bgs.protocol.NO_RESPONSE\"" + "\010\202\371+\004\010\005\030\001\022\203\001\n\024OnStreamMentionAdded\022F.bgs" + ".protocol.club_membership.v1.client.Stre" + "amMentionAddedNotification\032\031.bgs.protoco" + "l.NO_RESPONSE\"\010\202\371+\004\010\006\030\001\022\207\001\n\026OnStreamMent" + "ionRemoved\022H.bgs.protocol.club_membershi" + "p.v1.client.StreamMentionRemovedNotifica" + "tion\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\007\030" + "\001\022\227\001\n\036OnStreamMentionAdvanceViewTime\022P.b" + "gs.protocol.club_membership.v1.client.St" + "reamMentionAdvanceViewTimeNotification\032\031" + ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\010\030\001\032<\202\371+" + "0\n,bnet.protocol.club.v1.ClubMembershipL" + "istener8\001\212\371+\004\010\001\030\001B\005H\002\200\001\000", 2744); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_listener.proto", &protobuf_RegisterTypes); + ClubAddedNotification::default_instance_ = new ClubAddedNotification(); + ClubRemovedNotification::default_instance_ = new ClubRemovedNotification(); + ReceivedInvitationAddedNotification::default_instance_ = new ReceivedInvitationAddedNotification(); + ReceivedInvitationRemovedNotification::default_instance_ = new ReceivedInvitationRemovedNotification(); + SharedSettingsChangedNotification::default_instance_ = new SharedSettingsChangedNotification(); + StreamMentionAddedNotification::default_instance_ = new StreamMentionAddedNotification(); + StreamMentionRemovedNotification::default_instance_ = new StreamMentionRemovedNotification(); + StreamMentionAdvanceViewTimeNotification::default_instance_ = new StreamMentionAdvanceViewTimeNotification(); + ClubAddedNotification::default_instance_->InitAsDefaultInstance(); + ClubRemovedNotification::default_instance_->InitAsDefaultInstance(); + ReceivedInvitationAddedNotification::default_instance_->InitAsDefaultInstance(); + ReceivedInvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); + SharedSettingsChangedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubAddedNotification::kAgentIdFieldNumber; +const int ClubAddedNotification::kMembershipFieldNumber; +#endif // !_MSC_VER + +ClubAddedNotification::ClubAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) +} + +void ClubAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + membership_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipDescription::default_instance()); +} + +ClubAddedNotification::ClubAddedNotification(const ClubAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) +} + +void ClubAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + membership_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubAddedNotification::~ClubAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) + SharedDtor(); +} + +void ClubAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete membership_; + } +} + +void ClubAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubAddedNotification_descriptor_; +} + +const ClubAddedNotification& ClubAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ClubAddedNotification* ClubAddedNotification::default_instance_ = NULL; + +ClubAddedNotification* ClubAddedNotification::New() const { + return new ClubAddedNotification; +} + +void ClubAddedNotification::Swap(ClubAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubAddedNotification_descriptor_; + metadata.reflection = ClubAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRemovedNotification::kAgentIdFieldNumber; +const int ClubRemovedNotification::kMemberIdFieldNumber; +const int ClubRemovedNotification::kClubIdFieldNumber; +const int ClubRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +ClubRemovedNotification::ClubRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) +} + +void ClubRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +ClubRemovedNotification::ClubRemovedNotification(const ClubRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) +} + +void ClubRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + member_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRemovedNotification::~ClubRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) + SharedDtor(); +} + +void ClubRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + } +} + +void ClubRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRemovedNotification_descriptor_; +} + +const ClubRemovedNotification& ClubRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ClubRemovedNotification* ClubRemovedNotification::default_instance_ = NULL; + +ClubRemovedNotification* ClubRemovedNotification::New() const { + return new ClubRemovedNotification; +} + +void ClubRemovedNotification::Swap(ClubRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRemovedNotification_descriptor_; + metadata.reflection = ClubRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ReceivedInvitationAddedNotification::kAgentIdFieldNumber; +const int ReceivedInvitationAddedNotification::kInvitationFieldNumber; +#endif // !_MSC_VER + +ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) +} + +void ReceivedInvitationAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) +} + +void ReceivedInvitationAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ReceivedInvitationAddedNotification::~ReceivedInvitationAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) + SharedDtor(); +} + +void ReceivedInvitationAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete invitation_; + } +} + +void ReceivedInvitationAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ReceivedInvitationAddedNotification_descriptor_; +} + +const ReceivedInvitationAddedNotification& ReceivedInvitationAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::default_instance_ = NULL; + +ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::New() const { + return new ReceivedInvitationAddedNotification; +} + +void ReceivedInvitationAddedNotification::Swap(ReceivedInvitationAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ReceivedInvitationAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ReceivedInvitationAddedNotification_descriptor_; + metadata.reflection = ReceivedInvitationAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ReceivedInvitationRemovedNotification::kAgentIdFieldNumber; +const int ReceivedInvitationRemovedNotification::kInvitationIdFieldNumber; +const int ReceivedInvitationRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) +} + +void ReceivedInvitationRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) +} + +void ReceivedInvitationRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + invitation_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ReceivedInvitationRemovedNotification::~ReceivedInvitationRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) + SharedDtor(); +} + +void ReceivedInvitationRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void ReceivedInvitationRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ReceivedInvitationRemovedNotification_descriptor_; +} + +const ReceivedInvitationRemovedNotification& ReceivedInvitationRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::default_instance_ = NULL; + +ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::New() const { + return new ReceivedInvitationRemovedNotification; +} + +void ReceivedInvitationRemovedNotification::Swap(ReceivedInvitationRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ReceivedInvitationRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ReceivedInvitationRemovedNotification_descriptor_; + metadata.reflection = ReceivedInvitationRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SharedSettingsChangedNotification::kAgentIdDeprecatedFieldNumber; +const int SharedSettingsChangedNotification::kAgentIdFieldNumber; +const int SharedSettingsChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SharedSettingsChangedNotification::SharedSettingsChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) +} + +void SharedSettingsChangedNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment::default_instance()); +} + +SharedSettingsChangedNotification::SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) +} + +void SharedSettingsChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + agent_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SharedSettingsChangedNotification::~SharedSettingsChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) + SharedDtor(); +} + +void SharedSettingsChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete assignment_; + } +} + +void SharedSettingsChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SharedSettingsChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SharedSettingsChangedNotification_descriptor_; +} + +const SharedSettingsChangedNotification& SharedSettingsChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +SharedSettingsChangedNotification* SharedSettingsChangedNotification::default_instance_ = NULL; + +SharedSettingsChangedNotification* SharedSettingsChangedNotification::New() const { + return new SharedSettingsChangedNotification; +} + +void SharedSettingsChangedNotification::Swap(SharedSettingsChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SharedSettingsChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SharedSettingsChangedNotification_descriptor_; + metadata.reflection = SharedSettingsChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionAddedNotification::kAgentIdFieldNumber; +const int StreamMentionAddedNotification::kMentionFieldNumber; +#endif // !_MSC_VER + +StreamMentionAddedNotification::StreamMentionAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) +} + +void StreamMentionAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + mention_ = const_cast< ::bgs::protocol::club::v1::client::StreamMention*>(&::bgs::protocol::club::v1::client::StreamMention::default_instance()); +} + +StreamMentionAddedNotification::StreamMentionAddedNotification(const StreamMentionAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) +} + +void StreamMentionAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + mention_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionAddedNotification::~StreamMentionAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) + SharedDtor(); +} + +void StreamMentionAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete mention_; + } +} + +void StreamMentionAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionAddedNotification_descriptor_; +} + +const StreamMentionAddedNotification& StreamMentionAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionAddedNotification* StreamMentionAddedNotification::default_instance_ = NULL; + +StreamMentionAddedNotification* StreamMentionAddedNotification::New() const { + return new StreamMentionAddedNotification; +} + +void StreamMentionAddedNotification::Swap(StreamMentionAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionAddedNotification_descriptor_; + metadata.reflection = StreamMentionAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionRemovedNotification::kAgentIdDeprecatedFieldNumber; +const int StreamMentionRemovedNotification::kMentionIdFieldNumber; +const int StreamMentionRemovedNotification::kAgentIdFieldNumber; +#endif // !_MSC_VER + +StreamMentionRemovedNotification::StreamMentionRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) +} + +void StreamMentionRemovedNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); +} + +StreamMentionRemovedNotification::StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) +} + +void StreamMentionRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + mention_id_ = NULL; + agent_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionRemovedNotification::~StreamMentionRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) + SharedDtor(); +} + +void StreamMentionRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete mention_id_; + } +} + +void StreamMentionRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionRemovedNotification_descriptor_; +} + +const StreamMentionRemovedNotification& StreamMentionRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionRemovedNotification* StreamMentionRemovedNotification::default_instance_ = NULL; + +StreamMentionRemovedNotification* StreamMentionRemovedNotification::New() const { + return new StreamMentionRemovedNotification; +} + +void StreamMentionRemovedNotification::Swap(StreamMentionRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionRemovedNotification_descriptor_; + metadata.reflection = StreamMentionRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionAdvanceViewTimeNotification::kAgentIdDeprecatedFieldNumber; +const int StreamMentionAdvanceViewTimeNotification::kViewTimeFieldNumber; +const int StreamMentionAdvanceViewTimeNotification::kAgentIdFieldNumber; +#endif // !_MSC_VER + +StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) +} + +void StreamMentionAdvanceViewTimeNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) +} + +void StreamMentionAdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + view_time_ = GOOGLE_ULONGLONG(0); + agent_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionAdvanceViewTimeNotification::~StreamMentionAdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) + SharedDtor(); +} + +void StreamMentionAdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void StreamMentionAdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionAdvanceViewTimeNotification_descriptor_; +} + +const StreamMentionAdvanceViewTimeNotification& StreamMentionAdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::default_instance_ = NULL; + +StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::New() const { + return new StreamMentionAdvanceViewTimeNotification; +} + +void StreamMentionAdvanceViewTimeNotification::Swap(StreamMentionAdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionAdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionAdvanceViewTimeNotification_descriptor_; + metadata.reflection = StreamMentionAdvanceViewTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +ClubMembershipListener::ClubMembershipListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubMembershipListener::~ClubMembershipListener() { +} + +google::protobuf::ServiceDescriptor const* ClubMembershipListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipListener_descriptor_; +} + +void ClubMembershipListener::OnClubAdded(::bgs::protocol::club_membership::v1::client::ClubAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnClubAdded", "bgs.protocol.club_membership.v1.client.ClubAddedNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnClubRemoved(::bgs::protocol::club_membership::v1::client::ClubRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnClubRemoved", "bgs.protocol.club_membership.v1.client.ClubRemovedNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnReceivedInvitationAdded(::bgs::protocol::club_membership::v1::client::ReceivedInvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationAdded", "bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnReceivedInvitationRemoved(::bgs::protocol::club_membership::v1::client::ReceivedInvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationRemoved", "bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnSharedSettingsChanged(::bgs::protocol::club_membership::v1::client::SharedSettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnSharedSettingsChanged", "bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification", request); + SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionAdded(::bgs::protocol::club_membership::v1::client::StreamMentionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdded", "bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification", request); + SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionRemoved(::bgs::protocol::club_membership::v1::client::StreamMentionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionRemoved", "bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification", request); + SendRequest(service_hash_, 7 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionAdvanceViewTime(::bgs::protocol::club_membership::v1::client::StreamMentionAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdvanceViewTime", "bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification", request); + SendRequest(service_hash_, 8 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h new file mode 100644 index 00000000000..99110109ce0 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h @@ -0,0 +1,1601 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + +class ClubAddedNotification; +class ClubRemovedNotification; +class ReceivedInvitationAddedNotification; +class ReceivedInvitationRemovedNotification; +class SharedSettingsChangedNotification; +class StreamMentionAddedNotification; +class StreamMentionRemovedNotification; +class StreamMentionAdvanceViewTimeNotification; + +// =================================================================== + +class TC_PROTO_API ClubAddedNotification : public ::google::protobuf::Message { + public: + ClubAddedNotification(); + virtual ~ClubAddedNotification(); + + ClubAddedNotification(const ClubAddedNotification& from); + + inline ClubAddedNotification& operator=(const ClubAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubAddedNotification& default_instance(); + + void Swap(ClubAddedNotification* other); + + // implements Message ---------------------------------------------- + + ClubAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipDescription membership = 3; + inline bool has_membership() const; + inline void clear_membership(); + static const int kMembershipFieldNumber = 3; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& membership() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* mutable_membership(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* release_membership(); + inline void set_allocated_membership(::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_membership(); + inline void clear_has_membership(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ClubAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRemovedNotification : public ::google::protobuf::Message { + public: + ClubRemovedNotification(); + virtual ~ClubRemovedNotification(); + + ClubRemovedNotification(const ClubRemovedNotification& from); + + inline ClubRemovedNotification& operator=(const ClubRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRemovedNotification& default_instance(); + + void Swap(ClubRemovedNotification* other); + + // implements Message ---------------------------------------------- + + ClubRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional uint64 club_id = 4; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 4; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::uint64 club_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ClubRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ReceivedInvitationAddedNotification : public ::google::protobuf::Message { + public: + ReceivedInvitationAddedNotification(); + virtual ~ReceivedInvitationAddedNotification(); + + ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from); + + inline ReceivedInvitationAddedNotification& operator=(const ReceivedInvitationAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ReceivedInvitationAddedNotification& default_instance(); + + void Swap(ReceivedInvitationAddedNotification* other); + + // implements Message ---------------------------------------------- + + ReceivedInvitationAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 3; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ReceivedInvitationAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ReceivedInvitationRemovedNotification : public ::google::protobuf::Message { + public: + ReceivedInvitationRemovedNotification(); + virtual ~ReceivedInvitationRemovedNotification(); + + ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from); + + inline ReceivedInvitationRemovedNotification& operator=(const ReceivedInvitationRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ReceivedInvitationRemovedNotification& default_instance(); + + void Swap(ReceivedInvitationRemovedNotification* other); + + // implements Message ---------------------------------------------- + + ReceivedInvitationRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.InvitationRemovedReason reason = 4; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 4; + inline ::bgs::protocol::InvitationRemovedReason reason() const; + inline void set_reason(::bgs::protocol::InvitationRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 invitation_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ReceivedInvitationRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SharedSettingsChangedNotification : public ::google::protobuf::Message { + public: + SharedSettingsChangedNotification(); + virtual ~SharedSettingsChangedNotification(); + + SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from); + + inline SharedSettingsChangedNotification& operator=(const SharedSettingsChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SharedSettingsChangedNotification& default_instance(); + + void Swap(SharedSettingsChangedNotification* other); + + // implements Message ---------------------------------------------- + + SharedSettingsChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional uint64 agent_id = 3; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 3; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment assignment = 4; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment& assignment() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* mutable_assignment(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::uint64 agent_id_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static SharedSettingsChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionAddedNotification : public ::google::protobuf::Message { + public: + StreamMentionAddedNotification(); + virtual ~StreamMentionAddedNotification(); + + StreamMentionAddedNotification(const StreamMentionAddedNotification& from); + + inline StreamMentionAddedNotification& operator=(const StreamMentionAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionAddedNotification& default_instance(); + + void Swap(StreamMentionAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.StreamMention mention = 3; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::StreamMention& mention() const; + inline ::bgs::protocol::club::v1::client::StreamMention* mutable_mention(); + inline ::bgs::protocol::club::v1::client::StreamMention* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::StreamMention* mention); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_mention(); + inline void clear_has_mention(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::StreamMention* mention_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionRemovedNotification : public ::google::protobuf::Message { + public: + StreamMentionRemovedNotification(); + virtual ~StreamMentionRemovedNotification(); + + StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from); + + inline StreamMentionRemovedNotification& operator=(const StreamMentionRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionRemovedNotification& default_instance(); + + void Swap(StreamMentionRemovedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.TimeSeriesId mention_id = 3; + inline bool has_mention_id() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 3; + inline const ::bgs::protocol::TimeSeriesId& mention_id() const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); + inline ::bgs::protocol::TimeSeriesId* release_mention_id(); + inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); + + // optional uint64 agent_id = 4; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 4; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_mention_id(); + inline void clear_has_mention_id(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::TimeSeriesId* mention_id_; + ::google::protobuf::uint64 agent_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionAdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + StreamMentionAdvanceViewTimeNotification(); + virtual ~StreamMentionAdvanceViewTimeNotification(); + + StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from); + + inline StreamMentionAdvanceViewTimeNotification& operator=(const StreamMentionAdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionAdvanceViewTimeNotification& default_instance(); + + void Swap(StreamMentionAdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionAdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional uint64 view_time = 3; + inline bool has_view_time() const; + inline void clear_view_time(); + static const int kViewTimeFieldNumber = 3; + inline ::google::protobuf::uint64 view_time() const; + inline void set_view_time(::google::protobuf::uint64 value); + + // optional uint64 agent_id = 4; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 4; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_view_time(); + inline void clear_has_view_time(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::uint64 view_time_; + ::google::protobuf::uint64 agent_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionAdvanceViewTimeNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API ClubMembershipListener : public ServiceBase +{ + public: + + explicit ClubMembershipListener(bool use_original_hash); + ClubMembershipListener(ClubMembershipListener const&) = delete; + ClubMembershipListener(ClubMembershipListener&&) = delete; + ClubMembershipListener& operator=(ClubMembershipListener const&) = delete; + ClubMembershipListener& operator=(ClubMembershipListener&&) = delete; + virtual ~ClubMembershipListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnClubAdded(::bgs::protocol::club_membership::v1::client::ClubAddedNotification const* request, bool client = false, bool server = false); + void OnClubRemoved(::bgs::protocol::club_membership::v1::client::ClubRemovedNotification const* request, bool client = false, bool server = false); + void OnReceivedInvitationAdded(::bgs::protocol::club_membership::v1::client::ReceivedInvitationAddedNotification const* request, bool client = false, bool server = false); + void OnReceivedInvitationRemoved(::bgs::protocol::club_membership::v1::client::ReceivedInvitationRemovedNotification const* request, bool client = false, bool server = false); + void OnSharedSettingsChanged(::bgs::protocol::club_membership::v1::client::SharedSettingsChangedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionAdded(::bgs::protocol::club_membership::v1::client::StreamMentionAddedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionRemoved(::bgs::protocol::club_membership::v1::client::StreamMentionRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionAdvanceViewTime(::bgs::protocol::club_membership::v1::client::StreamMentionAdvanceViewTimeNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// ClubAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ClubAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ClubAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipDescription membership = 3; +inline bool ClubAddedNotification::has_membership() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubAddedNotification::set_has_membership() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubAddedNotification::clear_has_membership() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubAddedNotification::clear_membership() { + if (membership_ != NULL) membership_->::bgs::protocol::club_membership::v1::client::ClubMembershipDescription::Clear(); + clear_has_membership(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& ClubAddedNotification::membership() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) + return membership_ != NULL ? *membership_ : *default_instance_->membership_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubAddedNotification::mutable_membership() { + set_has_membership(); + if (membership_ == NULL) membership_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) + return membership_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubAddedNotification::release_membership() { + clear_has_membership(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* temp = membership_; + membership_ = NULL; + return temp; +} +inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership) { + delete membership_; + membership_ = membership; + if (membership) { + set_has_membership(); + } else { + clear_has_membership(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) +} + +// ------------------------------------------------------------------- + +// ClubRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ClubRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ClubRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool ClubRemovedNotification::has_member_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubRemovedNotification::set_has_member_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubRemovedNotification::clear_has_member_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubRemovedNotification::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubRemovedNotification::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) +} + +// optional uint64 club_id = 4; +inline bool ClubRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.club_id) + return club_id_; +} +inline void ClubRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 5; +inline bool ClubRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason ClubRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void ClubRemovedNotification::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// ReceivedInvitationAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ReceivedInvitationAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ReceivedInvitationAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ReceivedInvitationAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ReceivedInvitationAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ReceivedInvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 3; +inline bool ReceivedInvitationAddedNotification::has_invitation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ReceivedInvitationAddedNotification::set_has_invitation() { + _has_bits_[0] |= 0x00000002u; +} +inline void ReceivedInvitationAddedNotification::clear_has_invitation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ReceivedInvitationAddedNotification::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& ReceivedInvitationAddedNotification::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ReceivedInvitationAddedNotification::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ReceivedInvitationAddedNotification::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) +} + +// ------------------------------------------------------------------- + +// ReceivedInvitationRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ReceivedInvitationRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ReceivedInvitationRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ReceivedInvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) +} + +// optional fixed64 invitation_id = 3; +inline bool ReceivedInvitationRemovedNotification::has_invitation_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_invitation_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ReceivedInvitationRemovedNotification::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 ReceivedInvitationRemovedNotification::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.invitation_id) + return invitation_id_; +} +inline void ReceivedInvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.invitation_id) +} + +// optional .bgs.protocol.InvitationRemovedReason reason = 4; +inline bool ReceivedInvitationRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000004u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ReceivedInvitationRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::InvitationRemovedReason ReceivedInvitationRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.reason) + return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); +} +inline void ReceivedInvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { + assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// SharedSettingsChangedNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool SharedSettingsChangedNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void SharedSettingsChangedNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SharedSettingsChangedNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& SharedSettingsChangedNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void SharedSettingsChangedNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) +} + +// optional uint64 agent_id = 3; +inline bool SharedSettingsChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SharedSettingsChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SharedSettingsChangedNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 SharedSettingsChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id) + return agent_id_; +} +inline void SharedSettingsChangedNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment assignment = 4; +inline bool SharedSettingsChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void SharedSettingsChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SharedSettingsChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment& SharedSettingsChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// StreamMentionAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMentionAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMentionAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMentionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMention mention = 3; +inline bool StreamMentionAddedNotification::has_mention() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionAddedNotification::set_has_mention() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionAddedNotification::clear_has_mention() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionAddedNotification::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::StreamMention::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::StreamMention& StreamMentionAddedNotification::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::StreamMention* StreamMentionAddedNotification::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::StreamMention; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::StreamMention* StreamMentionAddedNotification::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::StreamMention* temp = mention_; + mention_ = NULL; + return temp; +} +inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protocol::club::v1::client::StreamMention* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) +} + +// ------------------------------------------------------------------- + +// StreamMentionRemovedNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool StreamMentionRemovedNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionRemovedNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionRemovedNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& StreamMentionRemovedNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void StreamMentionRemovedNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) +} + +// optional .bgs.protocol.TimeSeriesId mention_id = 3; +inline bool StreamMentionRemovedNotification::has_mention_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_mention_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionRemovedNotification::clear_has_mention_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionRemovedNotification::clear_mention_id() { + if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); + clear_has_mention_id(); +} +inline const ::bgs::protocol::TimeSeriesId& StreamMentionRemovedNotification::mention_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) + return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::mutable_mention_id() { + set_has_mention_id(); + if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) + return mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::release_mention_id() { + clear_has_mention_id(); + ::bgs::protocol::TimeSeriesId* temp = mention_id_; + mention_id_ = NULL; + return temp; +} +inline void StreamMentionRemovedNotification::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { + delete mention_id_; + mention_id_ = mention_id; + if (mention_id) { + set_has_mention_id(); + } else { + clear_has_mention_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) +} + +// optional uint64 agent_id = 4; +inline bool StreamMentionRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionRemovedNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 StreamMentionRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id) + return agent_id_; +} +inline void StreamMentionRemovedNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id) +} + +// ------------------------------------------------------------------- + +// StreamMentionAdvanceViewTimeNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& StreamMentionAdvanceViewTimeNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void StreamMentionAdvanceViewTimeNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) +} + +// optional uint64 view_time = 3; +inline bool StreamMentionAdvanceViewTimeNotification::has_view_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_view_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_view_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_view_time() { + view_time_ = GOOGLE_ULONGLONG(0); + clear_has_view_time(); +} +inline ::google::protobuf::uint64 StreamMentionAdvanceViewTimeNotification::view_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.view_time) + return view_time_; +} +inline void StreamMentionAdvanceViewTimeNotification::set_view_time(::google::protobuf::uint64 value) { + set_has_view_time(); + view_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.view_time) +} + +// optional uint64 agent_id = 4; +inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 StreamMentionAdvanceViewTimeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id) + return agent_id_; +} +inline void StreamMentionAdvanceViewTimeNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc new file mode 100644 index 00000000000..99e9cc0f285 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc @@ -0,0 +1,1340 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubSharedSettingsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMentionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMentionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMentionsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMentionsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveStreamMentionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* ClubMembershipService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, options_), + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, state_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_deprecated_), + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetStateRequest_descriptor_ = file->message_type(3); + static const int GetStateRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, options_), + }; + GetStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateRequest_descriptor_, + GetStateRequest::default_instance_, + GetStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateRequest)); + GetStateResponse_descriptor_ = file->message_type(4); + static const int GetStateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, state_), + }; + GetStateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateResponse_descriptor_, + GetStateResponse::default_instance_, + GetStateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateResponse)); + UpdateClubSharedSettingsRequest_descriptor_ = file->message_type(5); + static const int UpdateClubSharedSettingsRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, options_), + }; + UpdateClubSharedSettingsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubSharedSettingsRequest_descriptor_, + UpdateClubSharedSettingsRequest::default_instance_, + UpdateClubSharedSettingsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubSharedSettingsRequest)); + GetStreamMentionsRequest_descriptor_ = file->message_type(6); + static const int GetStreamMentionsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, fetch_messages_), + }; + GetStreamMentionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMentionsRequest_descriptor_, + GetStreamMentionsRequest::default_instance_, + GetStreamMentionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMentionsRequest)); + GetStreamMentionsResponse_descriptor_ = file->message_type(7); + static const int GetStreamMentionsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, mention_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, continuation_), + }; + GetStreamMentionsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMentionsResponse_descriptor_, + GetStreamMentionsResponse::default_instance_, + GetStreamMentionsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMentionsResponse)); + RemoveStreamMentionsRequest_descriptor_ = file->message_type(8); + static const int RemoveStreamMentionsRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, mention_id_), + }; + RemoveStreamMentionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveStreamMentionsRequest_descriptor_, + RemoveStreamMentionsRequest::default_instance_, + RemoveStreamMentionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveStreamMentionsRequest)); + AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(9); + static const int AdvanceStreamMentionViewTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_deprecated_), + }; + AdvanceStreamMentionViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamMentionViewTimeRequest_descriptor_, + AdvanceStreamMentionViewTimeRequest::default_instance_, + AdvanceStreamMentionViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamMentionViewTimeRequest)); + ClubMembershipService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateRequest_descriptor_, &GetStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateResponse_descriptor_, &GetStateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubSharedSettingsRequest_descriptor_, &UpdateClubSharedSettingsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMentionsRequest_descriptor_, &GetStreamMentionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMentionsResponse_descriptor_, &GetStreamMentionsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveStreamMentionsRequest_descriptor_, &RemoveStreamMentionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetStateRequest::default_instance_; + delete GetStateRequest_reflection_; + delete GetStateResponse::default_instance_; + delete GetStateResponse_reflection_; + delete UpdateClubSharedSettingsRequest::default_instance_; + delete UpdateClubSharedSettingsRequest_reflection_; + delete GetStreamMentionsRequest::default_instance_; + delete GetStreamMentionsRequest_reflection_; + delete GetStreamMentionsResponse::default_instance_; + delete GetStreamMentionsResponse_reflection_; + delete RemoveStreamMentionsRequest::default_instance_; + delete RemoveStreamMentionsRequest_reflection_; + delete AdvanceStreamMentionViewTimeRequest::default_instance_; + delete AdvanceStreamMentionViewTimeRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n+api/client/v1/club_membership_service." + "proto\022&bgs.protocol.club_membership.v1.c" + "lient\032\036api/client/v1/club_types.proto\032\037a" + "pi/client/v1/club_stream.proto\"\266\001\n\020Subsc" + "ribeRequest\022I\n\023agent_id_deprecated\030\001 \001(\013" + "2\".bgs.protocol.account.v1.AccountIdB\010\030\001" + "\222\371+\002 \001\022W\n\007options\030\002 \001(\0132F.bgs.protocol.c" + "lub_membership.v1.client.ClubMembershipS" + "ubscribeOptions\"_\n\021SubscribeResponse\022J\n\005" + "state\030\001 \001(\0132;.bgs.protocol.club_membersh" + "ip.v1.client.ClubMembershipState\"_\n\022Unsu" + "bscribeRequest\022I\n\023agent_id_deprecated\030\001 " + "\001(\0132\".bgs.protocol.account.v1.AccountIdB" + "\010\030\001\222\371+\002 \001\"\264\001\n\017GetStateRequest\022I\n\023agent_i" + "d_deprecated\030\001 \001(\0132\".bgs.protocol.accoun" + "t.v1.AccountIdB\010\030\001\222\371+\002 \001\022V\n\007options\030\002 \001(" + "\0132E.bgs.protocol.club_membership.v1.clie" + "nt.ClubMembershipGetStateOptions\"^\n\020GetS" + "tateResponse\022J\n\005state\030\001 \001(\0132;.bgs.protoc" + "ol.club_membership.v1.client.ClubMembers" + "hipState\"\300\001\n\037UpdateClubSharedSettingsReq" + "uest\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022" + "R\n\007options\030\002 \001(\0132A.bgs.protocol.club_mem" + "bership.v1.client.ClubSharedSettingsOpti" + "ons\"\255\001\n\030GetStreamMentionsRequest\022I\n\023agen" + "t_id_deprecated\030\001 \001(\0132\".bgs.protocol.acc" + "ount.v1.AccountIdB\010\030\001\222\371+\002 \001\022.\n\007options\030\002" + " \001(\0132\035.bgs.protocol.GetEventOptions\022\026\n\016f" + "etch_messages\030\003 \001(\010\"n\n\031GetStreamMentions" + "Response\022;\n\007mention\030\001 \003(\0132*.bgs.protocol" + ".club.v1.client.StreamMention\022\024\n\014continu" + "ation\030\002 \001(\004\"\230\001\n\033RemoveStreamMentionsRequ" + "est\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs.p" + "rotocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022." + "\n\nmention_id\030\002 \003(\0132\032.bgs.protocol.TimeSe" + "riesId\"p\n#AdvanceStreamMentionViewTimeRe" + "quest\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs" + ".protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001" + "2\241\010\n\025ClubMembershipService\022\212\001\n\tSubscribe" + "\0228.bgs.protocol.club_membership.v1.clien" + "t.SubscribeRequest\0329.bgs.protocol.club_m" + "embership.v1.client.SubscribeResponse\"\010\202" + "\371+\004\010\001\020\001\022i\n\013Unsubscribe\022:.bgs.protocol.cl" + "ub_membership.v1.client.UnsubscribeReque" + "st\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\002\020\001\022\211\001\n\010G" + "etState\0227.bgs.protocol.club_membership.v" + "1.client.GetStateRequest\0328.bgs.protocol." + "club_membership.v1.client.GetStateRespon" + "se\"\n\202\371+\006\010\003\020\0010\001\022\203\001\n\030UpdateClubSharedSetti" + "ngs\022G.bgs.protocol.club_membership.v1.cl" + "ient.UpdateClubSharedSettingsRequest\032\024.b" + "gs.protocol.NoData\"\010\202\371+\004\010\004\020\001\022\244\001\n\021GetStre" + "amMentions\022@.bgs.protocol.club_membershi" + "p.v1.client.GetStreamMentionsRequest\032A.b" + "gs.protocol.club_membership.v1.client.Ge" + "tStreamMentionsResponse\"\n\202\371+\006\010\005\020\0010\001\022{\n\024R" + "emoveStreamMentions\022C.bgs.protocol.club_" + "membership.v1.client.RemoveStreamMention" + "sRequest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001" + "\022\213\001\n\034AdvanceStreamMentionViewTime\022K.bgs." + "protocol.club_membership.v1.client.Advan" + "ceStreamMentionViewTimeRequest\032\024.bgs.pro" + "tocol.NoData\"\010\202\371+\004\010\007\020\001\032L\202\371+@\n+bnet.proto" + "col.club.v1.ClubMembershipService*\017club_" + "membershipH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 2627); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetStateRequest::default_instance_ = new GetStateRequest(); + GetStateResponse::default_instance_ = new GetStateResponse(); + UpdateClubSharedSettingsRequest::default_instance_ = new UpdateClubSharedSettingsRequest(); + GetStreamMentionsRequest::default_instance_ = new GetStreamMentionsRequest(); + GetStreamMentionsResponse::default_instance_ = new GetStreamMentionsResponse(); + RemoveStreamMentionsRequest::default_instance_ = new RemoveStreamMentionsRequest(); + AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetStateRequest::default_instance_->InitAsDefaultInstance(); + GetStateResponse::default_instance_->InitAsDefaultInstance(); + UpdateClubSharedSettingsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMentionsResponse::default_instance_->InitAsDefaultInstance(); + RemoveStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeRequest::kAgentIdDeprecatedFieldNumber; +const int SubscribeRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions::default_instance()); +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kStateFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipState*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipState::default_instance()); +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeRequest::kAgentIdDeprecatedFieldNumber; +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateRequest::kAgentIdDeprecatedFieldNumber; +const int GetStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetStateRequest::GetStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStateRequest) +} + +void GetStateRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions::default_instance()); +} + +GetStateRequest::GetStateRequest(const GetStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateRequest) +} + +void GetStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateRequest::~GetStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateRequest) + SharedDtor(); +} + +void GetStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void GetStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateRequest_descriptor_; +} + +const GetStateRequest& GetStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStateRequest* GetStateRequest::default_instance_ = NULL; + +GetStateRequest* GetStateRequest::New() const { + return new GetStateRequest; +} + +void GetStateRequest::Swap(GetStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateRequest_descriptor_; + metadata.reflection = GetStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateResponse::kStateFieldNumber; +#endif // !_MSC_VER + +GetStateResponse::GetStateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) +} + +void GetStateResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipState*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipState::default_instance()); +} + +GetStateResponse::GetStateResponse(const GetStateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) +} + +void GetStateResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateResponse::~GetStateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateResponse) + SharedDtor(); +} + +void GetStateResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void GetStateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateResponse_descriptor_; +} + +const GetStateResponse& GetStateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStateResponse* GetStateResponse::default_instance_ = NULL; + +GetStateResponse* GetStateResponse::New() const { + return new GetStateResponse; +} + +void GetStateResponse::Swap(GetStateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateResponse_descriptor_; + metadata.reflection = GetStateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubSharedSettingsRequest::kAgentIdDeprecatedFieldNumber; +const int UpdateClubSharedSettingsRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) +} + +void UpdateClubSharedSettingsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions::default_instance()); +} + +UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) +} + +void UpdateClubSharedSettingsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubSharedSettingsRequest::~UpdateClubSharedSettingsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) + SharedDtor(); +} + +void UpdateClubSharedSettingsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void UpdateClubSharedSettingsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubSharedSettingsRequest_descriptor_; +} + +const UpdateClubSharedSettingsRequest& UpdateClubSharedSettingsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::default_instance_ = NULL; + +UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::New() const { + return new UpdateClubSharedSettingsRequest; +} + +void UpdateClubSharedSettingsRequest::Swap(UpdateClubSharedSettingsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubSharedSettingsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubSharedSettingsRequest_descriptor_; + metadata.reflection = UpdateClubSharedSettingsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; +const int GetStreamMentionsRequest::kOptionsFieldNumber; +const int GetStreamMentionsRequest::kFetchMessagesFieldNumber; +#endif // !_MSC_VER + +GetStreamMentionsRequest::GetStreamMentionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) +} + +void GetStreamMentionsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetStreamMentionsRequest::GetStreamMentionsRequest(const GetStreamMentionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) +} + +void GetStreamMentionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + fetch_messages_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMentionsRequest::~GetStreamMentionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) + SharedDtor(); +} + +void GetStreamMentionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void GetStreamMentionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMentionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMentionsRequest_descriptor_; +} + +const GetStreamMentionsRequest& GetStreamMentionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStreamMentionsRequest* GetStreamMentionsRequest::default_instance_ = NULL; + +GetStreamMentionsRequest* GetStreamMentionsRequest::New() const { + return new GetStreamMentionsRequest; +} + +void GetStreamMentionsRequest::Swap(GetStreamMentionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMentionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMentionsRequest_descriptor_; + metadata.reflection = GetStreamMentionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMentionsResponse::kMentionFieldNumber; +const int GetStreamMentionsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamMentionsResponse::GetStreamMentionsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) +} + +void GetStreamMentionsResponse::InitAsDefaultInstance() { +} + +GetStreamMentionsResponse::GetStreamMentionsResponse(const GetStreamMentionsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) +} + +void GetStreamMentionsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMentionsResponse::~GetStreamMentionsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) + SharedDtor(); +} + +void GetStreamMentionsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamMentionsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMentionsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMentionsResponse_descriptor_; +} + +const GetStreamMentionsResponse& GetStreamMentionsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStreamMentionsResponse* GetStreamMentionsResponse::default_instance_ = NULL; + +GetStreamMentionsResponse* GetStreamMentionsResponse::New() const { + return new GetStreamMentionsResponse; +} + +void GetStreamMentionsResponse::Swap(GetStreamMentionsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMentionsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMentionsResponse_descriptor_; + metadata.reflection = GetStreamMentionsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; +const int RemoveStreamMentionsRequest::kMentionIdFieldNumber; +#endif // !_MSC_VER + +RemoveStreamMentionsRequest::RemoveStreamMentionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) +} + +void RemoveStreamMentionsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +RemoveStreamMentionsRequest::RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) +} + +void RemoveStreamMentionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveStreamMentionsRequest::~RemoveStreamMentionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) + SharedDtor(); +} + +void RemoveStreamMentionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void RemoveStreamMentionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveStreamMentionsRequest_descriptor_; +} + +const RemoveStreamMentionsRequest& RemoveStreamMentionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::default_instance_ = NULL; + +RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::New() const { + return new RemoveStreamMentionsRequest; +} + +void RemoveStreamMentionsRequest::Swap(RemoveStreamMentionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveStreamMentionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveStreamMentionsRequest_descriptor_; + metadata.reflection = RemoveStreamMentionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamMentionViewTimeRequest::kAgentIdDeprecatedFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamMentionViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamMentionViewTimeRequest_descriptor_; +} + +const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { + return new AdvanceStreamMentionViewTimeRequest; +} + +void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +ClubMembershipService::ClubMembershipService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubMembershipService::~ClubMembershipService() { +} + +google::protobuf::ServiceDescriptor const* ClubMembershipService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipService_descriptor_; +} + +void ClubMembershipService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetState(token, methodId, buffer); + break; + case 4: + ParseAndHandleUpdateClubSharedSettings(token, methodId, buffer); + break; + case 5: + ParseAndHandleGetStreamMentions(token, methodId, buffer); + break; + case 6: + ParseAndHandleRemoveStreamMentions(token, methodId, buffer); + break; + case 7: + ParseAndHandleAdvanceStreamMentionViewTime(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 ClubMembershipService::HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.GetState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.UpdateClubSharedSettings", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.GetStreamMentions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.RemoveStreamMentions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void ClubMembershipService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.Subscribe", "bgs.protocol.club_membership.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Subscribe", ::bgs::protocol::club_membership::v1::client::SubscribeResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.Unsubscribe", "bgs.protocol.club_membership.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::GetStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.GetState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.GetState", "bgs.protocol.club_membership.v1.client.GetStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetState", ::bgs::protocol::club_membership::v1::client::GetStateResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::GetStateResponse response; + uint32 status = HandleGetState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.UpdateClubSharedSettings"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.UpdateClubSharedSettings", "bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.UpdateClubSharedSettings", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubSharedSettings(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.GetStreamMentions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.GetStreamMentions", "bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetStreamMentions", ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse response; + uint32 status = HandleGetStreamMentions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.RemoveStreamMentions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.RemoveStreamMentions", "bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.RemoveStreamMentions", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRemoveStreamMentions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.AdvanceStreamMentionViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", "bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.AdvanceStreamMentionViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceStreamMentionViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_service.pb.h b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h new file mode 100644 index 00000000000..211c2c01d30 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h @@ -0,0 +1,1559 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" +#include "api/client/v1/club_stream.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetStateRequest; +class GetStateResponse; +class UpdateClubSharedSettingsRequest; +class GetStreamMentionsRequest; +class GetStreamMentionsResponse; +class RemoveStreamMentionsRequest; +class AdvanceStreamMentionViewTimeRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& state() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* mutable_state(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* release_state(); + inline void set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { + public: + GetStateRequest(); + virtual ~GetStateRequest(); + + GetStateRequest(const GetStateRequest& from); + + inline GetStateRequest& operator=(const GetStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateRequest& default_instance(); + + void Swap(GetStateRequest* other); + + // implements Message ---------------------------------------------- + + GetStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { + public: + GetStateResponse(); + virtual ~GetStateResponse(); + + GetStateResponse(const GetStateResponse& from); + + inline GetStateResponse& operator=(const GetStateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateResponse& default_instance(); + + void Swap(GetStateResponse* other); + + // implements Message ---------------------------------------------- + + GetStateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& state() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* mutable_state(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* release_state(); + inline void set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf::Message { + public: + UpdateClubSharedSettingsRequest(); + virtual ~UpdateClubSharedSettingsRequest(); + + UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from); + + inline UpdateClubSharedSettingsRequest& operator=(const UpdateClubSharedSettingsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubSharedSettingsRequest& default_instance(); + + void Swap(UpdateClubSharedSettingsRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubSharedSettingsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubSharedSettingsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message { + public: + GetStreamMentionsRequest(); + virtual ~GetStreamMentionsRequest(); + + GetStreamMentionsRequest(const GetStreamMentionsRequest& from); + + inline GetStreamMentionsRequest& operator=(const GetStreamMentionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMentionsRequest& default_instance(); + + void Swap(GetStreamMentionsRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamMentionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.GetEventOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // optional bool fetch_messages = 3; + inline bool has_fetch_messages() const; + inline void clear_fetch_messages(); + static const int kFetchMessagesFieldNumber = 3; + inline bool fetch_messages() const; + inline void set_fetch_messages(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + inline void set_has_fetch_messages(); + inline void clear_has_fetch_messages(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::GetEventOptions* options_; + bool fetch_messages_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMentionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Message { + public: + GetStreamMentionsResponse(); + virtual ~GetStreamMentionsResponse(); + + GetStreamMentionsResponse(const GetStreamMentionsResponse& from); + + inline GetStreamMentionsResponse& operator=(const GetStreamMentionsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMentionsResponse& default_instance(); + + void Swap(GetStreamMentionsResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamMentionsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMention mention = 1; + inline int mention_size() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMention& mention(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMention* mutable_mention(int index); + inline ::bgs::protocol::club::v1::client::StreamMention* add_mention(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >& + mention() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* + mutable_mention(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention > mention_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMentionsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Message { + public: + RemoveStreamMentionsRequest(); + virtual ~RemoveStreamMentionsRequest(); + + RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from); + + inline RemoveStreamMentionsRequest& operator=(const RemoveStreamMentionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveStreamMentionsRequest& default_instance(); + + void Swap(RemoveStreamMentionsRequest* other); + + // implements Message ---------------------------------------------- + + RemoveStreamMentionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // repeated .bgs.protocol.TimeSeriesId mention_id = 2; + inline int mention_id_size() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 2; + inline const ::bgs::protocol::TimeSeriesId& mention_id(int index) const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(int index); + inline ::bgs::protocol::TimeSeriesId* add_mention_id(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& + mention_id() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* + mutable_mention_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > mention_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static RemoveStreamMentionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamMentionViewTimeRequest(); + virtual ~AdvanceStreamMentionViewTimeRequest(); + + AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); + + inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamMentionViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamMentionViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamMentionViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamMentionViewTimeRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API ClubMembershipService : public ServiceBase +{ + public: + + explicit ClubMembershipService(bool use_original_hash); + ClubMembershipService(ClubMembershipService const&) = delete; + ClubMembershipService(ClubMembershipService&&) = delete; + ClubMembershipService& operator=(ClubMembershipService const&) = delete; + ClubMembershipService& operator=(ClubMembershipService&&) = delete; + virtual ~ClubMembershipService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* response, std::function& continuation); + virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* response, std::function& continuation); + virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool SubscribeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& SubscribeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions options = 2; +inline bool SubscribeRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions& SubscribeRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* SubscribeRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) +} + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; +inline bool SubscribeResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::ClubMembershipState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& SubscribeResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* SubscribeResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) + return state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* SubscribeResponse::release_state() { + clear_has_state(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; + state_ = NULL; + return temp; +} +inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool UnsubscribeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& UnsubscribeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void UnsubscribeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) +} + +// ------------------------------------------------------------------- + +// GetStateRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool GetStateRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& GetStateRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void GetStateRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions options = 2; +inline bool GetStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions& GetStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* GetStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* GetStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStateRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStateResponse + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; +inline bool GetStateResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::ClubMembershipState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& GetStateResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* GetStateResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateResponse.state) + return state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* GetStateResponse::release_state() { + clear_has_state(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; + state_ = NULL; + return temp; +} +inline void GetStateResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateResponse.state) +} + +// ------------------------------------------------------------------- + +// UpdateClubSharedSettingsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool UpdateClubSharedSettingsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubSharedSettingsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubSharedSettingsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubSharedSettingsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& UpdateClubSharedSettingsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void UpdateClubSharedSettingsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions options = 2; +inline bool UpdateClubSharedSettingsRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubSharedSettingsRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubSharedSettingsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubSharedSettingsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions& UpdateClubSharedSettingsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStreamMentionsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool GetStreamMentionsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMentionsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMentionsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMentionsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& GetStreamMentionsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void GetStreamMentionsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.GetEventOptions options = 2; +inline bool GetStreamMentionsRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMentionsRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMentionsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMentionsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetStreamMentionsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStreamMentionsRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) +} + +// optional bool fetch_messages = 3; +inline bool GetStreamMentionsRequest::has_fetch_messages() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamMentionsRequest::set_has_fetch_messages() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamMentionsRequest::clear_has_fetch_messages() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamMentionsRequest::clear_fetch_messages() { + fetch_messages_ = false; + clear_has_fetch_messages(); +} +inline bool GetStreamMentionsRequest::fetch_messages() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.fetch_messages) + return fetch_messages_; +} +inline void GetStreamMentionsRequest::set_fetch_messages(bool value) { + set_has_fetch_messages(); + fetch_messages_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.fetch_messages) +} + +// ------------------------------------------------------------------- + +// GetStreamMentionsResponse + +// repeated .bgs.protocol.club.v1.client.StreamMention mention = 1; +inline int GetStreamMentionsResponse::mention_size() const { + return mention_.size(); +} +inline void GetStreamMentionsResponse::clear_mention() { + mention_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMention& GetStreamMentionsResponse::mention(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMention* GetStreamMentionsResponse::mutable_mention(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMention* GetStreamMentionsResponse::add_mention() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >& +GetStreamMentionsResponse::mention() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* +GetStreamMentionsResponse::mutable_mention() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return &mention_; +} + +// optional uint64 continuation = 2; +inline bool GetStreamMentionsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMentionsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMentionsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMentionsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamMentionsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.continuation) + return continuation_; +} +inline void GetStreamMentionsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// RemoveStreamMentionsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool RemoveStreamMentionsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveStreamMentionsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveStreamMentionsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveStreamMentionsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& RemoveStreamMentionsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void RemoveStreamMentionsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) +} + +// repeated .bgs.protocol.TimeSeriesId mention_id = 2; +inline int RemoveStreamMentionsRequest::mention_id_size() const { + return mention_id_.size(); +} +inline void RemoveStreamMentionsRequest::clear_mention_id() { + mention_id_.Clear(); +} +inline const ::bgs::protocol::TimeSeriesId& RemoveStreamMentionsRequest::mention_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Get(index); +} +inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::mutable_mention_id(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Mutable(index); +} +inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::add_mention_id() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& +RemoveStreamMentionsRequest::mention_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* +RemoveStreamMentionsRequest::mutable_mention_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return &mention_id_; +} + +// ------------------------------------------------------------------- + +// AdvanceStreamMentionViewTimeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& AdvanceStreamMentionViewTimeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc new file mode 100644 index 00000000000..09177727ce4 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc @@ -0,0 +1,1015 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubMembershipFilter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipFilter_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipSubscribeOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipGetStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipState_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubPosition_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubPosition_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettingsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettingsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettingsAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_types.proto"); + GOOGLE_CHECK(file != NULL); + ClubMembershipFilter_descriptor_ = file->message_type(0); + static const int ClubMembershipFilter_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, type_), + }; + ClubMembershipFilter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipFilter_descriptor_, + ClubMembershipFilter::default_instance_, + ClubMembershipFilter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipFilter)); + ClubMembershipSubscribeOptions_descriptor_ = file->message_type(1); + static const int ClubMembershipSubscribeOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, filter_), + }; + ClubMembershipSubscribeOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipSubscribeOptions_descriptor_, + ClubMembershipSubscribeOptions::default_instance_, + ClubMembershipSubscribeOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipSubscribeOptions)); + ClubMembershipGetStateOptions_descriptor_ = file->message_type(2); + static const int ClubMembershipGetStateOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, filter_), + }; + ClubMembershipGetStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipGetStateOptions_descriptor_, + ClubMembershipGetStateOptions::default_instance_, + ClubMembershipGetStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipGetStateOptions)); + ClubMembershipDescription_descriptor_ = file->message_type(3); + static const int ClubMembershipDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, club_), + }; + ClubMembershipDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipDescription_descriptor_, + ClubMembershipDescription::default_instance_, + ClubMembershipDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipDescription)); + ClubMembershipState_descriptor_ = file->message_type(4); + static const int ClubMembershipState_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, setting_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, mention_view_), + }; + ClubMembershipState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipState_descriptor_, + ClubMembershipState::default_instance_, + ClubMembershipState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipState)); + ClubPosition_descriptor_ = file->message_type(5); + static const int ClubPosition_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, club_id_), + }; + ClubPosition_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubPosition_descriptor_, + ClubPosition::default_instance_, + ClubPosition_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubPosition)); + ClubSharedSettings_descriptor_ = file->message_type(6); + static const int ClubSharedSettings_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, club_position_), + }; + ClubSharedSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettings_descriptor_, + ClubSharedSettings::default_instance_, + ClubSharedSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettings)); + ClubSharedSettingsOptions_descriptor_ = file->message_type(7); + static const int ClubSharedSettingsOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, club_position_), + }; + ClubSharedSettingsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettingsOptions_descriptor_, + ClubSharedSettingsOptions::default_instance_, + ClubSharedSettingsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettingsOptions)); + ClubSharedSettingsAssignment_descriptor_ = file->message_type(8); + static const int ClubSharedSettingsAssignment_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, club_position_), + }; + ClubSharedSettingsAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettingsAssignment_descriptor_, + ClubSharedSettingsAssignment::default_instance_, + ClubSharedSettingsAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettingsAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipFilter_descriptor_, &ClubMembershipFilter::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipSubscribeOptions_descriptor_, &ClubMembershipSubscribeOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipGetStateOptions_descriptor_, &ClubMembershipGetStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipDescription_descriptor_, &ClubMembershipDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipState_descriptor_, &ClubMembershipState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubPosition_descriptor_, &ClubPosition::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettings_descriptor_, &ClubSharedSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettingsOptions_descriptor_, &ClubSharedSettingsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettingsAssignment_descriptor_, &ClubSharedSettingsAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + delete ClubMembershipFilter::default_instance_; + delete ClubMembershipFilter_reflection_; + delete ClubMembershipSubscribeOptions::default_instance_; + delete ClubMembershipSubscribeOptions_reflection_; + delete ClubMembershipGetStateOptions::default_instance_; + delete ClubMembershipGetStateOptions_reflection_; + delete ClubMembershipDescription::default_instance_; + delete ClubMembershipDescription_reflection_; + delete ClubMembershipState::default_instance_; + delete ClubMembershipState_reflection_; + delete ClubPosition::default_instance_; + delete ClubPosition_reflection_; + delete ClubSharedSettings::default_instance_; + delete ClubSharedSettings_reflection_; + delete ClubSharedSettingsOptions::default_instance_; + delete ClubSharedSettingsOptions_reflection_; + delete ClubSharedSettingsAssignment::default_instance_; + delete ClubSharedSettingsAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n)api/client/v1/club_membership_types.pr" + "oto\022&bgs.protocol.club_membership.v1.cli" + "ent\032\035api/common/v1/club_type.proto\032\037api/" + "client/v1/club_member.proto\032#api/client/" + "v1/club_invitation.proto\032\035api/common/v1/" + "club_core.proto\032\026event_view_types.proto\032" + "\017rpc_types.proto\"}\n\024ClubMembershipFilter" + "\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\0222\n\004type\030\002 \001(\0132$.bgs.protocol" + ".club.v1.UniqueClubType\"|\n\036ClubMembershi" + "pSubscribeOptions\022Z\n\006filter\030\001 \003(\0132<.bgs." + "protocol.club_membership.v1.client.ClubM" + "embershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"{\n\035ClubMem" + "bershipGetStateOptions\022Z\n\006filter\030\001 \003(\0132<" + ".bgs.protocol.club_membership.v1.client." + "ClubMembershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"\203\001\n\031C" + "lubMembershipDescription\0221\n\tmember_id\030\001 " + "\001(\0132\036.bgs.protocol.club.v1.MemberId\0223\n\004c" + "lub\030\002 \001(\0132%.bgs.protocol.club.v1.ClubDes" + "cription\"\253\002\n\023ClubMembershipState\022V\n\013desc" + "ription\030\001 \003(\0132A.bgs.protocol.club_member" + "ship.v1.client.ClubMembershipDescription" + "\022\?\n\ninvitation\030\002 \003(\0132+.bgs.protocol.club" + ".v1.client.ClubInvitation\022K\n\007setting\030\003 \001" + "(\0132:.bgs.protocol.club_membership.v1.cli" + "ent.ClubSharedSettings\022.\n\014mention_view\030\004" + " \001(\0132\030.bgs.protocol.ViewMarker\"#\n\014ClubPo" + "sition\022\023\n\007club_id\030\001 \003(\004B\002\020\001\"a\n\022ClubShare" + "dSettings\022K\n\rclub_position\030\001 \001(\01324.bgs.p" + "rotocol.club_membership.v1.client.ClubPo" + "sition\"h\n\031ClubSharedSettingsOptions\022K\n\rc" + "lub_position\030\001 \001(\01324.bgs.protocol.club_m" + "embership.v1.client.ClubPosition\"k\n\034Club" + "SharedSettingsAssignment\022K\n\rclub_positio" + "n\030\001 \001(\01324.bgs.protocol.club_membership.v" + "1.client.ClubPositionB\002H\002", 1425); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_types.proto", &protobuf_RegisterTypes); + ClubMembershipFilter::default_instance_ = new ClubMembershipFilter(); + ClubMembershipSubscribeOptions::default_instance_ = new ClubMembershipSubscribeOptions(); + ClubMembershipGetStateOptions::default_instance_ = new ClubMembershipGetStateOptions(); + ClubMembershipDescription::default_instance_ = new ClubMembershipDescription(); + ClubMembershipState::default_instance_ = new ClubMembershipState(); + ClubPosition::default_instance_ = new ClubPosition(); + ClubSharedSettings::default_instance_ = new ClubSharedSettings(); + ClubSharedSettingsOptions::default_instance_ = new ClubSharedSettingsOptions(); + ClubSharedSettingsAssignment::default_instance_ = new ClubSharedSettingsAssignment(); + ClubMembershipFilter::default_instance_->InitAsDefaultInstance(); + ClubMembershipSubscribeOptions::default_instance_->InitAsDefaultInstance(); + ClubMembershipGetStateOptions::default_instance_->InitAsDefaultInstance(); + ClubMembershipDescription::default_instance_->InitAsDefaultInstance(); + ClubMembershipState::default_instance_->InitAsDefaultInstance(); + ClubPosition::default_instance_->InitAsDefaultInstance(); + ClubSharedSettings::default_instance_->InitAsDefaultInstance(); + ClubSharedSettingsOptions::default_instance_->InitAsDefaultInstance(); + ClubSharedSettingsAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipFilter::kMemberIdFieldNumber; +const int ClubMembershipFilter::kTypeFieldNumber; +#endif // !_MSC_VER + +ClubMembershipFilter::ClubMembershipFilter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) +} + +void ClubMembershipFilter::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +ClubMembershipFilter::ClubMembershipFilter(const ClubMembershipFilter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) +} + +void ClubMembershipFilter::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipFilter::~ClubMembershipFilter() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) + SharedDtor(); +} + +void ClubMembershipFilter::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete type_; + } +} + +void ClubMembershipFilter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipFilter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipFilter_descriptor_; +} + +const ClubMembershipFilter& ClubMembershipFilter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipFilter* ClubMembershipFilter::default_instance_ = NULL; + +ClubMembershipFilter* ClubMembershipFilter::New() const { + return new ClubMembershipFilter; +} + +void ClubMembershipFilter::Swap(ClubMembershipFilter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipFilter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipFilter_descriptor_; + metadata.reflection = ClubMembershipFilter_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipSubscribeOptions::kFilterFieldNumber; +#endif // !_MSC_VER + +ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) +} + +void ClubMembershipSubscribeOptions::InitAsDefaultInstance() { +} + +ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) +} + +void ClubMembershipSubscribeOptions::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipSubscribeOptions::~ClubMembershipSubscribeOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) + SharedDtor(); +} + +void ClubMembershipSubscribeOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubMembershipSubscribeOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipSubscribeOptions_descriptor_; +} + +const ClubMembershipSubscribeOptions& ClubMembershipSubscribeOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::default_instance_ = NULL; + +ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::New() const { + return new ClubMembershipSubscribeOptions; +} + +void ClubMembershipSubscribeOptions::Swap(ClubMembershipSubscribeOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipSubscribeOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipSubscribeOptions_descriptor_; + metadata.reflection = ClubMembershipSubscribeOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipGetStateOptions::kFilterFieldNumber; +#endif // !_MSC_VER + +ClubMembershipGetStateOptions::ClubMembershipGetStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) +} + +void ClubMembershipGetStateOptions::InitAsDefaultInstance() { +} + +ClubMembershipGetStateOptions::ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) +} + +void ClubMembershipGetStateOptions::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipGetStateOptions::~ClubMembershipGetStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) + SharedDtor(); +} + +void ClubMembershipGetStateOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubMembershipGetStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipGetStateOptions_descriptor_; +} + +const ClubMembershipGetStateOptions& ClubMembershipGetStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::default_instance_ = NULL; + +ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::New() const { + return new ClubMembershipGetStateOptions; +} + +void ClubMembershipGetStateOptions::Swap(ClubMembershipGetStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipGetStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipGetStateOptions_descriptor_; + metadata.reflection = ClubMembershipGetStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipDescription::kMemberIdFieldNumber; +const int ClubMembershipDescription::kClubFieldNumber; +#endif // !_MSC_VER + +ClubMembershipDescription::ClubMembershipDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) +} + +void ClubMembershipDescription::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); +} + +ClubMembershipDescription::ClubMembershipDescription(const ClubMembershipDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) +} + +void ClubMembershipDescription::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + club_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipDescription::~ClubMembershipDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) + SharedDtor(); +} + +void ClubMembershipDescription::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete club_; + } +} + +void ClubMembershipDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipDescription_descriptor_; +} + +const ClubMembershipDescription& ClubMembershipDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipDescription* ClubMembershipDescription::default_instance_ = NULL; + +ClubMembershipDescription* ClubMembershipDescription::New() const { + return new ClubMembershipDescription; +} + +void ClubMembershipDescription::Swap(ClubMembershipDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipDescription_descriptor_; + metadata.reflection = ClubMembershipDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipState::kDescriptionFieldNumber; +const int ClubMembershipState::kInvitationFieldNumber; +const int ClubMembershipState::kSettingFieldNumber; +const int ClubMembershipState::kMentionViewFieldNumber; +#endif // !_MSC_VER + +ClubMembershipState::ClubMembershipState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) +} + +void ClubMembershipState::InitAsDefaultInstance() { + setting_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettings*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettings::default_instance()); + mention_view_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +ClubMembershipState::ClubMembershipState(const ClubMembershipState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) +} + +void ClubMembershipState::SharedCtor() { + _cached_size_ = 0; + setting_ = NULL; + mention_view_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipState::~ClubMembershipState() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) + SharedDtor(); +} + +void ClubMembershipState::SharedDtor() { + if (this != default_instance_) { + delete setting_; + delete mention_view_; + } +} + +void ClubMembershipState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipState_descriptor_; +} + +const ClubMembershipState& ClubMembershipState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipState* ClubMembershipState::default_instance_ = NULL; + +ClubMembershipState* ClubMembershipState::New() const { + return new ClubMembershipState; +} + +void ClubMembershipState::Swap(ClubMembershipState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipState_descriptor_; + metadata.reflection = ClubMembershipState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubPosition::kClubIdFieldNumber; +#endif // !_MSC_VER + +ClubPosition::ClubPosition() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubPosition) +} + +void ClubPosition::InitAsDefaultInstance() { +} + +ClubPosition::ClubPosition(const ClubPosition& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubPosition) +} + +void ClubPosition::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubPosition::~ClubPosition() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubPosition) + SharedDtor(); +} + +void ClubPosition::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubPosition::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubPosition::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubPosition_descriptor_; +} + +const ClubPosition& ClubPosition::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubPosition* ClubPosition::default_instance_ = NULL; + +ClubPosition* ClubPosition::New() const { + return new ClubPosition; +} + +void ClubPosition::Swap(ClubPosition* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubPosition::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubPosition_descriptor_; + metadata.reflection = ClubPosition_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettings::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettings::ClubSharedSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) +} + +void ClubSharedSettings::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettings::ClubSharedSettings(const ClubSharedSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) +} + +void ClubSharedSettings::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettings::~ClubSharedSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) + SharedDtor(); +} + +void ClubSharedSettings::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettings_descriptor_; +} + +const ClubSharedSettings& ClubSharedSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettings* ClubSharedSettings::default_instance_ = NULL; + +ClubSharedSettings* ClubSharedSettings::New() const { + return new ClubSharedSettings; +} + +void ClubSharedSettings::Swap(ClubSharedSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettings_descriptor_; + metadata.reflection = ClubSharedSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettingsOptions::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettingsOptions::ClubSharedSettingsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) +} + +void ClubSharedSettingsOptions::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettingsOptions::ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) +} + +void ClubSharedSettingsOptions::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettingsOptions::~ClubSharedSettingsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) + SharedDtor(); +} + +void ClubSharedSettingsOptions::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettingsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettingsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettingsOptions_descriptor_; +} + +const ClubSharedSettingsOptions& ClubSharedSettingsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettingsOptions* ClubSharedSettingsOptions::default_instance_ = NULL; + +ClubSharedSettingsOptions* ClubSharedSettingsOptions::New() const { + return new ClubSharedSettingsOptions; +} + +void ClubSharedSettingsOptions::Swap(ClubSharedSettingsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettingsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettingsOptions_descriptor_; + metadata.reflection = ClubSharedSettingsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettingsAssignment::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettingsAssignment::ClubSharedSettingsAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) +} + +void ClubSharedSettingsAssignment::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettingsAssignment::ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) +} + +void ClubSharedSettingsAssignment::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettingsAssignment::~ClubSharedSettingsAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) + SharedDtor(); +} + +void ClubSharedSettingsAssignment::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettingsAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettingsAssignment_descriptor_; +} + +const ClubSharedSettingsAssignment& ClubSharedSettingsAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::default_instance_ = NULL; + +ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::New() const { + return new ClubSharedSettingsAssignment; +} + +void ClubSharedSettingsAssignment::Swap(ClubSharedSettingsAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettingsAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettingsAssignment_descriptor_; + metadata.reflection = ClubSharedSettingsAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_types.pb.h b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h new file mode 100644 index 00000000000..1f7dbfe50ce --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h @@ -0,0 +1,1310 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_type.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/client/v1/club_invitation.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "event_view_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + +class ClubMembershipFilter; +class ClubMembershipSubscribeOptions; +class ClubMembershipGetStateOptions; +class ClubMembershipDescription; +class ClubMembershipState; +class ClubPosition; +class ClubSharedSettings; +class ClubSharedSettingsOptions; +class ClubSharedSettingsAssignment; + +// =================================================================== + +class TC_PROTO_API ClubMembershipFilter : public ::google::protobuf::Message { + public: + ClubMembershipFilter(); + virtual ~ClubMembershipFilter(); + + ClubMembershipFilter(const ClubMembershipFilter& from); + + inline ClubMembershipFilter& operator=(const ClubMembershipFilter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipFilter& default_instance(); + + void Swap(ClubMembershipFilter* other); + + // implements Message ---------------------------------------------- + + ClubMembershipFilter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipFilter* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipSubscribeOptions : public ::google::protobuf::Message { + public: + ClubMembershipSubscribeOptions(); + virtual ~ClubMembershipSubscribeOptions(); + + ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from); + + inline ClubMembershipSubscribeOptions& operator=(const ClubMembershipSubscribeOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipSubscribeOptions& default_instance(); + + void Swap(ClubMembershipSubscribeOptions* other); + + // implements Message ---------------------------------------------- + + ClubMembershipSubscribeOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; + inline int filter_size() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& filter(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* mutable_filter(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* add_filter(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& + filter() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* + mutable_filter(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter > filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipSubscribeOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipGetStateOptions : public ::google::protobuf::Message { + public: + ClubMembershipGetStateOptions(); + virtual ~ClubMembershipGetStateOptions(); + + ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from); + + inline ClubMembershipGetStateOptions& operator=(const ClubMembershipGetStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipGetStateOptions& default_instance(); + + void Swap(ClubMembershipGetStateOptions* other); + + // implements Message ---------------------------------------------- + + ClubMembershipGetStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; + inline int filter_size() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& filter(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* mutable_filter(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* add_filter(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& + filter() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* + mutable_filter(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter > filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipGetStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipDescription : public ::google::protobuf::Message { + public: + ClubMembershipDescription(); + virtual ~ClubMembershipDescription(); + + ClubMembershipDescription(const ClubMembershipDescription& from); + + inline ClubMembershipDescription& operator=(const ClubMembershipDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipDescription& default_instance(); + + void Swap(ClubMembershipDescription* other); + + // implements Message ---------------------------------------------- + + ClubMembershipDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.ClubDescription club = 2; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 2; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_club(); + inline void clear_has_club(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::ClubDescription* club_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { + public: + ClubMembershipState(); + virtual ~ClubMembershipState(); + + ClubMembershipState(const ClubMembershipState& from); + + inline ClubMembershipState& operator=(const ClubMembershipState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipState& default_instance(); + + void Swap(ClubMembershipState* other); + + // implements Message ---------------------------------------------- + + ClubMembershipState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipDescription description = 1; + inline int description_size() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& description(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* mutable_description(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* add_description(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >& + description() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* + mutable_description(); + + // repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 2; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation(int index) const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(int index); + inline ::bgs::protocol::club::v1::client::ClubInvitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* + mutable_invitation(); + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettings setting = 3; + inline bool has_setting() const; + inline void clear_setting(); + static const int kSettingFieldNumber = 3; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettings& setting() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* mutable_setting(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* release_setting(); + inline void set_allocated_setting(::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting); + + // optional .bgs.protocol.ViewMarker mention_view = 4; + inline bool has_mention_view() const; + inline void clear_mention_view(); + static const int kMentionViewFieldNumber = 4; + inline const ::bgs::protocol::ViewMarker& mention_view() const; + inline ::bgs::protocol::ViewMarker* mutable_mention_view(); + inline ::bgs::protocol::ViewMarker* release_mention_view(); + inline void set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipState) + private: + inline void set_has_setting(); + inline void clear_has_setting(); + inline void set_has_mention_view(); + inline void clear_has_mention_view(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription > description_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation > invitation_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting_; + ::bgs::protocol::ViewMarker* mention_view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubPosition : public ::google::protobuf::Message { + public: + ClubPosition(); + virtual ~ClubPosition(); + + ClubPosition(const ClubPosition& from); + + inline ClubPosition& operator=(const ClubPosition& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubPosition& default_instance(); + + void Swap(ClubPosition* other); + + // implements Message ---------------------------------------------- + + ClubPosition* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint64 club_id = 1 [packed = true]; + inline int club_id_size() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id(int index) const; + inline void set_club_id(int index, ::google::protobuf::uint64 value); + inline void add_club_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + club_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_club_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubPosition) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubPosition* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettings : public ::google::protobuf::Message { + public: + ClubSharedSettings(); + virtual ~ClubSharedSettings(); + + ClubSharedSettings(const ClubSharedSettings& from); + + inline ClubSharedSettings& operator=(const ClubSharedSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettings& default_instance(); + + void Swap(ClubSharedSettings* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettings) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettingsOptions : public ::google::protobuf::Message { + public: + ClubSharedSettingsOptions(); + virtual ~ClubSharedSettingsOptions(); + + ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from); + + inline ClubSharedSettingsOptions& operator=(const ClubSharedSettingsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettingsOptions& default_instance(); + + void Swap(ClubSharedSettingsOptions* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettingsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettingsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettingsAssignment : public ::google::protobuf::Message { + public: + ClubSharedSettingsAssignment(); + virtual ~ClubSharedSettingsAssignment(); + + ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from); + + inline ClubSharedSettingsAssignment& operator=(const ClubSharedSettingsAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettingsAssignment& default_instance(); + + void Swap(ClubSharedSettingsAssignment* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettingsAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettingsAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubMembershipFilter + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool ClubMembershipFilter::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMembershipFilter::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMembershipFilter::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMembershipFilter::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipFilter::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubMembershipFilter::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool ClubMembershipFilter::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMembershipFilter::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMembershipFilter::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMembershipFilter::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubMembershipFilter::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubMembershipFilter::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) +} + +// ------------------------------------------------------------------- + +// ClubMembershipSubscribeOptions + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; +inline int ClubMembershipSubscribeOptions::filter_size() const { + return filter_.size(); +} +inline void ClubMembershipSubscribeOptions::clear_filter() { + filter_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& ClubMembershipSubscribeOptions::filter(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipSubscribeOptions::mutable_filter(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipSubscribeOptions::add_filter() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& +ClubMembershipSubscribeOptions::filter() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* +ClubMembershipSubscribeOptions::mutable_filter() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return &filter_; +} + +// ------------------------------------------------------------------- + +// ClubMembershipGetStateOptions + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; +inline int ClubMembershipGetStateOptions::filter_size() const { + return filter_.size(); +} +inline void ClubMembershipGetStateOptions::clear_filter() { + filter_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& ClubMembershipGetStateOptions::filter(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipGetStateOptions::mutable_filter(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipGetStateOptions::add_filter() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& +ClubMembershipGetStateOptions::filter() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* +ClubMembershipGetStateOptions::mutable_filter() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return &filter_; +} + +// ------------------------------------------------------------------- + +// ClubMembershipDescription + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool ClubMembershipDescription::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMembershipDescription::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMembershipDescription::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMembershipDescription::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipDescription::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubMembershipDescription::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 2; +inline bool ClubMembershipDescription::has_club() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMembershipDescription::set_has_club() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMembershipDescription::clear_has_club() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMembershipDescription::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubMembershipDescription::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubMembershipDescription::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) +} + +// ------------------------------------------------------------------- + +// ClubMembershipState + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipDescription description = 1; +inline int ClubMembershipState::description_size() const { + return description_.size(); +} +inline void ClubMembershipState::clear_description() { + description_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& ClubMembershipState::description(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubMembershipState::mutable_description(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubMembershipState::add_description() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >& +ClubMembershipState::description() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* +ClubMembershipState::mutable_description() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return &description_; +} + +// repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 2; +inline int ClubMembershipState::invitation_size() const { + return invitation_.size(); +} +inline void ClubMembershipState::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& ClubMembershipState::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ClubMembershipState::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ClubMembershipState::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& +ClubMembershipState::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* +ClubMembershipState::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return &invitation_; +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettings setting = 3; +inline bool ClubMembershipState::has_setting() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubMembershipState::set_has_setting() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubMembershipState::clear_has_setting() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubMembershipState::clear_setting() { + if (setting_ != NULL) setting_->::bgs::protocol::club_membership::v1::client::ClubSharedSettings::Clear(); + clear_has_setting(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettings& ClubMembershipState::setting() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) + return setting_ != NULL ? *setting_ : *default_instance_->setting_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* ClubMembershipState::mutable_setting() { + set_has_setting(); + if (setting_ == NULL) setting_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) + return setting_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* ClubMembershipState::release_setting() { + clear_has_setting(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* temp = setting_; + setting_ = NULL; + return temp; +} +inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting) { + delete setting_; + setting_ = setting; + if (setting) { + set_has_setting(); + } else { + clear_has_setting(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) +} + +// optional .bgs.protocol.ViewMarker mention_view = 4; +inline bool ClubMembershipState::has_mention_view() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubMembershipState::set_has_mention_view() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubMembershipState::clear_has_mention_view() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubMembershipState::clear_mention_view() { + if (mention_view_ != NULL) mention_view_->::bgs::protocol::ViewMarker::Clear(); + clear_has_mention_view(); +} +inline const ::bgs::protocol::ViewMarker& ClubMembershipState::mention_view() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) + return mention_view_ != NULL ? *mention_view_ : *default_instance_->mention_view_; +} +inline ::bgs::protocol::ViewMarker* ClubMembershipState::mutable_mention_view() { + set_has_mention_view(); + if (mention_view_ == NULL) mention_view_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) + return mention_view_; +} +inline ::bgs::protocol::ViewMarker* ClubMembershipState::release_mention_view() { + clear_has_mention_view(); + ::bgs::protocol::ViewMarker* temp = mention_view_; + mention_view_ = NULL; + return temp; +} +inline void ClubMembershipState::set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view) { + delete mention_view_; + mention_view_ = mention_view; + if (mention_view) { + set_has_mention_view(); + } else { + clear_has_mention_view(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) +} + +// ------------------------------------------------------------------- + +// ClubPosition + +// repeated uint64 club_id = 1 [packed = true]; +inline int ClubPosition::club_id_size() const { + return club_id_.size(); +} +inline void ClubPosition::clear_club_id() { + club_id_.Clear(); +} +inline ::google::protobuf::uint64 ClubPosition::club_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return club_id_.Get(index); +} +inline void ClubPosition::set_club_id(int index, ::google::protobuf::uint64 value) { + club_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) +} +inline void ClubPosition::add_club_id(::google::protobuf::uint64 value) { + club_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +ClubPosition::club_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return club_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +ClubPosition::mutable_club_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return &club_id_; +} + +// ------------------------------------------------------------------- + +// ClubSharedSettings + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettings::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettings::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettings::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettings::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettings::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettings::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettings::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettings::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) +} + +// ------------------------------------------------------------------- + +// ClubSharedSettingsOptions + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettingsOptions::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettingsOptions::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettingsOptions::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettingsOptions::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettingsOptions::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsOptions::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsOptions::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettingsOptions::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) +} + +// ------------------------------------------------------------------- + +// ClubSharedSettingsAssignment + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettingsAssignment::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettingsAssignment::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettingsAssignment::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettingsAssignment::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettingsAssignment::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsAssignment::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsAssignment::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettingsAssignment::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc new file mode 100644 index 00000000000..d60390dc4cb --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc @@ -0,0 +1,518 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_name_generator.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_name_generator.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* NameGeneratorConfig_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorConfig_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGeneratorScorecard_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorScorecard_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGenerator_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGenerator_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGeneratorReplacement_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorReplacement_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_name_generator.proto"); + GOOGLE_CHECK(file != NULL); + NameGeneratorConfig_descriptor_ = file->message_type(0); + static const int NameGeneratorConfig_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, name_generators_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, club_type_scorecard_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, locale_scorecard_), + }; + NameGeneratorConfig_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorConfig_descriptor_, + NameGeneratorConfig::default_instance_, + NameGeneratorConfig_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorConfig)); + NameGeneratorScorecard_descriptor_ = file->message_type(1); + static const int NameGeneratorScorecard_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, is_required_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_match_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_match_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_fallback_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_fallback_), + }; + NameGeneratorScorecard_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorScorecard_descriptor_, + NameGeneratorScorecard::default_instance_, + NameGeneratorScorecard_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorScorecard)); + NameGenerator_descriptor_ = file->message_type(2); + static const int NameGenerator_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, names_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, replacements_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, club_types_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, locales_), + }; + NameGenerator_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGenerator_descriptor_, + NameGenerator::default_instance_, + NameGenerator_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGenerator)); + NameGeneratorReplacement_descriptor_ = file->message_type(3); + static const int NameGeneratorReplacement_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, options_), + }; + NameGeneratorReplacement_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorReplacement_descriptor_, + NameGeneratorReplacement::default_instance_, + NameGeneratorReplacement_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorReplacement)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorConfig_descriptor_, &NameGeneratorConfig::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorScorecard_descriptor_, &NameGeneratorScorecard::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGenerator_descriptor_, &NameGenerator::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorReplacement_descriptor_, &NameGeneratorReplacement::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + delete NameGeneratorConfig::default_instance_; + delete NameGeneratorConfig_reflection_; + delete NameGeneratorScorecard::default_instance_; + delete NameGeneratorScorecard_reflection_; + delete NameGenerator::default_instance_; + delete NameGenerator_reflection_; + delete NameGeneratorReplacement::default_instance_; + delete NameGeneratorReplacement_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/client/v1/club_name_generator.prot" + "o\022\033bgs.protocol.club.v1.client\032\035api/comm" + "on/v1/club_type.proto\"\373\001\n\023NameGeneratorC" + "onfig\022C\n\017name_generators\030\001 \003(\0132*.bgs.pro" + "tocol.club.v1.client.NameGenerator\022P\n\023cl" + "ub_type_scorecard\030\002 \001(\01323.bgs.protocol.c" + "lub.v1.client.NameGeneratorScorecard\022M\n\020" + "locale_scorecard\030\003 \001(\01323.bgs.protocol.cl" + "ub.v1.client.NameGeneratorScorecard\"\211\001\n\026" + "NameGeneratorScorecard\022\023\n\013is_required\030\001 " + "\001(\010\022\022\n\nfull_match\030\002 \001(\r\022\025\n\rpartial_match" + "\030\003 \001(\r\022\030\n\020partial_fallback\030\004 \001(\r\022\025\n\rfull" + "_fallback\030\005 \001(\r\"\266\001\n\rNameGenerator\022\r\n\005nam" + "es\030\001 \003(\t\022K\n\014replacements\030\002 \003(\01325.bgs.pro" + "tocol.club.v1.client.NameGeneratorReplac" + "ement\0228\n\nclub_types\030\003 \003(\0132$.bgs.protocol" + ".club.v1.UniqueClubType\022\017\n\007locales\030\004 \003(\t" + "\"7\n\030NameGeneratorReplacement\022\n\n\002id\030\001 \001(\t" + "\022\017\n\007options\030\002 \003(\tB\002H\002", 741); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_name_generator.proto", &protobuf_RegisterTypes); + NameGeneratorConfig::default_instance_ = new NameGeneratorConfig(); + NameGeneratorScorecard::default_instance_ = new NameGeneratorScorecard(); + NameGenerator::default_instance_ = new NameGenerator(); + NameGeneratorReplacement::default_instance_ = new NameGeneratorReplacement(); + NameGeneratorConfig::default_instance_->InitAsDefaultInstance(); + NameGeneratorScorecard::default_instance_->InitAsDefaultInstance(); + NameGenerator::default_instance_->InitAsDefaultInstance(); + NameGeneratorReplacement::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorConfig::kNameGeneratorsFieldNumber; +const int NameGeneratorConfig::kClubTypeScorecardFieldNumber; +const int NameGeneratorConfig::kLocaleScorecardFieldNumber; +#endif // !_MSC_VER + +NameGeneratorConfig::NameGeneratorConfig() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorConfig) +} + +void NameGeneratorConfig::InitAsDefaultInstance() { + club_type_scorecard_ = const_cast< ::bgs::protocol::club::v1::client::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::client::NameGeneratorScorecard::default_instance()); + locale_scorecard_ = const_cast< ::bgs::protocol::club::v1::client::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::client::NameGeneratorScorecard::default_instance()); +} + +NameGeneratorConfig::NameGeneratorConfig(const NameGeneratorConfig& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorConfig) +} + +void NameGeneratorConfig::SharedCtor() { + _cached_size_ = 0; + club_type_scorecard_ = NULL; + locale_scorecard_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorConfig::~NameGeneratorConfig() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorConfig) + SharedDtor(); +} + +void NameGeneratorConfig::SharedDtor() { + if (this != default_instance_) { + delete club_type_scorecard_; + delete locale_scorecard_; + } +} + +void NameGeneratorConfig::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorConfig::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorConfig_descriptor_; +} + +const NameGeneratorConfig& NameGeneratorConfig::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorConfig* NameGeneratorConfig::default_instance_ = NULL; + +NameGeneratorConfig* NameGeneratorConfig::New() const { + return new NameGeneratorConfig; +} + +void NameGeneratorConfig::Swap(NameGeneratorConfig* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorConfig::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorConfig_descriptor_; + metadata.reflection = NameGeneratorConfig_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorScorecard::kIsRequiredFieldNumber; +const int NameGeneratorScorecard::kFullMatchFieldNumber; +const int NameGeneratorScorecard::kPartialMatchFieldNumber; +const int NameGeneratorScorecard::kPartialFallbackFieldNumber; +const int NameGeneratorScorecard::kFullFallbackFieldNumber; +#endif // !_MSC_VER + +NameGeneratorScorecard::NameGeneratorScorecard() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) +} + +void NameGeneratorScorecard::InitAsDefaultInstance() { +} + +NameGeneratorScorecard::NameGeneratorScorecard(const NameGeneratorScorecard& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) +} + +void NameGeneratorScorecard::SharedCtor() { + _cached_size_ = 0; + is_required_ = false; + full_match_ = 0u; + partial_match_ = 0u; + partial_fallback_ = 0u; + full_fallback_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorScorecard::~NameGeneratorScorecard() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) + SharedDtor(); +} + +void NameGeneratorScorecard::SharedDtor() { + if (this != default_instance_) { + } +} + +void NameGeneratorScorecard::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorScorecard::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorScorecard_descriptor_; +} + +const NameGeneratorScorecard& NameGeneratorScorecard::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorScorecard* NameGeneratorScorecard::default_instance_ = NULL; + +NameGeneratorScorecard* NameGeneratorScorecard::New() const { + return new NameGeneratorScorecard; +} + +void NameGeneratorScorecard::Swap(NameGeneratorScorecard* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorScorecard::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorScorecard_descriptor_; + metadata.reflection = NameGeneratorScorecard_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGenerator::kNamesFieldNumber; +const int NameGenerator::kReplacementsFieldNumber; +const int NameGenerator::kClubTypesFieldNumber; +const int NameGenerator::kLocalesFieldNumber; +#endif // !_MSC_VER + +NameGenerator::NameGenerator() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGenerator) +} + +void NameGenerator::InitAsDefaultInstance() { +} + +NameGenerator::NameGenerator(const NameGenerator& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGenerator) +} + +void NameGenerator::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGenerator::~NameGenerator() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGenerator) + SharedDtor(); +} + +void NameGenerator::SharedDtor() { + if (this != default_instance_) { + } +} + +void NameGenerator::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGenerator::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGenerator_descriptor_; +} + +const NameGenerator& NameGenerator::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGenerator* NameGenerator::default_instance_ = NULL; + +NameGenerator* NameGenerator::New() const { + return new NameGenerator; +} + +void NameGenerator::Swap(NameGenerator* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGenerator::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGenerator_descriptor_; + metadata.reflection = NameGenerator_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorReplacement::kIdFieldNumber; +const int NameGeneratorReplacement::kOptionsFieldNumber; +#endif // !_MSC_VER + +NameGeneratorReplacement::NameGeneratorReplacement() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) +} + +void NameGeneratorReplacement::InitAsDefaultInstance() { +} + +NameGeneratorReplacement::NameGeneratorReplacement(const NameGeneratorReplacement& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) +} + +void NameGeneratorReplacement::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorReplacement::~NameGeneratorReplacement() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) + SharedDtor(); +} + +void NameGeneratorReplacement::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + } +} + +void NameGeneratorReplacement::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorReplacement::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorReplacement_descriptor_; +} + +const NameGeneratorReplacement& NameGeneratorReplacement::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorReplacement* NameGeneratorReplacement::default_instance_ = NULL; + +NameGeneratorReplacement* NameGeneratorReplacement::New() const { + return new NameGeneratorReplacement; +} + +void NameGeneratorReplacement::Swap(NameGeneratorReplacement* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorReplacement::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorReplacement_descriptor_; + metadata.reflection = NameGeneratorReplacement_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_name_generator.pb.h b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h new file mode 100644 index 00000000000..9c68e7fee1e --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h @@ -0,0 +1,1017 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_name_generator.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_type.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + +class NameGeneratorConfig; +class NameGeneratorScorecard; +class NameGenerator; +class NameGeneratorReplacement; + +// =================================================================== + +class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message { + public: + NameGeneratorConfig(); + virtual ~NameGeneratorConfig(); + + NameGeneratorConfig(const NameGeneratorConfig& from); + + inline NameGeneratorConfig& operator=(const NameGeneratorConfig& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorConfig& default_instance(); + + void Swap(NameGeneratorConfig* other); + + // implements Message ---------------------------------------------- + + NameGeneratorConfig* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.NameGenerator name_generators = 1; + inline int name_generators_size() const; + inline void clear_name_generators(); + static const int kNameGeneratorsFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::NameGenerator& name_generators(int index) const; + inline ::bgs::protocol::club::v1::client::NameGenerator* mutable_name_generators(int index); + inline ::bgs::protocol::club::v1::client::NameGenerator* add_name_generators(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >& + name_generators() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* + mutable_name_generators(); + + // optional .bgs.protocol.club.v1.client.NameGeneratorScorecard club_type_scorecard = 2; + inline bool has_club_type_scorecard() const; + inline void clear_club_type_scorecard(); + static const int kClubTypeScorecardFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& club_type_scorecard() const; + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* mutable_club_type_scorecard(); + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* release_club_type_scorecard(); + inline void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard); + + // optional .bgs.protocol.club.v1.client.NameGeneratorScorecard locale_scorecard = 3; + inline bool has_locale_scorecard() const; + inline void clear_locale_scorecard(); + static const int kLocaleScorecardFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& locale_scorecard() const; + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* mutable_locale_scorecard(); + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* release_locale_scorecard(); + inline void set_allocated_locale_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorConfig) + private: + inline void set_has_club_type_scorecard(); + inline void clear_has_club_type_scorecard(); + inline void set_has_locale_scorecard(); + inline void clear_has_locale_scorecard(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator > name_generators_; + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard_; + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorConfig* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message { + public: + NameGeneratorScorecard(); + virtual ~NameGeneratorScorecard(); + + NameGeneratorScorecard(const NameGeneratorScorecard& from); + + inline NameGeneratorScorecard& operator=(const NameGeneratorScorecard& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorScorecard& default_instance(); + + void Swap(NameGeneratorScorecard* other); + + // implements Message ---------------------------------------------- + + NameGeneratorScorecard* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool is_required = 1; + inline bool has_is_required() const; + inline void clear_is_required(); + static const int kIsRequiredFieldNumber = 1; + inline bool is_required() const; + inline void set_is_required(bool value); + + // optional uint32 full_match = 2; + inline bool has_full_match() const; + inline void clear_full_match(); + static const int kFullMatchFieldNumber = 2; + inline ::google::protobuf::uint32 full_match() const; + inline void set_full_match(::google::protobuf::uint32 value); + + // optional uint32 partial_match = 3; + inline bool has_partial_match() const; + inline void clear_partial_match(); + static const int kPartialMatchFieldNumber = 3; + inline ::google::protobuf::uint32 partial_match() const; + inline void set_partial_match(::google::protobuf::uint32 value); + + // optional uint32 partial_fallback = 4; + inline bool has_partial_fallback() const; + inline void clear_partial_fallback(); + static const int kPartialFallbackFieldNumber = 4; + inline ::google::protobuf::uint32 partial_fallback() const; + inline void set_partial_fallback(::google::protobuf::uint32 value); + + // optional uint32 full_fallback = 5; + inline bool has_full_fallback() const; + inline void clear_full_fallback(); + static const int kFullFallbackFieldNumber = 5; + inline ::google::protobuf::uint32 full_fallback() const; + inline void set_full_fallback(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorScorecard) + private: + inline void set_has_is_required(); + inline void clear_has_is_required(); + inline void set_has_full_match(); + inline void clear_has_full_match(); + inline void set_has_partial_match(); + inline void clear_has_partial_match(); + inline void set_has_partial_fallback(); + inline void clear_has_partial_fallback(); + inline void set_has_full_fallback(); + inline void clear_has_full_fallback(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool is_required_; + ::google::protobuf::uint32 full_match_; + ::google::protobuf::uint32 partial_match_; + ::google::protobuf::uint32 partial_fallback_; + ::google::protobuf::uint32 full_fallback_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorScorecard* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { + public: + NameGenerator(); + virtual ~NameGenerator(); + + NameGenerator(const NameGenerator& from); + + inline NameGenerator& operator=(const NameGenerator& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGenerator& default_instance(); + + void Swap(NameGenerator* other); + + // implements Message ---------------------------------------------- + + NameGenerator* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string names = 1; + inline int names_size() const; + inline void clear_names(); + static const int kNamesFieldNumber = 1; + inline const ::std::string& names(int index) const; + inline ::std::string* mutable_names(int index); + inline void set_names(int index, const ::std::string& value); + inline void set_names(int index, const char* value); + inline void set_names(int index, const char* value, size_t size); + inline ::std::string* add_names(); + inline void add_names(const ::std::string& value); + inline void add_names(const char* value); + inline void add_names(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names(); + + // repeated .bgs.protocol.club.v1.client.NameGeneratorReplacement replacements = 2; + inline int replacements_size() const; + inline void clear_replacements(); + static const int kReplacementsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::NameGeneratorReplacement& replacements(int index) const; + inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* mutable_replacements(int index); + inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* add_replacements(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >& + replacements() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* + mutable_replacements(); + + // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; + inline int club_types_size() const; + inline void clear_club_types(); + static const int kClubTypesFieldNumber = 3; + inline const ::bgs::protocol::club::v1::UniqueClubType& club_types(int index) const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_types(int index); + inline ::bgs::protocol::club::v1::UniqueClubType* add_club_types(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& + club_types() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* + mutable_club_types(); + + // repeated string locales = 4; + inline int locales_size() const; + inline void clear_locales(); + static const int kLocalesFieldNumber = 4; + inline const ::std::string& locales(int index) const; + inline ::std::string* mutable_locales(int index); + inline void set_locales(int index, const ::std::string& value); + inline void set_locales(int index, const char* value); + inline void set_locales(int index, const char* value, size_t size); + inline ::std::string* add_locales(); + inline void add_locales(const ::std::string& value); + inline void add_locales(const char* value); + inline void add_locales(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& locales() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_locales(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGenerator) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> names_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement > replacements_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_; + ::google::protobuf::RepeatedPtrField< ::std::string> locales_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGenerator* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message { + public: + NameGeneratorReplacement(); + virtual ~NameGeneratorReplacement(); + + NameGeneratorReplacement(const NameGeneratorReplacement& from); + + inline NameGeneratorReplacement& operator=(const NameGeneratorReplacement& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorReplacement& default_instance(); + + void Swap(NameGeneratorReplacement* other); + + // implements Message ---------------------------------------------- + + NameGeneratorReplacement* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // repeated string options = 2; + inline int options_size() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::std::string& options(int index) const; + inline ::std::string* mutable_options(int index); + inline void set_options(int index, const ::std::string& value); + inline void set_options(int index, const char* value); + inline void set_options(int index, const char* value, size_t size); + inline ::std::string* add_options(); + inline void add_options(const ::std::string& value); + inline void add_options(const char* value); + inline void add_options(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& options() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_options(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorReplacement) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::google::protobuf::RepeatedPtrField< ::std::string> options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorReplacement* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// NameGeneratorConfig + +// repeated .bgs.protocol.club.v1.client.NameGenerator name_generators = 1; +inline int NameGeneratorConfig::name_generators_size() const { + return name_generators_.size(); +} +inline void NameGeneratorConfig::clear_name_generators() { + name_generators_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::NameGenerator& NameGeneratorConfig::name_generators(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Get(index); +} +inline ::bgs::protocol::club::v1::client::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::NameGenerator* NameGeneratorConfig::add_name_generators() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >& +NameGeneratorConfig::name_generators() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* +NameGeneratorConfig::mutable_name_generators() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return &name_generators_; +} + +// optional .bgs.protocol.club.v1.client.NameGeneratorScorecard club_type_scorecard = 2; +inline bool NameGeneratorConfig::has_club_type_scorecard() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void NameGeneratorConfig::set_has_club_type_scorecard() { + _has_bits_[0] |= 0x00000002u; +} +inline void NameGeneratorConfig::clear_has_club_type_scorecard() { + _has_bits_[0] &= ~0x00000002u; +} +inline void NameGeneratorConfig::clear_club_type_scorecard() { + if (club_type_scorecard_ != NULL) club_type_scorecard_->::bgs::protocol::club::v1::client::NameGeneratorScorecard::Clear(); + clear_has_club_type_scorecard(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) + return club_type_scorecard_ != NULL ? *club_type_scorecard_ : *default_instance_->club_type_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::mutable_club_type_scorecard() { + set_has_club_type_scorecard(); + if (club_type_scorecard_ == NULL) club_type_scorecard_ = new ::bgs::protocol::club::v1::client::NameGeneratorScorecard; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) + return club_type_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() { + clear_has_club_type_scorecard(); + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* temp = club_type_scorecard_; + club_type_scorecard_ = NULL; + return temp; +} +inline void NameGeneratorConfig::set_allocated_club_type_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard) { + delete club_type_scorecard_; + club_type_scorecard_ = club_type_scorecard; + if (club_type_scorecard) { + set_has_club_type_scorecard(); + } else { + clear_has_club_type_scorecard(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) +} + +// optional .bgs.protocol.club.v1.client.NameGeneratorScorecard locale_scorecard = 3; +inline bool NameGeneratorConfig::has_locale_scorecard() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void NameGeneratorConfig::set_has_locale_scorecard() { + _has_bits_[0] |= 0x00000004u; +} +inline void NameGeneratorConfig::clear_has_locale_scorecard() { + _has_bits_[0] &= ~0x00000004u; +} +inline void NameGeneratorConfig::clear_locale_scorecard() { + if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::client::NameGeneratorScorecard::Clear(); + clear_has_locale_scorecard(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& NameGeneratorConfig::locale_scorecard() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) + return locale_scorecard_ != NULL ? *locale_scorecard_ : *default_instance_->locale_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::mutable_locale_scorecard() { + set_has_locale_scorecard(); + if (locale_scorecard_ == NULL) locale_scorecard_ = new ::bgs::protocol::club::v1::client::NameGeneratorScorecard; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) + return locale_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() { + clear_has_locale_scorecard(); + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* temp = locale_scorecard_; + locale_scorecard_ = NULL; + return temp; +} +inline void NameGeneratorConfig::set_allocated_locale_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard) { + delete locale_scorecard_; + locale_scorecard_ = locale_scorecard; + if (locale_scorecard) { + set_has_locale_scorecard(); + } else { + clear_has_locale_scorecard(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) +} + +// ------------------------------------------------------------------- + +// NameGeneratorScorecard + +// optional bool is_required = 1; +inline bool NameGeneratorScorecard::has_is_required() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void NameGeneratorScorecard::set_has_is_required() { + _has_bits_[0] |= 0x00000001u; +} +inline void NameGeneratorScorecard::clear_has_is_required() { + _has_bits_[0] &= ~0x00000001u; +} +inline void NameGeneratorScorecard::clear_is_required() { + is_required_ = false; + clear_has_is_required(); +} +inline bool NameGeneratorScorecard::is_required() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.is_required) + return is_required_; +} +inline void NameGeneratorScorecard::set_is_required(bool value) { + set_has_is_required(); + is_required_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.is_required) +} + +// optional uint32 full_match = 2; +inline bool NameGeneratorScorecard::has_full_match() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void NameGeneratorScorecard::set_has_full_match() { + _has_bits_[0] |= 0x00000002u; +} +inline void NameGeneratorScorecard::clear_has_full_match() { + _has_bits_[0] &= ~0x00000002u; +} +inline void NameGeneratorScorecard::clear_full_match() { + full_match_ = 0u; + clear_has_full_match(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::full_match() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_match) + return full_match_; +} +inline void NameGeneratorScorecard::set_full_match(::google::protobuf::uint32 value) { + set_has_full_match(); + full_match_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_match) +} + +// optional uint32 partial_match = 3; +inline bool NameGeneratorScorecard::has_partial_match() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void NameGeneratorScorecard::set_has_partial_match() { + _has_bits_[0] |= 0x00000004u; +} +inline void NameGeneratorScorecard::clear_has_partial_match() { + _has_bits_[0] &= ~0x00000004u; +} +inline void NameGeneratorScorecard::clear_partial_match() { + partial_match_ = 0u; + clear_has_partial_match(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_match() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_match) + return partial_match_; +} +inline void NameGeneratorScorecard::set_partial_match(::google::protobuf::uint32 value) { + set_has_partial_match(); + partial_match_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_match) +} + +// optional uint32 partial_fallback = 4; +inline bool NameGeneratorScorecard::has_partial_fallback() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void NameGeneratorScorecard::set_has_partial_fallback() { + _has_bits_[0] |= 0x00000008u; +} +inline void NameGeneratorScorecard::clear_has_partial_fallback() { + _has_bits_[0] &= ~0x00000008u; +} +inline void NameGeneratorScorecard::clear_partial_fallback() { + partial_fallback_ = 0u; + clear_has_partial_fallback(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_fallback() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_fallback) + return partial_fallback_; +} +inline void NameGeneratorScorecard::set_partial_fallback(::google::protobuf::uint32 value) { + set_has_partial_fallback(); + partial_fallback_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_fallback) +} + +// optional uint32 full_fallback = 5; +inline bool NameGeneratorScorecard::has_full_fallback() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void NameGeneratorScorecard::set_has_full_fallback() { + _has_bits_[0] |= 0x00000010u; +} +inline void NameGeneratorScorecard::clear_has_full_fallback() { + _has_bits_[0] &= ~0x00000010u; +} +inline void NameGeneratorScorecard::clear_full_fallback() { + full_fallback_ = 0u; + clear_has_full_fallback(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::full_fallback() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_fallback) + return full_fallback_; +} +inline void NameGeneratorScorecard::set_full_fallback(::google::protobuf::uint32 value) { + set_has_full_fallback(); + full_fallback_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_fallback) +} + +// ------------------------------------------------------------------- + +// NameGenerator + +// repeated string names = 1; +inline int NameGenerator::names_size() const { + return names_.size(); +} +inline void NameGenerator::clear_names() { + names_.Clear(); +} +inline const ::std::string& NameGenerator::names(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.names) + return names_.Get(index); +} +inline ::std::string* NameGenerator::mutable_names(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.names) + return names_.Mutable(index); +} +inline void NameGenerator::set_names(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGenerator.names) + names_.Mutable(index)->assign(value); +} +inline void NameGenerator::set_names(int index, const char* value) { + names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::set_names(int index, const char* value, size_t size) { + names_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline ::std::string* NameGenerator::add_names() { + return names_.Add(); +} +inline void NameGenerator::add_names(const ::std::string& value) { + names_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::add_names(const char* value) { + names_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::add_names(const char* value, size_t size) { + names_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGenerator::names() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.names) + return names_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGenerator::mutable_names() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.names) + return &names_; +} + +// repeated .bgs.protocol.club.v1.client.NameGeneratorReplacement replacements = 2; +inline int NameGenerator::replacements_size() const { + return replacements_.size(); +} +inline void NameGenerator::clear_replacements() { + replacements_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorReplacement& NameGenerator::replacements(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Get(index); +} +inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* NameGenerator::add_replacements() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >& +NameGenerator::replacements() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* +NameGenerator::mutable_replacements() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.replacements) + return &replacements_; +} + +// repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; +inline int NameGenerator::club_types_size() const { + return club_types_.size(); +} +inline void NameGenerator::clear_club_types() { + club_types_.Clear(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& NameGenerator::club_types(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Get(index); +} +inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::mutable_club_types(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Mutable(index); +} +inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::add_club_types() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& +NameGenerator::club_types() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* +NameGenerator::mutable_club_types() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.club_types) + return &club_types_; +} + +// repeated string locales = 4; +inline int NameGenerator::locales_size() const { + return locales_.size(); +} +inline void NameGenerator::clear_locales() { + locales_.Clear(); +} +inline const ::std::string& NameGenerator::locales(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_.Get(index); +} +inline ::std::string* NameGenerator::mutable_locales(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_.Mutable(index); +} +inline void NameGenerator::set_locales(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGenerator.locales) + locales_.Mutable(index)->assign(value); +} +inline void NameGenerator::set_locales(int index, const char* value) { + locales_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::set_locales(int index, const char* value, size_t size) { + locales_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline ::std::string* NameGenerator::add_locales() { + return locales_.Add(); +} +inline void NameGenerator::add_locales(const ::std::string& value) { + locales_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::add_locales(const char* value) { + locales_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::add_locales(const char* value, size_t size) { + locales_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGenerator::locales() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGenerator::mutable_locales() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.locales) + return &locales_; +} + +// ------------------------------------------------------------------- + +// NameGeneratorReplacement + +// optional string id = 1; +inline bool NameGeneratorReplacement::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void NameGeneratorReplacement::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void NameGeneratorReplacement::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void NameGeneratorReplacement::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& NameGeneratorReplacement::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) + return *id_; +} +inline void NameGeneratorReplacement::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline void NameGeneratorReplacement::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline void NameGeneratorReplacement::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline ::std::string* NameGeneratorReplacement::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) + return id_; +} +inline ::std::string* NameGeneratorReplacement::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} + +// repeated string options = 2; +inline int NameGeneratorReplacement::options_size() const { + return options_.size(); +} +inline void NameGeneratorReplacement::clear_options() { + options_.Clear(); +} +inline const ::std::string& NameGeneratorReplacement::options(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_.Get(index); +} +inline ::std::string* NameGeneratorReplacement::mutable_options(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_.Mutable(index); +} +inline void NameGeneratorReplacement::set_options(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + options_.Mutable(index)->assign(value); +} +inline void NameGeneratorReplacement::set_options(int index, const char* value) { + options_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::set_options(int index, const char* value, size_t size) { + options_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline ::std::string* NameGeneratorReplacement::add_options() { + return options_.Add(); +} +inline void NameGeneratorReplacement::add_options(const ::std::string& value) { + options_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::add_options(const char* value) { + options_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::add_options(const char* value, size_t size) { + options_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGeneratorReplacement::options() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGeneratorReplacement::mutable_options() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return &options_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_notification.pb.cc b/src/server/proto/Client/api/client/v1/club_notification.pb.cc new file mode 100644 index 00000000000..48cb2fb8d3d --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.cc @@ -0,0 +1,2417 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_notification.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_notification.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SettingsChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SettingsChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRoleChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRoleChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SuggestionAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SuggestionAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SuggestionRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SuggestionRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessageAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessageAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessageUpdatedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamTypingIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamUnreadIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAdvanceViewTimeNotification_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_notification.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeNotification_descriptor_ = file->message_type(0); + static const int SubscribeNotification_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, view_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, settings_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, member_), + }; + SubscribeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeNotification_descriptor_, + SubscribeNotification::default_instance_, + SubscribeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeNotification)); + UnsubscribeNotification_descriptor_ = file->message_type(1); + static const int UnsubscribeNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, club_id_), + }; + UnsubscribeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeNotification_descriptor_, + UnsubscribeNotification::default_instance_, + UnsubscribeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeNotification)); + StateChangedNotification_descriptor_ = file->message_type(2); + static const int StateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, assignment_), + }; + StateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StateChangedNotification_descriptor_, + StateChangedNotification::default_instance_, + StateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StateChangedNotification)); + SettingsChangedNotification_descriptor_ = file->message_type(3); + static const int SettingsChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, assignment_), + }; + SettingsChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SettingsChangedNotification_descriptor_, + SettingsChangedNotification::default_instance_, + SettingsChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SettingsChangedNotification)); + MemberAddedNotification_descriptor_ = file->message_type(4); + static const int MemberAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, member_), + }; + MemberAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAddedNotification_descriptor_, + MemberAddedNotification::default_instance_, + MemberAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAddedNotification)); + MemberRemovedNotification_descriptor_ = file->message_type(5); + static const int MemberRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, member_), + }; + MemberRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRemovedNotification_descriptor_, + MemberRemovedNotification::default_instance_, + MemberRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRemovedNotification)); + MemberStateChangedNotification_descriptor_ = file->message_type(6); + static const int MemberStateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, assignment_), + }; + MemberStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateChangedNotification_descriptor_, + MemberStateChangedNotification::default_instance_, + MemberStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateChangedNotification)); + SubscriberStateChangedNotification_descriptor_ = file->message_type(7); + static const int SubscriberStateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, assignment_), + }; + SubscriberStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateChangedNotification_descriptor_, + SubscriberStateChangedNotification::default_instance_, + SubscriberStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateChangedNotification)); + MemberRoleChangedNotification_descriptor_ = file->message_type(8); + static const int MemberRoleChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, assignment_), + }; + MemberRoleChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRoleChangedNotification_descriptor_, + MemberRoleChangedNotification::default_instance_, + MemberRoleChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRoleChangedNotification)); + InvitationAddedNotification_descriptor_ = file->message_type(9); + static const int InvitationAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, invitation_), + }; + InvitationAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationAddedNotification_descriptor_, + InvitationAddedNotification::default_instance_, + InvitationAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationAddedNotification)); + InvitationRemovedNotification_descriptor_ = file->message_type(10); + static const int InvitationRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, invitation_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, reason_), + }; + InvitationRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationRemovedNotification_descriptor_, + InvitationRemovedNotification::default_instance_, + InvitationRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationRemovedNotification)); + SuggestionAddedNotification_descriptor_ = file->message_type(11); + static const int SuggestionAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, suggestion_), + }; + SuggestionAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SuggestionAddedNotification_descriptor_, + SuggestionAddedNotification::default_instance_, + SuggestionAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SuggestionAddedNotification)); + SuggestionRemovedNotification_descriptor_ = file->message_type(12); + static const int SuggestionRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, suggestion_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, reason_), + }; + SuggestionRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SuggestionRemovedNotification_descriptor_, + SuggestionRemovedNotification::default_instance_, + SuggestionRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SuggestionRemovedNotification)); + StreamAddedNotification_descriptor_ = file->message_type(13); + static const int StreamAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, stream_), + }; + StreamAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAddedNotification_descriptor_, + StreamAddedNotification::default_instance_, + StreamAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAddedNotification)); + StreamRemovedNotification_descriptor_ = file->message_type(14); + static const int StreamRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, stream_id_), + }; + StreamRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamRemovedNotification_descriptor_, + StreamRemovedNotification::default_instance_, + StreamRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamRemovedNotification)); + StreamStateChangedNotification_descriptor_ = file->message_type(15); + static const int StreamStateChangedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, assignment_), + }; + StreamStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateChangedNotification_descriptor_, + StreamStateChangedNotification::default_instance_, + StreamStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateChangedNotification)); + StreamMessageAddedNotification_descriptor_ = file->message_type(16); + static const int StreamMessageAddedNotification_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, message_origin_), + }; + StreamMessageAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessageAddedNotification_descriptor_, + StreamMessageAddedNotification::default_instance_, + StreamMessageAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessageAddedNotification)); + StreamMessageUpdatedNotification_descriptor_ = file->message_type(17); + static const int StreamMessageUpdatedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, message_), + }; + StreamMessageUpdatedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessageUpdatedNotification_descriptor_, + StreamMessageUpdatedNotification::default_instance_, + StreamMessageUpdatedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessageUpdatedNotification)); + StreamTypingIndicatorNotification_descriptor_ = file->message_type(18); + static const int StreamTypingIndicatorNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, indicator_), + }; + StreamTypingIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamTypingIndicatorNotification_descriptor_, + StreamTypingIndicatorNotification::default_instance_, + StreamTypingIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamTypingIndicatorNotification)); + StreamUnreadIndicatorNotification_descriptor_ = file->message_type(19); + static const int StreamUnreadIndicatorNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, event_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, message_), + }; + StreamUnreadIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamUnreadIndicatorNotification_descriptor_, + StreamUnreadIndicatorNotification::default_instance_, + StreamUnreadIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamUnreadIndicatorNotification)); + StreamAdvanceViewTimeNotification_descriptor_ = file->message_type(20); + static const int StreamAdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, view_), + }; + StreamAdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAdvanceViewTimeNotification_descriptor_, + StreamAdvanceViewTimeNotification::default_instance_, + StreamAdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAdvanceViewTimeNotification)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeNotification_descriptor_, &SubscribeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeNotification_descriptor_, &UnsubscribeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StateChangedNotification_descriptor_, &StateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SettingsChangedNotification_descriptor_, &SettingsChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAddedNotification_descriptor_, &MemberAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRemovedNotification_descriptor_, &MemberRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateChangedNotification_descriptor_, &MemberStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateChangedNotification_descriptor_, &SubscriberStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRoleChangedNotification_descriptor_, &MemberRoleChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationAddedNotification_descriptor_, &InvitationAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationRemovedNotification_descriptor_, &InvitationRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SuggestionAddedNotification_descriptor_, &SuggestionAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SuggestionRemovedNotification_descriptor_, &SuggestionRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAddedNotification_descriptor_, &StreamAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamRemovedNotification_descriptor_, &StreamRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateChangedNotification_descriptor_, &StreamStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessageAddedNotification_descriptor_, &StreamMessageAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessageUpdatedNotification_descriptor_, &StreamMessageUpdatedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamTypingIndicatorNotification_descriptor_, &StreamTypingIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamUnreadIndicatorNotification_descriptor_, &StreamUnreadIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAdvanceViewTimeNotification_descriptor_, &StreamAdvanceViewTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + delete SubscribeNotification::default_instance_; + delete SubscribeNotification_reflection_; + delete UnsubscribeNotification::default_instance_; + delete UnsubscribeNotification_reflection_; + delete StateChangedNotification::default_instance_; + delete StateChangedNotification_reflection_; + delete SettingsChangedNotification::default_instance_; + delete SettingsChangedNotification_reflection_; + delete MemberAddedNotification::default_instance_; + delete MemberAddedNotification_reflection_; + delete MemberRemovedNotification::default_instance_; + delete MemberRemovedNotification_reflection_; + delete MemberStateChangedNotification::default_instance_; + delete MemberStateChangedNotification_reflection_; + delete SubscriberStateChangedNotification::default_instance_; + delete SubscriberStateChangedNotification_reflection_; + delete MemberRoleChangedNotification::default_instance_; + delete MemberRoleChangedNotification_reflection_; + delete InvitationAddedNotification::default_instance_; + delete InvitationAddedNotification_reflection_; + delete InvitationRemovedNotification::default_instance_; + delete InvitationRemovedNotification_reflection_; + delete SuggestionAddedNotification::default_instance_; + delete SuggestionAddedNotification_reflection_; + delete SuggestionRemovedNotification::default_instance_; + delete SuggestionRemovedNotification_reflection_; + delete StreamAddedNotification::default_instance_; + delete StreamAddedNotification_reflection_; + delete StreamRemovedNotification::default_instance_; + delete StreamRemovedNotification_reflection_; + delete StreamStateChangedNotification::default_instance_; + delete StreamStateChangedNotification_reflection_; + delete StreamMessageAddedNotification::default_instance_; + delete StreamMessageAddedNotification_reflection_; + delete StreamMessageUpdatedNotification::default_instance_; + delete StreamMessageUpdatedNotification_reflection_; + delete StreamTypingIndicatorNotification::default_instance_; + delete StreamTypingIndicatorNotification_reflection_; + delete StreamUnreadIndicatorNotification::default_instance_; + delete StreamUnreadIndicatorNotification_reflection_; + delete StreamAdvanceViewTimeNotification::default_instance_; + delete StreamAdvanceViewTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n%api/client/v1/club_notification.proto\022" + "\033bgs.protocol.club.v1.client\032\036api/client" + "/v1/club_types.proto\032$api/common/v1/invi" + "tation_types.proto\032\017rpc_types.proto\"\262\002\n\025" + "SubscribeNotification\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\017\n\007club_" + "id\030\003 \001(\004\022/\n\004club\030\004 \001(\0132!.bgs.protocol.cl" + "ub.v1.client.Club\0223\n\004view\030\005 \001(\0132%.bgs.pr" + "otocol.club.v1.client.ClubView\022;\n\010settin" + "gs\030\n \001(\0132).bgs.protocol.club.v1.client.C" + "lubSettings\0223\n\006member\030\013 \001(\0132#.bgs.protoc" + "ol.club.v1.client.Member\"\\\n\027UnsubscribeN" + "otification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\"\243" + "\001\n\030StateChangedNotification\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n" + "\007club_id\030\003 \001(\004\022D\n\nassignment\030\005 \001(\01320.bgs" + ".protocol.club.v1.client.ClubStateAssign" + "ment\"\251\001\n\033SettingsChangedNotification\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\017\n\007club_id\030\003 \001(\004\022G\n\nassignment\030\004 " + "\001(\01323.bgs.protocol.club.v1.client.ClubSe" + "ttingsAssignment\"\221\001\n\027MemberAddedNotifica" + "tion\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\0223\n\006membe" + "r\030\004 \003(\0132#.bgs.protocol.club.v1.client.Me" + "mber\"\244\001\n\031MemberRemovedNotification\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\017\n\007club_id\030\003 \001(\004\022D\n\006member\030\004 \003(\01324." + "bgs.protocol.club.v1.client.MemberRemove" + "dAssignment\"\253\001\n\036MemberStateChangedNotifi" + "cation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022F\n\nass" + "ignment\030\004 \003(\01322.bgs.protocol.club.v1.cli" + "ent.MemberStateAssignment\"\263\001\n\"Subscriber" + "StateChangedNotification\0220\n\010agent_id\030\001 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007cl" + "ub_id\030\003 \001(\004\022J\n\nassignment\030\004 \003(\01326.bgs.pr" + "otocol.club.v1.client.SubscriberStateAss" + "ignment\"\243\001\n\035MemberRoleChangedNotificatio" + "n\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\?\n\nassignme" + "nt\030\004 \003(\0132+.bgs.protocol.club.v1.client.R" + "oleAssignment\"\241\001\n\033InvitationAddedNotific" + "ation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" + "lub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\?\n\ninvi" + "tation\030\004 \001(\0132+.bgs.protocol.club.v1.clie" + "nt.ClubInvitation\"\260\001\n\035InvitationRemovedN" + "otification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\025" + "\n\rinvitation_id\030\004 \001(\006\0225\n\006reason\030\005 \001(\0162%." + "bgs.protocol.InvitationRemovedReason\"\241\001\n" + "\033SuggestionAddedNotification\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017" + "\n\007club_id\030\003 \001(\004\022\?\n\nsuggestion\030\004 \001(\0132+.bg" + "s.protocol.club.v1.client.ClubSuggestion" + "\"\260\001\n\035SuggestionRemovedNotification\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\017\n\007club_id\030\003 \001(\004\022\025\n\rsuggestion_id\030\004" + " \001(\006\0225\n\006reason\030\005 \001(\0162%.bgs.protocol.Sugg" + "estionRemovedReason\"\221\001\n\027StreamAddedNotif" + "ication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" + ".club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\0223\n\006st" + "ream\030\004 \001(\0132#.bgs.protocol.club.v1.client" + ".Stream\"q\n\031StreamRemovedNotification\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001" + "(\004\"\276\001\n\036StreamStateChangedNotification\0220\n" + "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" + "emberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 " + "\001(\004\022F\n\nassignment\030\005 \001(\01322.bgs.protocol.c" + "lub.v1.client.StreamStateAssignment\"\340\001\n\036" + "StreamMessageAddedNotification\0220\n\010agent_" + "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" + "\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\022;\n\007" + "message\030\005 \001(\0132*.bgs.protocol.club.v1.cli" + "ent.StreamMessage\022+\n\016message_origin\030\006 \001(" + "\rB\023\202\371+\017*\rMessageOrigin\"\265\001\n StreamMessage" + "UpdatedNotification\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\017\n\007club_id" + "\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\022;\n\007message\030\005 \001" + "(\0132*.bgs.protocol.club.v1.client.StreamM" + "essage\"\300\001\n!StreamTypingIndicatorNotifica" + "tion\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstrea" + "m_id\030\004 \001(\004\022E\n\tindicator\030\005 \003(\01322.bgs.prot" + "ocol.club.v1.client.StreamTypingIndicato" + "r\"\340\001\n!StreamUnreadIndicatorNotification\022" + "0\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1" + ".MemberId\022\017\n\007club_id\030\003 \001(\004\022;\n\005event\030\004 \001(" + "\0132,.bgs.protocol.club.v1.client.StreamEv" + "entTime\022;\n\007message\030\005 \001(\0132*.bgs.protocol." + "club.v1.client.StreamMessage\"\250\001\n!StreamA" + "dvanceViewTimeNotification\0220\n\010agent_id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007" + "club_id\030\003 \001(\004\022@\n\004view\030\004 \003(\01322.bgs.protoc" + "ol.club.v1.client.StreamAdvanceViewTimeB" + "\002H\002P\000P\001P\002", 3889); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_notification.proto", &protobuf_RegisterTypes); + SubscribeNotification::default_instance_ = new SubscribeNotification(); + UnsubscribeNotification::default_instance_ = new UnsubscribeNotification(); + StateChangedNotification::default_instance_ = new StateChangedNotification(); + SettingsChangedNotification::default_instance_ = new SettingsChangedNotification(); + MemberAddedNotification::default_instance_ = new MemberAddedNotification(); + MemberRemovedNotification::default_instance_ = new MemberRemovedNotification(); + MemberStateChangedNotification::default_instance_ = new MemberStateChangedNotification(); + SubscriberStateChangedNotification::default_instance_ = new SubscriberStateChangedNotification(); + MemberRoleChangedNotification::default_instance_ = new MemberRoleChangedNotification(); + InvitationAddedNotification::default_instance_ = new InvitationAddedNotification(); + InvitationRemovedNotification::default_instance_ = new InvitationRemovedNotification(); + SuggestionAddedNotification::default_instance_ = new SuggestionAddedNotification(); + SuggestionRemovedNotification::default_instance_ = new SuggestionRemovedNotification(); + StreamAddedNotification::default_instance_ = new StreamAddedNotification(); + StreamRemovedNotification::default_instance_ = new StreamRemovedNotification(); + StreamStateChangedNotification::default_instance_ = new StreamStateChangedNotification(); + StreamMessageAddedNotification::default_instance_ = new StreamMessageAddedNotification(); + StreamMessageUpdatedNotification::default_instance_ = new StreamMessageUpdatedNotification(); + StreamTypingIndicatorNotification::default_instance_ = new StreamTypingIndicatorNotification(); + StreamUnreadIndicatorNotification::default_instance_ = new StreamUnreadIndicatorNotification(); + StreamAdvanceViewTimeNotification::default_instance_ = new StreamAdvanceViewTimeNotification(); + SubscribeNotification::default_instance_->InitAsDefaultInstance(); + UnsubscribeNotification::default_instance_->InitAsDefaultInstance(); + StateChangedNotification::default_instance_->InitAsDefaultInstance(); + SettingsChangedNotification::default_instance_->InitAsDefaultInstance(); + MemberAddedNotification::default_instance_->InitAsDefaultInstance(); + MemberRemovedNotification::default_instance_->InitAsDefaultInstance(); + MemberStateChangedNotification::default_instance_->InitAsDefaultInstance(); + SubscriberStateChangedNotification::default_instance_->InitAsDefaultInstance(); + MemberRoleChangedNotification::default_instance_->InitAsDefaultInstance(); + InvitationAddedNotification::default_instance_->InitAsDefaultInstance(); + InvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); + SuggestionAddedNotification::default_instance_->InitAsDefaultInstance(); + SuggestionRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamStateChangedNotification::default_instance_->InitAsDefaultInstance(); + StreamMessageAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamMessageUpdatedNotification::default_instance_->InitAsDefaultInstance(); + StreamTypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); + StreamUnreadIndicatorNotification::default_instance_->InitAsDefaultInstance(); + StreamAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeNotification::kAgentIdFieldNumber; +const int SubscribeNotification::kClubIdFieldNumber; +const int SubscribeNotification::kClubFieldNumber; +const int SubscribeNotification::kViewFieldNumber; +const int SubscribeNotification::kSettingsFieldNumber; +const int SubscribeNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +SubscribeNotification::SubscribeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeNotification) +} + +void SubscribeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::client::Club*>(&::bgs::protocol::club::v1::client::Club::default_instance()); + view_ = const_cast< ::bgs::protocol::club::v1::client::ClubView*>(&::bgs::protocol::club::v1::client::ClubView::default_instance()); + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::Member*>(&::bgs::protocol::club::v1::client::Member::default_instance()); +} + +SubscribeNotification::SubscribeNotification(const SubscribeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeNotification) +} + +void SubscribeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + club_ = NULL; + view_ = NULL; + settings_ = NULL; + member_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeNotification::~SubscribeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeNotification) + SharedDtor(); +} + +void SubscribeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete club_; + delete view_; + delete settings_; + delete member_; + } +} + +void SubscribeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeNotification_descriptor_; +} + +const SubscribeNotification& SubscribeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SubscribeNotification* SubscribeNotification::default_instance_ = NULL; + +SubscribeNotification* SubscribeNotification::New() const { + return new SubscribeNotification; +} + +void SubscribeNotification::Swap(SubscribeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeNotification_descriptor_; + metadata.reflection = SubscribeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeNotification::kAgentIdFieldNumber; +const int UnsubscribeNotification::kClubIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeNotification::UnsubscribeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) +} + +void UnsubscribeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeNotification::UnsubscribeNotification(const UnsubscribeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) +} + +void UnsubscribeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeNotification::~UnsubscribeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeNotification) + SharedDtor(); +} + +void UnsubscribeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeNotification_descriptor_; +} + +const UnsubscribeNotification& UnsubscribeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +UnsubscribeNotification* UnsubscribeNotification::default_instance_ = NULL; + +UnsubscribeNotification* UnsubscribeNotification::New() const { + return new UnsubscribeNotification; +} + +void UnsubscribeNotification::Swap(UnsubscribeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeNotification_descriptor_; + metadata.reflection = UnsubscribeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StateChangedNotification::kAgentIdFieldNumber; +const int StateChangedNotification::kClubIdFieldNumber; +const int StateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +StateChangedNotification::StateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StateChangedNotification) +} + +void StateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::ClubStateAssignment*>(&::bgs::protocol::club::v1::client::ClubStateAssignment::default_instance()); +} + +StateChangedNotification::StateChangedNotification(const StateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StateChangedNotification) +} + +void StateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StateChangedNotification::~StateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StateChangedNotification) + SharedDtor(); +} + +void StateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void StateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StateChangedNotification_descriptor_; +} + +const StateChangedNotification& StateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StateChangedNotification* StateChangedNotification::default_instance_ = NULL; + +StateChangedNotification* StateChangedNotification::New() const { + return new StateChangedNotification; +} + +void StateChangedNotification::Swap(StateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StateChangedNotification_descriptor_; + metadata.reflection = StateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SettingsChangedNotification::kAgentIdFieldNumber; +const int SettingsChangedNotification::kClubIdFieldNumber; +const int SettingsChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SettingsChangedNotification::SettingsChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SettingsChangedNotification) +} + +void SettingsChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettingsAssignment*>(&::bgs::protocol::club::v1::client::ClubSettingsAssignment::default_instance()); +} + +SettingsChangedNotification::SettingsChangedNotification(const SettingsChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SettingsChangedNotification) +} + +void SettingsChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SettingsChangedNotification::~SettingsChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SettingsChangedNotification) + SharedDtor(); +} + +void SettingsChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void SettingsChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SettingsChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SettingsChangedNotification_descriptor_; +} + +const SettingsChangedNotification& SettingsChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SettingsChangedNotification* SettingsChangedNotification::default_instance_ = NULL; + +SettingsChangedNotification* SettingsChangedNotification::New() const { + return new SettingsChangedNotification; +} + +void SettingsChangedNotification::Swap(SettingsChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SettingsChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SettingsChangedNotification_descriptor_; + metadata.reflection = SettingsChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAddedNotification::kAgentIdFieldNumber; +const int MemberAddedNotification::kClubIdFieldNumber; +const int MemberAddedNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +MemberAddedNotification::MemberAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAddedNotification) +} + +void MemberAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberAddedNotification::MemberAddedNotification(const MemberAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAddedNotification) +} + +void MemberAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAddedNotification::~MemberAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAddedNotification) + SharedDtor(); +} + +void MemberAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAddedNotification_descriptor_; +} + +const MemberAddedNotification& MemberAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberAddedNotification* MemberAddedNotification::default_instance_ = NULL; + +MemberAddedNotification* MemberAddedNotification::New() const { + return new MemberAddedNotification; +} + +void MemberAddedNotification::Swap(MemberAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAddedNotification_descriptor_; + metadata.reflection = MemberAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRemovedNotification::kAgentIdFieldNumber; +const int MemberRemovedNotification::kClubIdFieldNumber; +const int MemberRemovedNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +MemberRemovedNotification::MemberRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) +} + +void MemberRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRemovedNotification::MemberRemovedNotification(const MemberRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) +} + +void MemberRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRemovedNotification::~MemberRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedNotification) + SharedDtor(); +} + +void MemberRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRemovedNotification_descriptor_; +} + +const MemberRemovedNotification& MemberRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberRemovedNotification* MemberRemovedNotification::default_instance_ = NULL; + +MemberRemovedNotification* MemberRemovedNotification::New() const { + return new MemberRemovedNotification; +} + +void MemberRemovedNotification::Swap(MemberRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRemovedNotification_descriptor_; + metadata.reflection = MemberRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateChangedNotification::kAgentIdFieldNumber; +const int MemberStateChangedNotification::kClubIdFieldNumber; +const int MemberStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +MemberStateChangedNotification::MemberStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) +} + +void MemberStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberStateChangedNotification::MemberStateChangedNotification(const MemberStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) +} + +void MemberStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateChangedNotification::~MemberStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) + SharedDtor(); +} + +void MemberStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateChangedNotification_descriptor_; +} + +const MemberStateChangedNotification& MemberStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberStateChangedNotification* MemberStateChangedNotification::default_instance_ = NULL; + +MemberStateChangedNotification* MemberStateChangedNotification::New() const { + return new MemberStateChangedNotification; +} + +void MemberStateChangedNotification::Swap(MemberStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateChangedNotification_descriptor_; + metadata.reflection = MemberStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateChangedNotification::kAgentIdFieldNumber; +const int SubscriberStateChangedNotification::kClubIdFieldNumber; +const int SubscriberStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SubscriberStateChangedNotification::SubscriberStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) +} + +void SubscriberStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscriberStateChangedNotification::SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) +} + +void SubscriberStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateChangedNotification::~SubscriberStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) + SharedDtor(); +} + +void SubscriberStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscriberStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateChangedNotification_descriptor_; +} + +const SubscriberStateChangedNotification& SubscriberStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SubscriberStateChangedNotification* SubscriberStateChangedNotification::default_instance_ = NULL; + +SubscriberStateChangedNotification* SubscriberStateChangedNotification::New() const { + return new SubscriberStateChangedNotification; +} + +void SubscriberStateChangedNotification::Swap(SubscriberStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateChangedNotification_descriptor_; + metadata.reflection = SubscriberStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRoleChangedNotification::kAgentIdFieldNumber; +const int MemberRoleChangedNotification::kClubIdFieldNumber; +const int MemberRoleChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +MemberRoleChangedNotification::MemberRoleChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) +} + +void MemberRoleChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRoleChangedNotification::MemberRoleChangedNotification(const MemberRoleChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) +} + +void MemberRoleChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRoleChangedNotification::~MemberRoleChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) + SharedDtor(); +} + +void MemberRoleChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberRoleChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRoleChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRoleChangedNotification_descriptor_; +} + +const MemberRoleChangedNotification& MemberRoleChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberRoleChangedNotification* MemberRoleChangedNotification::default_instance_ = NULL; + +MemberRoleChangedNotification* MemberRoleChangedNotification::New() const { + return new MemberRoleChangedNotification; +} + +void MemberRoleChangedNotification::Swap(MemberRoleChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRoleChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRoleChangedNotification_descriptor_; + metadata.reflection = MemberRoleChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationAddedNotification::kAgentIdFieldNumber; +const int InvitationAddedNotification::kClubIdFieldNumber; +const int InvitationAddedNotification::kInvitationFieldNumber; +#endif // !_MSC_VER + +InvitationAddedNotification::InvitationAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.InvitationAddedNotification) +} + +void InvitationAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +InvitationAddedNotification::InvitationAddedNotification(const InvitationAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationAddedNotification) +} + +void InvitationAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationAddedNotification::~InvitationAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationAddedNotification) + SharedDtor(); +} + +void InvitationAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete invitation_; + } +} + +void InvitationAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationAddedNotification_descriptor_; +} + +const InvitationAddedNotification& InvitationAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +InvitationAddedNotification* InvitationAddedNotification::default_instance_ = NULL; + +InvitationAddedNotification* InvitationAddedNotification::New() const { + return new InvitationAddedNotification; +} + +void InvitationAddedNotification::Swap(InvitationAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationAddedNotification_descriptor_; + metadata.reflection = InvitationAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationRemovedNotification::kAgentIdFieldNumber; +const int InvitationRemovedNotification::kClubIdFieldNumber; +const int InvitationRemovedNotification::kInvitationIdFieldNumber; +const int InvitationRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +InvitationRemovedNotification::InvitationRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) +} + +void InvitationRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +InvitationRemovedNotification::InvitationRemovedNotification(const InvitationRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) +} + +void InvitationRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationRemovedNotification::~InvitationRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) + SharedDtor(); +} + +void InvitationRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void InvitationRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationRemovedNotification_descriptor_; +} + +const InvitationRemovedNotification& InvitationRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +InvitationRemovedNotification* InvitationRemovedNotification::default_instance_ = NULL; + +InvitationRemovedNotification* InvitationRemovedNotification::New() const { + return new InvitationRemovedNotification; +} + +void InvitationRemovedNotification::Swap(InvitationRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationRemovedNotification_descriptor_; + metadata.reflection = InvitationRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SuggestionAddedNotification::kAgentIdFieldNumber; +const int SuggestionAddedNotification::kClubIdFieldNumber; +const int SuggestionAddedNotification::kSuggestionFieldNumber; +#endif // !_MSC_VER + +SuggestionAddedNotification::SuggestionAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) +} + +void SuggestionAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestion*>(&::bgs::protocol::club::v1::client::ClubSuggestion::default_instance()); +} + +SuggestionAddedNotification::SuggestionAddedNotification(const SuggestionAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) +} + +void SuggestionAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SuggestionAddedNotification::~SuggestionAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) + SharedDtor(); +} + +void SuggestionAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete suggestion_; + } +} + +void SuggestionAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SuggestionAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionAddedNotification_descriptor_; +} + +const SuggestionAddedNotification& SuggestionAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SuggestionAddedNotification* SuggestionAddedNotification::default_instance_ = NULL; + +SuggestionAddedNotification* SuggestionAddedNotification::New() const { + return new SuggestionAddedNotification; +} + +void SuggestionAddedNotification::Swap(SuggestionAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SuggestionAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SuggestionAddedNotification_descriptor_; + metadata.reflection = SuggestionAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SuggestionRemovedNotification::kAgentIdFieldNumber; +const int SuggestionRemovedNotification::kClubIdFieldNumber; +const int SuggestionRemovedNotification::kSuggestionIdFieldNumber; +const int SuggestionRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +SuggestionRemovedNotification::SuggestionRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) +} + +void SuggestionRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SuggestionRemovedNotification::SuggestionRemovedNotification(const SuggestionRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) +} + +void SuggestionRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SuggestionRemovedNotification::~SuggestionRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) + SharedDtor(); +} + +void SuggestionRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SuggestionRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SuggestionRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionRemovedNotification_descriptor_; +} + +const SuggestionRemovedNotification& SuggestionRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SuggestionRemovedNotification* SuggestionRemovedNotification::default_instance_ = NULL; + +SuggestionRemovedNotification* SuggestionRemovedNotification::New() const { + return new SuggestionRemovedNotification; +} + +void SuggestionRemovedNotification::Swap(SuggestionRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SuggestionRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SuggestionRemovedNotification_descriptor_; + metadata.reflection = SuggestionRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAddedNotification::kAgentIdFieldNumber; +const int StreamAddedNotification::kClubIdFieldNumber; +const int StreamAddedNotification::kStreamFieldNumber; +#endif // !_MSC_VER + +StreamAddedNotification::StreamAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAddedNotification) +} + +void StreamAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::Stream*>(&::bgs::protocol::club::v1::client::Stream::default_instance()); +} + +StreamAddedNotification::StreamAddedNotification(const StreamAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAddedNotification) +} + +void StreamAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAddedNotification::~StreamAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAddedNotification) + SharedDtor(); +} + +void StreamAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete stream_; + } +} + +void StreamAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAddedNotification_descriptor_; +} + +const StreamAddedNotification& StreamAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamAddedNotification* StreamAddedNotification::default_instance_ = NULL; + +StreamAddedNotification* StreamAddedNotification::New() const { + return new StreamAddedNotification; +} + +void StreamAddedNotification::Swap(StreamAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAddedNotification_descriptor_; + metadata.reflection = StreamAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamRemovedNotification::kAgentIdFieldNumber; +const int StreamRemovedNotification::kClubIdFieldNumber; +const int StreamRemovedNotification::kStreamIdFieldNumber; +#endif // !_MSC_VER + +StreamRemovedNotification::StreamRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) +} + +void StreamRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamRemovedNotification::StreamRemovedNotification(const StreamRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) +} + +void StreamRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamRemovedNotification::~StreamRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamRemovedNotification) + SharedDtor(); +} + +void StreamRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamRemovedNotification_descriptor_; +} + +const StreamRemovedNotification& StreamRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamRemovedNotification* StreamRemovedNotification::default_instance_ = NULL; + +StreamRemovedNotification* StreamRemovedNotification::New() const { + return new StreamRemovedNotification; +} + +void StreamRemovedNotification::Swap(StreamRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamRemovedNotification_descriptor_; + metadata.reflection = StreamRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateChangedNotification::kAgentIdFieldNumber; +const int StreamStateChangedNotification::kClubIdFieldNumber; +const int StreamStateChangedNotification::kStreamIdFieldNumber; +const int StreamStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +StreamStateChangedNotification::StreamStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) +} + +void StreamStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::StreamStateAssignment*>(&::bgs::protocol::club::v1::client::StreamStateAssignment::default_instance()); +} + +StreamStateChangedNotification::StreamStateChangedNotification(const StreamStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) +} + +void StreamStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateChangedNotification::~StreamStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) + SharedDtor(); +} + +void StreamStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void StreamStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateChangedNotification_descriptor_; +} + +const StreamStateChangedNotification& StreamStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamStateChangedNotification* StreamStateChangedNotification::default_instance_ = NULL; + +StreamStateChangedNotification* StreamStateChangedNotification::New() const { + return new StreamStateChangedNotification; +} + +void StreamStateChangedNotification::Swap(StreamStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateChangedNotification_descriptor_; + metadata.reflection = StreamStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessageAddedNotification::kAgentIdFieldNumber; +const int StreamMessageAddedNotification::kClubIdFieldNumber; +const int StreamMessageAddedNotification::kStreamIdFieldNumber; +const int StreamMessageAddedNotification::kMessageFieldNumber; +const int StreamMessageAddedNotification::kMessageOriginFieldNumber; +#endif // !_MSC_VER + +StreamMessageAddedNotification::StreamMessageAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) +} + +void StreamMessageAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamMessageAddedNotification::StreamMessageAddedNotification(const StreamMessageAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) +} + +void StreamMessageAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_ = NULL; + message_origin_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessageAddedNotification::~StreamMessageAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) + SharedDtor(); +} + +void StreamMessageAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_; + } +} + +void StreamMessageAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessageAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessageAddedNotification_descriptor_; +} + +const StreamMessageAddedNotification& StreamMessageAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamMessageAddedNotification* StreamMessageAddedNotification::default_instance_ = NULL; + +StreamMessageAddedNotification* StreamMessageAddedNotification::New() const { + return new StreamMessageAddedNotification; +} + +void StreamMessageAddedNotification::Swap(StreamMessageAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessageAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessageAddedNotification_descriptor_; + metadata.reflection = StreamMessageAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessageUpdatedNotification::kAgentIdFieldNumber; +const int StreamMessageUpdatedNotification::kClubIdFieldNumber; +const int StreamMessageUpdatedNotification::kStreamIdFieldNumber; +const int StreamMessageUpdatedNotification::kMessageFieldNumber; +#endif // !_MSC_VER + +StreamMessageUpdatedNotification::StreamMessageUpdatedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) +} + +void StreamMessageUpdatedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamMessageUpdatedNotification::StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) +} + +void StreamMessageUpdatedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessageUpdatedNotification::~StreamMessageUpdatedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) + SharedDtor(); +} + +void StreamMessageUpdatedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_; + } +} + +void StreamMessageUpdatedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessageUpdatedNotification_descriptor_; +} + +const StreamMessageUpdatedNotification& StreamMessageUpdatedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::default_instance_ = NULL; + +StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::New() const { + return new StreamMessageUpdatedNotification; +} + +void StreamMessageUpdatedNotification::Swap(StreamMessageUpdatedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessageUpdatedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessageUpdatedNotification_descriptor_; + metadata.reflection = StreamMessageUpdatedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamTypingIndicatorNotification::kAgentIdFieldNumber; +const int StreamTypingIndicatorNotification::kClubIdFieldNumber; +const int StreamTypingIndicatorNotification::kStreamIdFieldNumber; +const int StreamTypingIndicatorNotification::kIndicatorFieldNumber; +#endif // !_MSC_VER + +StreamTypingIndicatorNotification::StreamTypingIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) +} + +void StreamTypingIndicatorNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamTypingIndicatorNotification::StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) +} + +void StreamTypingIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamTypingIndicatorNotification::~StreamTypingIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) + SharedDtor(); +} + +void StreamTypingIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamTypingIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamTypingIndicatorNotification_descriptor_; +} + +const StreamTypingIndicatorNotification& StreamTypingIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::default_instance_ = NULL; + +StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::New() const { + return new StreamTypingIndicatorNotification; +} + +void StreamTypingIndicatorNotification::Swap(StreamTypingIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamTypingIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamTypingIndicatorNotification_descriptor_; + metadata.reflection = StreamTypingIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamUnreadIndicatorNotification::kAgentIdFieldNumber; +const int StreamUnreadIndicatorNotification::kClubIdFieldNumber; +const int StreamUnreadIndicatorNotification::kEventFieldNumber; +const int StreamUnreadIndicatorNotification::kMessageFieldNumber; +#endif // !_MSC_VER + +StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) +} + +void StreamUnreadIndicatorNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + event_ = const_cast< ::bgs::protocol::club::v1::client::StreamEventTime*>(&::bgs::protocol::club::v1::client::StreamEventTime::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) +} + +void StreamUnreadIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + event_ = NULL; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamUnreadIndicatorNotification::~StreamUnreadIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) + SharedDtor(); +} + +void StreamUnreadIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete event_; + delete message_; + } +} + +void StreamUnreadIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamUnreadIndicatorNotification_descriptor_; +} + +const StreamUnreadIndicatorNotification& StreamUnreadIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::default_instance_ = NULL; + +StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::New() const { + return new StreamUnreadIndicatorNotification; +} + +void StreamUnreadIndicatorNotification::Swap(StreamUnreadIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamUnreadIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamUnreadIndicatorNotification_descriptor_; + metadata.reflection = StreamUnreadIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAdvanceViewTimeNotification::kAgentIdFieldNumber; +const int StreamAdvanceViewTimeNotification::kClubIdFieldNumber; +const int StreamAdvanceViewTimeNotification::kViewFieldNumber; +#endif // !_MSC_VER + +StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) +} + +void StreamAdvanceViewTimeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) +} + +void StreamAdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAdvanceViewTimeNotification::~StreamAdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) + SharedDtor(); +} + +void StreamAdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamAdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAdvanceViewTimeNotification_descriptor_; +} + +const StreamAdvanceViewTimeNotification& StreamAdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::default_instance_ = NULL; + +StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::New() const { + return new StreamAdvanceViewTimeNotification; +} + +void StreamAdvanceViewTimeNotification::Swap(StreamAdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAdvanceViewTimeNotification_descriptor_; + metadata.reflection = StreamAdvanceViewTimeNotification_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_notification.pb.h b/src/server/proto/Client/api/client/v1/club_notification.pb.h new file mode 100644 index 00000000000..a53dc6192fa --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.h @@ -0,0 +1,4559 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_notification.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" // IWYU pragma: export +#include "api/common/v1/invitation_types.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" // IWYU pragma: export +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + +class SubscribeNotification; +class UnsubscribeNotification; +class StateChangedNotification; +class SettingsChangedNotification; +class MemberAddedNotification; +class MemberRemovedNotification; +class MemberStateChangedNotification; +class SubscriberStateChangedNotification; +class MemberRoleChangedNotification; +class InvitationAddedNotification; +class InvitationRemovedNotification; +class SuggestionAddedNotification; +class SuggestionRemovedNotification; +class StreamAddedNotification; +class StreamRemovedNotification; +class StreamStateChangedNotification; +class StreamMessageAddedNotification; +class StreamMessageUpdatedNotification; +class StreamTypingIndicatorNotification; +class StreamUnreadIndicatorNotification; +class StreamAdvanceViewTimeNotification; + +// =================================================================== + +class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message { + public: + SubscribeNotification(); + virtual ~SubscribeNotification(); + + SubscribeNotification(const SubscribeNotification& from); + + inline SubscribeNotification& operator=(const SubscribeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeNotification& default_instance(); + + void Swap(SubscribeNotification* other); + + // implements Message ---------------------------------------------- + + SubscribeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.Club club = 4; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Club& club() const; + inline ::bgs::protocol::club::v1::client::Club* mutable_club(); + inline ::bgs::protocol::club::v1::client::Club* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::client::Club* club); + + // optional .bgs.protocol.club.v1.client.ClubView view = 5; + inline bool has_view() const; + inline void clear_view(); + static const int kViewFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubView& view() const; + inline ::bgs::protocol::club::v1::client::ClubView* mutable_view(); + inline ::bgs::protocol::club::v1::client::ClubView* release_view(); + inline void set_allocated_view(::bgs::protocol::club::v1::client::ClubView* view); + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 10; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 10; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // optional .bgs.protocol.club.v1.client.Member member = 11; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 11; + inline const ::bgs::protocol::club::v1::client::Member& member() const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(); + inline ::bgs::protocol::club::v1::client::Member* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::Member* member); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_view(); + inline void clear_has_view(); + inline void set_has_settings(); + inline void clear_has_settings(); + inline void set_has_member(); + inline void clear_has_member(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::Club* club_; + ::bgs::protocol::club::v1::client::ClubView* view_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + ::bgs::protocol::club::v1::client::Member* member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeNotification : public ::google::protobuf::Message { + public: + UnsubscribeNotification(); + virtual ~UnsubscribeNotification(); + + UnsubscribeNotification(const UnsubscribeNotification& from); + + inline UnsubscribeNotification& operator=(const UnsubscribeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeNotification& default_instance(); + + void Swap(UnsubscribeNotification* other); + + // implements Message ---------------------------------------------- + + UnsubscribeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message { + public: + StateChangedNotification(); + virtual ~StateChangedNotification(); + + StateChangedNotification(const StateChangedNotification& from); + + inline StateChangedNotification& operator=(const StateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StateChangedNotification& default_instance(); + + void Swap(StateChangedNotification* other); + + // implements Message ---------------------------------------------- + + StateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubStateAssignment assignment = 5; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubStateAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::ClubStateAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::ClubStateAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::ClubStateAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubStateAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SettingsChangedNotification : public ::google::protobuf::Message { + public: + SettingsChangedNotification(); + virtual ~SettingsChangedNotification(); + + SettingsChangedNotification(const SettingsChangedNotification& from); + + inline SettingsChangedNotification& operator=(const SettingsChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SettingsChangedNotification& default_instance(); + + void Swap(SettingsChangedNotification* other); + + // implements Message ---------------------------------------------- + + SettingsChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSettingsAssignment assignment = 4; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSettingsAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SettingsChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SettingsChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAddedNotification : public ::google::protobuf::Message { + public: + MemberAddedNotification(); + virtual ~MemberAddedNotification(); + + MemberAddedNotification(const MemberAddedNotification& from); + + inline MemberAddedNotification& operator=(const MemberAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAddedNotification& default_instance(); + + void Swap(MemberAddedNotification* other); + + // implements Message ---------------------------------------------- + + MemberAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.Member member = 4; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Member& member(int index) const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRemovedNotification : public ::google::protobuf::Message { + public: + MemberRemovedNotification(); + virtual ~MemberRemovedNotification(); + + MemberRemovedNotification(const MemberRemovedNotification& from); + + inline MemberRemovedNotification& operator=(const MemberRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRemovedNotification& default_instance(); + + void Swap(MemberRemovedNotification* other); + + // implements Message ---------------------------------------------- + + MemberRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.MemberRemovedAssignment member = 4; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberRemovedAssignment& member(int index) const; + inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateChangedNotification : public ::google::protobuf::Message { + public: + MemberStateChangedNotification(); + virtual ~MemberStateChangedNotification(); + + MemberStateChangedNotification(const MemberStateChangedNotification& from); + + inline MemberStateChangedNotification& operator=(const MemberStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateChangedNotification& default_instance(); + + void Swap(MemberStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + MemberStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.MemberStateAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberStateAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::MemberStateAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::MemberStateAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateChangedNotification : public ::google::protobuf::Message { + public: + SubscriberStateChangedNotification(); + virtual ~SubscriberStateChangedNotification(); + + SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from); + + inline SubscriberStateChangedNotification& operator=(const SubscriberStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateChangedNotification& default_instance(); + + void Swap(SubscriberStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + SubscriberStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.SubscriberStateAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::SubscriberStateAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRoleChangedNotification : public ::google::protobuf::Message { + public: + MemberRoleChangedNotification(); + virtual ~MemberRoleChangedNotification(); + + MemberRoleChangedNotification(const MemberRoleChangedNotification& from); + + inline MemberRoleChangedNotification& operator=(const MemberRoleChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRoleChangedNotification& default_instance(); + + void Swap(MemberRoleChangedNotification* other); + + // implements Message ---------------------------------------------- + + MemberRoleChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.RoleAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::RoleAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::RoleAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::RoleAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRoleChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberRoleChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationAddedNotification : public ::google::protobuf::Message { + public: + InvitationAddedNotification(); + virtual ~InvitationAddedNotification(); + + InvitationAddedNotification(const InvitationAddedNotification& from); + + inline InvitationAddedNotification& operator=(const InvitationAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationAddedNotification& default_instance(); + + void Swap(InvitationAddedNotification* other); + + // implements Message ---------------------------------------------- + + InvitationAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 4; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static InvitationAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationRemovedNotification : public ::google::protobuf::Message { + public: + InvitationRemovedNotification(); + virtual ~InvitationRemovedNotification(); + + InvitationRemovedNotification(const InvitationRemovedNotification& from); + + inline InvitationRemovedNotification& operator=(const InvitationRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationRemovedNotification& default_instance(); + + void Swap(InvitationRemovedNotification* other); + + // implements Message ---------------------------------------------- + + InvitationRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 4; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 4; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.InvitationRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::InvitationRemovedReason reason() const; + inline void set_reason(::bgs::protocol::InvitationRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static InvitationRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SuggestionAddedNotification : public ::google::protobuf::Message { + public: + SuggestionAddedNotification(); + virtual ~SuggestionAddedNotification(); + + SuggestionAddedNotification(const SuggestionAddedNotification& from); + + inline SuggestionAddedNotification& operator=(const SuggestionAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SuggestionAddedNotification& default_instance(); + + void Swap(SuggestionAddedNotification* other); + + // implements Message ---------------------------------------------- + + SuggestionAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 4; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSuggestion* suggestion_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SuggestionAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SuggestionRemovedNotification : public ::google::protobuf::Message { + public: + SuggestionRemovedNotification(); + virtual ~SuggestionRemovedNotification(); + + SuggestionRemovedNotification(const SuggestionRemovedNotification& from); + + inline SuggestionRemovedNotification& operator=(const SuggestionRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SuggestionRemovedNotification& default_instance(); + + void Swap(SuggestionRemovedNotification* other); + + // implements Message ---------------------------------------------- + + SuggestionRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 4; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 4; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.SuggestionRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::SuggestionRemovedReason reason() const; + inline void set_reason(::bgs::protocol::SuggestionRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SuggestionRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAddedNotification : public ::google::protobuf::Message { + public: + StreamAddedNotification(); + virtual ~StreamAddedNotification(); + + StreamAddedNotification(const StreamAddedNotification& from); + + inline StreamAddedNotification& operator=(const StreamAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAddedNotification& default_instance(); + + void Swap(StreamAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.Stream stream = 4; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Stream& stream() const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(); + inline ::bgs::protocol::club::v1::client::Stream* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream(); + inline void clear_has_stream(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::Stream* stream_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamRemovedNotification : public ::google::protobuf::Message { + public: + StreamRemovedNotification(); + virtual ~StreamRemovedNotification(); + + StreamRemovedNotification(const StreamRemovedNotification& from); + + inline StreamRemovedNotification& operator=(const StreamRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamRemovedNotification& default_instance(); + + void Swap(StreamRemovedNotification* other); + + // implements Message ---------------------------------------------- + + StreamRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateChangedNotification : public ::google::protobuf::Message { + public: + StreamStateChangedNotification(); + virtual ~StreamStateChangedNotification(); + + StreamStateChangedNotification(const StreamStateChangedNotification& from); + + inline StreamStateChangedNotification& operator=(const StreamStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateChangedNotification& default_instance(); + + void Swap(StreamStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + StreamStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamStateAssignment assignment = 5; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamStateAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::StreamStateAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::StreamStateAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::StreamStateAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamStateAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::Message { + public: + StreamMessageAddedNotification(); + virtual ~StreamMessageAddedNotification(); + + StreamMessageAddedNotification(const StreamMessageAddedNotification& from); + + inline StreamMessageAddedNotification& operator=(const StreamMessageAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessageAddedNotification& default_instance(); + + void Swap(StreamMessageAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMessageAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // optional uint32 message_origin = 6; + inline bool has_message_origin() const; + inline void clear_message_origin(); + static const int kMessageOriginFieldNumber = 6; + inline ::google::protobuf::uint32 message_origin() const; + inline void set_message_origin(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessageAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message(); + inline void clear_has_message(); + inline void set_has_message_origin(); + inline void clear_has_message_origin(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + ::google::protobuf::uint32 message_origin_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessageAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessageUpdatedNotification : public ::google::protobuf::Message { + public: + StreamMessageUpdatedNotification(); + virtual ~StreamMessageUpdatedNotification(); + + StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from); + + inline StreamMessageUpdatedNotification& operator=(const StreamMessageUpdatedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessageUpdatedNotification& default_instance(); + + void Swap(StreamMessageUpdatedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMessageUpdatedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessageUpdatedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamTypingIndicatorNotification : public ::google::protobuf::Message { + public: + StreamTypingIndicatorNotification(); + virtual ~StreamTypingIndicatorNotification(); + + StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from); + + inline StreamTypingIndicatorNotification& operator=(const StreamTypingIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamTypingIndicatorNotification& default_instance(); + + void Swap(StreamTypingIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + StreamTypingIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.StreamTypingIndicator indicator = 5; + inline int indicator_size() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamTypingIndicator& indicator(int index) const; + inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* mutable_indicator(int index); + inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* add_indicator(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >& + indicator() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* + mutable_indicator(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator > indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamTypingIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamUnreadIndicatorNotification : public ::google::protobuf::Message { + public: + StreamUnreadIndicatorNotification(); + virtual ~StreamUnreadIndicatorNotification(); + + StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from); + + inline StreamUnreadIndicatorNotification& operator=(const StreamUnreadIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamUnreadIndicatorNotification& default_instance(); + + void Swap(StreamUnreadIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + StreamUnreadIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamEventTime event = 4; + inline bool has_event() const; + inline void clear_event(); + static const int kEventFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamEventTime& event() const; + inline ::bgs::protocol::club::v1::client::StreamEventTime* mutable_event(); + inline ::bgs::protocol::club::v1::client::StreamEventTime* release_event(); + inline void set_allocated_event(::bgs::protocol::club::v1::client::StreamEventTime* event); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_event(); + inline void clear_has_event(); + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::StreamEventTime* event_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamUnreadIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + StreamAdvanceViewTimeNotification(); + virtual ~StreamAdvanceViewTimeNotification(); + + StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from); + + inline StreamAdvanceViewTimeNotification& operator=(const StreamAdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAdvanceViewTimeNotification& default_instance(); + + void Swap(StreamAdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + StreamAdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.StreamAdvanceViewTime view = 4; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAdvanceViewTime& view(int index) const; + inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* mutable_view(int index); + inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* + mutable_view(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime > view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamAdvanceViewTimeNotification* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SubscribeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SubscribeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.club_id) + return club_id_; +} +inline void SubscribeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.Club club = 4; +inline bool SubscribeNotification::has_club() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscribeNotification::set_has_club() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscribeNotification::clear_has_club() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscribeNotification::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::client::Club::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::client::Club& SubscribeNotification::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::client::Club* SubscribeNotification::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::client::Club; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.club) + return club_; +} +inline ::bgs::protocol::club::v1::client::Club* SubscribeNotification::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::client::Club* temp = club_; + club_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1::client::Club* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.club) +} + +// optional .bgs.protocol.club.v1.client.ClubView view = 5; +inline bool SubscribeNotification::has_view() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SubscribeNotification::set_has_view() { + _has_bits_[0] |= 0x00000008u; +} +inline void SubscribeNotification::clear_has_view() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SubscribeNotification::clear_view() { + if (view_ != NULL) view_->::bgs::protocol::club::v1::client::ClubView::Clear(); + clear_has_view(); +} +inline const ::bgs::protocol::club::v1::client::ClubView& SubscribeNotification::view() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.view) + return view_ != NULL ? *view_ : *default_instance_->view_; +} +inline ::bgs::protocol::club::v1::client::ClubView* SubscribeNotification::mutable_view() { + set_has_view(); + if (view_ == NULL) view_ = new ::bgs::protocol::club::v1::client::ClubView; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.view) + return view_; +} +inline ::bgs::protocol::club::v1::client::ClubView* SubscribeNotification::release_view() { + clear_has_view(); + ::bgs::protocol::club::v1::client::ClubView* temp = view_; + view_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1::client::ClubView* view) { + delete view_; + view_ = view; + if (view) { + set_has_view(); + } else { + clear_has_view(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.view) +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 10; +inline bool SubscribeNotification::has_settings() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void SubscribeNotification::set_has_settings() { + _has_bits_[0] |= 0x00000010u; +} +inline void SubscribeNotification::clear_has_settings() { + _has_bits_[0] &= ~0x00000010u; +} +inline void SubscribeNotification::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& SubscribeNotification::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* SubscribeNotification::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* SubscribeNotification::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.settings) +} + +// optional .bgs.protocol.club.v1.client.Member member = 11; +inline bool SubscribeNotification::has_member() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void SubscribeNotification::set_has_member() { + _has_bits_[0] |= 0x00000020u; +} +inline void SubscribeNotification::clear_has_member() { + _has_bits_[0] &= ~0x00000020u; +} +inline void SubscribeNotification::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::Member::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::Member& SubscribeNotification::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::Member* SubscribeNotification::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::Member; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::Member* SubscribeNotification::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::Member* temp = member_; + member_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.member) +} + +// ------------------------------------------------------------------- + +// UnsubscribeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool UnsubscribeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeNotification.club_id) + return club_id_; +} +inline void UnsubscribeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeNotification.club_id) +} + +// ------------------------------------------------------------------- + +// StateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.club_id) + return club_id_; +} +inline void StateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StateChangedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubStateAssignment assignment = 5; +inline bool StateChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StateChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void StateChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StateChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::ClubStateAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::ClubStateAssignment& StateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubStateAssignment* StateChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::ClubStateAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StateChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubStateAssignment* StateChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::ClubStateAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubStateAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// SettingsChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SettingsChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SettingsChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SettingsChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SettingsChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SettingsChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SettingsChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SettingsChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SettingsChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SettingsChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SettingsChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SettingsChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.club_id) + return club_id_; +} +inline void SettingsChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SettingsChangedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSettingsAssignment assignment = 4; +inline bool SettingsChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SettingsChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void SettingsChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SettingsChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::ClubSettingsAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettingsAssignment& SettingsChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* SettingsChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::ClubSettingsAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* SettingsChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::ClubSettingsAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// MemberAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.club_id) + return club_id_; +} +inline void MemberAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberAddedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.Member member = 4; +inline int MemberAddedNotification::member_size() const { + return member_.size(); +} +inline void MemberAddedNotification::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Member& MemberAddedNotification::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Member* MemberAddedNotification::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Member* MemberAddedNotification::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& +MemberAddedNotification::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* +MemberAddedNotification::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// MemberRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.club_id) + return club_id_; +} +inline void MemberRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.MemberRemovedAssignment member = 4; +inline int MemberRemovedNotification::member_size() const { + return member_.size(); +} +inline void MemberRemovedNotification::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberRemovedAssignment& MemberRemovedNotification::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* MemberRemovedNotification::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* MemberRemovedNotification::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >& +MemberRemovedNotification::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* +MemberRemovedNotification::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// MemberStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.club_id) + return club_id_; +} +inline void MemberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.MemberStateAssignment assignment = 4; +inline int MemberStateChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void MemberStateChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberStateAssignment& MemberStateChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberStateAssignment* MemberStateChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberStateAssignment* MemberStateChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >& +MemberStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* +MemberStateChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// SubscriberStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscriberStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscriberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SubscriberStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscriberStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.club_id) + return club_id_; +} +inline void SubscriberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.SubscriberStateAssignment assignment = 4; +inline int SubscriberStateChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void SubscriberStateChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::SubscriberStateAssignment& SubscriberStateChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* SubscriberStateChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* SubscriberStateChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >& +SubscriberStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* +SubscriberStateChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// MemberRoleChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberRoleChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRoleChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRoleChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRoleChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRoleChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberRoleChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberRoleChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRoleChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRoleChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRoleChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberRoleChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.club_id) + return club_id_; +} +inline void MemberRoleChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRoleChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.RoleAssignment assignment = 4; +inline int MemberRoleChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void MemberRoleChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::RoleAssignment& MemberRoleChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::RoleAssignment* MemberRoleChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::RoleAssignment* MemberRoleChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >& +MemberRoleChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* +MemberRoleChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// InvitationAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool InvitationAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& InvitationAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void InvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool InvitationAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 InvitationAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.club_id) + return club_id_; +} +inline void InvitationAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 4; +inline bool InvitationAddedNotification::has_invitation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void InvitationAddedNotification::set_has_invitation() { + _has_bits_[0] |= 0x00000004u; +} +inline void InvitationAddedNotification::clear_has_invitation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void InvitationAddedNotification::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& InvitationAddedNotification::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* InvitationAddedNotification::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* InvitationAddedNotification::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) +} + +// ------------------------------------------------------------------- + +// InvitationRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool InvitationRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& InvitationRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void InvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool InvitationRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 InvitationRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.club_id) + return club_id_; +} +inline void InvitationRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.club_id) +} + +// optional fixed64 invitation_id = 4; +inline bool InvitationRemovedNotification::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void InvitationRemovedNotification::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void InvitationRemovedNotification::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void InvitationRemovedNotification::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 InvitationRemovedNotification::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.invitation_id) + return invitation_id_; +} +inline void InvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.invitation_id) +} + +// optional .bgs.protocol.InvitationRemovedReason reason = 5; +inline bool InvitationRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void InvitationRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void InvitationRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void InvitationRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::InvitationRemovedReason InvitationRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.reason) + return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); +} +inline void InvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { + assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// SuggestionAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SuggestionAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SuggestionAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SuggestionAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SuggestionAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SuggestionAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SuggestionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SuggestionAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SuggestionAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SuggestionAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SuggestionAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SuggestionAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.club_id) + return club_id_; +} +inline void SuggestionAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 4; +inline bool SuggestionAddedNotification::has_suggestion() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SuggestionAddedNotification::set_has_suggestion() { + _has_bits_[0] |= 0x00000004u; +} +inline void SuggestionAddedNotification::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SuggestionAddedNotification::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestion::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& SuggestionAddedNotification::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* SuggestionAddedNotification::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestion; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* SuggestionAddedNotification::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) +} + +// ------------------------------------------------------------------- + +// SuggestionRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SuggestionRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SuggestionRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SuggestionRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SuggestionRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SuggestionRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SuggestionRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SuggestionRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SuggestionRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SuggestionRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SuggestionRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SuggestionRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.club_id) + return club_id_; +} +inline void SuggestionRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.club_id) +} + +// optional fixed64 suggestion_id = 4; +inline bool SuggestionRemovedNotification::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SuggestionRemovedNotification::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SuggestionRemovedNotification::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SuggestionRemovedNotification::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 SuggestionRemovedNotification::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.suggestion_id) + return suggestion_id_; +} +inline void SuggestionRemovedNotification::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.suggestion_id) +} + +// optional .bgs.protocol.SuggestionRemovedReason reason = 5; +inline bool SuggestionRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SuggestionRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void SuggestionRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SuggestionRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::SuggestionRemovedReason SuggestionRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.reason) + return static_cast< ::bgs::protocol::SuggestionRemovedReason >(reason_); +} +inline void SuggestionRemovedNotification::set_reason(::bgs::protocol::SuggestionRemovedReason value) { + assert(::bgs::protocol::SuggestionRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// StreamAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.club_id) + return club_id_; +} +inline void StreamAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.Stream stream = 4; +inline bool StreamAddedNotification::has_stream() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamAddedNotification::set_has_stream() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamAddedNotification::clear_has_stream() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamAddedNotification::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::Stream::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::Stream& StreamAddedNotification::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* StreamAddedNotification::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::Stream; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAddedNotification.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* StreamAddedNotification::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::Stream* temp = stream_; + stream_ = NULL; + return temp; +} +inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.stream) +} + +// ------------------------------------------------------------------- + +// StreamRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.club_id) + return club_id_; +} +inline void StreamRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamRemovedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamRemovedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamRemovedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamRemovedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamRemovedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.stream_id) + return stream_id_; +} +inline void StreamRemovedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.stream_id) +} + +// ------------------------------------------------------------------- + +// StreamStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.club_id) + return club_id_; +} +inline void StreamStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamStateChangedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateChangedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateChangedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateChangedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamStateChangedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.stream_id) + return stream_id_; +} +inline void StreamStateChangedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamStateAssignment assignment = 5; +inline bool StreamStateChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::StreamStateAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::StreamStateAssignment& StreamStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::StreamStateAssignment* StreamStateChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::StreamStateAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::StreamStateAssignment* StreamStateChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::StreamStateAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::StreamStateAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// StreamMessageAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMessageAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessageAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessageAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessageAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMessageAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMessageAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamMessageAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessageAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessageAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessageAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMessageAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.club_id) + return club_id_; +} +inline void StreamMessageAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamMessageAddedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMessageAddedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMessageAddedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMessageAddedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMessageAddedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.stream_id) + return stream_id_; +} +inline void StreamMessageAddedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamMessageAddedNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessageAddedNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessageAddedNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessageAddedNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMessageAddedNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageAddedNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageAddedNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) +} + +// optional uint32 message_origin = 6; +inline bool StreamMessageAddedNotification::has_message_origin() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMessageAddedNotification::set_has_message_origin() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMessageAddedNotification::clear_has_message_origin() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMessageAddedNotification::clear_message_origin() { + message_origin_ = 0u; + clear_has_message_origin(); +} +inline ::google::protobuf::uint32 StreamMessageAddedNotification::message_origin() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message_origin) + return message_origin_; +} +inline void StreamMessageAddedNotification::set_message_origin(::google::protobuf::uint32 value) { + set_has_message_origin(); + message_origin_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message_origin) +} + +// ------------------------------------------------------------------- + +// StreamMessageUpdatedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMessageUpdatedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessageUpdatedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessageUpdatedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMessageUpdatedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMessageUpdatedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamMessageUpdatedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessageUpdatedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessageUpdatedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.club_id) + return club_id_; +} +inline void StreamMessageUpdatedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamMessageUpdatedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMessageUpdatedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMessageUpdatedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.stream_id) + return stream_id_; +} +inline void StreamMessageUpdatedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamMessageUpdatedNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessageUpdatedNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessageUpdatedNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMessageUpdatedNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageUpdatedNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageUpdatedNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) +} + +// ------------------------------------------------------------------- + +// StreamTypingIndicatorNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamTypingIndicatorNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamTypingIndicatorNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamTypingIndicatorNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicatorNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamTypingIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamTypingIndicatorNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamTypingIndicatorNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamTypingIndicatorNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.club_id) + return club_id_; +} +inline void StreamTypingIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamTypingIndicatorNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamTypingIndicatorNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamTypingIndicatorNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.stream_id) + return stream_id_; +} +inline void StreamTypingIndicatorNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.stream_id) +} + +// repeated .bgs.protocol.club.v1.client.StreamTypingIndicator indicator = 5; +inline int StreamTypingIndicatorNotification::indicator_size() const { + return indicator_.size(); +} +inline void StreamTypingIndicatorNotification::clear_indicator() { + indicator_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamTypingIndicator& StreamTypingIndicatorNotification::indicator(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* StreamTypingIndicatorNotification::mutable_indicator(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* StreamTypingIndicatorNotification::add_indicator() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >& +StreamTypingIndicatorNotification::indicator() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* +StreamTypingIndicatorNotification::mutable_indicator() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return &indicator_; +} + +// ------------------------------------------------------------------- + +// StreamUnreadIndicatorNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamUnreadIndicatorNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamUnreadIndicatorNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamUnreadIndicatorNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamUnreadIndicatorNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamUnreadIndicatorNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamUnreadIndicatorNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamUnreadIndicatorNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamUnreadIndicatorNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.club_id) + return club_id_; +} +inline void StreamUnreadIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.StreamEventTime event = 4; +inline bool StreamUnreadIndicatorNotification::has_event() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_event() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamUnreadIndicatorNotification::clear_has_event() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamUnreadIndicatorNotification::clear_event() { + if (event_ != NULL) event_->::bgs::protocol::club::v1::client::StreamEventTime::Clear(); + clear_has_event(); +} +inline const ::bgs::protocol::club::v1::client::StreamEventTime& StreamUnreadIndicatorNotification::event() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) + return event_ != NULL ? *event_ : *default_instance_->event_; +} +inline ::bgs::protocol::club::v1::client::StreamEventTime* StreamUnreadIndicatorNotification::mutable_event() { + set_has_event(); + if (event_ == NULL) event_ = new ::bgs::protocol::club::v1::client::StreamEventTime; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) + return event_; +} +inline ::bgs::protocol::club::v1::client::StreamEventTime* StreamUnreadIndicatorNotification::release_event() { + clear_has_event(); + ::bgs::protocol::club::v1::client::StreamEventTime* temp = event_; + event_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protocol::club::v1::client::StreamEventTime* event) { + delete event_; + event_ = event; + if (event) { + set_has_event(); + } else { + clear_has_event(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamUnreadIndicatorNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamUnreadIndicatorNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamUnreadIndicatorNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamUnreadIndicatorNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamUnreadIndicatorNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamUnreadIndicatorNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) +} + +// ------------------------------------------------------------------- + +// StreamAdvanceViewTimeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamAdvanceViewTimeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAdvanceViewTimeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAdvanceViewTimeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAdvanceViewTimeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamAdvanceViewTimeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamAdvanceViewTimeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamAdvanceViewTimeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAdvanceViewTimeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAdvanceViewTimeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAdvanceViewTimeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTimeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.club_id) + return club_id_; +} +inline void StreamAdvanceViewTimeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.StreamAdvanceViewTime view = 4; +inline int StreamAdvanceViewTimeNotification::view_size() const { + return view_.size(); +} +inline void StreamAdvanceViewTimeNotification::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamAdvanceViewTime& StreamAdvanceViewTimeNotification::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >& +StreamAdvanceViewTimeNotification::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* +StreamAdvanceViewTimeNotification::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return &view_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_range_set.pb.cc b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc new file mode 100644 index 00000000000..a823e292a02 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc @@ -0,0 +1,887 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_range_set.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_range_set.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubTypeRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTypeRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMemberRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMemberRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStreamRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStreamRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubInvitationRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubInvitationRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSuggestionRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSuggestionRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubTicketRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTicketRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubBanRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubBanRangeSet_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_range_set.proto"); + GOOGLE_CHECK(file != NULL); + ClubTypeRangeSet_descriptor_ = file->message_type(0); + static const int ClubTypeRangeSet_offsets_[10] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, description_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, broadcast_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, short_name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ban_), + }; + ClubTypeRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTypeRangeSet_descriptor_, + ClubTypeRangeSet::default_instance_, + ClubTypeRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTypeRangeSet)); + ClubMemberRangeSet_descriptor_ = file->message_type(1); + static const int ClubMemberRangeSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, voice_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, stream_subscriptions_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, note_range_), + }; + ClubMemberRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMemberRangeSet_descriptor_, + ClubMemberRangeSet::default_instance_, + ClubMemberRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMemberRangeSet)); + ClubStreamRangeSet_descriptor_ = file->message_type(2); + static const int ClubStreamRangeSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, subject_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, message_range_), + }; + ClubStreamRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStreamRangeSet_descriptor_, + ClubStreamRangeSet::default_instance_, + ClubStreamRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStreamRangeSet)); + ClubInvitationRangeSet_descriptor_ = file->message_type(3); + static const int ClubInvitationRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, count_), + }; + ClubInvitationRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubInvitationRangeSet_descriptor_, + ClubInvitationRangeSet::default_instance_, + ClubInvitationRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubInvitationRangeSet)); + ClubSuggestionRangeSet_descriptor_ = file->message_type(4); + static const int ClubSuggestionRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, count_), + }; + ClubSuggestionRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSuggestionRangeSet_descriptor_, + ClubSuggestionRangeSet::default_instance_, + ClubSuggestionRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSuggestionRangeSet)); + ClubTicketRangeSet_descriptor_ = file->message_type(5); + static const int ClubTicketRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, count_), + }; + ClubTicketRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTicketRangeSet_descriptor_, + ClubTicketRangeSet::default_instance_, + ClubTicketRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTicketRangeSet)); + ClubBanRangeSet_descriptor_ = file->message_type(6); + static const int ClubBanRangeSet_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, reason_range_), + }; + ClubBanRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubBanRangeSet_descriptor_, + ClubBanRangeSet::default_instance_, + ClubBanRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubBanRangeSet)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTypeRangeSet_descriptor_, &ClubTypeRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMemberRangeSet_descriptor_, &ClubMemberRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStreamRangeSet_descriptor_, &ClubStreamRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubInvitationRangeSet_descriptor_, &ClubInvitationRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSuggestionRangeSet_descriptor_, &ClubSuggestionRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTicketRangeSet_descriptor_, &ClubTicketRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubBanRangeSet_descriptor_, &ClubBanRangeSet::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + delete ClubTypeRangeSet::default_instance_; + delete ClubTypeRangeSet_reflection_; + delete ClubMemberRangeSet::default_instance_; + delete ClubMemberRangeSet_reflection_; + delete ClubStreamRangeSet::default_instance_; + delete ClubStreamRangeSet_reflection_; + delete ClubInvitationRangeSet::default_instance_; + delete ClubInvitationRangeSet_reflection_; + delete ClubSuggestionRangeSet::default_instance_; + delete ClubSuggestionRangeSet_reflection_; + delete ClubTicketRangeSet::default_instance_; + delete ClubTicketRangeSet_reflection_; + delete ClubBanRangeSet::default_instance_; + delete ClubBanRangeSet_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2frange_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\"api/client/v1/club_range_set.proto\022\033bg" + "s.protocol.club.v1.client\032\035global_extens" + "ions/range.proto\"\204\005\n\020ClubTypeRangeSet\0222\n" + "\nname_range\030\002 \001(\0132\036.bgs.protocol.Unsigne" + "dIntRange\0229\n\021description_range\030\003 \001(\0132\036.b" + "gs.protocol.UnsignedIntRange\0227\n\017broadcas" + "t_range\030\004 \001(\0132\036.bgs.protocol.UnsignedInt" + "Range\0228\n\020short_name_range\030\007 \001(\0132\036.bgs.pr" + "otocol.UnsignedIntRange\022\?\n\006member\030\031 \001(\0132" + "/.bgs.protocol.club.v1.client.ClubMember" + "RangeSet\022\?\n\006stream\030\032 \001(\0132/.bgs.protocol." + "club.v1.client.ClubStreamRangeSet\022G\n\ninv" + "itation\030\033 \001(\01323.bgs.protocol.club.v1.cli" + "ent.ClubInvitationRangeSet\022G\n\nsuggestion" + "\030\034 \001(\01323.bgs.protocol.club.v1.client.Clu" + "bSuggestionRangeSet\022\?\n\006ticket\030\035 \001(\0132/.bg" + "s.protocol.club.v1.client.ClubTicketRang" + "eSet\0229\n\003ban\030\036 \001(\0132,.bgs.protocol.club.v1" + ".client.ClubBanRangeSet\"\344\001\n\022ClubMemberRa" + "ngeSet\022-\n\005count\030\001 \001(\0132\036.bgs.protocol.Uns" + "ignedIntRange\022-\n\005voice\030\003 \001(\0132\036.bgs.proto" + "col.UnsignedIntRange\022<\n\024stream_subscript" + "ions\030\005 \001(\0132\036.bgs.protocol.UnsignedIntRan" + "ge\0222\n\nnote_range\030\007 \001(\0132\036.bgs.protocol.Un" + "signedIntRange\"\345\001\n\022ClubStreamRangeSet\022-\n" + "\005count\030\001 \001(\0132\036.bgs.protocol.UnsignedIntR" + "ange\0222\n\nname_range\030\003 \001(\0132\036.bgs.protocol." + "UnsignedIntRange\0225\n\rsubject_range\030\004 \001(\0132" + "\036.bgs.protocol.UnsignedIntRange\0225\n\rmessa" + "ge_range\030\005 \001(\0132\036.bgs.protocol.UnsignedIn" + "tRange\"G\n\026ClubInvitationRangeSet\022-\n\005coun" + "t\030\001 \001(\0132\036.bgs.protocol.UnsignedIntRange\"" + "G\n\026ClubSuggestionRangeSet\022-\n\005count\030\001 \001(\013" + "2\036.bgs.protocol.UnsignedIntRange\"C\n\022Club" + "TicketRangeSet\022-\n\005count\030\001 \001(\0132\036.bgs.prot" + "ocol.UnsignedIntRange\"v\n\017ClubBanRangeSet" + "\022-\n\005count\030\001 \001(\0132\036.bgs.protocol.UnsignedI" + "ntRange\0224\n\014reason_range\030\003 \001(\0132\036.bgs.prot" + "ocol.UnsignedIntRangeB\002H\002", 1545); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_range_set.proto", &protobuf_RegisterTypes); + ClubTypeRangeSet::default_instance_ = new ClubTypeRangeSet(); + ClubMemberRangeSet::default_instance_ = new ClubMemberRangeSet(); + ClubStreamRangeSet::default_instance_ = new ClubStreamRangeSet(); + ClubInvitationRangeSet::default_instance_ = new ClubInvitationRangeSet(); + ClubSuggestionRangeSet::default_instance_ = new ClubSuggestionRangeSet(); + ClubTicketRangeSet::default_instance_ = new ClubTicketRangeSet(); + ClubBanRangeSet::default_instance_ = new ClubBanRangeSet(); + ClubTypeRangeSet::default_instance_->InitAsDefaultInstance(); + ClubMemberRangeSet::default_instance_->InitAsDefaultInstance(); + ClubStreamRangeSet::default_instance_->InitAsDefaultInstance(); + ClubInvitationRangeSet::default_instance_->InitAsDefaultInstance(); + ClubSuggestionRangeSet::default_instance_->InitAsDefaultInstance(); + ClubTicketRangeSet::default_instance_->InitAsDefaultInstance(); + ClubBanRangeSet::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubTypeRangeSet::kNameRangeFieldNumber; +const int ClubTypeRangeSet::kDescriptionRangeFieldNumber; +const int ClubTypeRangeSet::kBroadcastRangeFieldNumber; +const int ClubTypeRangeSet::kShortNameRangeFieldNumber; +const int ClubTypeRangeSet::kMemberFieldNumber; +const int ClubTypeRangeSet::kStreamFieldNumber; +const int ClubTypeRangeSet::kInvitationFieldNumber; +const int ClubTypeRangeSet::kSuggestionFieldNumber; +const int ClubTypeRangeSet::kTicketFieldNumber; +const int ClubTypeRangeSet::kBanFieldNumber; +#endif // !_MSC_VER + +ClubTypeRangeSet::ClubTypeRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) +} + +void ClubTypeRangeSet::InitAsDefaultInstance() { + name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + description_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + broadcast_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + short_name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::ClubMemberRangeSet*>(&::bgs::protocol::club::v1::client::ClubMemberRangeSet::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::ClubStreamRangeSet*>(&::bgs::protocol::club::v1::client::ClubStreamRangeSet::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitationRangeSet*>(&::bgs::protocol::club::v1::client::ClubInvitationRangeSet::default_instance()); + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet*>(&::bgs::protocol::club::v1::client::ClubSuggestionRangeSet::default_instance()); + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicketRangeSet*>(&::bgs::protocol::club::v1::client::ClubTicketRangeSet::default_instance()); + ban_ = const_cast< ::bgs::protocol::club::v1::client::ClubBanRangeSet*>(&::bgs::protocol::club::v1::client::ClubBanRangeSet::default_instance()); +} + +ClubTypeRangeSet::ClubTypeRangeSet(const ClubTypeRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) +} + +void ClubTypeRangeSet::SharedCtor() { + _cached_size_ = 0; + name_range_ = NULL; + description_range_ = NULL; + broadcast_range_ = NULL; + short_name_range_ = NULL; + member_ = NULL; + stream_ = NULL; + invitation_ = NULL; + suggestion_ = NULL; + ticket_ = NULL; + ban_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTypeRangeSet::~ClubTypeRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) + SharedDtor(); +} + +void ClubTypeRangeSet::SharedDtor() { + if (this != default_instance_) { + delete name_range_; + delete description_range_; + delete broadcast_range_; + delete short_name_range_; + delete member_; + delete stream_; + delete invitation_; + delete suggestion_; + delete ticket_; + delete ban_; + } +} + +void ClubTypeRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTypeRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTypeRangeSet_descriptor_; +} + +const ClubTypeRangeSet& ClubTypeRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubTypeRangeSet* ClubTypeRangeSet::default_instance_ = NULL; + +ClubTypeRangeSet* ClubTypeRangeSet::New() const { + return new ClubTypeRangeSet; +} + +void ClubTypeRangeSet::Swap(ClubTypeRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTypeRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTypeRangeSet_descriptor_; + metadata.reflection = ClubTypeRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMemberRangeSet::kCountFieldNumber; +const int ClubMemberRangeSet::kVoiceFieldNumber; +const int ClubMemberRangeSet::kStreamSubscriptionsFieldNumber; +const int ClubMemberRangeSet::kNoteRangeFieldNumber; +#endif // !_MSC_VER + +ClubMemberRangeSet::ClubMemberRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) +} + +void ClubMemberRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + voice_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + stream_subscriptions_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + note_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubMemberRangeSet::ClubMemberRangeSet(const ClubMemberRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) +} + +void ClubMemberRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + voice_ = NULL; + stream_subscriptions_ = NULL; + note_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMemberRangeSet::~ClubMemberRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) + SharedDtor(); +} + +void ClubMemberRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete voice_; + delete stream_subscriptions_; + delete note_range_; + } +} + +void ClubMemberRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMemberRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMemberRangeSet_descriptor_; +} + +const ClubMemberRangeSet& ClubMemberRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubMemberRangeSet* ClubMemberRangeSet::default_instance_ = NULL; + +ClubMemberRangeSet* ClubMemberRangeSet::New() const { + return new ClubMemberRangeSet; +} + +void ClubMemberRangeSet::Swap(ClubMemberRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMemberRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMemberRangeSet_descriptor_; + metadata.reflection = ClubMemberRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStreamRangeSet::kCountFieldNumber; +const int ClubStreamRangeSet::kNameRangeFieldNumber; +const int ClubStreamRangeSet::kSubjectRangeFieldNumber; +const int ClubStreamRangeSet::kMessageRangeFieldNumber; +#endif // !_MSC_VER + +ClubStreamRangeSet::ClubStreamRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) +} + +void ClubStreamRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + subject_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + message_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubStreamRangeSet::ClubStreamRangeSet(const ClubStreamRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) +} + +void ClubStreamRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + name_range_ = NULL; + subject_range_ = NULL; + message_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStreamRangeSet::~ClubStreamRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) + SharedDtor(); +} + +void ClubStreamRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete name_range_; + delete subject_range_; + delete message_range_; + } +} + +void ClubStreamRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStreamRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStreamRangeSet_descriptor_; +} + +const ClubStreamRangeSet& ClubStreamRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubStreamRangeSet* ClubStreamRangeSet::default_instance_ = NULL; + +ClubStreamRangeSet* ClubStreamRangeSet::New() const { + return new ClubStreamRangeSet; +} + +void ClubStreamRangeSet::Swap(ClubStreamRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStreamRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStreamRangeSet_descriptor_; + metadata.reflection = ClubStreamRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubInvitationRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubInvitationRangeSet::ClubInvitationRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) +} + +void ClubInvitationRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubInvitationRangeSet::ClubInvitationRangeSet(const ClubInvitationRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) +} + +void ClubInvitationRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubInvitationRangeSet::~ClubInvitationRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) + SharedDtor(); +} + +void ClubInvitationRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubInvitationRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubInvitationRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubInvitationRangeSet_descriptor_; +} + +const ClubInvitationRangeSet& ClubInvitationRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubInvitationRangeSet* ClubInvitationRangeSet::default_instance_ = NULL; + +ClubInvitationRangeSet* ClubInvitationRangeSet::New() const { + return new ClubInvitationRangeSet; +} + +void ClubInvitationRangeSet::Swap(ClubInvitationRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubInvitationRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubInvitationRangeSet_descriptor_; + metadata.reflection = ClubInvitationRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSuggestionRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubSuggestionRangeSet::ClubSuggestionRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) +} + +void ClubSuggestionRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubSuggestionRangeSet::ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) +} + +void ClubSuggestionRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSuggestionRangeSet::~ClubSuggestionRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) + SharedDtor(); +} + +void ClubSuggestionRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubSuggestionRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSuggestionRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSuggestionRangeSet_descriptor_; +} + +const ClubSuggestionRangeSet& ClubSuggestionRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubSuggestionRangeSet* ClubSuggestionRangeSet::default_instance_ = NULL; + +ClubSuggestionRangeSet* ClubSuggestionRangeSet::New() const { + return new ClubSuggestionRangeSet; +} + +void ClubSuggestionRangeSet::Swap(ClubSuggestionRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSuggestionRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSuggestionRangeSet_descriptor_; + metadata.reflection = ClubSuggestionRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubTicketRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubTicketRangeSet::ClubTicketRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) +} + +void ClubTicketRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubTicketRangeSet::ClubTicketRangeSet(const ClubTicketRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) +} + +void ClubTicketRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTicketRangeSet::~ClubTicketRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) + SharedDtor(); +} + +void ClubTicketRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubTicketRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTicketRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTicketRangeSet_descriptor_; +} + +const ClubTicketRangeSet& ClubTicketRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubTicketRangeSet* ClubTicketRangeSet::default_instance_ = NULL; + +ClubTicketRangeSet* ClubTicketRangeSet::New() const { + return new ClubTicketRangeSet; +} + +void ClubTicketRangeSet::Swap(ClubTicketRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTicketRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTicketRangeSet_descriptor_; + metadata.reflection = ClubTicketRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubBanRangeSet::kCountFieldNumber; +const int ClubBanRangeSet::kReasonRangeFieldNumber; +#endif // !_MSC_VER + +ClubBanRangeSet::ClubBanRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) +} + +void ClubBanRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + reason_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubBanRangeSet::ClubBanRangeSet(const ClubBanRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) +} + +void ClubBanRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + reason_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubBanRangeSet::~ClubBanRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBanRangeSet) + SharedDtor(); +} + +void ClubBanRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete reason_range_; + } +} + +void ClubBanRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubBanRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubBanRangeSet_descriptor_; +} + +const ClubBanRangeSet& ClubBanRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubBanRangeSet* ClubBanRangeSet::default_instance_ = NULL; + +ClubBanRangeSet* ClubBanRangeSet::New() const { + return new ClubBanRangeSet; +} + +void ClubBanRangeSet::Swap(ClubBanRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubBanRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubBanRangeSet_descriptor_; + metadata.reflection = ClubBanRangeSet_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_range_set.pb.h b/src/server/proto/Client/api/client/v1/club_range_set.pb.h new file mode 100644 index 00000000000..4c7b52758e7 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.h @@ -0,0 +1,1710 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_range_set.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/range.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + +class ClubTypeRangeSet; +class ClubMemberRangeSet; +class ClubStreamRangeSet; +class ClubInvitationRangeSet; +class ClubSuggestionRangeSet; +class ClubTicketRangeSet; +class ClubBanRangeSet; + +// =================================================================== + +class TC_PROTO_API ClubTypeRangeSet : public ::google::protobuf::Message { + public: + ClubTypeRangeSet(); + virtual ~ClubTypeRangeSet(); + + ClubTypeRangeSet(const ClubTypeRangeSet& from); + + inline ClubTypeRangeSet& operator=(const ClubTypeRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTypeRangeSet& default_instance(); + + void Swap(ClubTypeRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubTypeRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange name_range = 2; + inline bool has_name_range() const; + inline void clear_name_range(); + static const int kNameRangeFieldNumber = 2; + inline const ::bgs::protocol::UnsignedIntRange& name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_name_range(); + inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); + + // optional .bgs.protocol.UnsignedIntRange description_range = 3; + inline bool has_description_range() const; + inline void clear_description_range(); + static const int kDescriptionRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& description_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_description_range(); + inline ::bgs::protocol::UnsignedIntRange* release_description_range(); + inline void set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range); + + // optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; + inline bool has_broadcast_range() const; + inline void clear_broadcast_range(); + static const int kBroadcastRangeFieldNumber = 4; + inline const ::bgs::protocol::UnsignedIntRange& broadcast_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_broadcast_range(); + inline ::bgs::protocol::UnsignedIntRange* release_broadcast_range(); + inline void set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range); + + // optional .bgs.protocol.UnsignedIntRange short_name_range = 7; + inline bool has_short_name_range() const; + inline void clear_short_name_range(); + static const int kShortNameRangeFieldNumber = 7; + inline const ::bgs::protocol::UnsignedIntRange& short_name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_short_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_short_name_range(); + inline void set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range); + + // optional .bgs.protocol.club.v1.client.ClubMemberRangeSet member = 25; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 25; + inline const ::bgs::protocol::club::v1::client::ClubMemberRangeSet& member() const; + inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* mutable_member(); + inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::ClubMemberRangeSet* member); + + // optional .bgs.protocol.club.v1.client.ClubStreamRangeSet stream = 26; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 26; + inline const ::bgs::protocol::club::v1::client::ClubStreamRangeSet& stream() const; + inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* mutable_stream(); + inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream); + + // optional .bgs.protocol.club.v1.client.ClubInvitationRangeSet invitation = 27; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 27; + inline const ::bgs::protocol::club::v1::client::ClubInvitationRangeSet& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation); + + // optional .bgs.protocol.club.v1.client.ClubSuggestionRangeSet suggestion = 28; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 28; + inline const ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion); + + // optional .bgs.protocol.club.v1.client.ClubTicketRangeSet ticket = 29; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 29; + inline const ::bgs::protocol::club::v1::client::ClubTicketRangeSet& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket); + + // optional .bgs.protocol.club.v1.client.ClubBanRangeSet ban = 30; + inline bool has_ban() const; + inline void clear_ban(); + static const int kBanFieldNumber = 30; + inline const ::bgs::protocol::club::v1::client::ClubBanRangeSet& ban() const; + inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* mutable_ban(); + inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* release_ban(); + inline void set_allocated_ban(::bgs::protocol::club::v1::client::ClubBanRangeSet* ban); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTypeRangeSet) + private: + inline void set_has_name_range(); + inline void clear_has_name_range(); + inline void set_has_description_range(); + inline void clear_has_description_range(); + inline void set_has_broadcast_range(); + inline void clear_has_broadcast_range(); + inline void set_has_short_name_range(); + inline void clear_has_short_name_range(); + inline void set_has_member(); + inline void clear_has_member(); + inline void set_has_stream(); + inline void clear_has_stream(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + inline void set_has_ticket(); + inline void clear_has_ticket(); + inline void set_has_ban(); + inline void clear_has_ban(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* name_range_; + ::bgs::protocol::UnsignedIntRange* description_range_; + ::bgs::protocol::UnsignedIntRange* broadcast_range_; + ::bgs::protocol::UnsignedIntRange* short_name_range_; + ::bgs::protocol::club::v1::client::ClubMemberRangeSet* member_; + ::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream_; + ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation_; + ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion_; + ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket_; + ::bgs::protocol::club::v1::client::ClubBanRangeSet* ban_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubTypeRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMemberRangeSet : public ::google::protobuf::Message { + public: + ClubMemberRangeSet(); + virtual ~ClubMemberRangeSet(); + + ClubMemberRangeSet(const ClubMemberRangeSet& from); + + inline ClubMemberRangeSet& operator=(const ClubMemberRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMemberRangeSet& default_instance(); + + void Swap(ClubMemberRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubMemberRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange voice = 3; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& voice() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_voice(); + inline ::bgs::protocol::UnsignedIntRange* release_voice(); + inline void set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice); + + // optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; + inline bool has_stream_subscriptions() const; + inline void clear_stream_subscriptions(); + static const int kStreamSubscriptionsFieldNumber = 5; + inline const ::bgs::protocol::UnsignedIntRange& stream_subscriptions() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_stream_subscriptions(); + inline ::bgs::protocol::UnsignedIntRange* release_stream_subscriptions(); + inline void set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions); + + // optional .bgs.protocol.UnsignedIntRange note_range = 7; + inline bool has_note_range() const; + inline void clear_note_range(); + static const int kNoteRangeFieldNumber = 7; + inline const ::bgs::protocol::UnsignedIntRange& note_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_note_range(); + inline ::bgs::protocol::UnsignedIntRange* release_note_range(); + inline void set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubMemberRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_voice(); + inline void clear_has_voice(); + inline void set_has_stream_subscriptions(); + inline void clear_has_stream_subscriptions(); + inline void set_has_note_range(); + inline void clear_has_note_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* voice_; + ::bgs::protocol::UnsignedIntRange* stream_subscriptions_; + ::bgs::protocol::UnsignedIntRange* note_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubMemberRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStreamRangeSet : public ::google::protobuf::Message { + public: + ClubStreamRangeSet(); + virtual ~ClubStreamRangeSet(); + + ClubStreamRangeSet(const ClubStreamRangeSet& from); + + inline ClubStreamRangeSet& operator=(const ClubStreamRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStreamRangeSet& default_instance(); + + void Swap(ClubStreamRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubStreamRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange name_range = 3; + inline bool has_name_range() const; + inline void clear_name_range(); + static const int kNameRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_name_range(); + inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); + + // optional .bgs.protocol.UnsignedIntRange subject_range = 4; + inline bool has_subject_range() const; + inline void clear_subject_range(); + static const int kSubjectRangeFieldNumber = 4; + inline const ::bgs::protocol::UnsignedIntRange& subject_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_subject_range(); + inline ::bgs::protocol::UnsignedIntRange* release_subject_range(); + inline void set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range); + + // optional .bgs.protocol.UnsignedIntRange message_range = 5; + inline bool has_message_range() const; + inline void clear_message_range(); + static const int kMessageRangeFieldNumber = 5; + inline const ::bgs::protocol::UnsignedIntRange& message_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_message_range(); + inline ::bgs::protocol::UnsignedIntRange* release_message_range(); + inline void set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_name_range(); + inline void clear_has_name_range(); + inline void set_has_subject_range(); + inline void clear_has_subject_range(); + inline void set_has_message_range(); + inline void clear_has_message_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* name_range_; + ::bgs::protocol::UnsignedIntRange* subject_range_; + ::bgs::protocol::UnsignedIntRange* message_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubStreamRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubInvitationRangeSet : public ::google::protobuf::Message { + public: + ClubInvitationRangeSet(); + virtual ~ClubInvitationRangeSet(); + + ClubInvitationRangeSet(const ClubInvitationRangeSet& from); + + inline ClubInvitationRangeSet& operator=(const ClubInvitationRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubInvitationRangeSet& default_instance(); + + void Swap(ClubInvitationRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubInvitationRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitationRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubInvitationRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSuggestionRangeSet : public ::google::protobuf::Message { + public: + ClubSuggestionRangeSet(); + virtual ~ClubSuggestionRangeSet(); + + ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from); + + inline ClubSuggestionRangeSet& operator=(const ClubSuggestionRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSuggestionRangeSet& default_instance(); + + void Swap(ClubSuggestionRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubSuggestionRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubSuggestionRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubTicketRangeSet : public ::google::protobuf::Message { + public: + ClubTicketRangeSet(); + virtual ~ClubTicketRangeSet(); + + ClubTicketRangeSet(const ClubTicketRangeSet& from); + + inline ClubTicketRangeSet& operator=(const ClubTicketRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTicketRangeSet& default_instance(); + + void Swap(ClubTicketRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubTicketRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicketRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubTicketRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubBanRangeSet : public ::google::protobuf::Message { + public: + ClubBanRangeSet(); + virtual ~ClubBanRangeSet(); + + ClubBanRangeSet(const ClubBanRangeSet& from); + + inline ClubBanRangeSet& operator=(const ClubBanRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubBanRangeSet& default_instance(); + + void Swap(ClubBanRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubBanRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange reason_range = 3; + inline bool has_reason_range() const; + inline void clear_reason_range(); + static const int kReasonRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& reason_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_reason_range(); + inline ::bgs::protocol::UnsignedIntRange* release_reason_range(); + inline void set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBanRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_reason_range(); + inline void clear_has_reason_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* reason_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubBanRangeSet* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubTypeRangeSet + +// optional .bgs.protocol.UnsignedIntRange name_range = 2; +inline bool ClubTypeRangeSet::has_name_range() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTypeRangeSet::set_has_name_range() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTypeRangeSet::clear_has_name_range() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTypeRangeSet::clear_name_range() { + if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) + return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_name_range() { + set_has_name_range(); + if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) + return name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_name_range() { + clear_has_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = name_range_; + name_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { + delete name_range_; + name_range_ = name_range; + if (name_range) { + set_has_name_range(); + } else { + clear_has_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) +} + +// optional .bgs.protocol.UnsignedIntRange description_range = 3; +inline bool ClubTypeRangeSet::has_description_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubTypeRangeSet::set_has_description_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubTypeRangeSet::clear_has_description_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubTypeRangeSet::clear_description_range() { + if (description_range_ != NULL) description_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_description_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::description_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) + return description_range_ != NULL ? *description_range_ : *default_instance_->description_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_description_range() { + set_has_description_range(); + if (description_range_ == NULL) description_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) + return description_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_description_range() { + clear_has_description_range(); + ::bgs::protocol::UnsignedIntRange* temp = description_range_; + description_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range) { + delete description_range_; + description_range_ = description_range; + if (description_range) { + set_has_description_range(); + } else { + clear_has_description_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) +} + +// optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; +inline bool ClubTypeRangeSet::has_broadcast_range() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubTypeRangeSet::set_has_broadcast_range() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubTypeRangeSet::clear_has_broadcast_range() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubTypeRangeSet::clear_broadcast_range() { + if (broadcast_range_ != NULL) broadcast_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_broadcast_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::broadcast_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) + return broadcast_range_ != NULL ? *broadcast_range_ : *default_instance_->broadcast_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_broadcast_range() { + set_has_broadcast_range(); + if (broadcast_range_ == NULL) broadcast_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) + return broadcast_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_broadcast_range() { + clear_has_broadcast_range(); + ::bgs::protocol::UnsignedIntRange* temp = broadcast_range_; + broadcast_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range) { + delete broadcast_range_; + broadcast_range_ = broadcast_range; + if (broadcast_range) { + set_has_broadcast_range(); + } else { + clear_has_broadcast_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) +} + +// optional .bgs.protocol.UnsignedIntRange short_name_range = 7; +inline bool ClubTypeRangeSet::has_short_name_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubTypeRangeSet::set_has_short_name_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubTypeRangeSet::clear_has_short_name_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubTypeRangeSet::clear_short_name_range() { + if (short_name_range_ != NULL) short_name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_short_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::short_name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) + return short_name_range_ != NULL ? *short_name_range_ : *default_instance_->short_name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_short_name_range() { + set_has_short_name_range(); + if (short_name_range_ == NULL) short_name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) + return short_name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_short_name_range() { + clear_has_short_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = short_name_range_; + short_name_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range) { + delete short_name_range_; + short_name_range_ = short_name_range; + if (short_name_range) { + set_has_short_name_range(); + } else { + clear_has_short_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) +} + +// optional .bgs.protocol.club.v1.client.ClubMemberRangeSet member = 25; +inline bool ClubTypeRangeSet::has_member() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubTypeRangeSet::set_has_member() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubTypeRangeSet::clear_has_member() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubTypeRangeSet::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::ClubMemberRangeSet::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::ClubMemberRangeSet& ClubTypeRangeSet::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* ClubTypeRangeSet::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::ClubMemberRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* ClubTypeRangeSet::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::ClubMemberRangeSet* temp = member_; + member_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::client::ClubMemberRangeSet* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) +} + +// optional .bgs.protocol.club.v1.client.ClubStreamRangeSet stream = 26; +inline bool ClubTypeRangeSet::has_stream() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubTypeRangeSet::set_has_stream() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubTypeRangeSet::clear_has_stream() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubTypeRangeSet::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::ClubStreamRangeSet::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::ClubStreamRangeSet& ClubTypeRangeSet::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* ClubTypeRangeSet::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::ClubStreamRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* ClubTypeRangeSet::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::ClubStreamRangeSet* temp = stream_; + stream_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitationRangeSet invitation = 27; +inline bool ClubTypeRangeSet::has_invitation() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubTypeRangeSet::set_has_invitation() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubTypeRangeSet::clear_has_invitation() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubTypeRangeSet::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitationRangeSet::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitationRangeSet& ClubTypeRangeSet::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* ClubTypeRangeSet::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitationRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* ClubTypeRangeSet::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) +} + +// optional .bgs.protocol.club.v1.client.ClubSuggestionRangeSet suggestion = 28; +inline bool ClubTypeRangeSet::has_suggestion() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubTypeRangeSet::set_has_suggestion() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubTypeRangeSet::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubTypeRangeSet::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestionRangeSet::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet& ClubTypeRangeSet::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* ClubTypeRangeSet::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* ClubTypeRangeSet::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) +} + +// optional .bgs.protocol.club.v1.client.ClubTicketRangeSet ticket = 29; +inline bool ClubTypeRangeSet::has_ticket() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubTypeRangeSet::set_has_ticket() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubTypeRangeSet::clear_has_ticket() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubTypeRangeSet::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicketRangeSet::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicketRangeSet& ClubTypeRangeSet::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ClubTypeRangeSet::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicketRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ClubTypeRangeSet::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicketRangeSet* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) +} + +// optional .bgs.protocol.club.v1.client.ClubBanRangeSet ban = 30; +inline bool ClubTypeRangeSet::has_ban() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubTypeRangeSet::set_has_ban() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubTypeRangeSet::clear_has_ban() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubTypeRangeSet::clear_ban() { + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::ClubBanRangeSet::Clear(); + clear_has_ban(); +} +inline const ::bgs::protocol::club::v1::client::ClubBanRangeSet& ClubTypeRangeSet::ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) + return ban_ != NULL ? *ban_ : *default_instance_->ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* ClubTypeRangeSet::mutable_ban() { + set_has_ban(); + if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::client::ClubBanRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) + return ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* ClubTypeRangeSet::release_ban() { + clear_has_ban(); + ::bgs::protocol::club::v1::client::ClubBanRangeSet* temp = ban_; + ban_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBanRangeSet* ban) { + delete ban_; + ban_ = ban; + if (ban) { + set_has_ban(); + } else { + clear_has_ban(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) +} + +// ------------------------------------------------------------------- + +// ClubMemberRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubMemberRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMemberRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMemberRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMemberRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange voice = 3; +inline bool ClubMemberRangeSet::has_voice() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMemberRangeSet::set_has_voice() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMemberRangeSet::clear_has_voice() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMemberRangeSet::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) + return voice_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_voice() { + clear_has_voice(); + ::bgs::protocol::UnsignedIntRange* temp = voice_; + voice_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) +} + +// optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; +inline bool ClubMemberRangeSet::has_stream_subscriptions() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubMemberRangeSet::set_has_stream_subscriptions() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubMemberRangeSet::clear_has_stream_subscriptions() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubMemberRangeSet::clear_stream_subscriptions() { + if (stream_subscriptions_ != NULL) stream_subscriptions_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_stream_subscriptions(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::stream_subscriptions() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) + return stream_subscriptions_ != NULL ? *stream_subscriptions_ : *default_instance_->stream_subscriptions_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_stream_subscriptions() { + set_has_stream_subscriptions(); + if (stream_subscriptions_ == NULL) stream_subscriptions_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) + return stream_subscriptions_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_stream_subscriptions() { + clear_has_stream_subscriptions(); + ::bgs::protocol::UnsignedIntRange* temp = stream_subscriptions_; + stream_subscriptions_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions) { + delete stream_subscriptions_; + stream_subscriptions_ = stream_subscriptions; + if (stream_subscriptions) { + set_has_stream_subscriptions(); + } else { + clear_has_stream_subscriptions(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) +} + +// optional .bgs.protocol.UnsignedIntRange note_range = 7; +inline bool ClubMemberRangeSet::has_note_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubMemberRangeSet::set_has_note_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubMemberRangeSet::clear_has_note_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubMemberRangeSet::clear_note_range() { + if (note_range_ != NULL) note_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_note_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::note_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) + return note_range_ != NULL ? *note_range_ : *default_instance_->note_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_note_range() { + set_has_note_range(); + if (note_range_ == NULL) note_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) + return note_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_note_range() { + clear_has_note_range(); + ::bgs::protocol::UnsignedIntRange* temp = note_range_; + note_range_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range) { + delete note_range_; + note_range_ = note_range; + if (note_range) { + set_has_note_range(); + } else { + clear_has_note_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) +} + +// ------------------------------------------------------------------- + +// ClubStreamRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubStreamRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubStreamRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubStreamRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubStreamRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange name_range = 3; +inline bool ClubStreamRangeSet::has_name_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubStreamRangeSet::set_has_name_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubStreamRangeSet::clear_has_name_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubStreamRangeSet::clear_name_range() { + if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) + return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_name_range() { + set_has_name_range(); + if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) + return name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_name_range() { + clear_has_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = name_range_; + name_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { + delete name_range_; + name_range_ = name_range; + if (name_range) { + set_has_name_range(); + } else { + clear_has_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) +} + +// optional .bgs.protocol.UnsignedIntRange subject_range = 4; +inline bool ClubStreamRangeSet::has_subject_range() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStreamRangeSet::set_has_subject_range() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStreamRangeSet::clear_has_subject_range() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStreamRangeSet::clear_subject_range() { + if (subject_range_ != NULL) subject_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_subject_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::subject_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) + return subject_range_ != NULL ? *subject_range_ : *default_instance_->subject_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_subject_range() { + set_has_subject_range(); + if (subject_range_ == NULL) subject_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) + return subject_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_subject_range() { + clear_has_subject_range(); + ::bgs::protocol::UnsignedIntRange* temp = subject_range_; + subject_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range) { + delete subject_range_; + subject_range_ = subject_range; + if (subject_range) { + set_has_subject_range(); + } else { + clear_has_subject_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) +} + +// optional .bgs.protocol.UnsignedIntRange message_range = 5; +inline bool ClubStreamRangeSet::has_message_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStreamRangeSet::set_has_message_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStreamRangeSet::clear_has_message_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStreamRangeSet::clear_message_range() { + if (message_range_ != NULL) message_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_message_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::message_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) + return message_range_ != NULL ? *message_range_ : *default_instance_->message_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_message_range() { + set_has_message_range(); + if (message_range_ == NULL) message_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) + return message_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_message_range() { + clear_has_message_range(); + ::bgs::protocol::UnsignedIntRange* temp = message_range_; + message_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range) { + delete message_range_; + message_range_ = message_range; + if (message_range) { + set_has_message_range(); + } else { + clear_has_message_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) +} + +// ------------------------------------------------------------------- + +// ClubInvitationRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubInvitationRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubInvitationRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubInvitationRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubInvitationRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubInvitationRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubInvitationRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubSuggestionRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubSuggestionRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSuggestionRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSuggestionRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSuggestionRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubSuggestionRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubSuggestionRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubTicketRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubTicketRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTicketRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTicketRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTicketRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTicketRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubTicketRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubBanRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubBanRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubBanRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubBanRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubBanRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBanRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubBanRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBanRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange reason_range = 3; +inline bool ClubBanRangeSet::has_reason_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubBanRangeSet::set_has_reason_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubBanRangeSet::clear_has_reason_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubBanRangeSet::clear_reason_range() { + if (reason_range_ != NULL) reason_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_reason_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::reason_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) + return reason_range_ != NULL ? *reason_range_ : *default_instance_->reason_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_reason_range() { + set_has_reason_range(); + if (reason_range_ == NULL) reason_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) + return reason_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_reason_range() { + clear_has_reason_range(); + ::bgs::protocol::UnsignedIntRange* temp = reason_range_; + reason_range_ = NULL; + return temp; +} +inline void ClubBanRangeSet::set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range) { + delete reason_range_; + reason_range_ = reason_range; + if (reason_range) { + set_has_reason_range(); + } else { + clear_has_reason_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_request.pb.cc b/src/server/proto/Client/api/client/v1/club_request.pb.cc new file mode 100644 index 00000000000..952a730cdd8 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_request.pb.cc @@ -0,0 +1,8939 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_request.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_request.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetDescriptionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetDescriptionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetDescriptionResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetDescriptionResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubTypeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubTypeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubTypeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubTypeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubSettingsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubSettingsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AddMemberRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddMemberRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* JoinRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + JoinRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* LeaveRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + LeaveRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* KickRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + KickRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMemberRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMemberRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMemberResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMemberResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMembersRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMembersRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMembersResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMembersResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateMemberStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateMemberStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateSubscriberStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AssignRoleRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AssignRoleRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnassignRoleRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnassignRoleRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AcceptInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AcceptInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DeclineInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DeclineInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RevokeInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RevokeInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AcceptSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AcceptSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DeclineSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DeclineSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RedeemTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RedeemTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* AddBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBanResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBanResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBansRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBansRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBansResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBansResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateStreamStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateStreamStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetStreamFocusRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetStreamFocusRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* EditMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EditMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* EditMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EditMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetMessagePinnedRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetMessagePinnedRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetTypingIndicatorRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceActivityViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamHistoryRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamHistoryRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamHistoryResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamHistoryResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubActivityRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubActivityRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubActivityResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubActivityResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamVoiceTokenRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamVoiceTokenResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + KickFromStreamVoiceRequest_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_request.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, club_id_), + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + UnsubscribeRequest_descriptor_ = file->message_type(1); + static const int UnsubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, club_id_), + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + CreateRequest_descriptor_ = file->message_type(2); + static const int CreateRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, options_), + }; + CreateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateRequest_descriptor_, + CreateRequest::default_instance_, + CreateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateRequest)); + CreateResponse_descriptor_ = file->message_type(3); + static const int CreateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, club_id_), + }; + CreateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateResponse_descriptor_, + CreateResponse::default_instance_, + CreateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateResponse)); + DestroyRequest_descriptor_ = file->message_type(4); + static const int DestroyRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, club_id_), + }; + DestroyRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyRequest_descriptor_, + DestroyRequest::default_instance_, + DestroyRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyRequest)); + GetDescriptionRequest_descriptor_ = file->message_type(5); + static const int GetDescriptionRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, club_id_), + }; + GetDescriptionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetDescriptionRequest_descriptor_, + GetDescriptionRequest::default_instance_, + GetDescriptionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetDescriptionRequest)); + GetDescriptionResponse_descriptor_ = file->message_type(6); + static const int GetDescriptionResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, club_), + }; + GetDescriptionResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetDescriptionResponse_descriptor_, + GetDescriptionResponse::default_instance_, + GetDescriptionResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetDescriptionResponse)); + GetClubTypeRequest_descriptor_ = file->message_type(7); + static const int GetClubTypeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, type_), + }; + GetClubTypeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubTypeRequest_descriptor_, + GetClubTypeRequest::default_instance_, + GetClubTypeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubTypeRequest)); + GetClubTypeResponse_descriptor_ = file->message_type(8); + static const int GetClubTypeResponse_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, role_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, range_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, platform_tag_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, custom_tag_set_), + }; + GetClubTypeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubTypeResponse_descriptor_, + GetClubTypeResponse::default_instance_, + GetClubTypeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubTypeResponse)); + UpdateClubStateRequest_descriptor_ = file->message_type(9); + static const int UpdateClubStateRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, options_), + }; + UpdateClubStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubStateRequest_descriptor_, + UpdateClubStateRequest::default_instance_, + UpdateClubStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubStateRequest)); + UpdateClubSettingsRequest_descriptor_ = file->message_type(10); + static const int UpdateClubSettingsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, options_), + }; + UpdateClubSettingsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubSettingsRequest_descriptor_, + UpdateClubSettingsRequest::default_instance_, + UpdateClubSettingsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubSettingsRequest)); + AddMemberRequest_descriptor_ = file->message_type(11); + static const int AddMemberRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, options_), + }; + AddMemberRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddMemberRequest_descriptor_, + AddMemberRequest::default_instance_, + AddMemberRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddMemberRequest)); + JoinRequest_descriptor_ = file->message_type(12); + static const int JoinRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, options_), + }; + JoinRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + JoinRequest_descriptor_, + JoinRequest::default_instance_, + JoinRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(JoinRequest)); + LeaveRequest_descriptor_ = file->message_type(13); + static const int LeaveRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, club_id_), + }; + LeaveRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + LeaveRequest_descriptor_, + LeaveRequest::default_instance_, + LeaveRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(LeaveRequest)); + KickRequest_descriptor_ = file->message_type(14); + static const int KickRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, target_id_), + }; + KickRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + KickRequest_descriptor_, + KickRequest::default_instance_, + KickRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(KickRequest)); + GetMemberRequest_descriptor_ = file->message_type(15); + static const int GetMemberRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, member_id_), + }; + GetMemberRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMemberRequest_descriptor_, + GetMemberRequest::default_instance_, + GetMemberRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMemberRequest)); + GetMemberResponse_descriptor_ = file->message_type(16); + static const int GetMemberResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, member_), + }; + GetMemberResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMemberResponse_descriptor_, + GetMemberResponse::default_instance_, + GetMemberResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMemberResponse)); + GetMembersRequest_descriptor_ = file->message_type(17); + static const int GetMembersRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, continuation_), + }; + GetMembersRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMembersRequest_descriptor_, + GetMembersRequest::default_instance_, + GetMembersRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMembersRequest)); + GetMembersResponse_descriptor_ = file->message_type(18); + static const int GetMembersResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, continuation_), + }; + GetMembersResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMembersResponse_descriptor_, + GetMembersResponse::default_instance_, + GetMembersResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMembersResponse)); + UpdateMemberStateRequest_descriptor_ = file->message_type(19); + static const int UpdateMemberStateRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, options_), + }; + UpdateMemberStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateMemberStateRequest_descriptor_, + UpdateMemberStateRequest::default_instance_, + UpdateMemberStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateMemberStateRequest)); + UpdateSubscriberStateRequest_descriptor_ = file->message_type(20); + static const int UpdateSubscriberStateRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, options_), + }; + UpdateSubscriberStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateSubscriberStateRequest_descriptor_, + UpdateSubscriberStateRequest::default_instance_, + UpdateSubscriberStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateSubscriberStateRequest)); + AssignRoleRequest_descriptor_ = file->message_type(21); + static const int AssignRoleRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, options_), + }; + AssignRoleRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AssignRoleRequest_descriptor_, + AssignRoleRequest::default_instance_, + AssignRoleRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AssignRoleRequest)); + UnassignRoleRequest_descriptor_ = file->message_type(22); + static const int UnassignRoleRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, options_), + }; + UnassignRoleRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnassignRoleRequest_descriptor_, + UnassignRoleRequest::default_instance_, + UnassignRoleRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnassignRoleRequest)); + SendInvitationRequest_descriptor_ = file->message_type(23); + static const int SendInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, options_), + }; + SendInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendInvitationRequest_descriptor_, + SendInvitationRequest::default_instance_, + SendInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendInvitationRequest)); + AcceptInvitationRequest_descriptor_ = file->message_type(24); + static const int AcceptInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, invitation_id_), + }; + AcceptInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AcceptInvitationRequest_descriptor_, + AcceptInvitationRequest::default_instance_, + AcceptInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AcceptInvitationRequest)); + DeclineInvitationRequest_descriptor_ = file->message_type(25); + static const int DeclineInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, invitation_id_), + }; + DeclineInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DeclineInvitationRequest_descriptor_, + DeclineInvitationRequest::default_instance_, + DeclineInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DeclineInvitationRequest)); + RevokeInvitationRequest_descriptor_ = file->message_type(26); + static const int RevokeInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, invitation_id_), + }; + RevokeInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RevokeInvitationRequest_descriptor_, + RevokeInvitationRequest::default_instance_, + RevokeInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RevokeInvitationRequest)); + GetInvitationRequest_descriptor_ = file->message_type(27); + static const int GetInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, invitation_id_), + }; + GetInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationRequest_descriptor_, + GetInvitationRequest::default_instance_, + GetInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationRequest)); + GetInvitationResponse_descriptor_ = file->message_type(28); + static const int GetInvitationResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, invitation_), + }; + GetInvitationResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationResponse_descriptor_, + GetInvitationResponse::default_instance_, + GetInvitationResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationResponse)); + GetInvitationsRequest_descriptor_ = file->message_type(29); + static const int GetInvitationsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, continuation_), + }; + GetInvitationsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationsRequest_descriptor_, + GetInvitationsRequest::default_instance_, + GetInvitationsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationsRequest)); + GetInvitationsResponse_descriptor_ = file->message_type(30); + static const int GetInvitationsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, continuation_), + }; + GetInvitationsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationsResponse_descriptor_, + GetInvitationsResponse::default_instance_, + GetInvitationsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationsResponse)); + SendSuggestionRequest_descriptor_ = file->message_type(31); + static const int SendSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, options_), + }; + SendSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendSuggestionRequest_descriptor_, + SendSuggestionRequest::default_instance_, + SendSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendSuggestionRequest)); + AcceptSuggestionRequest_descriptor_ = file->message_type(32); + static const int AcceptSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, suggestion_id_), + }; + AcceptSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AcceptSuggestionRequest_descriptor_, + AcceptSuggestionRequest::default_instance_, + AcceptSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AcceptSuggestionRequest)); + DeclineSuggestionRequest_descriptor_ = file->message_type(33); + static const int DeclineSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, suggestion_id_), + }; + DeclineSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DeclineSuggestionRequest_descriptor_, + DeclineSuggestionRequest::default_instance_, + DeclineSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DeclineSuggestionRequest)); + GetSuggestionRequest_descriptor_ = file->message_type(34); + static const int GetSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, suggestion_id_), + }; + GetSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionRequest_descriptor_, + GetSuggestionRequest::default_instance_, + GetSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionRequest)); + GetSuggestionResponse_descriptor_ = file->message_type(35); + static const int GetSuggestionResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, suggestion_), + }; + GetSuggestionResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionResponse_descriptor_, + GetSuggestionResponse::default_instance_, + GetSuggestionResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionResponse)); + GetSuggestionsRequest_descriptor_ = file->message_type(36); + static const int GetSuggestionsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, continuation_), + }; + GetSuggestionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionsRequest_descriptor_, + GetSuggestionsRequest::default_instance_, + GetSuggestionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionsRequest)); + GetSuggestionsResponse_descriptor_ = file->message_type(37); + static const int GetSuggestionsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, continuation_), + }; + GetSuggestionsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionsResponse_descriptor_, + GetSuggestionsResponse::default_instance_, + GetSuggestionsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionsResponse)); + CreateTicketRequest_descriptor_ = file->message_type(38); + static const int CreateTicketRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, options_), + }; + CreateTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketRequest_descriptor_, + CreateTicketRequest::default_instance_, + CreateTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketRequest)); + CreateTicketResponse_descriptor_ = file->message_type(39); + static const int CreateTicketResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, ticket_), + }; + CreateTicketResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketResponse_descriptor_, + CreateTicketResponse::default_instance_, + CreateTicketResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketResponse)); + DestroyTicketRequest_descriptor_ = file->message_type(40); + static const int DestroyTicketRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, ticket_id_), + }; + DestroyTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyTicketRequest_descriptor_, + DestroyTicketRequest::default_instance_, + DestroyTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyTicketRequest)); + RedeemTicketRequest_descriptor_ = file->message_type(41); + static const int RedeemTicketRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, ticket_id_), + }; + RedeemTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RedeemTicketRequest_descriptor_, + RedeemTicketRequest::default_instance_, + RedeemTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RedeemTicketRequest)); + GetTicketRequest_descriptor_ = file->message_type(42); + static const int GetTicketRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, ticket_id_), + }; + GetTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketRequest_descriptor_, + GetTicketRequest::default_instance_, + GetTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketRequest)); + GetTicketResponse_descriptor_ = file->message_type(43); + static const int GetTicketResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, ticket_), + }; + GetTicketResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketResponse_descriptor_, + GetTicketResponse::default_instance_, + GetTicketResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketResponse)); + GetTicketsRequest_descriptor_ = file->message_type(44); + static const int GetTicketsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, continuation_), + }; + GetTicketsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketsRequest_descriptor_, + GetTicketsRequest::default_instance_, + GetTicketsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketsRequest)); + GetTicketsResponse_descriptor_ = file->message_type(45); + static const int GetTicketsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, continuation_), + }; + GetTicketsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketsResponse_descriptor_, + GetTicketsResponse::default_instance_, + GetTicketsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketsResponse)); + AddBanRequest_descriptor_ = file->message_type(46); + static const int AddBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, options_), + }; + AddBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddBanRequest_descriptor_, + AddBanRequest::default_instance_, + AddBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddBanRequest)); + RemoveBanRequest_descriptor_ = file->message_type(47); + static const int RemoveBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, target_id_), + }; + RemoveBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveBanRequest_descriptor_, + RemoveBanRequest::default_instance_, + RemoveBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveBanRequest)); + GetBanRequest_descriptor_ = file->message_type(48); + static const int GetBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, target_id_), + }; + GetBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBanRequest_descriptor_, + GetBanRequest::default_instance_, + GetBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBanRequest)); + GetBanResponse_descriptor_ = file->message_type(49); + static const int GetBanResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, ban_), + }; + GetBanResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBanResponse_descriptor_, + GetBanResponse::default_instance_, + GetBanResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBanResponse)); + GetBansRequest_descriptor_ = file->message_type(50); + static const int GetBansRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, continuation_), + }; + GetBansRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBansRequest_descriptor_, + GetBansRequest::default_instance_, + GetBansRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBansRequest)); + GetBansResponse_descriptor_ = file->message_type(51); + static const int GetBansResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, continuation_), + }; + GetBansResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBansResponse_descriptor_, + GetBansResponse::default_instance_, + GetBansResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBansResponse)); + SubscribeStreamRequest_descriptor_ = file->message_type(52); + static const int SubscribeStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, stream_id_), + }; + SubscribeStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeStreamRequest_descriptor_, + SubscribeStreamRequest::default_instance_, + SubscribeStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeStreamRequest)); + UnsubscribeStreamRequest_descriptor_ = file->message_type(53); + static const int UnsubscribeStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, stream_id_), + }; + UnsubscribeStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeStreamRequest_descriptor_, + UnsubscribeStreamRequest::default_instance_, + UnsubscribeStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeStreamRequest)); + CreateStreamRequest_descriptor_ = file->message_type(54); + static const int CreateStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, options_), + }; + CreateStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamRequest_descriptor_, + CreateStreamRequest::default_instance_, + CreateStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamRequest)); + CreateStreamResponse_descriptor_ = file->message_type(55); + static const int CreateStreamResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, stream_id_), + }; + CreateStreamResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamResponse_descriptor_, + CreateStreamResponse::default_instance_, + CreateStreamResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamResponse)); + DestroyStreamRequest_descriptor_ = file->message_type(56); + static const int DestroyStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, stream_id_), + }; + DestroyStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyStreamRequest_descriptor_, + DestroyStreamRequest::default_instance_, + DestroyStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyStreamRequest)); + GetStreamRequest_descriptor_ = file->message_type(57); + static const int GetStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, stream_id_), + }; + GetStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamRequest_descriptor_, + GetStreamRequest::default_instance_, + GetStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamRequest)); + GetStreamResponse_descriptor_ = file->message_type(58); + static const int GetStreamResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, stream_), + }; + GetStreamResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamResponse_descriptor_, + GetStreamResponse::default_instance_, + GetStreamResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamResponse)); + GetStreamsRequest_descriptor_ = file->message_type(59); + static const int GetStreamsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, continuation_), + }; + GetStreamsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamsRequest_descriptor_, + GetStreamsRequest::default_instance_, + GetStreamsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamsRequest)); + GetStreamsResponse_descriptor_ = file->message_type(60); + static const int GetStreamsResponse_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, view_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, continuation_), + }; + GetStreamsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamsResponse_descriptor_, + GetStreamsResponse::default_instance_, + GetStreamsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamsResponse)); + UpdateStreamStateRequest_descriptor_ = file->message_type(61); + static const int UpdateStreamStateRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, options_), + }; + UpdateStreamStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateStreamStateRequest_descriptor_, + UpdateStreamStateRequest::default_instance_, + UpdateStreamStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateStreamStateRequest)); + SetStreamFocusRequest_descriptor_ = file->message_type(62); + static const int SetStreamFocusRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, focus_), + }; + SetStreamFocusRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetStreamFocusRequest_descriptor_, + SetStreamFocusRequest::default_instance_, + SetStreamFocusRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetStreamFocusRequest)); + CreateMessageRequest_descriptor_ = file->message_type(63); + static const int CreateMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, options_), + }; + CreateMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageRequest_descriptor_, + CreateMessageRequest::default_instance_, + CreateMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageRequest)); + CreateMessageResponse_descriptor_ = file->message_type(64); + static const int CreateMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, message_), + }; + CreateMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageResponse_descriptor_, + CreateMessageResponse::default_instance_, + CreateMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageResponse)); + DestroyMessageRequest_descriptor_ = file->message_type(65); + static const int DestroyMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, message_id_), + }; + DestroyMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyMessageRequest_descriptor_, + DestroyMessageRequest::default_instance_, + DestroyMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyMessageRequest)); + DestroyMessageResponse_descriptor_ = file->message_type(66); + static const int DestroyMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, message_), + }; + DestroyMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyMessageResponse_descriptor_, + DestroyMessageResponse::default_instance_, + DestroyMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyMessageResponse)); + EditMessageRequest_descriptor_ = file->message_type(67); + static const int EditMessageRequest_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, message_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, options_), + }; + EditMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EditMessageRequest_descriptor_, + EditMessageRequest::default_instance_, + EditMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EditMessageRequest)); + EditMessageResponse_descriptor_ = file->message_type(68); + static const int EditMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, message_), + }; + EditMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EditMessageResponse_descriptor_, + EditMessageResponse::default_instance_, + EditMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EditMessageResponse)); + SetMessagePinnedRequest_descriptor_ = file->message_type(69); + static const int SetMessagePinnedRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, stream_id_), + }; + SetMessagePinnedRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetMessagePinnedRequest_descriptor_, + SetMessagePinnedRequest::default_instance_, + SetMessagePinnedRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetMessagePinnedRequest)); + SetTypingIndicatorRequest_descriptor_ = file->message_type(70); + static const int SetTypingIndicatorRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, indicator_), + }; + SetTypingIndicatorRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetTypingIndicatorRequest_descriptor_, + SetTypingIndicatorRequest::default_instance_, + SetTypingIndicatorRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetTypingIndicatorRequest)); + AdvanceStreamViewTimeRequest_descriptor_ = file->message_type(71); + static const int AdvanceStreamViewTimeRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_), + }; + AdvanceStreamViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamViewTimeRequest_descriptor_, + AdvanceStreamViewTimeRequest::default_instance_, + AdvanceStreamViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamViewTimeRequest)); + AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(72); + static const int AdvanceStreamMentionViewTimeRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, stream_id_), + }; + AdvanceStreamMentionViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamMentionViewTimeRequest_descriptor_, + AdvanceStreamMentionViewTimeRequest::default_instance_, + AdvanceStreamMentionViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamMentionViewTimeRequest)); + AdvanceActivityViewTimeRequest_descriptor_ = file->message_type(73); + static const int AdvanceActivityViewTimeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, club_id_), + }; + AdvanceActivityViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceActivityViewTimeRequest_descriptor_, + AdvanceActivityViewTimeRequest::default_instance_, + AdvanceActivityViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceActivityViewTimeRequest)); + GetStreamHistoryRequest_descriptor_ = file->message_type(74); + static const int GetStreamHistoryRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, options_), + }; + GetStreamHistoryRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamHistoryRequest_descriptor_, + GetStreamHistoryRequest::default_instance_, + GetStreamHistoryRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamHistoryRequest)); + GetStreamHistoryResponse_descriptor_ = file->message_type(75); + static const int GetStreamHistoryResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, continuation_), + }; + GetStreamHistoryResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamHistoryResponse_descriptor_, + GetStreamHistoryResponse::default_instance_, + GetStreamHistoryResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamHistoryResponse)); + GetStreamMessageRequest_descriptor_ = file->message_type(76); + static const int GetStreamMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, message_id_), + }; + GetStreamMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMessageRequest_descriptor_, + GetStreamMessageRequest::default_instance_, + GetStreamMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMessageRequest)); + GetStreamMessageResponse_descriptor_ = file->message_type(77); + static const int GetStreamMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, message_), + }; + GetStreamMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMessageResponse_descriptor_, + GetStreamMessageResponse::default_instance_, + GetStreamMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMessageResponse)); + GetClubActivityRequest_descriptor_ = file->message_type(78); + static const int GetClubActivityRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, options_), + }; + GetClubActivityRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubActivityRequest_descriptor_, + GetClubActivityRequest::default_instance_, + GetClubActivityRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubActivityRequest)); + GetClubActivityResponse_descriptor_ = file->message_type(79); + static const int GetClubActivityResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, continuation_), + }; + GetClubActivityResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubActivityResponse_descriptor_, + GetClubActivityResponse::default_instance_, + GetClubActivityResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubActivityResponse)); + GetStreamVoiceTokenRequest_descriptor_ = file->message_type(80); + static const int GetStreamVoiceTokenRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, version_), + }; + GetStreamVoiceTokenRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamVoiceTokenRequest_descriptor_, + GetStreamVoiceTokenRequest::default_instance_, + GetStreamVoiceTokenRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamVoiceTokenRequest)); + GetStreamVoiceTokenResponse_descriptor_ = file->message_type(81); + static const int GetStreamVoiceTokenResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, channel_uri_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, credentials_), + }; + GetStreamVoiceTokenResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamVoiceTokenResponse_descriptor_, + GetStreamVoiceTokenResponse::default_instance_, + GetStreamVoiceTokenResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamVoiceTokenResponse)); + KickFromStreamVoiceRequest_descriptor_ = file->message_type(82); + static const int KickFromStreamVoiceRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, target_id_), + }; + KickFromStreamVoiceRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + KickFromStreamVoiceRequest_descriptor_, + KickFromStreamVoiceRequest::default_instance_, + KickFromStreamVoiceRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(KickFromStreamVoiceRequest)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateRequest_descriptor_, &CreateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateResponse_descriptor_, &CreateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyRequest_descriptor_, &DestroyRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetDescriptionRequest_descriptor_, &GetDescriptionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetDescriptionResponse_descriptor_, &GetDescriptionResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubTypeRequest_descriptor_, &GetClubTypeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubTypeResponse_descriptor_, &GetClubTypeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubStateRequest_descriptor_, &UpdateClubStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubSettingsRequest_descriptor_, &UpdateClubSettingsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddMemberRequest_descriptor_, &AddMemberRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + JoinRequest_descriptor_, &JoinRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + LeaveRequest_descriptor_, &LeaveRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + KickRequest_descriptor_, &KickRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMemberRequest_descriptor_, &GetMemberRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMemberResponse_descriptor_, &GetMemberResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMembersRequest_descriptor_, &GetMembersRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMembersResponse_descriptor_, &GetMembersResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateMemberStateRequest_descriptor_, &UpdateMemberStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateSubscriberStateRequest_descriptor_, &UpdateSubscriberStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AssignRoleRequest_descriptor_, &AssignRoleRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnassignRoleRequest_descriptor_, &UnassignRoleRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendInvitationRequest_descriptor_, &SendInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AcceptInvitationRequest_descriptor_, &AcceptInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DeclineInvitationRequest_descriptor_, &DeclineInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RevokeInvitationRequest_descriptor_, &RevokeInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationRequest_descriptor_, &GetInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationResponse_descriptor_, &GetInvitationResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationsRequest_descriptor_, &GetInvitationsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationsResponse_descriptor_, &GetInvitationsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendSuggestionRequest_descriptor_, &SendSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AcceptSuggestionRequest_descriptor_, &AcceptSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DeclineSuggestionRequest_descriptor_, &DeclineSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionRequest_descriptor_, &GetSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionResponse_descriptor_, &GetSuggestionResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionsRequest_descriptor_, &GetSuggestionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionsResponse_descriptor_, &GetSuggestionsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketRequest_descriptor_, &CreateTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketResponse_descriptor_, &CreateTicketResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyTicketRequest_descriptor_, &DestroyTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RedeemTicketRequest_descriptor_, &RedeemTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketRequest_descriptor_, &GetTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketResponse_descriptor_, &GetTicketResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketsRequest_descriptor_, &GetTicketsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketsResponse_descriptor_, &GetTicketsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddBanRequest_descriptor_, &AddBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveBanRequest_descriptor_, &RemoveBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBanRequest_descriptor_, &GetBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBanResponse_descriptor_, &GetBanResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBansRequest_descriptor_, &GetBansRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBansResponse_descriptor_, &GetBansResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeStreamRequest_descriptor_, &SubscribeStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeStreamRequest_descriptor_, &UnsubscribeStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamRequest_descriptor_, &CreateStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamResponse_descriptor_, &CreateStreamResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyStreamRequest_descriptor_, &DestroyStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamRequest_descriptor_, &GetStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamResponse_descriptor_, &GetStreamResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamsRequest_descriptor_, &GetStreamsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamsResponse_descriptor_, &GetStreamsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateStreamStateRequest_descriptor_, &UpdateStreamStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetStreamFocusRequest_descriptor_, &SetStreamFocusRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageRequest_descriptor_, &CreateMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageResponse_descriptor_, &CreateMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyMessageRequest_descriptor_, &DestroyMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyMessageResponse_descriptor_, &DestroyMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EditMessageRequest_descriptor_, &EditMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EditMessageResponse_descriptor_, &EditMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetMessagePinnedRequest_descriptor_, &SetMessagePinnedRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetTypingIndicatorRequest_descriptor_, &SetTypingIndicatorRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamViewTimeRequest_descriptor_, &AdvanceStreamViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceActivityViewTimeRequest_descriptor_, &AdvanceActivityViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamHistoryRequest_descriptor_, &GetStreamHistoryRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamHistoryResponse_descriptor_, &GetStreamHistoryResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMessageRequest_descriptor_, &GetStreamMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMessageResponse_descriptor_, &GetStreamMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubActivityRequest_descriptor_, &GetClubActivityRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubActivityResponse_descriptor_, &GetClubActivityResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamVoiceTokenRequest_descriptor_, &GetStreamVoiceTokenRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamVoiceTokenResponse_descriptor_, &GetStreamVoiceTokenResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + KickFromStreamVoiceRequest_descriptor_, &KickFromStreamVoiceRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete CreateRequest::default_instance_; + delete CreateRequest_reflection_; + delete CreateResponse::default_instance_; + delete CreateResponse_reflection_; + delete DestroyRequest::default_instance_; + delete DestroyRequest_reflection_; + delete GetDescriptionRequest::default_instance_; + delete GetDescriptionRequest_reflection_; + delete GetDescriptionResponse::default_instance_; + delete GetDescriptionResponse_reflection_; + delete GetClubTypeRequest::default_instance_; + delete GetClubTypeRequest_reflection_; + delete GetClubTypeResponse::default_instance_; + delete GetClubTypeResponse_reflection_; + delete UpdateClubStateRequest::default_instance_; + delete UpdateClubStateRequest_reflection_; + delete UpdateClubSettingsRequest::default_instance_; + delete UpdateClubSettingsRequest_reflection_; + delete AddMemberRequest::default_instance_; + delete AddMemberRequest_reflection_; + delete JoinRequest::default_instance_; + delete JoinRequest_reflection_; + delete LeaveRequest::default_instance_; + delete LeaveRequest_reflection_; + delete KickRequest::default_instance_; + delete KickRequest_reflection_; + delete GetMemberRequest::default_instance_; + delete GetMemberRequest_reflection_; + delete GetMemberResponse::default_instance_; + delete GetMemberResponse_reflection_; + delete GetMembersRequest::default_instance_; + delete GetMembersRequest_reflection_; + delete GetMembersResponse::default_instance_; + delete GetMembersResponse_reflection_; + delete UpdateMemberStateRequest::default_instance_; + delete UpdateMemberStateRequest_reflection_; + delete UpdateSubscriberStateRequest::default_instance_; + delete UpdateSubscriberStateRequest_reflection_; + delete AssignRoleRequest::default_instance_; + delete AssignRoleRequest_reflection_; + delete UnassignRoleRequest::default_instance_; + delete UnassignRoleRequest_reflection_; + delete SendInvitationRequest::default_instance_; + delete SendInvitationRequest_reflection_; + delete AcceptInvitationRequest::default_instance_; + delete AcceptInvitationRequest_reflection_; + delete DeclineInvitationRequest::default_instance_; + delete DeclineInvitationRequest_reflection_; + delete RevokeInvitationRequest::default_instance_; + delete RevokeInvitationRequest_reflection_; + delete GetInvitationRequest::default_instance_; + delete GetInvitationRequest_reflection_; + delete GetInvitationResponse::default_instance_; + delete GetInvitationResponse_reflection_; + delete GetInvitationsRequest::default_instance_; + delete GetInvitationsRequest_reflection_; + delete GetInvitationsResponse::default_instance_; + delete GetInvitationsResponse_reflection_; + delete SendSuggestionRequest::default_instance_; + delete SendSuggestionRequest_reflection_; + delete AcceptSuggestionRequest::default_instance_; + delete AcceptSuggestionRequest_reflection_; + delete DeclineSuggestionRequest::default_instance_; + delete DeclineSuggestionRequest_reflection_; + delete GetSuggestionRequest::default_instance_; + delete GetSuggestionRequest_reflection_; + delete GetSuggestionResponse::default_instance_; + delete GetSuggestionResponse_reflection_; + delete GetSuggestionsRequest::default_instance_; + delete GetSuggestionsRequest_reflection_; + delete GetSuggestionsResponse::default_instance_; + delete GetSuggestionsResponse_reflection_; + delete CreateTicketRequest::default_instance_; + delete CreateTicketRequest_reflection_; + delete CreateTicketResponse::default_instance_; + delete CreateTicketResponse_reflection_; + delete DestroyTicketRequest::default_instance_; + delete DestroyTicketRequest_reflection_; + delete RedeemTicketRequest::default_instance_; + delete RedeemTicketRequest_reflection_; + delete GetTicketRequest::default_instance_; + delete GetTicketRequest_reflection_; + delete GetTicketResponse::default_instance_; + delete GetTicketResponse_reflection_; + delete GetTicketsRequest::default_instance_; + delete GetTicketsRequest_reflection_; + delete GetTicketsResponse::default_instance_; + delete GetTicketsResponse_reflection_; + delete AddBanRequest::default_instance_; + delete AddBanRequest_reflection_; + delete RemoveBanRequest::default_instance_; + delete RemoveBanRequest_reflection_; + delete GetBanRequest::default_instance_; + delete GetBanRequest_reflection_; + delete GetBanResponse::default_instance_; + delete GetBanResponse_reflection_; + delete GetBansRequest::default_instance_; + delete GetBansRequest_reflection_; + delete GetBansResponse::default_instance_; + delete GetBansResponse_reflection_; + delete SubscribeStreamRequest::default_instance_; + delete SubscribeStreamRequest_reflection_; + delete UnsubscribeStreamRequest::default_instance_; + delete UnsubscribeStreamRequest_reflection_; + delete CreateStreamRequest::default_instance_; + delete CreateStreamRequest_reflection_; + delete CreateStreamResponse::default_instance_; + delete CreateStreamResponse_reflection_; + delete DestroyStreamRequest::default_instance_; + delete DestroyStreamRequest_reflection_; + delete GetStreamRequest::default_instance_; + delete GetStreamRequest_reflection_; + delete GetStreamResponse::default_instance_; + delete GetStreamResponse_reflection_; + delete GetStreamsRequest::default_instance_; + delete GetStreamsRequest_reflection_; + delete GetStreamsResponse::default_instance_; + delete GetStreamsResponse_reflection_; + delete UpdateStreamStateRequest::default_instance_; + delete UpdateStreamStateRequest_reflection_; + delete SetStreamFocusRequest::default_instance_; + delete SetStreamFocusRequest_reflection_; + delete CreateMessageRequest::default_instance_; + delete CreateMessageRequest_reflection_; + delete CreateMessageResponse::default_instance_; + delete CreateMessageResponse_reflection_; + delete DestroyMessageRequest::default_instance_; + delete DestroyMessageRequest_reflection_; + delete DestroyMessageResponse::default_instance_; + delete DestroyMessageResponse_reflection_; + delete EditMessageRequest::default_instance_; + delete EditMessageRequest_reflection_; + delete EditMessageResponse::default_instance_; + delete EditMessageResponse_reflection_; + delete SetMessagePinnedRequest::default_instance_; + delete SetMessagePinnedRequest_reflection_; + delete SetTypingIndicatorRequest::default_instance_; + delete SetTypingIndicatorRequest_reflection_; + delete AdvanceStreamViewTimeRequest::default_instance_; + delete AdvanceStreamViewTimeRequest_reflection_; + delete AdvanceStreamMentionViewTimeRequest::default_instance_; + delete AdvanceStreamMentionViewTimeRequest_reflection_; + delete AdvanceActivityViewTimeRequest::default_instance_; + delete AdvanceActivityViewTimeRequest_reflection_; + delete GetStreamHistoryRequest::default_instance_; + delete GetStreamHistoryRequest_reflection_; + delete GetStreamHistoryResponse::default_instance_; + delete GetStreamHistoryResponse_reflection_; + delete GetStreamMessageRequest::default_instance_; + delete GetStreamMessageRequest_reflection_; + delete GetStreamMessageResponse::default_instance_; + delete GetStreamMessageResponse_reflection_; + delete GetClubActivityRequest::default_instance_; + delete GetClubActivityRequest_reflection_; + delete GetClubActivityResponse::default_instance_; + delete GetClubActivityResponse_reflection_; + delete GetStreamVoiceTokenRequest::default_instance_; + delete GetStreamVoiceTokenRequest_reflection_; + delete GetStreamVoiceTokenResponse::default_instance_; + delete GetStreamVoiceTokenResponse_reflection_; + delete KickFromStreamVoiceRequest::default_instance_; + delete KickFromStreamVoiceRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n api/client/v1/club_request.proto\022\033bgs." + "protocol.club.v1.client\032\036api/client/v1/c" + "lub_types.proto\032\034api/common/v1/club_tag." + "proto\032\017rpc_types.proto\"]\n\020SubscribeReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"_\n" + "\022UnsubscribeRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\"\202\001\n\rCreateRequest\0220\n\010agen" + "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" + "Id\022\?\n\007options\030\002 \001(\0132..bgs.protocol.club." + "v1.client.ClubCreateOptions\"!\n\016CreateRes" + "ponse\022\017\n\007club_id\030\001 \001(\004\"[\n\016DestroyRequest" + "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v" + "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"b\n\025G" + "etDescriptionRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\"M\n\026GetDescriptionRespons" + "e\0223\n\004club\030\001 \001(\0132%.bgs.protocol.club.v1.C" + "lubDescription\"z\n\022GetClubTypeRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club" + ".v1.UniqueClubType\"\301\002\n\023GetClubTypeRespon" + "se\0222\n\004type\030\001 \001(\0132$.bgs.protocol.club.v1." + "UniqueClubType\022:\n\010role_set\030\002 \001(\0132(.bgs.p" + "rotocol.club.v1.client.ClubRoleSet\022@\n\tra" + "nge_set\030\003 \001(\0132-.bgs.protocol.club.v1.cli" + "ent.ClubTypeRangeSet\022<\n\020platform_tag_set" + "\030\004 \003(\0132\".bgs.protocol.club.v1.LocalizedT" + "ag\022:\n\016custom_tag_set\030\005 \003(\0132\".bgs.protoco" + "l.club.v1.LocalizedTag\"\243\001\n\026UpdateClubSta" + "teRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022>\n\007options\030\003 \001(\0132-.bgs.protocol.clu" + "b.v1.client.ClubStateOptions\"\251\001\n\031UpdateC" + "lubSettingsRequest\0220\n\010agent_id\030\001 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030" + "\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs.pro" + "tocol.club.v1.client.ClubSettingsOptions" + "\"\240\001\n\020AddMemberRequest\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" + "id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs." + "protocol.club.v1.client.CreateMemberOpti" + "ons\"\233\001\n\013JoinRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs.pr" + "otocol.club.v1.client.CreateMemberOption" + "s\"Y\n\014LeaveRequest\0220\n\010agent_id\030\001 \001(\0132\036.bg" + "s.protocol.club.v1.MemberId\022\027\n\007club_id\030\002" + " \001(\004B\006\202\371+\002\020\001\"\213\001\n\013KickRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\"\220\001\n\020G" + "etMemberRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001" + "(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\"H\n\021GetMemberRespon" + "se\0223\n\006member\030\001 \001(\0132#.bgs.protocol.club.v" + "1.client.Member\"t\n\021GetMembersRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014conti" + "nuation\030\004 \001(\004\"_\n\022GetMembersResponse\0223\n\006m" + "ember\030\001 \003(\0132#.bgs.protocol.club.v1.clien" + "t.Member\022\024\n\014continuation\030\002 \001(\004\"\332\001\n\030Updat" + "eMemberStateRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022@\n\007options\030\005 \001" + "(\0132/.bgs.protocol.club.v1.client.MemberS" + "tateOptions\"\257\001\n\034UpdateSubscriberStateReq" + "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" + "D\n\007options\030\003 \001(\01323.bgs.protocol.club.v1." + "client.SubscriberStateOptions\"\231\001\n\021Assign" + "RoleRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006" + "\202\371+\002\020\001\0229\n\007options\030\003 \001(\0132(.bgs.protocol.c" + "lub.v1.client.RoleOptions\"\233\001\n\023UnassignRo" + "leRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\0229\n\007options\030\003 \001(\0132(.bgs.protocol.clu" + "b.v1.client.RoleOptions\"\247\001\n\025SendInvitati" + "onRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022C\n\007options\030\003 \001(\01322.bgs.protocol.clu" + "b.v1.client.SendInvitationOptions\"{\n\027Acc" + "eptInvitationRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation_id\030\003 \001(\006\"|" + "\n\030DeclineInvitationRequest\0220\n\010agent_id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007" + "club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation_id\030\003" + " \001(\006\"{\n\027RevokeInvitationRequest\0220\n\010agent" + "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" + "d\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation" + "_id\030\003 \001(\006\"x\n\024GetInvitationRequest\0220\n\010age" + "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe" + "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitati" + "on_id\030\003 \001(\006\"X\n\025GetInvitationResponse\022\?\n\n" + "invitation\030\001 \001(\0132+.bgs.protocol.club.v1." + "client.ClubInvitation\"x\n\025GetInvitationsR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\022\024\n\014continuation\030\003 \001(\004\"o\n\026GetInvitation" + "sResponse\022\?\n\ninvitation\030\001 \003(\0132+.bgs.prot" + "ocol.club.v1.client.ClubInvitation\022\024\n\014co" + "ntinuation\030\002 \001(\004\"\247\001\n\025SendSuggestionReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022C\n" + "\007options\030\003 \001(\01322.bgs.protocol.club.v1.cl" + "ient.SendSuggestionOptions\"{\n\027AcceptSugg" + "estionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pr" + "otocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004" + "B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"|\n\030Decli" + "neSuggestionRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"x\n" + "\024GetSuggestionRequest\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" + "id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"" + "X\n\025GetSuggestionResponse\022\?\n\nsuggestion\030\001" + " \001(\0132+.bgs.protocol.club.v1.client.ClubS" + "uggestion\"x\n\025GetSuggestionsRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continu" + "ation\030\003 \001(\004\"o\n\026GetSuggestionsResponse\022\?\n" + "\nsuggestion\030\001 \003(\0132+.bgs.protocol.club.v1" + ".client.ClubSuggestion\022\024\n\014continuation\030\002" + " \001(\004\"\243\001\n\023CreateTicketRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\013" + "20.bgs.protocol.club.v1.client.CreateTic" + "ketOptions\"O\n\024CreateTicketResponse\0227\n\006ti" + "cket\030\001 \001(\0132\'.bgs.protocol.club.v1.client" + ".ClubTicket\"t\n\024DestroyTicketRequest\0220\n\010a" + "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" + "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tticket" + "_id\030\003 \001(\t\"Z\n\023RedeemTicketRequest\0220\n\010agen" + "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" + "Id\022\021\n\tticket_id\030\003 \001(\t\"W\n\020GetTicketReques" + "t\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"L\n\021GetTic" + "ketResponse\0227\n\006ticket\030\001 \001(\0132\'.bgs.protoc" + "ol.club.v1.client.ClubTicket\"t\n\021GetTicke" + "tsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"c\n\022GetTickets" + "Response\0227\n\006ticket\030\001 \003(\0132\'.bgs.protocol." + "club.v1.client.ClubTicket\022\024\n\014continuatio" + "n\030\002 \001(\004\"\227\001\n\rAddBanRequest\0220\n\010agent_id\030\001 " + "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007c" + "lub_id\030\002 \001(\004B\006\202\371+\002\020\001\022;\n\007options\030\003 \001(\0132*." + "bgs.protocol.club.v1.client.AddBanOption" + "s\"\220\001\n\020RemoveBanRequest\0220\n\010agent_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club" + "_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\"\215\001\n\rGetBanR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\"C\n\016GetBanResponse\0221\n\003ban\030\001 " + "\001(\0132$.bgs.protocol.club.v1.client.ClubBa" + "n\"q\n\016GetBansRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"Z\n\017" + "GetBansResponse\0221\n\003ban\030\001 \003(\0132$.bgs.proto" + "col.club.v1.client.ClubBan\022\024\n\014continuati" + "on\030\002 \001(\004\"v\n\026SubscribeStreamRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_" + "id\030\003 \003(\004\"x\n\030UnsubscribeStreamRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \003(\004\"\243\001\n\023CreateStreamRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options" + "\030\003 \001(\01320.bgs.protocol.club.v1.client.Cre" + "ateStreamOptions\":\n\024CreateStreamResponse" + "\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\"t\n\024" + "DestroyStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"p\n\020Ge" + "tStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p" + "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(" + "\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"H\n\021GetStrea" + "mResponse\0223\n\006stream\030\001 \001(\0132#.bgs.protocol" + ".club.v1.client.Stream\"t\n\021GetStreamsRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024" + "\n\014continuation\030\003 \001(\004\"\226\001\n\022GetStreamsRespo" + "nse\0223\n\006stream\030\001 \003(\0132#.bgs.protocol.club." + "v1.client.Stream\0225\n\004view\030\002 \003(\0132\'.bgs.pro" + "tocol.club.v1.client.StreamView\022\024\n\014conti" + "nuation\030\003 \001(\004\"\272\001\n\030UpdateStreamStateReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n" + "\tstream_id\030\003 \001(\004\022@\n\007options\030\005 \001(\0132/.bgs." + "protocol.club.v1.client.StreamStateOptio" + "ns\"\204\001\n\025SetStreamFocusRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001" + "(\004\022\r\n\005focus\030\004 \001(\010\"\270\001\n\024CreateMessageReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n" + "\tstream_id\030\003 \001(\004\022B\n\007options\030\004 \001(\01321.bgs." + "protocol.club.v1.client.CreateMessageOpt" + "ions\"T\n\025CreateMessageResponse\022;\n\007message" + "\030\001 \001(\0132*.bgs.protocol.club.v1.client.Str" + "eamMessage\"\242\001\n\025DestroyMessageRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.pro" + "tocol.MessageId\"U\n\026DestroyMessageRespons" + "e\022;\n\007message\030\001 \001(\0132*.bgs.protocol.club.v" + "1.client.StreamMessage\"\343\001\n\022EditMessageRe" + "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" + "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" + "\022\021\n\tstream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132" + "\027.bgs.protocol.MessageId\022B\n\007options\030\005 \001(" + "\01321.bgs.protocol.club.v1.client.CreateMe" + "ssageOptions\"R\n\023EditMessageResponse\022;\n\007m" + "essage\030\001 \001(\0132*.bgs.protocol.club.v1.clie" + "nt.StreamMessage\"w\n\027SetMessagePinnedRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021" + "\n\tstream_id\030\003 \001(\004\"\253\001\n\031SetTypingIndicator" + "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" + ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002" + "\020\001\022\021\n\tstream_id\030\003 \001(\004\0220\n\tindicator\030\004 \001(\016" + "2\035.bgs.protocol.TypingIndicator\"\242\001\n\034Adva" + "nceStreamViewTimeRequest\0220\n\010agent_id\030\001 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007cl" + "ub_id\030\002 \001(\004B\006\202\371+\002\020\001\022 \n\024stream_id_depreca" + "ted\030\003 \001(\004B\002\030\001\022\025\n\tstream_id\030\004 \003(\004B\002\020\001\"\203\001\n" + "#AdvanceStreamMentionViewTimeRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \001(\004\"k\n\036AdvanceActivityViewTimeReq" + "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"" + "\247\001\n\027GetStreamHistoryRequest\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n" + "\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(" + "\004\022.\n\007options\030\004 \001(\0132\035.bgs.protocol.GetEve" + "ntOptions\"m\n\030GetStreamHistoryResponse\022;\n" + "\007message\030\001 \003(\0132*.bgs.protocol.club.v1.cl" + "ient.StreamMessage\022\024\n\014continuation\030\002 \001(\004" + "\"\244\001\n\027GetStreamMessageRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001" + "(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.protocol.Me" + "ssageId\"W\n\030GetStreamMessageResponse\022;\n\007m" + "essage\030\001 \001(\0132*.bgs.protocol.club.v1.clie" + "nt.StreamMessage\"\223\001\n\026GetClubActivityRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022." + "\n\007options\030\003 \001(\0132\035.bgs.protocol.GetEventO" + "ptions\"/\n\027GetClubActivityResponse\022\024\n\014con" + "tinuation\030\002 \001(\004\"\251\001\n\032GetStreamVoiceTokenR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\022\021\n\tstream_id\030\003 \001(\004\022-\n\007version\030\004 \001(\rB\034\030" + "\001\202\371+\026*\024VoiceProviderVersion\"p\n\033GetStream" + "VoiceTokenResponse\022\023\n\013channel_uri\030\001 \001(\t\022" + "<\n\013credentials\030\002 \001(\0132\'.bgs.protocol.voic" + "e.v1.VoiceCredentials\"\255\001\n\032KickFromStream" + "VoiceRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro" + "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B" + "\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\0221\n\ttarget_id\030" + "\004 \001(\0132\036.bgs.protocol.club.v1.MemberIdB\002H" + "\002P\000P\001", 10805); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_request.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + CreateRequest::default_instance_ = new CreateRequest(); + CreateResponse::default_instance_ = new CreateResponse(); + DestroyRequest::default_instance_ = new DestroyRequest(); + GetDescriptionRequest::default_instance_ = new GetDescriptionRequest(); + GetDescriptionResponse::default_instance_ = new GetDescriptionResponse(); + GetClubTypeRequest::default_instance_ = new GetClubTypeRequest(); + GetClubTypeResponse::default_instance_ = new GetClubTypeResponse(); + UpdateClubStateRequest::default_instance_ = new UpdateClubStateRequest(); + UpdateClubSettingsRequest::default_instance_ = new UpdateClubSettingsRequest(); + AddMemberRequest::default_instance_ = new AddMemberRequest(); + JoinRequest::default_instance_ = new JoinRequest(); + LeaveRequest::default_instance_ = new LeaveRequest(); + KickRequest::default_instance_ = new KickRequest(); + GetMemberRequest::default_instance_ = new GetMemberRequest(); + GetMemberResponse::default_instance_ = new GetMemberResponse(); + GetMembersRequest::default_instance_ = new GetMembersRequest(); + GetMembersResponse::default_instance_ = new GetMembersResponse(); + UpdateMemberStateRequest::default_instance_ = new UpdateMemberStateRequest(); + UpdateSubscriberStateRequest::default_instance_ = new UpdateSubscriberStateRequest(); + AssignRoleRequest::default_instance_ = new AssignRoleRequest(); + UnassignRoleRequest::default_instance_ = new UnassignRoleRequest(); + SendInvitationRequest::default_instance_ = new SendInvitationRequest(); + AcceptInvitationRequest::default_instance_ = new AcceptInvitationRequest(); + DeclineInvitationRequest::default_instance_ = new DeclineInvitationRequest(); + RevokeInvitationRequest::default_instance_ = new RevokeInvitationRequest(); + GetInvitationRequest::default_instance_ = new GetInvitationRequest(); + GetInvitationResponse::default_instance_ = new GetInvitationResponse(); + GetInvitationsRequest::default_instance_ = new GetInvitationsRequest(); + GetInvitationsResponse::default_instance_ = new GetInvitationsResponse(); + SendSuggestionRequest::default_instance_ = new SendSuggestionRequest(); + AcceptSuggestionRequest::default_instance_ = new AcceptSuggestionRequest(); + DeclineSuggestionRequest::default_instance_ = new DeclineSuggestionRequest(); + GetSuggestionRequest::default_instance_ = new GetSuggestionRequest(); + GetSuggestionResponse::default_instance_ = new GetSuggestionResponse(); + GetSuggestionsRequest::default_instance_ = new GetSuggestionsRequest(); + GetSuggestionsResponse::default_instance_ = new GetSuggestionsResponse(); + CreateTicketRequest::default_instance_ = new CreateTicketRequest(); + CreateTicketResponse::default_instance_ = new CreateTicketResponse(); + DestroyTicketRequest::default_instance_ = new DestroyTicketRequest(); + RedeemTicketRequest::default_instance_ = new RedeemTicketRequest(); + GetTicketRequest::default_instance_ = new GetTicketRequest(); + GetTicketResponse::default_instance_ = new GetTicketResponse(); + GetTicketsRequest::default_instance_ = new GetTicketsRequest(); + GetTicketsResponse::default_instance_ = new GetTicketsResponse(); + AddBanRequest::default_instance_ = new AddBanRequest(); + RemoveBanRequest::default_instance_ = new RemoveBanRequest(); + GetBanRequest::default_instance_ = new GetBanRequest(); + GetBanResponse::default_instance_ = new GetBanResponse(); + GetBansRequest::default_instance_ = new GetBansRequest(); + GetBansResponse::default_instance_ = new GetBansResponse(); + SubscribeStreamRequest::default_instance_ = new SubscribeStreamRequest(); + UnsubscribeStreamRequest::default_instance_ = new UnsubscribeStreamRequest(); + CreateStreamRequest::default_instance_ = new CreateStreamRequest(); + CreateStreamResponse::default_instance_ = new CreateStreamResponse(); + DestroyStreamRequest::default_instance_ = new DestroyStreamRequest(); + GetStreamRequest::default_instance_ = new GetStreamRequest(); + GetStreamResponse::default_instance_ = new GetStreamResponse(); + GetStreamsRequest::default_instance_ = new GetStreamsRequest(); + GetStreamsResponse::default_instance_ = new GetStreamsResponse(); + UpdateStreamStateRequest::default_instance_ = new UpdateStreamStateRequest(); + SetStreamFocusRequest::default_instance_ = new SetStreamFocusRequest(); + CreateMessageRequest::default_instance_ = new CreateMessageRequest(); + CreateMessageResponse::default_instance_ = new CreateMessageResponse(); + DestroyMessageRequest::default_instance_ = new DestroyMessageRequest(); + DestroyMessageResponse::default_instance_ = new DestroyMessageResponse(); + EditMessageRequest::default_instance_ = new EditMessageRequest(); + EditMessageResponse::default_instance_ = new EditMessageResponse(); + SetMessagePinnedRequest::default_instance_ = new SetMessagePinnedRequest(); + SetTypingIndicatorRequest::default_instance_ = new SetTypingIndicatorRequest(); + AdvanceStreamViewTimeRequest::default_instance_ = new AdvanceStreamViewTimeRequest(); + AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); + AdvanceActivityViewTimeRequest::default_instance_ = new AdvanceActivityViewTimeRequest(); + GetStreamHistoryRequest::default_instance_ = new GetStreamHistoryRequest(); + GetStreamHistoryResponse::default_instance_ = new GetStreamHistoryResponse(); + GetStreamMessageRequest::default_instance_ = new GetStreamMessageRequest(); + GetStreamMessageResponse::default_instance_ = new GetStreamMessageResponse(); + GetClubActivityRequest::default_instance_ = new GetClubActivityRequest(); + GetClubActivityResponse::default_instance_ = new GetClubActivityResponse(); + GetStreamVoiceTokenRequest::default_instance_ = new GetStreamVoiceTokenRequest(); + GetStreamVoiceTokenResponse::default_instance_ = new GetStreamVoiceTokenResponse(); + KickFromStreamVoiceRequest::default_instance_ = new KickFromStreamVoiceRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + CreateRequest::default_instance_->InitAsDefaultInstance(); + CreateResponse::default_instance_->InitAsDefaultInstance(); + DestroyRequest::default_instance_->InitAsDefaultInstance(); + GetDescriptionRequest::default_instance_->InitAsDefaultInstance(); + GetDescriptionResponse::default_instance_->InitAsDefaultInstance(); + GetClubTypeRequest::default_instance_->InitAsDefaultInstance(); + GetClubTypeResponse::default_instance_->InitAsDefaultInstance(); + UpdateClubStateRequest::default_instance_->InitAsDefaultInstance(); + UpdateClubSettingsRequest::default_instance_->InitAsDefaultInstance(); + AddMemberRequest::default_instance_->InitAsDefaultInstance(); + JoinRequest::default_instance_->InitAsDefaultInstance(); + LeaveRequest::default_instance_->InitAsDefaultInstance(); + KickRequest::default_instance_->InitAsDefaultInstance(); + GetMemberRequest::default_instance_->InitAsDefaultInstance(); + GetMemberResponse::default_instance_->InitAsDefaultInstance(); + GetMembersRequest::default_instance_->InitAsDefaultInstance(); + GetMembersResponse::default_instance_->InitAsDefaultInstance(); + UpdateMemberStateRequest::default_instance_->InitAsDefaultInstance(); + UpdateSubscriberStateRequest::default_instance_->InitAsDefaultInstance(); + AssignRoleRequest::default_instance_->InitAsDefaultInstance(); + UnassignRoleRequest::default_instance_->InitAsDefaultInstance(); + SendInvitationRequest::default_instance_->InitAsDefaultInstance(); + AcceptInvitationRequest::default_instance_->InitAsDefaultInstance(); + DeclineInvitationRequest::default_instance_->InitAsDefaultInstance(); + RevokeInvitationRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationResponse::default_instance_->InitAsDefaultInstance(); + GetInvitationsRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationsResponse::default_instance_->InitAsDefaultInstance(); + SendSuggestionRequest::default_instance_->InitAsDefaultInstance(); + AcceptSuggestionRequest::default_instance_->InitAsDefaultInstance(); + DeclineSuggestionRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionResponse::default_instance_->InitAsDefaultInstance(); + GetSuggestionsRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionsResponse::default_instance_->InitAsDefaultInstance(); + CreateTicketRequest::default_instance_->InitAsDefaultInstance(); + CreateTicketResponse::default_instance_->InitAsDefaultInstance(); + DestroyTicketRequest::default_instance_->InitAsDefaultInstance(); + RedeemTicketRequest::default_instance_->InitAsDefaultInstance(); + GetTicketRequest::default_instance_->InitAsDefaultInstance(); + GetTicketResponse::default_instance_->InitAsDefaultInstance(); + GetTicketsRequest::default_instance_->InitAsDefaultInstance(); + GetTicketsResponse::default_instance_->InitAsDefaultInstance(); + AddBanRequest::default_instance_->InitAsDefaultInstance(); + RemoveBanRequest::default_instance_->InitAsDefaultInstance(); + GetBanRequest::default_instance_->InitAsDefaultInstance(); + GetBanResponse::default_instance_->InitAsDefaultInstance(); + GetBansRequest::default_instance_->InitAsDefaultInstance(); + GetBansResponse::default_instance_->InitAsDefaultInstance(); + SubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); + UnsubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); + CreateStreamRequest::default_instance_->InitAsDefaultInstance(); + CreateStreamResponse::default_instance_->InitAsDefaultInstance(); + DestroyStreamRequest::default_instance_->InitAsDefaultInstance(); + GetStreamRequest::default_instance_->InitAsDefaultInstance(); + GetStreamResponse::default_instance_->InitAsDefaultInstance(); + GetStreamsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamsResponse::default_instance_->InitAsDefaultInstance(); + UpdateStreamStateRequest::default_instance_->InitAsDefaultInstance(); + SetStreamFocusRequest::default_instance_->InitAsDefaultInstance(); + CreateMessageRequest::default_instance_->InitAsDefaultInstance(); + CreateMessageResponse::default_instance_->InitAsDefaultInstance(); + DestroyMessageRequest::default_instance_->InitAsDefaultInstance(); + DestroyMessageResponse::default_instance_->InitAsDefaultInstance(); + EditMessageRequest::default_instance_->InitAsDefaultInstance(); + EditMessageResponse::default_instance_->InitAsDefaultInstance(); + SetMessagePinnedRequest::default_instance_->InitAsDefaultInstance(); + SetTypingIndicatorRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceActivityViewTimeRequest::default_instance_->InitAsDefaultInstance(); + GetStreamHistoryRequest::default_instance_->InitAsDefaultInstance(); + GetStreamHistoryResponse::default_instance_->InitAsDefaultInstance(); + GetStreamMessageRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMessageResponse::default_instance_->InitAsDefaultInstance(); + GetClubActivityRequest::default_instance_->InitAsDefaultInstance(); + GetClubActivityResponse::default_instance_->InitAsDefaultInstance(); + GetStreamVoiceTokenRequest::default_instance_->InitAsDefaultInstance(); + GetStreamVoiceTokenResponse::default_instance_->InitAsDefaultInstance(); + KickFromStreamVoiceRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frequest_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frequest_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeRequest::kAgentIdFieldNumber; +const int SubscribeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeRequest::kAgentIdFieldNumber; +const int UnsubscribeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateRequest::kAgentIdFieldNumber; +const int CreateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateRequest::CreateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateRequest) +} + +void CreateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubCreateOptions*>(&::bgs::protocol::club::v1::client::ClubCreateOptions::default_instance()); +} + +CreateRequest::CreateRequest(const CreateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateRequest) +} + +void CreateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateRequest::~CreateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateRequest) + SharedDtor(); +} + +void CreateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateRequest_descriptor_; +} + +const CreateRequest& CreateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateRequest* CreateRequest::default_instance_ = NULL; + +CreateRequest* CreateRequest::New() const { + return new CreateRequest; +} + +void CreateRequest::Swap(CreateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateRequest_descriptor_; + metadata.reflection = CreateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateResponse::kClubIdFieldNumber; +#endif // !_MSC_VER + +CreateResponse::CreateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateResponse) +} + +void CreateResponse::InitAsDefaultInstance() { +} + +CreateResponse::CreateResponse(const CreateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateResponse) +} + +void CreateResponse::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateResponse::~CreateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateResponse) + SharedDtor(); +} + +void CreateResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void CreateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateResponse_descriptor_; +} + +const CreateResponse& CreateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateResponse* CreateResponse::default_instance_ = NULL; + +CreateResponse* CreateResponse::New() const { + return new CreateResponse; +} + +void CreateResponse::Swap(CreateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateResponse_descriptor_; + metadata.reflection = CreateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyRequest::kAgentIdFieldNumber; +const int DestroyRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +DestroyRequest::DestroyRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyRequest) +} + +void DestroyRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyRequest::DestroyRequest(const DestroyRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyRequest) +} + +void DestroyRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyRequest::~DestroyRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyRequest) + SharedDtor(); +} + +void DestroyRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyRequest_descriptor_; +} + +const DestroyRequest& DestroyRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyRequest* DestroyRequest::default_instance_ = NULL; + +DestroyRequest* DestroyRequest::New() const { + return new DestroyRequest; +} + +void DestroyRequest::Swap(DestroyRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyRequest_descriptor_; + metadata.reflection = DestroyRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetDescriptionRequest::kAgentIdFieldNumber; +const int GetDescriptionRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +GetDescriptionRequest::GetDescriptionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) +} + +void GetDescriptionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetDescriptionRequest::GetDescriptionRequest(const GetDescriptionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) +} + +void GetDescriptionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetDescriptionRequest::~GetDescriptionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionRequest) + SharedDtor(); +} + +void GetDescriptionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetDescriptionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetDescriptionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetDescriptionRequest_descriptor_; +} + +const GetDescriptionRequest& GetDescriptionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetDescriptionRequest* GetDescriptionRequest::default_instance_ = NULL; + +GetDescriptionRequest* GetDescriptionRequest::New() const { + return new GetDescriptionRequest; +} + +void GetDescriptionRequest::Swap(GetDescriptionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetDescriptionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetDescriptionRequest_descriptor_; + metadata.reflection = GetDescriptionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetDescriptionResponse::kClubFieldNumber; +#endif // !_MSC_VER + +GetDescriptionResponse::GetDescriptionResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) +} + +void GetDescriptionResponse::InitAsDefaultInstance() { + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); +} + +GetDescriptionResponse::GetDescriptionResponse(const GetDescriptionResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) +} + +void GetDescriptionResponse::SharedCtor() { + _cached_size_ = 0; + club_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetDescriptionResponse::~GetDescriptionResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionResponse) + SharedDtor(); +} + +void GetDescriptionResponse::SharedDtor() { + if (this != default_instance_) { + delete club_; + } +} + +void GetDescriptionResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetDescriptionResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetDescriptionResponse_descriptor_; +} + +const GetDescriptionResponse& GetDescriptionResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetDescriptionResponse* GetDescriptionResponse::default_instance_ = NULL; + +GetDescriptionResponse* GetDescriptionResponse::New() const { + return new GetDescriptionResponse; +} + +void GetDescriptionResponse::Swap(GetDescriptionResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetDescriptionResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetDescriptionResponse_descriptor_; + metadata.reflection = GetDescriptionResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubTypeRequest::kAgentIdFieldNumber; +const int GetClubTypeRequest::kTypeFieldNumber; +#endif // !_MSC_VER + +GetClubTypeRequest::GetClubTypeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) +} + +void GetClubTypeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +GetClubTypeRequest::GetClubTypeRequest(const GetClubTypeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) +} + +void GetClubTypeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubTypeRequest::~GetClubTypeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeRequest) + SharedDtor(); +} + +void GetClubTypeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete type_; + } +} + +void GetClubTypeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubTypeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubTypeRequest_descriptor_; +} + +const GetClubTypeRequest& GetClubTypeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubTypeRequest* GetClubTypeRequest::default_instance_ = NULL; + +GetClubTypeRequest* GetClubTypeRequest::New() const { + return new GetClubTypeRequest; +} + +void GetClubTypeRequest::Swap(GetClubTypeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubTypeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubTypeRequest_descriptor_; + metadata.reflection = GetClubTypeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubTypeResponse::kTypeFieldNumber; +const int GetClubTypeResponse::kRoleSetFieldNumber; +const int GetClubTypeResponse::kRangeSetFieldNumber; +const int GetClubTypeResponse::kPlatformTagSetFieldNumber; +const int GetClubTypeResponse::kCustomTagSetFieldNumber; +#endif // !_MSC_VER + +GetClubTypeResponse::GetClubTypeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubTypeResponse) +} + +void GetClubTypeResponse::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + role_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubRoleSet*>(&::bgs::protocol::club::v1::client::ClubRoleSet::default_instance()); + range_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubTypeRangeSet*>(&::bgs::protocol::club::v1::client::ClubTypeRangeSet::default_instance()); +} + +GetClubTypeResponse::GetClubTypeResponse(const GetClubTypeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeResponse) +} + +void GetClubTypeResponse::SharedCtor() { + _cached_size_ = 0; + type_ = NULL; + role_set_ = NULL; + range_set_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubTypeResponse::~GetClubTypeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeResponse) + SharedDtor(); +} + +void GetClubTypeResponse::SharedDtor() { + if (this != default_instance_) { + delete type_; + delete role_set_; + delete range_set_; + } +} + +void GetClubTypeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubTypeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubTypeResponse_descriptor_; +} + +const GetClubTypeResponse& GetClubTypeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubTypeResponse* GetClubTypeResponse::default_instance_ = NULL; + +GetClubTypeResponse* GetClubTypeResponse::New() const { + return new GetClubTypeResponse; +} + +void GetClubTypeResponse::Swap(GetClubTypeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubTypeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubTypeResponse_descriptor_; + metadata.reflection = GetClubTypeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubStateRequest::kAgentIdFieldNumber; +const int UpdateClubStateRequest::kClubIdFieldNumber; +const int UpdateClubStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubStateRequest::UpdateClubStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) +} + +void UpdateClubStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubStateOptions*>(&::bgs::protocol::club::v1::client::ClubStateOptions::default_instance()); +} + +UpdateClubStateRequest::UpdateClubStateRequest(const UpdateClubStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) +} + +void UpdateClubStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubStateRequest::~UpdateClubStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) + SharedDtor(); +} + +void UpdateClubStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateClubStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubStateRequest_descriptor_; +} + +const UpdateClubStateRequest& UpdateClubStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateClubStateRequest* UpdateClubStateRequest::default_instance_ = NULL; + +UpdateClubStateRequest* UpdateClubStateRequest::New() const { + return new UpdateClubStateRequest; +} + +void UpdateClubStateRequest::Swap(UpdateClubStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubStateRequest_descriptor_; + metadata.reflection = UpdateClubStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubSettingsRequest::kAgentIdFieldNumber; +const int UpdateClubSettingsRequest::kClubIdFieldNumber; +const int UpdateClubSettingsRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubSettingsRequest::UpdateClubSettingsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) +} + +void UpdateClubSettingsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettingsOptions*>(&::bgs::protocol::club::v1::client::ClubSettingsOptions::default_instance()); +} + +UpdateClubSettingsRequest::UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) +} + +void UpdateClubSettingsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubSettingsRequest::~UpdateClubSettingsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) + SharedDtor(); +} + +void UpdateClubSettingsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateClubSettingsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubSettingsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubSettingsRequest_descriptor_; +} + +const UpdateClubSettingsRequest& UpdateClubSettingsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateClubSettingsRequest* UpdateClubSettingsRequest::default_instance_ = NULL; + +UpdateClubSettingsRequest* UpdateClubSettingsRequest::New() const { + return new UpdateClubSettingsRequest; +} + +void UpdateClubSettingsRequest::Swap(UpdateClubSettingsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubSettingsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubSettingsRequest_descriptor_; + metadata.reflection = UpdateClubSettingsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AddMemberRequest::kAgentIdFieldNumber; +const int AddMemberRequest::kClubIdFieldNumber; +const int AddMemberRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AddMemberRequest::AddMemberRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddMemberRequest) +} + +void AddMemberRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); +} + +AddMemberRequest::AddMemberRequest(const AddMemberRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddMemberRequest) +} + +void AddMemberRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddMemberRequest::~AddMemberRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddMemberRequest) + SharedDtor(); +} + +void AddMemberRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AddMemberRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddMemberRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddMemberRequest_descriptor_; +} + +const AddMemberRequest& AddMemberRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AddMemberRequest* AddMemberRequest::default_instance_ = NULL; + +AddMemberRequest* AddMemberRequest::New() const { + return new AddMemberRequest; +} + +void AddMemberRequest::Swap(AddMemberRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddMemberRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddMemberRequest_descriptor_; + metadata.reflection = AddMemberRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int JoinRequest::kAgentIdFieldNumber; +const int JoinRequest::kClubIdFieldNumber; +const int JoinRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +JoinRequest::JoinRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.JoinRequest) +} + +void JoinRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); +} + +JoinRequest::JoinRequest(const JoinRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.JoinRequest) +} + +void JoinRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +JoinRequest::~JoinRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.JoinRequest) + SharedDtor(); +} + +void JoinRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void JoinRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* JoinRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return JoinRequest_descriptor_; +} + +const JoinRequest& JoinRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +JoinRequest* JoinRequest::default_instance_ = NULL; + +JoinRequest* JoinRequest::New() const { + return new JoinRequest; +} + +void JoinRequest::Swap(JoinRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata JoinRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = JoinRequest_descriptor_; + metadata.reflection = JoinRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int LeaveRequest::kAgentIdFieldNumber; +const int LeaveRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +LeaveRequest::LeaveRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.LeaveRequest) +} + +void LeaveRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +LeaveRequest::LeaveRequest(const LeaveRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.LeaveRequest) +} + +void LeaveRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +LeaveRequest::~LeaveRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.LeaveRequest) + SharedDtor(); +} + +void LeaveRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void LeaveRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* LeaveRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return LeaveRequest_descriptor_; +} + +const LeaveRequest& LeaveRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +LeaveRequest* LeaveRequest::default_instance_ = NULL; + +LeaveRequest* LeaveRequest::New() const { + return new LeaveRequest; +} + +void LeaveRequest::Swap(LeaveRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata LeaveRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = LeaveRequest_descriptor_; + metadata.reflection = LeaveRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int KickRequest::kAgentIdFieldNumber; +const int KickRequest::kClubIdFieldNumber; +const int KickRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +KickRequest::KickRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickRequest) +} + +void KickRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +KickRequest::KickRequest(const KickRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickRequest) +} + +void KickRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +KickRequest::~KickRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickRequest) + SharedDtor(); +} + +void KickRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void KickRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* KickRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return KickRequest_descriptor_; +} + +const KickRequest& KickRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +KickRequest* KickRequest::default_instance_ = NULL; + +KickRequest* KickRequest::New() const { + return new KickRequest; +} + +void KickRequest::Swap(KickRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata KickRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = KickRequest_descriptor_; + metadata.reflection = KickRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMemberRequest::kAgentIdFieldNumber; +const int GetMemberRequest::kClubIdFieldNumber; +const int GetMemberRequest::kMemberIdFieldNumber; +#endif // !_MSC_VER + +GetMemberRequest::GetMemberRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberRequest) +} + +void GetMemberRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetMemberRequest::GetMemberRequest(const GetMemberRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberRequest) +} + +void GetMemberRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMemberRequest::~GetMemberRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberRequest) + SharedDtor(); +} + +void GetMemberRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + } +} + +void GetMemberRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMemberRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMemberRequest_descriptor_; +} + +const GetMemberRequest& GetMemberRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMemberRequest* GetMemberRequest::default_instance_ = NULL; + +GetMemberRequest* GetMemberRequest::New() const { + return new GetMemberRequest; +} + +void GetMemberRequest::Swap(GetMemberRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMemberRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMemberRequest_descriptor_; + metadata.reflection = GetMemberRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMemberResponse::kMemberFieldNumber; +#endif // !_MSC_VER + +GetMemberResponse::GetMemberResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberResponse) +} + +void GetMemberResponse::InitAsDefaultInstance() { + member_ = const_cast< ::bgs::protocol::club::v1::client::Member*>(&::bgs::protocol::club::v1::client::Member::default_instance()); +} + +GetMemberResponse::GetMemberResponse(const GetMemberResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberResponse) +} + +void GetMemberResponse::SharedCtor() { + _cached_size_ = 0; + member_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMemberResponse::~GetMemberResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberResponse) + SharedDtor(); +} + +void GetMemberResponse::SharedDtor() { + if (this != default_instance_) { + delete member_; + } +} + +void GetMemberResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMemberResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMemberResponse_descriptor_; +} + +const GetMemberResponse& GetMemberResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMemberResponse* GetMemberResponse::default_instance_ = NULL; + +GetMemberResponse* GetMemberResponse::New() const { + return new GetMemberResponse; +} + +void GetMemberResponse::Swap(GetMemberResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMemberResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMemberResponse_descriptor_; + metadata.reflection = GetMemberResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMembersRequest::kAgentIdFieldNumber; +const int GetMembersRequest::kClubIdFieldNumber; +const int GetMembersRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetMembersRequest::GetMembersRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersRequest) +} + +void GetMembersRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetMembersRequest::GetMembersRequest(const GetMembersRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersRequest) +} + +void GetMembersRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMembersRequest::~GetMembersRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersRequest) + SharedDtor(); +} + +void GetMembersRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetMembersRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMembersRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMembersRequest_descriptor_; +} + +const GetMembersRequest& GetMembersRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMembersRequest* GetMembersRequest::default_instance_ = NULL; + +GetMembersRequest* GetMembersRequest::New() const { + return new GetMembersRequest; +} + +void GetMembersRequest::Swap(GetMembersRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMembersRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMembersRequest_descriptor_; + metadata.reflection = GetMembersRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMembersResponse::kMemberFieldNumber; +const int GetMembersResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetMembersResponse::GetMembersResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersResponse) +} + +void GetMembersResponse::InitAsDefaultInstance() { +} + +GetMembersResponse::GetMembersResponse(const GetMembersResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersResponse) +} + +void GetMembersResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMembersResponse::~GetMembersResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersResponse) + SharedDtor(); +} + +void GetMembersResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetMembersResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMembersResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMembersResponse_descriptor_; +} + +const GetMembersResponse& GetMembersResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMembersResponse* GetMembersResponse::default_instance_ = NULL; + +GetMembersResponse* GetMembersResponse::New() const { + return new GetMembersResponse; +} + +void GetMembersResponse::Swap(GetMembersResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMembersResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMembersResponse_descriptor_; + metadata.reflection = GetMembersResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateMemberStateRequest::kAgentIdFieldNumber; +const int UpdateMemberStateRequest::kClubIdFieldNumber; +const int UpdateMemberStateRequest::kMemberIdFieldNumber; +const int UpdateMemberStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateMemberStateRequest::UpdateMemberStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) +} + +void UpdateMemberStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::MemberStateOptions*>(&::bgs::protocol::club::v1::client::MemberStateOptions::default_instance()); +} + +UpdateMemberStateRequest::UpdateMemberStateRequest(const UpdateMemberStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) +} + +void UpdateMemberStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + member_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateMemberStateRequest::~UpdateMemberStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) + SharedDtor(); +} + +void UpdateMemberStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + delete options_; + } +} + +void UpdateMemberStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateMemberStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateMemberStateRequest_descriptor_; +} + +const UpdateMemberStateRequest& UpdateMemberStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateMemberStateRequest* UpdateMemberStateRequest::default_instance_ = NULL; + +UpdateMemberStateRequest* UpdateMemberStateRequest::New() const { + return new UpdateMemberStateRequest; +} + +void UpdateMemberStateRequest::Swap(UpdateMemberStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateMemberStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateMemberStateRequest_descriptor_; + metadata.reflection = UpdateMemberStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateSubscriberStateRequest::kAgentIdFieldNumber; +const int UpdateSubscriberStateRequest::kClubIdFieldNumber; +const int UpdateSubscriberStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateSubscriberStateRequest::UpdateSubscriberStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) +} + +void UpdateSubscriberStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SubscriberStateOptions*>(&::bgs::protocol::club::v1::client::SubscriberStateOptions::default_instance()); +} + +UpdateSubscriberStateRequest::UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) +} + +void UpdateSubscriberStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateSubscriberStateRequest::~UpdateSubscriberStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) + SharedDtor(); +} + +void UpdateSubscriberStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateSubscriberStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateSubscriberStateRequest_descriptor_; +} + +const UpdateSubscriberStateRequest& UpdateSubscriberStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::default_instance_ = NULL; + +UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::New() const { + return new UpdateSubscriberStateRequest; +} + +void UpdateSubscriberStateRequest::Swap(UpdateSubscriberStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateSubscriberStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateSubscriberStateRequest_descriptor_; + metadata.reflection = UpdateSubscriberStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AssignRoleRequest::kAgentIdFieldNumber; +const int AssignRoleRequest::kClubIdFieldNumber; +const int AssignRoleRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AssignRoleRequest::AssignRoleRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AssignRoleRequest) +} + +void AssignRoleRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::RoleOptions*>(&::bgs::protocol::club::v1::client::RoleOptions::default_instance()); +} + +AssignRoleRequest::AssignRoleRequest(const AssignRoleRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AssignRoleRequest) +} + +void AssignRoleRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AssignRoleRequest::~AssignRoleRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AssignRoleRequest) + SharedDtor(); +} + +void AssignRoleRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AssignRoleRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AssignRoleRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AssignRoleRequest_descriptor_; +} + +const AssignRoleRequest& AssignRoleRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AssignRoleRequest* AssignRoleRequest::default_instance_ = NULL; + +AssignRoleRequest* AssignRoleRequest::New() const { + return new AssignRoleRequest; +} + +void AssignRoleRequest::Swap(AssignRoleRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AssignRoleRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AssignRoleRequest_descriptor_; + metadata.reflection = AssignRoleRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnassignRoleRequest::kAgentIdFieldNumber; +const int UnassignRoleRequest::kClubIdFieldNumber; +const int UnassignRoleRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UnassignRoleRequest::UnassignRoleRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnassignRoleRequest) +} + +void UnassignRoleRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::RoleOptions*>(&::bgs::protocol::club::v1::client::RoleOptions::default_instance()); +} + +UnassignRoleRequest::UnassignRoleRequest(const UnassignRoleRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnassignRoleRequest) +} + +void UnassignRoleRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnassignRoleRequest::~UnassignRoleRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnassignRoleRequest) + SharedDtor(); +} + +void UnassignRoleRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UnassignRoleRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnassignRoleRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnassignRoleRequest_descriptor_; +} + +const UnassignRoleRequest& UnassignRoleRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnassignRoleRequest* UnassignRoleRequest::default_instance_ = NULL; + +UnassignRoleRequest* UnassignRoleRequest::New() const { + return new UnassignRoleRequest; +} + +void UnassignRoleRequest::Swap(UnassignRoleRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnassignRoleRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnassignRoleRequest_descriptor_; + metadata.reflection = UnassignRoleRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendInvitationRequest::kAgentIdFieldNumber; +const int SendInvitationRequest::kClubIdFieldNumber; +const int SendInvitationRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendInvitationRequest::SendInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendInvitationRequest) +} + +void SendInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SendInvitationOptions*>(&::bgs::protocol::club::v1::client::SendInvitationOptions::default_instance()); +} + +SendInvitationRequest::SendInvitationRequest(const SendInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationRequest) +} + +void SendInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendInvitationRequest::~SendInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationRequest) + SharedDtor(); +} + +void SendInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void SendInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendInvitationRequest_descriptor_; +} + +const SendInvitationRequest& SendInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SendInvitationRequest* SendInvitationRequest::default_instance_ = NULL; + +SendInvitationRequest* SendInvitationRequest::New() const { + return new SendInvitationRequest; +} + +void SendInvitationRequest::Swap(SendInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendInvitationRequest_descriptor_; + metadata.reflection = SendInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AcceptInvitationRequest::kAgentIdFieldNumber; +const int AcceptInvitationRequest::kClubIdFieldNumber; +const int AcceptInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +AcceptInvitationRequest::AcceptInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) +} + +void AcceptInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AcceptInvitationRequest::AcceptInvitationRequest(const AcceptInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) +} + +void AcceptInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AcceptInvitationRequest::~AcceptInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) + SharedDtor(); +} + +void AcceptInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AcceptInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AcceptInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AcceptInvitationRequest_descriptor_; +} + +const AcceptInvitationRequest& AcceptInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AcceptInvitationRequest* AcceptInvitationRequest::default_instance_ = NULL; + +AcceptInvitationRequest* AcceptInvitationRequest::New() const { + return new AcceptInvitationRequest; +} + +void AcceptInvitationRequest::Swap(AcceptInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AcceptInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AcceptInvitationRequest_descriptor_; + metadata.reflection = AcceptInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DeclineInvitationRequest::kAgentIdFieldNumber; +const int DeclineInvitationRequest::kClubIdFieldNumber; +const int DeclineInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +DeclineInvitationRequest::DeclineInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) +} + +void DeclineInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DeclineInvitationRequest::DeclineInvitationRequest(const DeclineInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) +} + +void DeclineInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DeclineInvitationRequest::~DeclineInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) + SharedDtor(); +} + +void DeclineInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DeclineInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DeclineInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DeclineInvitationRequest_descriptor_; +} + +const DeclineInvitationRequest& DeclineInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DeclineInvitationRequest* DeclineInvitationRequest::default_instance_ = NULL; + +DeclineInvitationRequest* DeclineInvitationRequest::New() const { + return new DeclineInvitationRequest; +} + +void DeclineInvitationRequest::Swap(DeclineInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DeclineInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DeclineInvitationRequest_descriptor_; + metadata.reflection = DeclineInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RevokeInvitationRequest::kAgentIdFieldNumber; +const int RevokeInvitationRequest::kClubIdFieldNumber; +const int RevokeInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +RevokeInvitationRequest::RevokeInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) +} + +void RevokeInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RevokeInvitationRequest::RevokeInvitationRequest(const RevokeInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) +} + +void RevokeInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RevokeInvitationRequest::~RevokeInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) + SharedDtor(); +} + +void RevokeInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void RevokeInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RevokeInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RevokeInvitationRequest_descriptor_; +} + +const RevokeInvitationRequest& RevokeInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RevokeInvitationRequest* RevokeInvitationRequest::default_instance_ = NULL; + +RevokeInvitationRequest* RevokeInvitationRequest::New() const { + return new RevokeInvitationRequest; +} + +void RevokeInvitationRequest::Swap(RevokeInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RevokeInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RevokeInvitationRequest_descriptor_; + metadata.reflection = RevokeInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationRequest::kAgentIdFieldNumber; +const int GetInvitationRequest::kClubIdFieldNumber; +const int GetInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +GetInvitationRequest::GetInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationRequest) +} + +void GetInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetInvitationRequest::GetInvitationRequest(const GetInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationRequest) +} + +void GetInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationRequest::~GetInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationRequest) + SharedDtor(); +} + +void GetInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationRequest_descriptor_; +} + +const GetInvitationRequest& GetInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationRequest* GetInvitationRequest::default_instance_ = NULL; + +GetInvitationRequest* GetInvitationRequest::New() const { + return new GetInvitationRequest; +} + +void GetInvitationRequest::Swap(GetInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationRequest_descriptor_; + metadata.reflection = GetInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationResponse::kInvitationFieldNumber; +#endif // !_MSC_VER + +GetInvitationResponse::GetInvitationResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationResponse) +} + +void GetInvitationResponse::InitAsDefaultInstance() { + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +GetInvitationResponse::GetInvitationResponse(const GetInvitationResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationResponse) +} + +void GetInvitationResponse::SharedCtor() { + _cached_size_ = 0; + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationResponse::~GetInvitationResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationResponse) + SharedDtor(); +} + +void GetInvitationResponse::SharedDtor() { + if (this != default_instance_) { + delete invitation_; + } +} + +void GetInvitationResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationResponse_descriptor_; +} + +const GetInvitationResponse& GetInvitationResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationResponse* GetInvitationResponse::default_instance_ = NULL; + +GetInvitationResponse* GetInvitationResponse::New() const { + return new GetInvitationResponse; +} + +void GetInvitationResponse::Swap(GetInvitationResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationResponse_descriptor_; + metadata.reflection = GetInvitationResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationsRequest::kAgentIdFieldNumber; +const int GetInvitationsRequest::kClubIdFieldNumber; +const int GetInvitationsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetInvitationsRequest::GetInvitationsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) +} + +void GetInvitationsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetInvitationsRequest::GetInvitationsRequest(const GetInvitationsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) +} + +void GetInvitationsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationsRequest::~GetInvitationsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsRequest) + SharedDtor(); +} + +void GetInvitationsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetInvitationsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationsRequest_descriptor_; +} + +const GetInvitationsRequest& GetInvitationsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationsRequest* GetInvitationsRequest::default_instance_ = NULL; + +GetInvitationsRequest* GetInvitationsRequest::New() const { + return new GetInvitationsRequest; +} + +void GetInvitationsRequest::Swap(GetInvitationsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationsRequest_descriptor_; + metadata.reflection = GetInvitationsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationsResponse::kInvitationFieldNumber; +const int GetInvitationsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetInvitationsResponse::GetInvitationsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) +} + +void GetInvitationsResponse::InitAsDefaultInstance() { +} + +GetInvitationsResponse::GetInvitationsResponse(const GetInvitationsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) +} + +void GetInvitationsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationsResponse::~GetInvitationsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsResponse) + SharedDtor(); +} + +void GetInvitationsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetInvitationsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationsResponse_descriptor_; +} + +const GetInvitationsResponse& GetInvitationsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationsResponse* GetInvitationsResponse::default_instance_ = NULL; + +GetInvitationsResponse* GetInvitationsResponse::New() const { + return new GetInvitationsResponse; +} + +void GetInvitationsResponse::Swap(GetInvitationsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationsResponse_descriptor_; + metadata.reflection = GetInvitationsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendSuggestionRequest::kAgentIdFieldNumber; +const int SendSuggestionRequest::kClubIdFieldNumber; +const int SendSuggestionRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendSuggestionRequest::SendSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendSuggestionRequest) +} + +void SendSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SendSuggestionOptions*>(&::bgs::protocol::club::v1::client::SendSuggestionOptions::default_instance()); +} + +SendSuggestionRequest::SendSuggestionRequest(const SendSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionRequest) +} + +void SendSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendSuggestionRequest::~SendSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionRequest) + SharedDtor(); +} + +void SendSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void SendSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendSuggestionRequest_descriptor_; +} + +const SendSuggestionRequest& SendSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SendSuggestionRequest* SendSuggestionRequest::default_instance_ = NULL; + +SendSuggestionRequest* SendSuggestionRequest::New() const { + return new SendSuggestionRequest; +} + +void SendSuggestionRequest::Swap(SendSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendSuggestionRequest_descriptor_; + metadata.reflection = SendSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AcceptSuggestionRequest::kAgentIdFieldNumber; +const int AcceptSuggestionRequest::kClubIdFieldNumber; +const int AcceptSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +AcceptSuggestionRequest::AcceptSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) +} + +void AcceptSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AcceptSuggestionRequest::AcceptSuggestionRequest(const AcceptSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) +} + +void AcceptSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AcceptSuggestionRequest::~AcceptSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) + SharedDtor(); +} + +void AcceptSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AcceptSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AcceptSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AcceptSuggestionRequest_descriptor_; +} + +const AcceptSuggestionRequest& AcceptSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AcceptSuggestionRequest* AcceptSuggestionRequest::default_instance_ = NULL; + +AcceptSuggestionRequest* AcceptSuggestionRequest::New() const { + return new AcceptSuggestionRequest; +} + +void AcceptSuggestionRequest::Swap(AcceptSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AcceptSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AcceptSuggestionRequest_descriptor_; + metadata.reflection = AcceptSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DeclineSuggestionRequest::kAgentIdFieldNumber; +const int DeclineSuggestionRequest::kClubIdFieldNumber; +const int DeclineSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +DeclineSuggestionRequest::DeclineSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) +} + +void DeclineSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DeclineSuggestionRequest::DeclineSuggestionRequest(const DeclineSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) +} + +void DeclineSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DeclineSuggestionRequest::~DeclineSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) + SharedDtor(); +} + +void DeclineSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DeclineSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DeclineSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DeclineSuggestionRequest_descriptor_; +} + +const DeclineSuggestionRequest& DeclineSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DeclineSuggestionRequest* DeclineSuggestionRequest::default_instance_ = NULL; + +DeclineSuggestionRequest* DeclineSuggestionRequest::New() const { + return new DeclineSuggestionRequest; +} + +void DeclineSuggestionRequest::Swap(DeclineSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DeclineSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DeclineSuggestionRequest_descriptor_; + metadata.reflection = DeclineSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionRequest::kAgentIdFieldNumber; +const int GetSuggestionRequest::kClubIdFieldNumber; +const int GetSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +GetSuggestionRequest::GetSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) +} + +void GetSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetSuggestionRequest::GetSuggestionRequest(const GetSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) +} + +void GetSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionRequest::~GetSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionRequest) + SharedDtor(); +} + +void GetSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionRequest_descriptor_; +} + +const GetSuggestionRequest& GetSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionRequest* GetSuggestionRequest::default_instance_ = NULL; + +GetSuggestionRequest* GetSuggestionRequest::New() const { + return new GetSuggestionRequest; +} + +void GetSuggestionRequest::Swap(GetSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionRequest_descriptor_; + metadata.reflection = GetSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionResponse::kSuggestionFieldNumber; +#endif // !_MSC_VER + +GetSuggestionResponse::GetSuggestionResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) +} + +void GetSuggestionResponse::InitAsDefaultInstance() { + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestion*>(&::bgs::protocol::club::v1::client::ClubSuggestion::default_instance()); +} + +GetSuggestionResponse::GetSuggestionResponse(const GetSuggestionResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) +} + +void GetSuggestionResponse::SharedCtor() { + _cached_size_ = 0; + suggestion_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionResponse::~GetSuggestionResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionResponse) + SharedDtor(); +} + +void GetSuggestionResponse::SharedDtor() { + if (this != default_instance_) { + delete suggestion_; + } +} + +void GetSuggestionResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionResponse_descriptor_; +} + +const GetSuggestionResponse& GetSuggestionResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionResponse* GetSuggestionResponse::default_instance_ = NULL; + +GetSuggestionResponse* GetSuggestionResponse::New() const { + return new GetSuggestionResponse; +} + +void GetSuggestionResponse::Swap(GetSuggestionResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionResponse_descriptor_; + metadata.reflection = GetSuggestionResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionsRequest::kAgentIdFieldNumber; +const int GetSuggestionsRequest::kClubIdFieldNumber; +const int GetSuggestionsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetSuggestionsRequest::GetSuggestionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) +} + +void GetSuggestionsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetSuggestionsRequest::GetSuggestionsRequest(const GetSuggestionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) +} + +void GetSuggestionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionsRequest::~GetSuggestionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) + SharedDtor(); +} + +void GetSuggestionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetSuggestionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionsRequest_descriptor_; +} + +const GetSuggestionsRequest& GetSuggestionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionsRequest* GetSuggestionsRequest::default_instance_ = NULL; + +GetSuggestionsRequest* GetSuggestionsRequest::New() const { + return new GetSuggestionsRequest; +} + +void GetSuggestionsRequest::Swap(GetSuggestionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionsRequest_descriptor_; + metadata.reflection = GetSuggestionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionsResponse::kSuggestionFieldNumber; +const int GetSuggestionsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetSuggestionsResponse::GetSuggestionsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) +} + +void GetSuggestionsResponse::InitAsDefaultInstance() { +} + +GetSuggestionsResponse::GetSuggestionsResponse(const GetSuggestionsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) +} + +void GetSuggestionsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionsResponse::~GetSuggestionsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) + SharedDtor(); +} + +void GetSuggestionsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetSuggestionsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionsResponse_descriptor_; +} + +const GetSuggestionsResponse& GetSuggestionsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionsResponse* GetSuggestionsResponse::default_instance_ = NULL; + +GetSuggestionsResponse* GetSuggestionsResponse::New() const { + return new GetSuggestionsResponse; +} + +void GetSuggestionsResponse::Swap(GetSuggestionsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionsResponse_descriptor_; + metadata.reflection = GetSuggestionsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketRequest::kAgentIdFieldNumber; +const int CreateTicketRequest::kClubIdFieldNumber; +const int CreateTicketRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateTicketRequest::CreateTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketRequest) +} + +void CreateTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateTicketOptions*>(&::bgs::protocol::club::v1::client::CreateTicketOptions::default_instance()); +} + +CreateTicketRequest::CreateTicketRequest(const CreateTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketRequest) +} + +void CreateTicketRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketRequest::~CreateTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketRequest) + SharedDtor(); +} + +void CreateTicketRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketRequest_descriptor_; +} + +const CreateTicketRequest& CreateTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateTicketRequest* CreateTicketRequest::default_instance_ = NULL; + +CreateTicketRequest* CreateTicketRequest::New() const { + return new CreateTicketRequest; +} + +void CreateTicketRequest::Swap(CreateTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketRequest_descriptor_; + metadata.reflection = CreateTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketResponse::kTicketFieldNumber; +#endif // !_MSC_VER + +CreateTicketResponse::CreateTicketResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketResponse) +} + +void CreateTicketResponse::InitAsDefaultInstance() { + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicket*>(&::bgs::protocol::club::v1::client::ClubTicket::default_instance()); +} + +CreateTicketResponse::CreateTicketResponse(const CreateTicketResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketResponse) +} + +void CreateTicketResponse::SharedCtor() { + _cached_size_ = 0; + ticket_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketResponse::~CreateTicketResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketResponse) + SharedDtor(); +} + +void CreateTicketResponse::SharedDtor() { + if (this != default_instance_) { + delete ticket_; + } +} + +void CreateTicketResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketResponse_descriptor_; +} + +const CreateTicketResponse& CreateTicketResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateTicketResponse* CreateTicketResponse::default_instance_ = NULL; + +CreateTicketResponse* CreateTicketResponse::New() const { + return new CreateTicketResponse; +} + +void CreateTicketResponse::Swap(CreateTicketResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketResponse_descriptor_; + metadata.reflection = CreateTicketResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyTicketRequest::kAgentIdFieldNumber; +const int DestroyTicketRequest::kClubIdFieldNumber; +const int DestroyTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +DestroyTicketRequest::DestroyTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) +} + +void DestroyTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyTicketRequest::DestroyTicketRequest(const DestroyTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) +} + +void DestroyTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyTicketRequest::~DestroyTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyTicketRequest) + SharedDtor(); +} + +void DestroyTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyTicketRequest_descriptor_; +} + +const DestroyTicketRequest& DestroyTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyTicketRequest* DestroyTicketRequest::default_instance_ = NULL; + +DestroyTicketRequest* DestroyTicketRequest::New() const { + return new DestroyTicketRequest; +} + +void DestroyTicketRequest::Swap(DestroyTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyTicketRequest_descriptor_; + metadata.reflection = DestroyTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RedeemTicketRequest::kAgentIdFieldNumber; +const int RedeemTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +RedeemTicketRequest::RedeemTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) +} + +void RedeemTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RedeemTicketRequest::RedeemTicketRequest(const RedeemTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) +} + +void RedeemTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RedeemTicketRequest::~RedeemTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RedeemTicketRequest) + SharedDtor(); +} + +void RedeemTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void RedeemTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RedeemTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RedeemTicketRequest_descriptor_; +} + +const RedeemTicketRequest& RedeemTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RedeemTicketRequest* RedeemTicketRequest::default_instance_ = NULL; + +RedeemTicketRequest* RedeemTicketRequest::New() const { + return new RedeemTicketRequest; +} + +void RedeemTicketRequest::Swap(RedeemTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RedeemTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RedeemTicketRequest_descriptor_; + metadata.reflection = RedeemTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketRequest::kAgentIdFieldNumber; +const int GetTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +GetTicketRequest::GetTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketRequest) +} + +void GetTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetTicketRequest::GetTicketRequest(const GetTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketRequest) +} + +void GetTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketRequest::~GetTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketRequest) + SharedDtor(); +} + +void GetTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketRequest_descriptor_; +} + +const GetTicketRequest& GetTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketRequest* GetTicketRequest::default_instance_ = NULL; + +GetTicketRequest* GetTicketRequest::New() const { + return new GetTicketRequest; +} + +void GetTicketRequest::Swap(GetTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketRequest_descriptor_; + metadata.reflection = GetTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketResponse::kTicketFieldNumber; +#endif // !_MSC_VER + +GetTicketResponse::GetTicketResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketResponse) +} + +void GetTicketResponse::InitAsDefaultInstance() { + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicket*>(&::bgs::protocol::club::v1::client::ClubTicket::default_instance()); +} + +GetTicketResponse::GetTicketResponse(const GetTicketResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketResponse) +} + +void GetTicketResponse::SharedCtor() { + _cached_size_ = 0; + ticket_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketResponse::~GetTicketResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketResponse) + SharedDtor(); +} + +void GetTicketResponse::SharedDtor() { + if (this != default_instance_) { + delete ticket_; + } +} + +void GetTicketResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketResponse_descriptor_; +} + +const GetTicketResponse& GetTicketResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketResponse* GetTicketResponse::default_instance_ = NULL; + +GetTicketResponse* GetTicketResponse::New() const { + return new GetTicketResponse; +} + +void GetTicketResponse::Swap(GetTicketResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketResponse_descriptor_; + metadata.reflection = GetTicketResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketsRequest::kAgentIdFieldNumber; +const int GetTicketsRequest::kClubIdFieldNumber; +const int GetTicketsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetTicketsRequest::GetTicketsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsRequest) +} + +void GetTicketsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetTicketsRequest::GetTicketsRequest(const GetTicketsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsRequest) +} + +void GetTicketsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketsRequest::~GetTicketsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsRequest) + SharedDtor(); +} + +void GetTicketsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetTicketsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketsRequest_descriptor_; +} + +const GetTicketsRequest& GetTicketsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketsRequest* GetTicketsRequest::default_instance_ = NULL; + +GetTicketsRequest* GetTicketsRequest::New() const { + return new GetTicketsRequest; +} + +void GetTicketsRequest::Swap(GetTicketsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketsRequest_descriptor_; + metadata.reflection = GetTicketsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketsResponse::kTicketFieldNumber; +const int GetTicketsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetTicketsResponse::GetTicketsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsResponse) +} + +void GetTicketsResponse::InitAsDefaultInstance() { +} + +GetTicketsResponse::GetTicketsResponse(const GetTicketsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsResponse) +} + +void GetTicketsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketsResponse::~GetTicketsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsResponse) + SharedDtor(); +} + +void GetTicketsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetTicketsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketsResponse_descriptor_; +} + +const GetTicketsResponse& GetTicketsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketsResponse* GetTicketsResponse::default_instance_ = NULL; + +GetTicketsResponse* GetTicketsResponse::New() const { + return new GetTicketsResponse; +} + +void GetTicketsResponse::Swap(GetTicketsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketsResponse_descriptor_; + metadata.reflection = GetTicketsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AddBanRequest::kAgentIdFieldNumber; +const int AddBanRequest::kClubIdFieldNumber; +const int AddBanRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AddBanRequest::AddBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddBanRequest) +} + +void AddBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::AddBanOptions*>(&::bgs::protocol::club::v1::client::AddBanOptions::default_instance()); +} + +AddBanRequest::AddBanRequest(const AddBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanRequest) +} + +void AddBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddBanRequest::~AddBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanRequest) + SharedDtor(); +} + +void AddBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AddBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddBanRequest_descriptor_; +} + +const AddBanRequest& AddBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AddBanRequest* AddBanRequest::default_instance_ = NULL; + +AddBanRequest* AddBanRequest::New() const { + return new AddBanRequest; +} + +void AddBanRequest::Swap(AddBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddBanRequest_descriptor_; + metadata.reflection = AddBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveBanRequest::kAgentIdFieldNumber; +const int RemoveBanRequest::kClubIdFieldNumber; +const int RemoveBanRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +RemoveBanRequest::RemoveBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveBanRequest) +} + +void RemoveBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RemoveBanRequest::RemoveBanRequest(const RemoveBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveBanRequest) +} + +void RemoveBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveBanRequest::~RemoveBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveBanRequest) + SharedDtor(); +} + +void RemoveBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void RemoveBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveBanRequest_descriptor_; +} + +const RemoveBanRequest& RemoveBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RemoveBanRequest* RemoveBanRequest::default_instance_ = NULL; + +RemoveBanRequest* RemoveBanRequest::New() const { + return new RemoveBanRequest; +} + +void RemoveBanRequest::Swap(RemoveBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveBanRequest_descriptor_; + metadata.reflection = RemoveBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBanRequest::kAgentIdFieldNumber; +const int GetBanRequest::kClubIdFieldNumber; +const int GetBanRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +GetBanRequest::GetBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanRequest) +} + +void GetBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetBanRequest::GetBanRequest(const GetBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanRequest) +} + +void GetBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBanRequest::~GetBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanRequest) + SharedDtor(); +} + +void GetBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void GetBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBanRequest_descriptor_; +} + +const GetBanRequest& GetBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBanRequest* GetBanRequest::default_instance_ = NULL; + +GetBanRequest* GetBanRequest::New() const { + return new GetBanRequest; +} + +void GetBanRequest::Swap(GetBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBanRequest_descriptor_; + metadata.reflection = GetBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBanResponse::kBanFieldNumber; +#endif // !_MSC_VER + +GetBanResponse::GetBanResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanResponse) +} + +void GetBanResponse::InitAsDefaultInstance() { + ban_ = const_cast< ::bgs::protocol::club::v1::client::ClubBan*>(&::bgs::protocol::club::v1::client::ClubBan::default_instance()); +} + +GetBanResponse::GetBanResponse(const GetBanResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanResponse) +} + +void GetBanResponse::SharedCtor() { + _cached_size_ = 0; + ban_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBanResponse::~GetBanResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanResponse) + SharedDtor(); +} + +void GetBanResponse::SharedDtor() { + if (this != default_instance_) { + delete ban_; + } +} + +void GetBanResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBanResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBanResponse_descriptor_; +} + +const GetBanResponse& GetBanResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBanResponse* GetBanResponse::default_instance_ = NULL; + +GetBanResponse* GetBanResponse::New() const { + return new GetBanResponse; +} + +void GetBanResponse::Swap(GetBanResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBanResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBanResponse_descriptor_; + metadata.reflection = GetBanResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBansRequest::kAgentIdFieldNumber; +const int GetBansRequest::kClubIdFieldNumber; +const int GetBansRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetBansRequest::GetBansRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansRequest) +} + +void GetBansRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetBansRequest::GetBansRequest(const GetBansRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansRequest) +} + +void GetBansRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBansRequest::~GetBansRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansRequest) + SharedDtor(); +} + +void GetBansRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetBansRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBansRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBansRequest_descriptor_; +} + +const GetBansRequest& GetBansRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBansRequest* GetBansRequest::default_instance_ = NULL; + +GetBansRequest* GetBansRequest::New() const { + return new GetBansRequest; +} + +void GetBansRequest::Swap(GetBansRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBansRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBansRequest_descriptor_; + metadata.reflection = GetBansRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBansResponse::kBanFieldNumber; +const int GetBansResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetBansResponse::GetBansResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansResponse) +} + +void GetBansResponse::InitAsDefaultInstance() { +} + +GetBansResponse::GetBansResponse(const GetBansResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansResponse) +} + +void GetBansResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBansResponse::~GetBansResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansResponse) + SharedDtor(); +} + +void GetBansResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetBansResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBansResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBansResponse_descriptor_; +} + +const GetBansResponse& GetBansResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBansResponse* GetBansResponse::default_instance_ = NULL; + +GetBansResponse* GetBansResponse::New() const { + return new GetBansResponse; +} + +void GetBansResponse::Swap(GetBansResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBansResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBansResponse_descriptor_; + metadata.reflection = GetBansResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeStreamRequest::kAgentIdFieldNumber; +const int SubscribeStreamRequest::kClubIdFieldNumber; +const int SubscribeStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +SubscribeStreamRequest::SubscribeStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) +} + +void SubscribeStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscribeStreamRequest::SubscribeStreamRequest(const SubscribeStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) +} + +void SubscribeStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeStreamRequest::~SubscribeStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) + SharedDtor(); +} + +void SubscribeStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscribeStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeStreamRequest_descriptor_; +} + +const SubscribeStreamRequest& SubscribeStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SubscribeStreamRequest* SubscribeStreamRequest::default_instance_ = NULL; + +SubscribeStreamRequest* SubscribeStreamRequest::New() const { + return new SubscribeStreamRequest; +} + +void SubscribeStreamRequest::Swap(SubscribeStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeStreamRequest_descriptor_; + metadata.reflection = SubscribeStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeStreamRequest::kAgentIdFieldNumber; +const int UnsubscribeStreamRequest::kClubIdFieldNumber; +const int UnsubscribeStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeStreamRequest::UnsubscribeStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) +} + +void UnsubscribeStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeStreamRequest::UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) +} + +void UnsubscribeStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeStreamRequest::~UnsubscribeStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) + SharedDtor(); +} + +void UnsubscribeStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeStreamRequest_descriptor_; +} + +const UnsubscribeStreamRequest& UnsubscribeStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnsubscribeStreamRequest* UnsubscribeStreamRequest::default_instance_ = NULL; + +UnsubscribeStreamRequest* UnsubscribeStreamRequest::New() const { + return new UnsubscribeStreamRequest; +} + +void UnsubscribeStreamRequest::Swap(UnsubscribeStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeStreamRequest_descriptor_; + metadata.reflection = UnsubscribeStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamRequest::kAgentIdFieldNumber; +const int CreateStreamRequest::kClubIdFieldNumber; +const int CreateStreamRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateStreamRequest::CreateStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamRequest) +} + +void CreateStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateStreamOptions*>(&::bgs::protocol::club::v1::client::CreateStreamOptions::default_instance()); +} + +CreateStreamRequest::CreateStreamRequest(const CreateStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamRequest) +} + +void CreateStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamRequest::~CreateStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamRequest) + SharedDtor(); +} + +void CreateStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamRequest_descriptor_; +} + +const CreateStreamRequest& CreateStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateStreamRequest* CreateStreamRequest::default_instance_ = NULL; + +CreateStreamRequest* CreateStreamRequest::New() const { + return new CreateStreamRequest; +} + +void CreateStreamRequest::Swap(CreateStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamRequest_descriptor_; + metadata.reflection = CreateStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamResponse::kClubIdFieldNumber; +const int CreateStreamResponse::kStreamIdFieldNumber; +#endif // !_MSC_VER + +CreateStreamResponse::CreateStreamResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamResponse) +} + +void CreateStreamResponse::InitAsDefaultInstance() { +} + +CreateStreamResponse::CreateStreamResponse(const CreateStreamResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamResponse) +} + +void CreateStreamResponse::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamResponse::~CreateStreamResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamResponse) + SharedDtor(); +} + +void CreateStreamResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void CreateStreamResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamResponse_descriptor_; +} + +const CreateStreamResponse& CreateStreamResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateStreamResponse* CreateStreamResponse::default_instance_ = NULL; + +CreateStreamResponse* CreateStreamResponse::New() const { + return new CreateStreamResponse; +} + +void CreateStreamResponse::Swap(CreateStreamResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamResponse_descriptor_; + metadata.reflection = CreateStreamResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyStreamRequest::kAgentIdFieldNumber; +const int DestroyStreamRequest::kClubIdFieldNumber; +const int DestroyStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +DestroyStreamRequest::DestroyStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) +} + +void DestroyStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyStreamRequest::DestroyStreamRequest(const DestroyStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) +} + +void DestroyStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyStreamRequest::~DestroyStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyStreamRequest) + SharedDtor(); +} + +void DestroyStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyStreamRequest_descriptor_; +} + +const DestroyStreamRequest& DestroyStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyStreamRequest* DestroyStreamRequest::default_instance_ = NULL; + +DestroyStreamRequest* DestroyStreamRequest::New() const { + return new DestroyStreamRequest; +} + +void DestroyStreamRequest::Swap(DestroyStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyStreamRequest_descriptor_; + metadata.reflection = DestroyStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamRequest::kAgentIdFieldNumber; +const int GetStreamRequest::kClubIdFieldNumber; +const int GetStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +GetStreamRequest::GetStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamRequest) +} + +void GetStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamRequest::GetStreamRequest(const GetStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamRequest) +} + +void GetStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamRequest::~GetStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamRequest) + SharedDtor(); +} + +void GetStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamRequest_descriptor_; +} + +const GetStreamRequest& GetStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamRequest* GetStreamRequest::default_instance_ = NULL; + +GetStreamRequest* GetStreamRequest::New() const { + return new GetStreamRequest; +} + +void GetStreamRequest::Swap(GetStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamRequest_descriptor_; + metadata.reflection = GetStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamResponse::kStreamFieldNumber; +#endif // !_MSC_VER + +GetStreamResponse::GetStreamResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamResponse) +} + +void GetStreamResponse::InitAsDefaultInstance() { + stream_ = const_cast< ::bgs::protocol::club::v1::client::Stream*>(&::bgs::protocol::club::v1::client::Stream::default_instance()); +} + +GetStreamResponse::GetStreamResponse(const GetStreamResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamResponse) +} + +void GetStreamResponse::SharedCtor() { + _cached_size_ = 0; + stream_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamResponse::~GetStreamResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamResponse) + SharedDtor(); +} + +void GetStreamResponse::SharedDtor() { + if (this != default_instance_) { + delete stream_; + } +} + +void GetStreamResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamResponse_descriptor_; +} + +const GetStreamResponse& GetStreamResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamResponse* GetStreamResponse::default_instance_ = NULL; + +GetStreamResponse* GetStreamResponse::New() const { + return new GetStreamResponse; +} + +void GetStreamResponse::Swap(GetStreamResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamResponse_descriptor_; + metadata.reflection = GetStreamResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamsRequest::kAgentIdFieldNumber; +const int GetStreamsRequest::kClubIdFieldNumber; +const int GetStreamsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamsRequest::GetStreamsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsRequest) +} + +void GetStreamsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamsRequest::GetStreamsRequest(const GetStreamsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsRequest) +} + +void GetStreamsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamsRequest::~GetStreamsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsRequest) + SharedDtor(); +} + +void GetStreamsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamsRequest_descriptor_; +} + +const GetStreamsRequest& GetStreamsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamsRequest* GetStreamsRequest::default_instance_ = NULL; + +GetStreamsRequest* GetStreamsRequest::New() const { + return new GetStreamsRequest; +} + +void GetStreamsRequest::Swap(GetStreamsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamsRequest_descriptor_; + metadata.reflection = GetStreamsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamsResponse::kStreamFieldNumber; +const int GetStreamsResponse::kViewFieldNumber; +const int GetStreamsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamsResponse::GetStreamsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsResponse) +} + +void GetStreamsResponse::InitAsDefaultInstance() { +} + +GetStreamsResponse::GetStreamsResponse(const GetStreamsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsResponse) +} + +void GetStreamsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamsResponse::~GetStreamsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsResponse) + SharedDtor(); +} + +void GetStreamsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamsResponse_descriptor_; +} + +const GetStreamsResponse& GetStreamsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamsResponse* GetStreamsResponse::default_instance_ = NULL; + +GetStreamsResponse* GetStreamsResponse::New() const { + return new GetStreamsResponse; +} + +void GetStreamsResponse::Swap(GetStreamsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamsResponse_descriptor_; + metadata.reflection = GetStreamsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateStreamStateRequest::kAgentIdFieldNumber; +const int UpdateStreamStateRequest::kClubIdFieldNumber; +const int UpdateStreamStateRequest::kStreamIdFieldNumber; +const int UpdateStreamStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateStreamStateRequest::UpdateStreamStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) +} + +void UpdateStreamStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::StreamStateOptions*>(&::bgs::protocol::club::v1::client::StreamStateOptions::default_instance()); +} + +UpdateStreamStateRequest::UpdateStreamStateRequest(const UpdateStreamStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) +} + +void UpdateStreamStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateStreamStateRequest::~UpdateStreamStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) + SharedDtor(); +} + +void UpdateStreamStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateStreamStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateStreamStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateStreamStateRequest_descriptor_; +} + +const UpdateStreamStateRequest& UpdateStreamStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateStreamStateRequest* UpdateStreamStateRequest::default_instance_ = NULL; + +UpdateStreamStateRequest* UpdateStreamStateRequest::New() const { + return new UpdateStreamStateRequest; +} + +void UpdateStreamStateRequest::Swap(UpdateStreamStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateStreamStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateStreamStateRequest_descriptor_; + metadata.reflection = UpdateStreamStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetStreamFocusRequest::kAgentIdFieldNumber; +const int SetStreamFocusRequest::kClubIdFieldNumber; +const int SetStreamFocusRequest::kStreamIdFieldNumber; +const int SetStreamFocusRequest::kFocusFieldNumber; +#endif // !_MSC_VER + +SetStreamFocusRequest::SetStreamFocusRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) +} + +void SetStreamFocusRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetStreamFocusRequest::SetStreamFocusRequest(const SetStreamFocusRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) +} + +void SetStreamFocusRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + focus_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetStreamFocusRequest::~SetStreamFocusRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) + SharedDtor(); +} + +void SetStreamFocusRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetStreamFocusRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetStreamFocusRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetStreamFocusRequest_descriptor_; +} + +const SetStreamFocusRequest& SetStreamFocusRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetStreamFocusRequest* SetStreamFocusRequest::default_instance_ = NULL; + +SetStreamFocusRequest* SetStreamFocusRequest::New() const { + return new SetStreamFocusRequest; +} + +void SetStreamFocusRequest::Swap(SetStreamFocusRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetStreamFocusRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetStreamFocusRequest_descriptor_; + metadata.reflection = SetStreamFocusRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageRequest::kAgentIdFieldNumber; +const int CreateMessageRequest::kClubIdFieldNumber; +const int CreateMessageRequest::kStreamIdFieldNumber; +const int CreateMessageRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateMessageRequest::CreateMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageRequest) +} + +void CreateMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMessageOptions*>(&::bgs::protocol::club::v1::client::CreateMessageOptions::default_instance()); +} + +CreateMessageRequest::CreateMessageRequest(const CreateMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageRequest) +} + +void CreateMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageRequest::~CreateMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageRequest) + SharedDtor(); +} + +void CreateMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageRequest_descriptor_; +} + +const CreateMessageRequest& CreateMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateMessageRequest* CreateMessageRequest::default_instance_ = NULL; + +CreateMessageRequest* CreateMessageRequest::New() const { + return new CreateMessageRequest; +} + +void CreateMessageRequest::Swap(CreateMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageRequest_descriptor_; + metadata.reflection = CreateMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +CreateMessageResponse::CreateMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageResponse) +} + +void CreateMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +CreateMessageResponse::CreateMessageResponse(const CreateMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageResponse) +} + +void CreateMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageResponse::~CreateMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageResponse) + SharedDtor(); +} + +void CreateMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void CreateMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageResponse_descriptor_; +} + +const CreateMessageResponse& CreateMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateMessageResponse* CreateMessageResponse::default_instance_ = NULL; + +CreateMessageResponse* CreateMessageResponse::New() const { + return new CreateMessageResponse; +} + +void CreateMessageResponse::Swap(CreateMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageResponse_descriptor_; + metadata.reflection = CreateMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyMessageRequest::kAgentIdFieldNumber; +const int DestroyMessageRequest::kClubIdFieldNumber; +const int DestroyMessageRequest::kStreamIdFieldNumber; +const int DestroyMessageRequest::kMessageIdFieldNumber; +#endif // !_MSC_VER + +DestroyMessageRequest::DestroyMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) +} + +void DestroyMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +DestroyMessageRequest::DestroyMessageRequest(const DestroyMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) +} + +void DestroyMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyMessageRequest::~DestroyMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageRequest) + SharedDtor(); +} + +void DestroyMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + } +} + +void DestroyMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyMessageRequest_descriptor_; +} + +const DestroyMessageRequest& DestroyMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyMessageRequest* DestroyMessageRequest::default_instance_ = NULL; + +DestroyMessageRequest* DestroyMessageRequest::New() const { + return new DestroyMessageRequest; +} + +void DestroyMessageRequest::Swap(DestroyMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyMessageRequest_descriptor_; + metadata.reflection = DestroyMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +DestroyMessageResponse::DestroyMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) +} + +void DestroyMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +DestroyMessageResponse::DestroyMessageResponse(const DestroyMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) +} + +void DestroyMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyMessageResponse::~DestroyMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageResponse) + SharedDtor(); +} + +void DestroyMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void DestroyMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyMessageResponse_descriptor_; +} + +const DestroyMessageResponse& DestroyMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyMessageResponse* DestroyMessageResponse::default_instance_ = NULL; + +DestroyMessageResponse* DestroyMessageResponse::New() const { + return new DestroyMessageResponse; +} + +void DestroyMessageResponse::Swap(DestroyMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyMessageResponse_descriptor_; + metadata.reflection = DestroyMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EditMessageRequest::kAgentIdFieldNumber; +const int EditMessageRequest::kClubIdFieldNumber; +const int EditMessageRequest::kStreamIdFieldNumber; +const int EditMessageRequest::kMessageIdFieldNumber; +const int EditMessageRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +EditMessageRequest::EditMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.EditMessageRequest) +} + +void EditMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMessageOptions*>(&::bgs::protocol::club::v1::client::CreateMessageOptions::default_instance()); +} + +EditMessageRequest::EditMessageRequest(const EditMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageRequest) +} + +void EditMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EditMessageRequest::~EditMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageRequest) + SharedDtor(); +} + +void EditMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + delete options_; + } +} + +void EditMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EditMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EditMessageRequest_descriptor_; +} + +const EditMessageRequest& EditMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +EditMessageRequest* EditMessageRequest::default_instance_ = NULL; + +EditMessageRequest* EditMessageRequest::New() const { + return new EditMessageRequest; +} + +void EditMessageRequest::Swap(EditMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EditMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EditMessageRequest_descriptor_; + metadata.reflection = EditMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EditMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +EditMessageResponse::EditMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.EditMessageResponse) +} + +void EditMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +EditMessageResponse::EditMessageResponse(const EditMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageResponse) +} + +void EditMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EditMessageResponse::~EditMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageResponse) + SharedDtor(); +} + +void EditMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void EditMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EditMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EditMessageResponse_descriptor_; +} + +const EditMessageResponse& EditMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +EditMessageResponse* EditMessageResponse::default_instance_ = NULL; + +EditMessageResponse* EditMessageResponse::New() const { + return new EditMessageResponse; +} + +void EditMessageResponse::Swap(EditMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EditMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EditMessageResponse_descriptor_; + metadata.reflection = EditMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetMessagePinnedRequest::kAgentIdFieldNumber; +const int SetMessagePinnedRequest::kClubIdFieldNumber; +const int SetMessagePinnedRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +SetMessagePinnedRequest::SetMessagePinnedRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) +} + +void SetMessagePinnedRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetMessagePinnedRequest::SetMessagePinnedRequest(const SetMessagePinnedRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) +} + +void SetMessagePinnedRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetMessagePinnedRequest::~SetMessagePinnedRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) + SharedDtor(); +} + +void SetMessagePinnedRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetMessagePinnedRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetMessagePinnedRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetMessagePinnedRequest_descriptor_; +} + +const SetMessagePinnedRequest& SetMessagePinnedRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetMessagePinnedRequest* SetMessagePinnedRequest::default_instance_ = NULL; + +SetMessagePinnedRequest* SetMessagePinnedRequest::New() const { + return new SetMessagePinnedRequest; +} + +void SetMessagePinnedRequest::Swap(SetMessagePinnedRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetMessagePinnedRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetMessagePinnedRequest_descriptor_; + metadata.reflection = SetMessagePinnedRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetTypingIndicatorRequest::kAgentIdFieldNumber; +const int SetTypingIndicatorRequest::kClubIdFieldNumber; +const int SetTypingIndicatorRequest::kStreamIdFieldNumber; +const int SetTypingIndicatorRequest::kIndicatorFieldNumber; +#endif // !_MSC_VER + +SetTypingIndicatorRequest::SetTypingIndicatorRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) + SharedDtor(); +} + +void SetTypingIndicatorRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetTypingIndicatorRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetTypingIndicatorRequest_descriptor_; +} + +const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::default_instance_ = NULL; + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::New() const { + return new SetTypingIndicatorRequest; +} + +void SetTypingIndicatorRequest::Swap(SetTypingIndicatorRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetTypingIndicatorRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetTypingIndicatorRequest_descriptor_; + metadata.reflection = SetTypingIndicatorRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceStreamViewTimeRequest::kClubIdFieldNumber; +const int AdvanceStreamViewTimeRequest::kStreamIdDeprecatedFieldNumber; +const int AdvanceStreamViewTimeRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) +} + +void AdvanceStreamViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) +} + +void AdvanceStreamViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_deprecated_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamViewTimeRequest::~AdvanceStreamViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceStreamViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamViewTimeRequest_descriptor_; +} + +const AdvanceStreamViewTimeRequest& AdvanceStreamViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::New() const { + return new AdvanceStreamViewTimeRequest; +} + +void AdvanceStreamViewTimeRequest::Swap(AdvanceStreamViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamMentionViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceStreamMentionViewTimeRequest::kClubIdFieldNumber; +const int AdvanceStreamMentionViewTimeRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamMentionViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamMentionViewTimeRequest_descriptor_; +} + +const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { + return new AdvanceStreamMentionViewTimeRequest; +} + +void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceActivityViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceActivityViewTimeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) +} + +void AdvanceActivityViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) +} + +void AdvanceActivityViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceActivityViewTimeRequest::~AdvanceActivityViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) + SharedDtor(); +} + +void AdvanceActivityViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceActivityViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceActivityViewTimeRequest_descriptor_; +} + +const AdvanceActivityViewTimeRequest& AdvanceActivityViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::default_instance_ = NULL; + +AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::New() const { + return new AdvanceActivityViewTimeRequest; +} + +void AdvanceActivityViewTimeRequest::Swap(AdvanceActivityViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceActivityViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceActivityViewTimeRequest_descriptor_; + metadata.reflection = AdvanceActivityViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamHistoryRequest::kAgentIdFieldNumber; +const int GetStreamHistoryRequest::kClubIdFieldNumber; +const int GetStreamHistoryRequest::kStreamIdFieldNumber; +const int GetStreamHistoryRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetStreamHistoryRequest::GetStreamHistoryRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) +} + +void GetStreamHistoryRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetStreamHistoryRequest::GetStreamHistoryRequest(const GetStreamHistoryRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) +} + +void GetStreamHistoryRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamHistoryRequest::~GetStreamHistoryRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) + SharedDtor(); +} + +void GetStreamHistoryRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void GetStreamHistoryRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamHistoryRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamHistoryRequest_descriptor_; +} + +const GetStreamHistoryRequest& GetStreamHistoryRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamHistoryRequest* GetStreamHistoryRequest::default_instance_ = NULL; + +GetStreamHistoryRequest* GetStreamHistoryRequest::New() const { + return new GetStreamHistoryRequest; +} + +void GetStreamHistoryRequest::Swap(GetStreamHistoryRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamHistoryRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamHistoryRequest_descriptor_; + metadata.reflection = GetStreamHistoryRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamHistoryResponse::kMessageFieldNumber; +const int GetStreamHistoryResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamHistoryResponse::GetStreamHistoryResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) +} + +void GetStreamHistoryResponse::InitAsDefaultInstance() { +} + +GetStreamHistoryResponse::GetStreamHistoryResponse(const GetStreamHistoryResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) +} + +void GetStreamHistoryResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamHistoryResponse::~GetStreamHistoryResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) + SharedDtor(); +} + +void GetStreamHistoryResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamHistoryResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamHistoryResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamHistoryResponse_descriptor_; +} + +const GetStreamHistoryResponse& GetStreamHistoryResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamHistoryResponse* GetStreamHistoryResponse::default_instance_ = NULL; + +GetStreamHistoryResponse* GetStreamHistoryResponse::New() const { + return new GetStreamHistoryResponse; +} + +void GetStreamHistoryResponse::Swap(GetStreamHistoryResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamHistoryResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamHistoryResponse_descriptor_; + metadata.reflection = GetStreamHistoryResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMessageRequest::kAgentIdFieldNumber; +const int GetStreamMessageRequest::kClubIdFieldNumber; +const int GetStreamMessageRequest::kStreamIdFieldNumber; +const int GetStreamMessageRequest::kMessageIdFieldNumber; +#endif // !_MSC_VER + +GetStreamMessageRequest::GetStreamMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) +} + +void GetStreamMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +GetStreamMessageRequest::GetStreamMessageRequest(const GetStreamMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) +} + +void GetStreamMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMessageRequest::~GetStreamMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) + SharedDtor(); +} + +void GetStreamMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + } +} + +void GetStreamMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMessageRequest_descriptor_; +} + +const GetStreamMessageRequest& GetStreamMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamMessageRequest* GetStreamMessageRequest::default_instance_ = NULL; + +GetStreamMessageRequest* GetStreamMessageRequest::New() const { + return new GetStreamMessageRequest; +} + +void GetStreamMessageRequest::Swap(GetStreamMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMessageRequest_descriptor_; + metadata.reflection = GetStreamMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +GetStreamMessageResponse::GetStreamMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) +} + +void GetStreamMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +GetStreamMessageResponse::GetStreamMessageResponse(const GetStreamMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) +} + +void GetStreamMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMessageResponse::~GetStreamMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) + SharedDtor(); +} + +void GetStreamMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void GetStreamMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMessageResponse_descriptor_; +} + +const GetStreamMessageResponse& GetStreamMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamMessageResponse* GetStreamMessageResponse::default_instance_ = NULL; + +GetStreamMessageResponse* GetStreamMessageResponse::New() const { + return new GetStreamMessageResponse; +} + +void GetStreamMessageResponse::Swap(GetStreamMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMessageResponse_descriptor_; + metadata.reflection = GetStreamMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubActivityRequest::kAgentIdFieldNumber; +const int GetClubActivityRequest::kClubIdFieldNumber; +const int GetClubActivityRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetClubActivityRequest::GetClubActivityRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) +} + +void GetClubActivityRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetClubActivityRequest::GetClubActivityRequest(const GetClubActivityRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) +} + +void GetClubActivityRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubActivityRequest::~GetClubActivityRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityRequest) + SharedDtor(); +} + +void GetClubActivityRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void GetClubActivityRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubActivityRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubActivityRequest_descriptor_; +} + +const GetClubActivityRequest& GetClubActivityRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubActivityRequest* GetClubActivityRequest::default_instance_ = NULL; + +GetClubActivityRequest* GetClubActivityRequest::New() const { + return new GetClubActivityRequest; +} + +void GetClubActivityRequest::Swap(GetClubActivityRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubActivityRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubActivityRequest_descriptor_; + metadata.reflection = GetClubActivityRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubActivityResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetClubActivityResponse::GetClubActivityResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) +} + +void GetClubActivityResponse::InitAsDefaultInstance() { +} + +GetClubActivityResponse::GetClubActivityResponse(const GetClubActivityResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) +} + +void GetClubActivityResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubActivityResponse::~GetClubActivityResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityResponse) + SharedDtor(); +} + +void GetClubActivityResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetClubActivityResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubActivityResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubActivityResponse_descriptor_; +} + +const GetClubActivityResponse& GetClubActivityResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubActivityResponse* GetClubActivityResponse::default_instance_ = NULL; + +GetClubActivityResponse* GetClubActivityResponse::New() const { + return new GetClubActivityResponse; +} + +void GetClubActivityResponse::Swap(GetClubActivityResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubActivityResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubActivityResponse_descriptor_; + metadata.reflection = GetClubActivityResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamVoiceTokenRequest::kAgentIdFieldNumber; +const int GetStreamVoiceTokenRequest::kClubIdFieldNumber; +const int GetStreamVoiceTokenRequest::kStreamIdFieldNumber; +const int GetStreamVoiceTokenRequest::kVersionFieldNumber; +#endif // !_MSC_VER + +GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) +} + +void GetStreamVoiceTokenRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) +} + +void GetStreamVoiceTokenRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + version_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamVoiceTokenRequest::~GetStreamVoiceTokenRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) + SharedDtor(); +} + +void GetStreamVoiceTokenRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamVoiceTokenRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamVoiceTokenRequest_descriptor_; +} + +const GetStreamVoiceTokenRequest& GetStreamVoiceTokenRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::default_instance_ = NULL; + +GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::New() const { + return new GetStreamVoiceTokenRequest; +} + +void GetStreamVoiceTokenRequest::Swap(GetStreamVoiceTokenRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamVoiceTokenRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamVoiceTokenRequest_descriptor_; + metadata.reflection = GetStreamVoiceTokenRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamVoiceTokenResponse::kChannelUriFieldNumber; +const int GetStreamVoiceTokenResponse::kCredentialsFieldNumber; +#endif // !_MSC_VER + +GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) +} + +void GetStreamVoiceTokenResponse::InitAsDefaultInstance() { + credentials_ = const_cast< ::bgs::protocol::voice::v1::VoiceCredentials*>(&::bgs::protocol::voice::v1::VoiceCredentials::default_instance()); +} + +GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) +} + +void GetStreamVoiceTokenResponse::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + credentials_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamVoiceTokenResponse::~GetStreamVoiceTokenResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) + SharedDtor(); +} + +void GetStreamVoiceTokenResponse::SharedDtor() { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_uri_; + } + if (this != default_instance_) { + delete credentials_; + } +} + +void GetStreamVoiceTokenResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamVoiceTokenResponse_descriptor_; +} + +const GetStreamVoiceTokenResponse& GetStreamVoiceTokenResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::default_instance_ = NULL; + +GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::New() const { + return new GetStreamVoiceTokenResponse; +} + +void GetStreamVoiceTokenResponse::Swap(GetStreamVoiceTokenResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamVoiceTokenResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamVoiceTokenResponse_descriptor_; + metadata.reflection = GetStreamVoiceTokenResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int KickFromStreamVoiceRequest::kAgentIdFieldNumber; +const int KickFromStreamVoiceRequest::kClubIdFieldNumber; +const int KickFromStreamVoiceRequest::kStreamIdFieldNumber; +const int KickFromStreamVoiceRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +KickFromStreamVoiceRequest::KickFromStreamVoiceRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) +} + +void KickFromStreamVoiceRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +KickFromStreamVoiceRequest::KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) +} + +void KickFromStreamVoiceRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +KickFromStreamVoiceRequest::~KickFromStreamVoiceRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) + SharedDtor(); +} + +void KickFromStreamVoiceRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void KickFromStreamVoiceRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return KickFromStreamVoiceRequest_descriptor_; +} + +const KickFromStreamVoiceRequest& KickFromStreamVoiceRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::default_instance_ = NULL; + +KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::New() const { + return new KickFromStreamVoiceRequest; +} + +void KickFromStreamVoiceRequest::Swap(KickFromStreamVoiceRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata KickFromStreamVoiceRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = KickFromStreamVoiceRequest_descriptor_; + metadata.reflection = KickFromStreamVoiceRequest_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_request.pb.h b/src/server/proto/Client/api/client/v1/club_request.pb.h new file mode 100644 index 00000000000..7d0ffc51d58 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_request.pb.h @@ -0,0 +1,14863 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_request.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" // IWYU pragma: export +#include "api/common/v1/club_tag.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + +class SubscribeRequest; +class UnsubscribeRequest; +class CreateRequest; +class CreateResponse; +class DestroyRequest; +class GetDescriptionRequest; +class GetDescriptionResponse; +class GetClubTypeRequest; +class GetClubTypeResponse; +class UpdateClubStateRequest; +class UpdateClubSettingsRequest; +class AddMemberRequest; +class JoinRequest; +class LeaveRequest; +class KickRequest; +class GetMemberRequest; +class GetMemberResponse; +class GetMembersRequest; +class GetMembersResponse; +class UpdateMemberStateRequest; +class UpdateSubscriberStateRequest; +class AssignRoleRequest; +class UnassignRoleRequest; +class SendInvitationRequest; +class AcceptInvitationRequest; +class DeclineInvitationRequest; +class RevokeInvitationRequest; +class GetInvitationRequest; +class GetInvitationResponse; +class GetInvitationsRequest; +class GetInvitationsResponse; +class SendSuggestionRequest; +class AcceptSuggestionRequest; +class DeclineSuggestionRequest; +class GetSuggestionRequest; +class GetSuggestionResponse; +class GetSuggestionsRequest; +class GetSuggestionsResponse; +class CreateTicketRequest; +class CreateTicketResponse; +class DestroyTicketRequest; +class RedeemTicketRequest; +class GetTicketRequest; +class GetTicketResponse; +class GetTicketsRequest; +class GetTicketsResponse; +class AddBanRequest; +class RemoveBanRequest; +class GetBanRequest; +class GetBanResponse; +class GetBansRequest; +class GetBansResponse; +class SubscribeStreamRequest; +class UnsubscribeStreamRequest; +class CreateStreamRequest; +class CreateStreamResponse; +class DestroyStreamRequest; +class GetStreamRequest; +class GetStreamResponse; +class GetStreamsRequest; +class GetStreamsResponse; +class UpdateStreamStateRequest; +class SetStreamFocusRequest; +class CreateMessageRequest; +class CreateMessageResponse; +class DestroyMessageRequest; +class DestroyMessageResponse; +class EditMessageRequest; +class EditMessageResponse; +class SetMessagePinnedRequest; +class SetTypingIndicatorRequest; +class AdvanceStreamViewTimeRequest; +class AdvanceStreamMentionViewTimeRequest; +class AdvanceActivityViewTimeRequest; +class GetStreamHistoryRequest; +class GetStreamHistoryResponse; +class GetStreamMessageRequest; +class GetStreamMessageResponse; +class GetClubActivityRequest; +class GetClubActivityResponse; +class GetStreamVoiceTokenRequest; +class GetStreamVoiceTokenResponse; +class KickFromStreamVoiceRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateRequest : public ::google::protobuf::Message { + public: + CreateRequest(); + virtual ~CreateRequest(); + + CreateRequest(const CreateRequest& from); + + inline CreateRequest& operator=(const CreateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateRequest& default_instance(); + + void Swap(CreateRequest* other); + + // implements Message ---------------------------------------------- + + CreateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.ClubCreateOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubCreateOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubCreateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubCreateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubCreateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::ClubCreateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateResponse : public ::google::protobuf::Message { + public: + CreateResponse(); + virtual ~CreateResponse(); + + CreateResponse(const CreateResponse& from); + + inline CreateResponse& operator=(const CreateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateResponse& default_instance(); + + void Swap(CreateResponse* other); + + // implements Message ---------------------------------------------- + + CreateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateResponse) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyRequest : public ::google::protobuf::Message { + public: + DestroyRequest(); + virtual ~DestroyRequest(); + + DestroyRequest(const DestroyRequest& from); + + inline DestroyRequest& operator=(const DestroyRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyRequest& default_instance(); + + void Swap(DestroyRequest* other); + + // implements Message ---------------------------------------------- + + DestroyRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetDescriptionRequest : public ::google::protobuf::Message { + public: + GetDescriptionRequest(); + virtual ~GetDescriptionRequest(); + + GetDescriptionRequest(const GetDescriptionRequest& from); + + inline GetDescriptionRequest& operator=(const GetDescriptionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetDescriptionRequest& default_instance(); + + void Swap(GetDescriptionRequest* other); + + // implements Message ---------------------------------------------- + + GetDescriptionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetDescriptionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetDescriptionResponse : public ::google::protobuf::Message { + public: + GetDescriptionResponse(); + virtual ~GetDescriptionResponse(); + + GetDescriptionResponse(const GetDescriptionResponse& from); + + inline GetDescriptionResponse& operator=(const GetDescriptionResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetDescriptionResponse& default_instance(); + + void Swap(GetDescriptionResponse* other); + + // implements Message ---------------------------------------------- + + GetDescriptionResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.ClubDescription club = 1; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 1; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionResponse) + private: + inline void set_has_club(); + inline void clear_has_club(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::ClubDescription* club_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetDescriptionResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubTypeRequest : public ::google::protobuf::Message { + public: + GetClubTypeRequest(); + virtual ~GetClubTypeRequest(); + + GetClubTypeRequest(const GetClubTypeRequest& from); + + inline GetClubTypeRequest& operator=(const GetClubTypeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubTypeRequest& default_instance(); + + void Swap(GetClubTypeRequest* other); + + // implements Message ---------------------------------------------- + + GetClubTypeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubTypeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { + public: + GetClubTypeResponse(); + virtual ~GetClubTypeResponse(); + + GetClubTypeResponse(const GetClubTypeResponse& from); + + inline GetClubTypeResponse& operator=(const GetClubTypeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubTypeResponse& default_instance(); + + void Swap(GetClubTypeResponse* other); + + // implements Message ---------------------------------------------- + + GetClubTypeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.UniqueClubType type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 2; + inline bool has_role_set() const; + inline void clear_role_set(); + static const int kRoleSetFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubRoleSet& role_set() const; + inline ::bgs::protocol::club::v1::client::ClubRoleSet* mutable_role_set(); + inline ::bgs::protocol::club::v1::client::ClubRoleSet* release_role_set(); + inline void set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set); + + // optional .bgs.protocol.club.v1.client.ClubTypeRangeSet range_set = 3; + inline bool has_range_set() const; + inline void clear_range_set(); + static const int kRangeSetFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubTypeRangeSet& range_set() const; + inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* mutable_range_set(); + inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* release_range_set(); + inline void set_allocated_range_set(::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set); + + // repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; + inline int platform_tag_set_size() const; + inline void clear_platform_tag_set(); + static const int kPlatformTagSetFieldNumber = 4; + inline const ::bgs::protocol::club::v1::LocalizedTag& platform_tag_set(int index) const; + inline ::bgs::protocol::club::v1::LocalizedTag* mutable_platform_tag_set(int index); + inline ::bgs::protocol::club::v1::LocalizedTag* add_platform_tag_set(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& + platform_tag_set() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* + mutable_platform_tag_set(); + + // repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; + inline int custom_tag_set_size() const; + inline void clear_custom_tag_set(); + static const int kCustomTagSetFieldNumber = 5; + inline const ::bgs::protocol::club::v1::LocalizedTag& custom_tag_set(int index) const; + inline ::bgs::protocol::club::v1::LocalizedTag* mutable_custom_tag_set(int index); + inline ::bgs::protocol::club::v1::LocalizedTag* add_custom_tag_set(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& + custom_tag_set() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* + mutable_custom_tag_set(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeResponse) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_role_set(); + inline void clear_has_role_set(); + inline void set_has_range_set(); + inline void clear_has_range_set(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::bgs::protocol::club::v1::client::ClubRoleSet* role_set_; + ::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > platform_tag_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > custom_tag_set_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubTypeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubStateRequest : public ::google::protobuf::Message { + public: + UpdateClubStateRequest(); + virtual ~UpdateClubStateRequest(); + + UpdateClubStateRequest(const UpdateClubStateRequest& from); + + inline UpdateClubStateRequest& operator=(const UpdateClubStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubStateRequest& default_instance(); + + void Swap(UpdateClubStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubStateOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubSettingsRequest : public ::google::protobuf::Message { + public: + UpdateClubSettingsRequest(); + virtual ~UpdateClubSettingsRequest(); + + UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from); + + inline UpdateClubSettingsRequest& operator=(const UpdateClubSettingsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubSettingsRequest& default_instance(); + + void Swap(UpdateClubSettingsRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubSettingsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSettingsOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubSettingsOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubSettingsOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSettingsOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubSettingsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AddMemberRequest : public ::google::protobuf::Message { + public: + AddMemberRequest(); + virtual ~AddMemberRequest(); + + AddMemberRequest(const AddMemberRequest& from); + + inline AddMemberRequest& operator=(const AddMemberRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddMemberRequest& default_instance(); + + void Swap(AddMemberRequest* other); + + // implements Message ---------------------------------------------- + + AddMemberRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddMemberRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AddMemberRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API JoinRequest : public ::google::protobuf::Message { + public: + JoinRequest(); + virtual ~JoinRequest(); + + JoinRequest(const JoinRequest& from); + + inline JoinRequest& operator=(const JoinRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const JoinRequest& default_instance(); + + void Swap(JoinRequest* other); + + // implements Message ---------------------------------------------- + + JoinRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.JoinRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static JoinRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API LeaveRequest : public ::google::protobuf::Message { + public: + LeaveRequest(); + virtual ~LeaveRequest(); + + LeaveRequest(const LeaveRequest& from); + + inline LeaveRequest& operator=(const LeaveRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const LeaveRequest& default_instance(); + + void Swap(LeaveRequest* other); + + // implements Message ---------------------------------------------- + + LeaveRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.LeaveRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static LeaveRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API KickRequest : public ::google::protobuf::Message { + public: + KickRequest(); + virtual ~KickRequest(); + + KickRequest(const KickRequest& from); + + inline KickRequest& operator=(const KickRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const KickRequest& default_instance(); + + void Swap(KickRequest* other); + + // implements Message ---------------------------------------------- + + KickRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static KickRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMemberRequest : public ::google::protobuf::Message { + public: + GetMemberRequest(); + virtual ~GetMemberRequest(); + + GetMemberRequest(const GetMemberRequest& from); + + inline GetMemberRequest& operator=(const GetMemberRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMemberRequest& default_instance(); + + void Swap(GetMemberRequest* other); + + // implements Message ---------------------------------------------- + + GetMemberRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMemberRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMemberResponse : public ::google::protobuf::Message { + public: + GetMemberResponse(); + virtual ~GetMemberResponse(); + + GetMemberResponse(const GetMemberResponse& from); + + inline GetMemberResponse& operator=(const GetMemberResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMemberResponse& default_instance(); + + void Swap(GetMemberResponse* other); + + // implements Message ---------------------------------------------- + + GetMemberResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.Member member = 1; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Member& member() const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(); + inline ::bgs::protocol::club::v1::client::Member* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::Member* member); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberResponse) + private: + inline void set_has_member(); + inline void clear_has_member(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::Member* member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMemberResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMembersRequest : public ::google::protobuf::Message { + public: + GetMembersRequest(); + virtual ~GetMembersRequest(); + + GetMembersRequest(const GetMembersRequest& from); + + inline GetMembersRequest& operator=(const GetMembersRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMembersRequest& default_instance(); + + void Swap(GetMembersRequest* other); + + // implements Message ---------------------------------------------- + + GetMembersRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 4; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 4; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMembersRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { + public: + GetMembersResponse(); + virtual ~GetMembersResponse(); + + GetMembersResponse(const GetMembersResponse& from); + + inline GetMembersResponse& operator=(const GetMembersResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMembersResponse& default_instance(); + + void Swap(GetMembersResponse* other); + + // implements Message ---------------------------------------------- + + GetMembersResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.Member member = 1; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Member& member(int index) const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* + mutable_member(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member > member_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMembersResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateMemberStateRequest : public ::google::protobuf::Message { + public: + UpdateMemberStateRequest(); + virtual ~UpdateMemberStateRequest(); + + UpdateMemberStateRequest(const UpdateMemberStateRequest& from); + + inline UpdateMemberStateRequest& operator=(const UpdateMemberStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateMemberStateRequest& default_instance(); + + void Swap(UpdateMemberStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateMemberStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.client.MemberStateOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::MemberStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::MemberStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::MemberStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::MemberStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateMemberStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::MemberStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateMemberStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateSubscriberStateRequest : public ::google::protobuf::Message { + public: + UpdateSubscriberStateRequest(); + virtual ~UpdateSubscriberStateRequest(); + + UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from); + + inline UpdateSubscriberStateRequest& operator=(const UpdateSubscriberStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateSubscriberStateRequest& default_instance(); + + void Swap(UpdateSubscriberStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateSubscriberStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SubscriberStateOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SubscriberStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SubscriberStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SubscriberStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateSubscriberStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AssignRoleRequest : public ::google::protobuf::Message { + public: + AssignRoleRequest(); + virtual ~AssignRoleRequest(); + + AssignRoleRequest(const AssignRoleRequest& from); + + inline AssignRoleRequest& operator=(const AssignRoleRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AssignRoleRequest& default_instance(); + + void Swap(AssignRoleRequest* other); + + // implements Message ---------------------------------------------- + + AssignRoleRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.RoleOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::RoleOptions& options() const; + inline ::bgs::protocol::club::v1::client::RoleOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::RoleOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AssignRoleRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::RoleOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AssignRoleRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnassignRoleRequest : public ::google::protobuf::Message { + public: + UnassignRoleRequest(); + virtual ~UnassignRoleRequest(); + + UnassignRoleRequest(const UnassignRoleRequest& from); + + inline UnassignRoleRequest& operator=(const UnassignRoleRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnassignRoleRequest& default_instance(); + + void Swap(UnassignRoleRequest* other); + + // implements Message ---------------------------------------------- + + UnassignRoleRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.RoleOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::RoleOptions& options() const; + inline ::bgs::protocol::club::v1::client::RoleOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::RoleOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnassignRoleRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::RoleOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnassignRoleRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendInvitationRequest : public ::google::protobuf::Message { + public: + SendInvitationRequest(); + virtual ~SendInvitationRequest(); + + SendInvitationRequest(const SendInvitationRequest& from); + + inline SendInvitationRequest& operator=(const SendInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendInvitationRequest& default_instance(); + + void Swap(SendInvitationRequest* other); + + // implements Message ---------------------------------------------- + + SendInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SendInvitationOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SendInvitationOptions& options() const; + inline ::bgs::protocol::club::v1::client::SendInvitationOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SendInvitationOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SendInvitationOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SendInvitationOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SendInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AcceptInvitationRequest : public ::google::protobuf::Message { + public: + AcceptInvitationRequest(); + virtual ~AcceptInvitationRequest(); + + AcceptInvitationRequest(const AcceptInvitationRequest& from); + + inline AcceptInvitationRequest& operator=(const AcceptInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AcceptInvitationRequest& default_instance(); + + void Swap(AcceptInvitationRequest* other); + + // implements Message ---------------------------------------------- + + AcceptInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AcceptInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DeclineInvitationRequest : public ::google::protobuf::Message { + public: + DeclineInvitationRequest(); + virtual ~DeclineInvitationRequest(); + + DeclineInvitationRequest(const DeclineInvitationRequest& from); + + inline DeclineInvitationRequest& operator=(const DeclineInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DeclineInvitationRequest& default_instance(); + + void Swap(DeclineInvitationRequest* other); + + // implements Message ---------------------------------------------- + + DeclineInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DeclineInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RevokeInvitationRequest : public ::google::protobuf::Message { + public: + RevokeInvitationRequest(); + virtual ~RevokeInvitationRequest(); + + RevokeInvitationRequest(const RevokeInvitationRequest& from); + + inline RevokeInvitationRequest& operator=(const RevokeInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RevokeInvitationRequest& default_instance(); + + void Swap(RevokeInvitationRequest* other); + + // implements Message ---------------------------------------------- + + RevokeInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RevokeInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RevokeInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationRequest : public ::google::protobuf::Message { + public: + GetInvitationRequest(); + virtual ~GetInvitationRequest(); + + GetInvitationRequest(const GetInvitationRequest& from); + + inline GetInvitationRequest& operator=(const GetInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationRequest& default_instance(); + + void Swap(GetInvitationRequest* other); + + // implements Message ---------------------------------------------- + + GetInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationResponse : public ::google::protobuf::Message { + public: + GetInvitationResponse(); + virtual ~GetInvitationResponse(); + + GetInvitationResponse(const GetInvitationResponse& from); + + inline GetInvitationResponse& operator=(const GetInvitationResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationResponse& default_instance(); + + void Swap(GetInvitationResponse* other); + + // implements Message ---------------------------------------------- + + GetInvitationResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationResponse) + private: + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationsRequest : public ::google::protobuf::Message { + public: + GetInvitationsRequest(); + virtual ~GetInvitationsRequest(); + + GetInvitationsRequest(const GetInvitationsRequest& from); + + inline GetInvitationsRequest& operator=(const GetInvitationsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationsRequest& default_instance(); + + void Swap(GetInvitationsRequest* other); + + // implements Message ---------------------------------------------- + + GetInvitationsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { + public: + GetInvitationsResponse(); + virtual ~GetInvitationsResponse(); + + GetInvitationsResponse(const GetInvitationsResponse& from); + + inline GetInvitationsResponse& operator=(const GetInvitationsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationsResponse& default_instance(); + + void Swap(GetInvitationsResponse* other); + + // implements Message ---------------------------------------------- + + GetInvitationsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation(int index) const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(int index); + inline ::bgs::protocol::club::v1::client::ClubInvitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* + mutable_invitation(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation > invitation_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendSuggestionRequest : public ::google::protobuf::Message { + public: + SendSuggestionRequest(); + virtual ~SendSuggestionRequest(); + + SendSuggestionRequest(const SendSuggestionRequest& from); + + inline SendSuggestionRequest& operator=(const SendSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendSuggestionRequest& default_instance(); + + void Swap(SendSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + SendSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SendSuggestionOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SendSuggestionOptions& options() const; + inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SendSuggestionOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SendSuggestionOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SendSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AcceptSuggestionRequest : public ::google::protobuf::Message { + public: + AcceptSuggestionRequest(); + virtual ~AcceptSuggestionRequest(); + + AcceptSuggestionRequest(const AcceptSuggestionRequest& from); + + inline AcceptSuggestionRequest& operator=(const AcceptSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AcceptSuggestionRequest& default_instance(); + + void Swap(AcceptSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + AcceptSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AcceptSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DeclineSuggestionRequest : public ::google::protobuf::Message { + public: + DeclineSuggestionRequest(); + virtual ~DeclineSuggestionRequest(); + + DeclineSuggestionRequest(const DeclineSuggestionRequest& from); + + inline DeclineSuggestionRequest& operator=(const DeclineSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DeclineSuggestionRequest& default_instance(); + + void Swap(DeclineSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + DeclineSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DeclineSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionRequest : public ::google::protobuf::Message { + public: + GetSuggestionRequest(); + virtual ~GetSuggestionRequest(); + + GetSuggestionRequest(const GetSuggestionRequest& from); + + inline GetSuggestionRequest& operator=(const GetSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionRequest& default_instance(); + + void Swap(GetSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + GetSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionResponse : public ::google::protobuf::Message { + public: + GetSuggestionResponse(); + virtual ~GetSuggestionResponse(); + + GetSuggestionResponse(const GetSuggestionResponse& from); + + inline GetSuggestionResponse& operator=(const GetSuggestionResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionResponse& default_instance(); + + void Swap(GetSuggestionResponse* other); + + // implements Message ---------------------------------------------- + + GetSuggestionResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionResponse) + private: + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubSuggestion* suggestion_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionsRequest : public ::google::protobuf::Message { + public: + GetSuggestionsRequest(); + virtual ~GetSuggestionsRequest(); + + GetSuggestionsRequest(const GetSuggestionsRequest& from); + + inline GetSuggestionsRequest& operator=(const GetSuggestionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionsRequest& default_instance(); + + void Swap(GetSuggestionsRequest* other); + + // implements Message ---------------------------------------------- + + GetSuggestionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { + public: + GetSuggestionsResponse(); + virtual ~GetSuggestionsResponse(); + + GetSuggestionsResponse(const GetSuggestionsResponse& from); + + inline GetSuggestionsResponse& operator=(const GetSuggestionsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionsResponse& default_instance(); + + void Swap(GetSuggestionsResponse* other); + + // implements Message ---------------------------------------------- + + GetSuggestionsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; + inline int suggestion_size() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion(int index) const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(int index); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* add_suggestion(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >& + suggestion() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* + mutable_suggestion(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion > suggestion_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketRequest : public ::google::protobuf::Message { + public: + CreateTicketRequest(); + virtual ~CreateTicketRequest(); + + CreateTicketRequest(const CreateTicketRequest& from); + + inline CreateTicketRequest& operator=(const CreateTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketRequest& default_instance(); + + void Swap(CreateTicketRequest* other); + + // implements Message ---------------------------------------------- + + CreateTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateTicketOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateTicketOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateTicketOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateTicketOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateTicketOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateTicketOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketResponse : public ::google::protobuf::Message { + public: + CreateTicketResponse(); + virtual ~CreateTicketResponse(); + + CreateTicketResponse(const CreateTicketResponse& from); + + inline CreateTicketResponse& operator=(const CreateTicketResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketResponse& default_instance(); + + void Swap(CreateTicketResponse* other); + + // implements Message ---------------------------------------------- + + CreateTicketResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicket* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketResponse) + private: + inline void set_has_ticket(); + inline void clear_has_ticket(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubTicket* ticket_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyTicketRequest : public ::google::protobuf::Message { + public: + DestroyTicketRequest(); + virtual ~DestroyTicketRequest(); + + DestroyTicketRequest(const DestroyTicketRequest& from); + + inline DestroyTicketRequest& operator=(const DestroyTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyTicketRequest& default_instance(); + + void Swap(DestroyTicketRequest* other); + + // implements Message ---------------------------------------------- + + DestroyTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RedeemTicketRequest : public ::google::protobuf::Message { + public: + RedeemTicketRequest(); + virtual ~RedeemTicketRequest(); + + RedeemTicketRequest(const RedeemTicketRequest& from); + + inline RedeemTicketRequest& operator=(const RedeemTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RedeemTicketRequest& default_instance(); + + void Swap(RedeemTicketRequest* other); + + // implements Message ---------------------------------------------- + + RedeemTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RedeemTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RedeemTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketRequest : public ::google::protobuf::Message { + public: + GetTicketRequest(); + virtual ~GetTicketRequest(); + + GetTicketRequest(const GetTicketRequest& from); + + inline GetTicketRequest& operator=(const GetTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketRequest& default_instance(); + + void Swap(GetTicketRequest* other); + + // implements Message ---------------------------------------------- + + GetTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketResponse : public ::google::protobuf::Message { + public: + GetTicketResponse(); + virtual ~GetTicketResponse(); + + GetTicketResponse(const GetTicketResponse& from); + + inline GetTicketResponse& operator=(const GetTicketResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketResponse& default_instance(); + + void Swap(GetTicketResponse* other); + + // implements Message ---------------------------------------------- + + GetTicketResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicket* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketResponse) + private: + inline void set_has_ticket(); + inline void clear_has_ticket(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubTicket* ticket_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketsRequest : public ::google::protobuf::Message { + public: + GetTicketsRequest(); + virtual ~GetTicketsRequest(); + + GetTicketsRequest(const GetTicketsRequest& from); + + inline GetTicketsRequest& operator=(const GetTicketsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketsRequest& default_instance(); + + void Swap(GetTicketsRequest* other); + + // implements Message ---------------------------------------------- + + GetTicketsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { + public: + GetTicketsResponse(); + virtual ~GetTicketsResponse(); + + GetTicketsResponse(const GetTicketsResponse& from); + + inline GetTicketsResponse& operator=(const GetTicketsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketsResponse& default_instance(); + + void Swap(GetTicketsResponse* other); + + // implements Message ---------------------------------------------- + + GetTicketsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline int ticket_size() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket(int index) const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(int index); + inline ::bgs::protocol::club::v1::client::ClubTicket* add_ticket(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >& + ticket() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* + mutable_ticket(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket > ticket_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AddBanRequest : public ::google::protobuf::Message { + public: + AddBanRequest(); + virtual ~AddBanRequest(); + + AddBanRequest(const AddBanRequest& from); + + inline AddBanRequest& operator=(const AddBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddBanRequest& default_instance(); + + void Swap(AddBanRequest* other); + + // implements Message ---------------------------------------------- + + AddBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.AddBanOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::AddBanOptions& options() const; + inline ::bgs::protocol::club::v1::client::AddBanOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::AddBanOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::AddBanOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::AddBanOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AddBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveBanRequest : public ::google::protobuf::Message { + public: + RemoveBanRequest(); + virtual ~RemoveBanRequest(); + + RemoveBanRequest(const RemoveBanRequest& from); + + inline RemoveBanRequest& operator=(const RemoveBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveBanRequest& default_instance(); + + void Swap(RemoveBanRequest* other); + + // implements Message ---------------------------------------------- + + RemoveBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RemoveBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBanRequest : public ::google::protobuf::Message { + public: + GetBanRequest(); + virtual ~GetBanRequest(); + + GetBanRequest(const GetBanRequest& from); + + inline GetBanRequest& operator=(const GetBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBanRequest& default_instance(); + + void Swap(GetBanRequest* other); + + // implements Message ---------------------------------------------- + + GetBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBanResponse : public ::google::protobuf::Message { + public: + GetBanResponse(); + virtual ~GetBanResponse(); + + GetBanResponse(const GetBanResponse& from); + + inline GetBanResponse& operator=(const GetBanResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBanResponse& default_instance(); + + void Swap(GetBanResponse* other); + + // implements Message ---------------------------------------------- + + GetBanResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubBan ban = 1; + inline bool has_ban() const; + inline void clear_ban(); + static const int kBanFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubBan& ban() const; + inline ::bgs::protocol::club::v1::client::ClubBan* mutable_ban(); + inline ::bgs::protocol::club::v1::client::ClubBan* release_ban(); + inline void set_allocated_ban(::bgs::protocol::club::v1::client::ClubBan* ban); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanResponse) + private: + inline void set_has_ban(); + inline void clear_has_ban(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubBan* ban_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBanResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBansRequest : public ::google::protobuf::Message { + public: + GetBansRequest(); + virtual ~GetBansRequest(); + + GetBansRequest(const GetBansRequest& from); + + inline GetBansRequest& operator=(const GetBansRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBansRequest& default_instance(); + + void Swap(GetBansRequest* other); + + // implements Message ---------------------------------------------- + + GetBansRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBansRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { + public: + GetBansResponse(); + virtual ~GetBansResponse(); + + GetBansResponse(const GetBansResponse& from); + + inline GetBansResponse& operator=(const GetBansResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBansResponse& default_instance(); + + void Swap(GetBansResponse* other); + + // implements Message ---------------------------------------------- + + GetBansResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubBan ban = 1; + inline int ban_size() const; + inline void clear_ban(); + static const int kBanFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubBan& ban(int index) const; + inline ::bgs::protocol::club::v1::client::ClubBan* mutable_ban(int index); + inline ::bgs::protocol::club::v1::client::ClubBan* add_ban(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >& + ban() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* + mutable_ban(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan > ban_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBansResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeStreamRequest : public ::google::protobuf::Message { + public: + SubscribeStreamRequest(); + virtual ~SubscribeStreamRequest(); + + SubscribeStreamRequest(const SubscribeStreamRequest& from); + + inline SubscribeStreamRequest& operator=(const SubscribeStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeStreamRequest& default_instance(); + + void Swap(SubscribeStreamRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated uint64 stream_id = 3; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeStreamRequest : public ::google::protobuf::Message { + public: + UnsubscribeStreamRequest(); + virtual ~UnsubscribeStreamRequest(); + + UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from); + + inline UnsubscribeStreamRequest& operator=(const UnsubscribeStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeStreamRequest& default_instance(); + + void Swap(UnsubscribeStreamRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated uint64 stream_id = 3; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamRequest : public ::google::protobuf::Message { + public: + CreateStreamRequest(); + virtual ~CreateStreamRequest(); + + CreateStreamRequest(const CreateStreamRequest& from); + + inline CreateStreamRequest& operator=(const CreateStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamRequest& default_instance(); + + void Swap(CreateStreamRequest* other); + + // implements Message ---------------------------------------------- + + CreateStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateStreamOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateStreamOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamResponse : public ::google::protobuf::Message { + public: + CreateStreamResponse(); + virtual ~CreateStreamResponse(); + + CreateStreamResponse(const CreateStreamResponse& from); + + inline CreateStreamResponse& operator=(const CreateStreamResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamResponse& default_instance(); + + void Swap(CreateStreamResponse* other); + + // implements Message ---------------------------------------------- + + CreateStreamResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamResponse) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyStreamRequest : public ::google::protobuf::Message { + public: + DestroyStreamRequest(); + virtual ~DestroyStreamRequest(); + + DestroyStreamRequest(const DestroyStreamRequest& from); + + inline DestroyStreamRequest& operator=(const DestroyStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyStreamRequest& default_instance(); + + void Swap(DestroyStreamRequest* other); + + // implements Message ---------------------------------------------- + + DestroyStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamRequest : public ::google::protobuf::Message { + public: + GetStreamRequest(); + virtual ~GetStreamRequest(); + + GetStreamRequest(const GetStreamRequest& from); + + inline GetStreamRequest& operator=(const GetStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamRequest& default_instance(); + + void Swap(GetStreamRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamResponse : public ::google::protobuf::Message { + public: + GetStreamResponse(); + virtual ~GetStreamResponse(); + + GetStreamResponse(const GetStreamResponse& from); + + inline GetStreamResponse& operator=(const GetStreamResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamResponse& default_instance(); + + void Swap(GetStreamResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.Stream stream = 1; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Stream& stream() const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(); + inline ::bgs::protocol::club::v1::client::Stream* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamResponse) + private: + inline void set_has_stream(); + inline void clear_has_stream(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::Stream* stream_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamsRequest : public ::google::protobuf::Message { + public: + GetStreamsRequest(); + virtual ~GetStreamsRequest(); + + GetStreamsRequest(const GetStreamsRequest& from); + + inline GetStreamsRequest& operator=(const GetStreamsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamsRequest& default_instance(); + + void Swap(GetStreamsRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { + public: + GetStreamsResponse(); + virtual ~GetStreamsResponse(); + + GetStreamsResponse(const GetStreamsResponse& from); + + inline GetStreamsResponse& operator=(const GetStreamsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamsResponse& default_instance(); + + void Swap(GetStreamsResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.Stream stream = 1; + inline int stream_size() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Stream& stream(int index) const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(int index); + inline ::bgs::protocol::club::v1::client::Stream* add_stream(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >& + stream() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* + mutable_stream(); + + // repeated .bgs.protocol.club.v1.client.StreamView view = 2; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::StreamView& view(int index) const; + inline ::bgs::protocol::club::v1::client::StreamView* mutable_view(int index); + inline ::bgs::protocol::club::v1::client::StreamView* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* + mutable_view(); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream > stream_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView > view_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateStreamStateRequest : public ::google::protobuf::Message { + public: + UpdateStreamStateRequest(); + virtual ~UpdateStreamStateRequest(); + + UpdateStreamStateRequest(const UpdateStreamStateRequest& from); + + inline UpdateStreamStateRequest& operator=(const UpdateStreamStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateStreamStateRequest& default_instance(); + + void Swap(UpdateStreamStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateStreamStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamStateOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::StreamStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::StreamStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::StreamStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateStreamStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateStreamStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetStreamFocusRequest : public ::google::protobuf::Message { + public: + SetStreamFocusRequest(); + virtual ~SetStreamFocusRequest(); + + SetStreamFocusRequest(const SetStreamFocusRequest& from); + + inline SetStreamFocusRequest& operator=(const SetStreamFocusRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetStreamFocusRequest& default_instance(); + + void Swap(SetStreamFocusRequest* other); + + // implements Message ---------------------------------------------- + + SetStreamFocusRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool focus = 4; + inline bool has_focus() const; + inline void clear_focus(); + static const int kFocusFieldNumber = 4; + inline bool focus() const; + inline void set_focus(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetStreamFocusRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_focus(); + inline void clear_has_focus(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + bool focus_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetStreamFocusRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageRequest : public ::google::protobuf::Message { + public: + CreateMessageRequest(); + virtual ~CreateMessageRequest(); + + CreateMessageRequest(const CreateMessageRequest& from); + + inline CreateMessageRequest& operator=(const CreateMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageRequest& default_instance(); + + void Swap(CreateMessageRequest* other); + + // implements Message ---------------------------------------------- + + CreateMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 4; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageResponse : public ::google::protobuf::Message { + public: + CreateMessageResponse(); + virtual ~CreateMessageResponse(); + + CreateMessageResponse(const CreateMessageResponse& from); + + inline CreateMessageResponse& operator=(const CreateMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageResponse& default_instance(); + + void Swap(CreateMessageResponse* other); + + // implements Message ---------------------------------------------- + + CreateMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyMessageRequest : public ::google::protobuf::Message { + public: + DestroyMessageRequest(); + virtual ~DestroyMessageRequest(); + + DestroyMessageRequest(const DestroyMessageRequest& from); + + inline DestroyMessageRequest& operator=(const DestroyMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyMessageRequest& default_instance(); + + void Swap(DestroyMessageRequest* other); + + // implements Message ---------------------------------------------- + + DestroyMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyMessageResponse : public ::google::protobuf::Message { + public: + DestroyMessageResponse(); + virtual ~DestroyMessageResponse(); + + DestroyMessageResponse(const DestroyMessageResponse& from); + + inline DestroyMessageResponse& operator=(const DestroyMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyMessageResponse& default_instance(); + + void Swap(DestroyMessageResponse* other); + + // implements Message ---------------------------------------------- + + DestroyMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EditMessageRequest : public ::google::protobuf::Message { + public: + EditMessageRequest(); + virtual ~EditMessageRequest(); + + EditMessageRequest(const EditMessageRequest& from); + + inline EditMessageRequest& operator=(const EditMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EditMessageRequest& default_instance(); + + void Swap(EditMessageRequest* other); + + // implements Message ---------------------------------------------- + + EditMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static EditMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EditMessageResponse : public ::google::protobuf::Message { + public: + EditMessageResponse(); + virtual ~EditMessageResponse(); + + EditMessageResponse(const EditMessageResponse& from); + + inline EditMessageResponse& operator=(const EditMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EditMessageResponse& default_instance(); + + void Swap(EditMessageResponse* other); + + // implements Message ---------------------------------------------- + + EditMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static EditMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetMessagePinnedRequest : public ::google::protobuf::Message { + public: + SetMessagePinnedRequest(); + virtual ~SetMessagePinnedRequest(); + + SetMessagePinnedRequest(const SetMessagePinnedRequest& from); + + inline SetMessagePinnedRequest& operator=(const SetMessagePinnedRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetMessagePinnedRequest& default_instance(); + + void Swap(SetMessagePinnedRequest* other); + + // implements Message ---------------------------------------------- + + SetMessagePinnedRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetMessagePinnedRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetMessagePinnedRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Message { + public: + SetTypingIndicatorRequest(); + virtual ~SetTypingIndicatorRequest(); + + SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from); + + inline SetTypingIndicatorRequest& operator=(const SetTypingIndicatorRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetTypingIndicatorRequest& default_instance(); + + void Swap(SetTypingIndicatorRequest* other); + + // implements Message ---------------------------------------------- + + SetTypingIndicatorRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 4; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 4; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetTypingIndicatorRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamViewTimeRequest(); + virtual ~AdvanceStreamViewTimeRequest(); + + AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from); + + inline AdvanceStreamViewTimeRequest& operator=(const AdvanceStreamViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id_deprecated = 3 [deprecated = true]; + inline bool has_stream_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_stream_id_deprecated() PROTOBUF_DEPRECATED; + static const int kStreamIdDeprecatedFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id_deprecated() const PROTOBUF_DEPRECATED; + inline void set_stream_id_deprecated(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED; + + // repeated uint64 stream_id = 4 [packed = true]; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id_deprecated(); + inline void clear_has_stream_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_deprecated_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamMentionViewTimeRequest(); + virtual ~AdvanceStreamMentionViewTimeRequest(); + + AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); + + inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamMentionViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamMentionViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamMentionViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamMentionViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceActivityViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceActivityViewTimeRequest(); + virtual ~AdvanceActivityViewTimeRequest(); + + AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from); + + inline AdvanceActivityViewTimeRequest& operator=(const AdvanceActivityViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceActivityViewTimeRequest& default_instance(); + + void Swap(AdvanceActivityViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceActivityViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceActivityViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamHistoryRequest : public ::google::protobuf::Message { + public: + GetStreamHistoryRequest(); + virtual ~GetStreamHistoryRequest(); + + GetStreamHistoryRequest(const GetStreamHistoryRequest& from); + + inline GetStreamHistoryRequest& operator=(const GetStreamHistoryRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamHistoryRequest& default_instance(); + + void Swap(GetStreamHistoryRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamHistoryRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 4; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 4; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::GetEventOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamHistoryRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message { + public: + GetStreamHistoryResponse(); + virtual ~GetStreamHistoryResponse(); + + GetStreamHistoryResponse(const GetStreamHistoryResponse& from); + + inline GetStreamHistoryResponse& operator=(const GetStreamHistoryResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamHistoryResponse& default_instance(); + + void Swap(GetStreamHistoryResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamHistoryResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline int message_size() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(int index); + inline ::bgs::protocol::club::v1::client::StreamMessage* add_message(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& + message() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* + mutable_message(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamHistoryResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMessageRequest : public ::google::protobuf::Message { + public: + GetStreamMessageRequest(); + virtual ~GetStreamMessageRequest(); + + GetStreamMessageRequest(const GetStreamMessageRequest& from); + + inline GetStreamMessageRequest& operator=(const GetStreamMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMessageRequest& default_instance(); + + void Swap(GetStreamMessageRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMessageResponse : public ::google::protobuf::Message { + public: + GetStreamMessageResponse(); + virtual ~GetStreamMessageResponse(); + + GetStreamMessageResponse(const GetStreamMessageResponse& from); + + inline GetStreamMessageResponse& operator=(const GetStreamMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMessageResponse& default_instance(); + + void Swap(GetStreamMessageResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubActivityRequest : public ::google::protobuf::Message { + public: + GetClubActivityRequest(); + virtual ~GetClubActivityRequest(); + + GetClubActivityRequest(const GetClubActivityRequest& from); + + inline GetClubActivityRequest& operator=(const GetClubActivityRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubActivityRequest& default_instance(); + + void Swap(GetClubActivityRequest* other); + + // implements Message ---------------------------------------------- + + GetClubActivityRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::GetEventOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubActivityRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubActivityResponse : public ::google::protobuf::Message { + public: + GetClubActivityResponse(); + virtual ~GetClubActivityResponse(); + + GetClubActivityResponse(const GetClubActivityResponse& from); + + inline GetClubActivityResponse& operator=(const GetClubActivityResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubActivityResponse& default_instance(); + + void Swap(GetClubActivityResponse* other); + + // implements Message ---------------------------------------------- + + GetClubActivityResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubActivityResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamVoiceTokenRequest : public ::google::protobuf::Message { + public: + GetStreamVoiceTokenRequest(); + virtual ~GetStreamVoiceTokenRequest(); + + GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from); + + inline GetStreamVoiceTokenRequest& operator=(const GetStreamVoiceTokenRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamVoiceTokenRequest& default_instance(); + + void Swap(GetStreamVoiceTokenRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamVoiceTokenRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint32 version = 4 [deprecated = true]; + inline bool has_version() const PROTOBUF_DEPRECATED; + inline void clear_version() PROTOBUF_DEPRECATED; + static const int kVersionFieldNumber = 4; + inline ::google::protobuf::uint32 version() const PROTOBUF_DEPRECATED; + inline void set_version(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_version(); + inline void clear_has_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint32 version_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamVoiceTokenRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamVoiceTokenResponse : public ::google::protobuf::Message { + public: + GetStreamVoiceTokenResponse(); + virtual ~GetStreamVoiceTokenResponse(); + + GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from); + + inline GetStreamVoiceTokenResponse& operator=(const GetStreamVoiceTokenResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamVoiceTokenResponse& default_instance(); + + void Swap(GetStreamVoiceTokenResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamVoiceTokenResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string channel_uri = 1; + inline bool has_channel_uri() const; + inline void clear_channel_uri(); + static const int kChannelUriFieldNumber = 1; + inline const ::std::string& channel_uri() const; + inline void set_channel_uri(const ::std::string& value); + inline void set_channel_uri(const char* value); + inline void set_channel_uri(const char* value, size_t size); + inline ::std::string* mutable_channel_uri(); + inline ::std::string* release_channel_uri(); + inline void set_allocated_channel_uri(::std::string* channel_uri); + + // optional .bgs.protocol.voice.v1.VoiceCredentials credentials = 2; + inline bool has_credentials() const; + inline void clear_credentials(); + static const int kCredentialsFieldNumber = 2; + inline const ::bgs::protocol::voice::v1::VoiceCredentials& credentials() const; + inline ::bgs::protocol::voice::v1::VoiceCredentials* mutable_credentials(); + inline ::bgs::protocol::voice::v1::VoiceCredentials* release_credentials(); + inline void set_allocated_credentials(::bgs::protocol::voice::v1::VoiceCredentials* credentials); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) + private: + inline void set_has_channel_uri(); + inline void clear_has_channel_uri(); + inline void set_has_credentials(); + inline void clear_has_credentials(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* channel_uri_; + ::bgs::protocol::voice::v1::VoiceCredentials* credentials_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamVoiceTokenResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API KickFromStreamVoiceRequest : public ::google::protobuf::Message { + public: + KickFromStreamVoiceRequest(); + virtual ~KickFromStreamVoiceRequest(); + + KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from); + + inline KickFromStreamVoiceRequest& operator=(const KickFromStreamVoiceRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const KickFromStreamVoiceRequest& default_instance(); + + void Swap(KickFromStreamVoiceRequest* other); + + // implements Message ---------------------------------------------- + + KickFromStreamVoiceRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 4; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 4; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static KickFromStreamVoiceRequest* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SubscribeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeRequest.club_id) + return club_id_; +} +inline void SubscribeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnsubscribeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeRequest.club_id) + return club_id_; +} +inline void UnsubscribeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// CreateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.agent_id) +} + +// optional .bgs.protocol.club.v1.client.ClubCreateOptions options = 2; +inline bool CreateRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubCreateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubCreateOptions& CreateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubCreateOptions* CreateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubCreateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubCreateOptions* CreateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubCreateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubCreateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateResponse + +// optional uint64 club_id = 1; +inline bool CreateResponse::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateResponse::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateResponse::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateResponse::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateResponse::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateResponse.club_id) + return club_id_; +} +inline void CreateResponse::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateResponse.club_id) +} + +// ------------------------------------------------------------------- + +// DestroyRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyRequest.club_id) + return club_id_; +} +inline void DestroyRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetDescriptionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetDescriptionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetDescriptionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetDescriptionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetDescriptionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetDescriptionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetDescriptionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetDescriptionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetDescriptionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetDescriptionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetDescriptionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetDescriptionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionRequest.club_id) + return club_id_; +} +inline void GetDescriptionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetDescriptionRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetDescriptionResponse + +// optional .bgs.protocol.club.v1.ClubDescription club = 1; +inline bool GetDescriptionResponse::has_club() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetDescriptionResponse::set_has_club() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetDescriptionResponse::clear_has_club() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetDescriptionResponse::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& GetDescriptionResponse::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionResponse.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetDescriptionResponse.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void GetDescriptionResponse::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionResponse.club) +} + +// ------------------------------------------------------------------- + +// GetClubTypeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetClubTypeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubTypeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubTypeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubTypeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetClubTypeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetClubTypeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool GetClubTypeRequest::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubTypeRequest::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubTypeRequest::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubTypeRequest::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeRequest::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeRequest.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeRequest.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void GetClubTypeRequest::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.type) +} + +// ------------------------------------------------------------------- + +// GetClubTypeResponse + +// optional .bgs.protocol.club.v1.UniqueClubType type = 1; +inline bool GetClubTypeResponse::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubTypeResponse::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubTypeResponse::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubTypeResponse::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeResponse::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.type) +} + +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 2; +inline bool GetClubTypeResponse::has_role_set() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubTypeResponse::set_has_role_set() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubTypeResponse::clear_has_role_set() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubTypeResponse::clear_role_set() { + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::ClubRoleSet::Clear(); + clear_has_role_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubRoleSet& GetClubTypeResponse::role_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) + return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* GetClubTypeResponse::mutable_role_set() { + set_has_role_set(); + if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::client::ClubRoleSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) + return role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* GetClubTypeResponse::release_role_set() { + clear_has_role_set(); + ::bgs::protocol::club::v1::client::ClubRoleSet* temp = role_set_; + role_set_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set) { + delete role_set_; + role_set_ = role_set; + if (role_set) { + set_has_role_set(); + } else { + clear_has_role_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) +} + +// optional .bgs.protocol.club.v1.client.ClubTypeRangeSet range_set = 3; +inline bool GetClubTypeResponse::has_range_set() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetClubTypeResponse::set_has_range_set() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetClubTypeResponse::clear_has_range_set() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetClubTypeResponse::clear_range_set() { + if (range_set_ != NULL) range_set_->::bgs::protocol::club::v1::client::ClubTypeRangeSet::Clear(); + clear_has_range_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubTypeRangeSet& GetClubTypeResponse::range_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) + return range_set_ != NULL ? *range_set_ : *default_instance_->range_set_; +} +inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* GetClubTypeResponse::mutable_range_set() { + set_has_range_set(); + if (range_set_ == NULL) range_set_ = new ::bgs::protocol::club::v1::client::ClubTypeRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) + return range_set_; +} +inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* GetClubTypeResponse::release_range_set() { + clear_has_range_set(); + ::bgs::protocol::club::v1::client::ClubTypeRangeSet* temp = range_set_; + range_set_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_range_set(::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set) { + delete range_set_; + range_set_ = range_set; + if (range_set) { + set_has_range_set(); + } else { + clear_has_range_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) +} + +// repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; +inline int GetClubTypeResponse::platform_tag_set_size() const { + return platform_tag_set_.size(); +} +inline void GetClubTypeResponse::clear_platform_tag_set() { + platform_tag_set_.Clear(); +} +inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::platform_tag_set(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Get(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_platform_tag_set(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Mutable(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_platform_tag_set() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& +GetClubTypeResponse::platform_tag_set() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* +GetClubTypeResponse::mutable_platform_tag_set() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return &platform_tag_set_; +} + +// repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; +inline int GetClubTypeResponse::custom_tag_set_size() const { + return custom_tag_set_.size(); +} +inline void GetClubTypeResponse::clear_custom_tag_set() { + custom_tag_set_.Clear(); +} +inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::custom_tag_set(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Get(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_custom_tag_set(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Mutable(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_custom_tag_set() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& +GetClubTypeResponse::custom_tag_set() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* +GetClubTypeResponse::mutable_custom_tag_set() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return &custom_tag_set_; +} + +// ------------------------------------------------------------------- + +// UpdateClubStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateClubStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateClubStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateClubStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateClubStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateClubStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.club_id) + return club_id_; +} +inline void UpdateClubStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubStateOptions options = 3; +inline bool UpdateClubStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateClubStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateClubStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateClubStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubStateOptions& UpdateClubStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubStateOptions* UpdateClubStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubStateOptions* UpdateClubStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) +} + +// ------------------------------------------------------------------- + +// UpdateClubSettingsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateClubSettingsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubSettingsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubSettingsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateClubSettingsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateClubSettingsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateClubSettingsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubSettingsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubSettingsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateClubSettingsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.club_id) + return club_id_; +} +inline void UpdateClubSettingsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSettingsOptions options = 3; +inline bool UpdateClubSettingsRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateClubSettingsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateClubSettingsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubSettingsOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettingsOptions& UpdateClubSettingsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* UpdateClubSettingsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubSettingsOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* UpdateClubSettingsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubSettingsOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubSettingsOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) +} + +// ------------------------------------------------------------------- + +// AddMemberRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AddMemberRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddMemberRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddMemberRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddMemberRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddMemberRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AddMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AddMemberRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AddMemberRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AddMemberRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AddMemberRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AddMemberRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.club_id) + return club_id_; +} +inline void AddMemberRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddMemberRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; +inline bool AddMemberRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddMemberRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddMemberRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddMemberRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& AddMemberRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* AddMemberRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddMemberRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* AddMemberRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.options) +} + +// ------------------------------------------------------------------- + +// JoinRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool JoinRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void JoinRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void JoinRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void JoinRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& JoinRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* JoinRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.JoinRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* JoinRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void JoinRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool JoinRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void JoinRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void JoinRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void JoinRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 JoinRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.club_id) + return club_id_; +} +inline void JoinRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.JoinRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; +inline bool JoinRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void JoinRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void JoinRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void JoinRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& JoinRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* JoinRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.JoinRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* JoinRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.options) +} + +// ------------------------------------------------------------------- + +// LeaveRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool LeaveRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void LeaveRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void LeaveRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void LeaveRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& LeaveRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.LeaveRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.LeaveRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void LeaveRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.LeaveRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool LeaveRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void LeaveRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void LeaveRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void LeaveRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 LeaveRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.LeaveRequest.club_id) + return club_id_; +} +inline void LeaveRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.LeaveRequest.club_id) +} + +// ------------------------------------------------------------------- + +// KickRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool KickRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void KickRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void KickRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void KickRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void KickRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool KickRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void KickRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void KickRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void KickRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 KickRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.club_id) + return club_id_; +} +inline void KickRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool KickRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void KickRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void KickRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void KickRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void KickRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetMemberRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetMemberRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMemberRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMemberRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMemberRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetMemberRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMemberRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMemberRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMemberRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetMemberRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.club_id) + return club_id_; +} +inline void GetMemberRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMemberRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool GetMemberRequest::has_member_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetMemberRequest::set_has_member_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetMemberRequest::clear_has_member_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetMemberRequest::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberRequest.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void GetMemberRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.member_id) +} + +// ------------------------------------------------------------------- + +// GetMemberResponse + +// optional .bgs.protocol.club.v1.client.Member member = 1; +inline bool GetMemberResponse::has_member() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMemberResponse::set_has_member() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMemberResponse::clear_has_member() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMemberResponse::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::Member::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::Member& GetMemberResponse::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberResponse.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::Member* GetMemberResponse::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::Member; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberResponse.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::Member* GetMemberResponse::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::Member* temp = member_; + member_ = NULL; + return temp; +} +inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberResponse.member) +} + +// ------------------------------------------------------------------- + +// GetMembersRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetMembersRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMembersRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMembersRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMembersRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMembersRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetMembersRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetMembersRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMembersRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMembersRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMembersRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetMembersRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.club_id) + return club_id_; +} +inline void GetMembersRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.club_id) +} + +// optional uint64 continuation = 4; +inline bool GetMembersRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetMembersRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetMembersRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetMembersRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetMembersRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.continuation) + return continuation_; +} +inline void GetMembersRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetMembersResponse + +// repeated .bgs.protocol.club.v1.client.Member member = 1; +inline int GetMembersResponse::member_size() const { + return member_.size(); +} +inline void GetMembersResponse::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Member& GetMembersResponse::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Member* GetMembersResponse::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Member* GetMembersResponse::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& +GetMembersResponse::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* +GetMembersResponse::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetMembersResponse.member) + return &member_; +} + +// optional uint64 continuation = 2; +inline bool GetMembersResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMembersResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMembersResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMembersResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetMembersResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersResponse.continuation) + return continuation_; +} +inline void GetMembersResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersResponse.continuation) +} + +// ------------------------------------------------------------------- + +// UpdateMemberStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateMemberStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateMemberStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateMemberStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateMemberStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateMemberStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateMemberStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateMemberStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateMemberStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateMemberStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.club_id) + return club_id_; +} +inline void UpdateMemberStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateMemberStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool UpdateMemberStateRequest::has_member_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateMemberStateRequest::set_has_member_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateMemberStateRequest::clear_has_member_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateMemberStateRequest::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) +} + +// optional .bgs.protocol.club.v1.client.MemberStateOptions options = 5; +inline bool UpdateMemberStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void UpdateMemberStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void UpdateMemberStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void UpdateMemberStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::MemberStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::MemberStateOptions& UpdateMemberStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::MemberStateOptions* UpdateMemberStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::MemberStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::MemberStateOptions* UpdateMemberStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::MemberStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::MemberStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) +} + +// ------------------------------------------------------------------- + +// UpdateSubscriberStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateSubscriberStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateSubscriberStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateSubscriberStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateSubscriberStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateSubscriberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateSubscriberStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateSubscriberStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateSubscriberStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateSubscriberStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.club_id) + return club_id_; +} +inline void UpdateSubscriberStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SubscriberStateOptions options = 3; +inline bool UpdateSubscriberStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateSubscriberStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateSubscriberStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SubscriberStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SubscriberStateOptions& UpdateSubscriberStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* UpdateSubscriberStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SubscriberStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* UpdateSubscriberStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SubscriberStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::SubscriberStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) +} + +// ------------------------------------------------------------------- + +// AssignRoleRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AssignRoleRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AssignRoleRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AssignRoleRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AssignRoleRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AssignRoleRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AssignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AssignRoleRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AssignRoleRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AssignRoleRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AssignRoleRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AssignRoleRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.club_id) + return club_id_; +} +inline void AssignRoleRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AssignRoleRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; +inline bool AssignRoleRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AssignRoleRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AssignRoleRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AssignRoleRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::RoleOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::RoleOptions& AssignRoleRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* AssignRoleRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::RoleOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AssignRoleRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* AssignRoleRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.options) +} + +// ------------------------------------------------------------------- + +// UnassignRoleRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnassignRoleRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnassignRoleRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnassignRoleRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnassignRoleRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnassignRoleRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnassignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnassignRoleRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnassignRoleRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnassignRoleRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnassignRoleRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnassignRoleRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.club_id) + return club_id_; +} +inline void UnassignRoleRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnassignRoleRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; +inline bool UnassignRoleRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UnassignRoleRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UnassignRoleRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UnassignRoleRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::RoleOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::RoleOptions& UnassignRoleRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* UnassignRoleRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::RoleOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnassignRoleRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* UnassignRoleRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.options) +} + +// ------------------------------------------------------------------- + +// SendInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SendInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SendInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SendInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SendInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.club_id) + return club_id_; +} +inline void SendInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendInvitationRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SendInvitationOptions options = 3; +inline bool SendInvitationRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendInvitationRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendInvitationRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendInvitationRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SendInvitationOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SendInvitationOptions& SendInvitationRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SendInvitationOptions* SendInvitationRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SendInvitationOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SendInvitationOptions* SendInvitationRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SendInvitationOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendInvitationOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.options) +} + +// ------------------------------------------------------------------- + +// AcceptInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AcceptInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AcceptInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AcceptInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AcceptInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AcceptInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AcceptInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AcceptInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AcceptInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AcceptInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AcceptInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AcceptInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.club_id) + return club_id_; +} +inline void AcceptInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool AcceptInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AcceptInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AcceptInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AcceptInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 AcceptInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.invitation_id) + return invitation_id_; +} +inline void AcceptInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// DeclineInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DeclineInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DeclineInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DeclineInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DeclineInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DeclineInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DeclineInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DeclineInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DeclineInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DeclineInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DeclineInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DeclineInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.club_id) + return club_id_; +} +inline void DeclineInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool DeclineInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DeclineInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DeclineInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DeclineInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 DeclineInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.invitation_id) + return invitation_id_; +} +inline void DeclineInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// RevokeInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RevokeInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RevokeInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RevokeInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RevokeInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RevokeInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RevokeInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool RevokeInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RevokeInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RevokeInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RevokeInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 RevokeInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.club_id) + return club_id_; +} +inline void RevokeInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool RevokeInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void RevokeInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void RevokeInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void RevokeInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 RevokeInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.invitation_id) + return invitation_id_; +} +inline void RevokeInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// GetInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.club_id) + return club_id_; +} +inline void GetInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool GetInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 GetInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.invitation_id) + return invitation_id_; +} +inline void GetInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// GetInvitationResponse + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; +inline bool GetInvitationResponse::has_invitation() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationResponse::set_has_invitation() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationResponse::clear_has_invitation() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationResponse::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& GetInvitationResponse::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationResponse::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationResponse::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) +} + +// ------------------------------------------------------------------- + +// GetInvitationsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetInvitationsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetInvitationsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetInvitationsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetInvitationsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetInvitationsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.club_id) + return club_id_; +} +inline void GetInvitationsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetInvitationsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetInvitationsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetInvitationsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetInvitationsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetInvitationsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.continuation) + return continuation_; +} +inline void GetInvitationsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetInvitationsResponse + +// repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; +inline int GetInvitationsResponse::invitation_size() const { + return invitation_.size(); +} +inline void GetInvitationsResponse::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& GetInvitationsResponse::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationsResponse::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationsResponse::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& +GetInvitationsResponse::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* +GetInvitationsResponse::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return &invitation_; +} + +// optional uint64 continuation = 2; +inline bool GetInvitationsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetInvitationsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsResponse.continuation) + return continuation_; +} +inline void GetInvitationsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SendSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SendSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SendSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SendSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SendSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.club_id) + return club_id_; +} +inline void SendSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SendSuggestionOptions options = 3; +inline bool SendSuggestionRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendSuggestionRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendSuggestionRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendSuggestionRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SendSuggestionOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SendSuggestionOptions& SendSuggestionRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* SendSuggestionRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SendSuggestionOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* SendSuggestionRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SendSuggestionOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendSuggestionOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.options) +} + +// ------------------------------------------------------------------- + +// AcceptSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AcceptSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AcceptSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AcceptSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AcceptSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AcceptSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AcceptSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AcceptSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AcceptSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AcceptSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AcceptSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AcceptSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.club_id) + return club_id_; +} +inline void AcceptSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool AcceptSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AcceptSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AcceptSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AcceptSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 AcceptSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void AcceptSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// DeclineSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DeclineSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DeclineSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DeclineSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DeclineSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DeclineSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DeclineSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DeclineSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DeclineSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DeclineSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DeclineSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DeclineSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.club_id) + return club_id_; +} +inline void DeclineSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool DeclineSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DeclineSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DeclineSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DeclineSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 DeclineSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void DeclineSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// GetSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.club_id) + return club_id_; +} +inline void GetSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool GetSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 GetSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void GetSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// GetSuggestionResponse + +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; +inline bool GetSuggestionResponse::has_suggestion() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionResponse::set_has_suggestion() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionResponse::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionResponse::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestion::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& GetSuggestionResponse::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionResponse::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestion; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionResponse::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) +} + +// ------------------------------------------------------------------- + +// GetSuggestionsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetSuggestionsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetSuggestionsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetSuggestionsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetSuggestionsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.club_id) + return club_id_; +} +inline void GetSuggestionsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetSuggestionsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetSuggestionsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetSuggestionsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetSuggestionsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetSuggestionsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.continuation) + return continuation_; +} +inline void GetSuggestionsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetSuggestionsResponse + +// repeated .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; +inline int GetSuggestionsResponse::suggestion_size() const { + return suggestion_.size(); +} +inline void GetSuggestionsResponse::clear_suggestion() { + suggestion_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& GetSuggestionsResponse::suggestion(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionsResponse::mutable_suggestion(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionsResponse::add_suggestion() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >& +GetSuggestionsResponse::suggestion() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* +GetSuggestionsResponse::mutable_suggestion() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return &suggestion_; +} + +// optional uint64 continuation = 2; +inline bool GetSuggestionsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetSuggestionsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsResponse.continuation) + return continuation_; +} +inline void GetSuggestionsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// CreateTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateTicketRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateTicketRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateTicketRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateTicketRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateTicketRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.club_id) + return club_id_; +} +inline void CreateTicketRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateTicketOptions options = 3; +inline bool CreateTicketRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateTicketRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateTicketRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateTicketRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateTicketOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateTicketOptions& CreateTicketRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateTicketOptions* CreateTicketRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateTicketOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateTicketOptions* CreateTicketRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateTicketOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateTicketOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateTicketResponse + +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline bool CreateTicketResponse::has_ticket() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketResponse::set_has_ticket() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketResponse::clear_has_ticket() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketResponse::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicket::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& CreateTicketResponse::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* CreateTicketResponse::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicket; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* CreateTicketResponse::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) +} + +// ------------------------------------------------------------------- + +// DestroyTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyTicketRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyTicketRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyTicketRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyTicketRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyTicketRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.club_id) + return club_id_; +} +inline void DestroyTicketRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyTicketRequest.club_id) +} + +// optional string ticket_id = 3; +inline bool DestroyTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& DestroyTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) + return *ticket_id_; +} +inline void DestroyTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline void DestroyTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline void DestroyTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline ::std::string* DestroyTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* DestroyTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void DestroyTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// RedeemTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RedeemTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RedeemTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RedeemTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RedeemTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RedeemTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RedeemTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) +} + +// optional string ticket_id = 3; +inline bool RedeemTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RedeemTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RedeemTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RedeemTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& RedeemTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) + return *ticket_id_; +} +inline void RedeemTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline void RedeemTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline void RedeemTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline ::std::string* RedeemTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* RedeemTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void RedeemTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// GetTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) +} + +// optional string ticket_id = 3; +inline bool GetTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& GetTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) + return *ticket_id_; +} +inline void GetTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline void GetTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline void GetTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline ::std::string* GetTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* GetTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void GetTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// GetTicketResponse + +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline bool GetTicketResponse::has_ticket() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketResponse::set_has_ticket() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketResponse::clear_has_ticket() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketResponse::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicket::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& GetTicketResponse::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketResponse.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketResponse::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicket; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketResponse.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketResponse::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketResponse.ticket) +} + +// ------------------------------------------------------------------- + +// GetTicketsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetTicketsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetTicketsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetTicketsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetTicketsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetTicketsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.club_id) + return club_id_; +} +inline void GetTicketsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetTicketsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetTicketsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetTicketsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetTicketsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetTicketsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.continuation) + return continuation_; +} +inline void GetTicketsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetTicketsResponse + +// repeated .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline int GetTicketsResponse::ticket_size() const { + return ticket_.size(); +} +inline void GetTicketsResponse::clear_ticket() { + ticket_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& GetTicketsResponse::ticket(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketsResponse::mutable_ticket(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketsResponse::add_ticket() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >& +GetTicketsResponse::ticket() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* +GetTicketsResponse::mutable_ticket() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return &ticket_; +} + +// optional uint64 continuation = 2; +inline bool GetTicketsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetTicketsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsResponse.continuation) + return continuation_; +} +inline void GetTicketsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// AddBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AddBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AddBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AddBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AddBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AddBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AddBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AddBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.club_id) + return club_id_; +} +inline void AddBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.AddBanOptions options = 3; +inline bool AddBanRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddBanRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddBanRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddBanRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::AddBanOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::AddBanOptions& AddBanRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::AddBanOptions* AddBanRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::AddBanOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::AddBanOptions* AddBanRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::AddBanOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::client::AddBanOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.options) +} + +// ------------------------------------------------------------------- + +// RemoveBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RemoveBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RemoveBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool RemoveBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RemoveBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RemoveBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RemoveBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 RemoveBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.club_id) + return club_id_; +} +inline void RemoveBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool RemoveBanRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void RemoveBanRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void RemoveBanRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void RemoveBanRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void RemoveBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.club_id) + return club_id_; +} +inline void GetBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool GetBanRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetBanRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetBanRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetBanRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void GetBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetBanResponse + +// optional .bgs.protocol.club.v1.client.ClubBan ban = 1; +inline bool GetBanResponse::has_ban() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBanResponse::set_has_ban() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBanResponse::clear_has_ban() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBanResponse::clear_ban() { + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::ClubBan::Clear(); + clear_has_ban(); +} +inline const ::bgs::protocol::club::v1::client::ClubBan& GetBanResponse::ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanResponse.ban) + return ban_ != NULL ? *ban_ : *default_instance_->ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBanResponse::mutable_ban() { + set_has_ban(); + if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::client::ClubBan; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanResponse.ban) + return ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBanResponse::release_ban() { + clear_has_ban(); + ::bgs::protocol::club::v1::client::ClubBan* temp = ban_; + ban_ = NULL; + return temp; +} +inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBan* ban) { + delete ban_; + ban_ = ban; + if (ban) { + set_has_ban(); + } else { + clear_has_ban(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanResponse.ban) +} + +// ------------------------------------------------------------------- + +// GetBansRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetBansRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBansRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBansRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBansRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBansRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBansRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetBansRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBansRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetBansRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBansRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBansRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBansRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetBansRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.club_id) + return club_id_; +} +inline void GetBansRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetBansRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetBansRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetBansRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetBansRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetBansRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.continuation) + return continuation_; +} +inline void GetBansRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetBansResponse + +// repeated .bgs.protocol.club.v1.client.ClubBan ban = 1; +inline int GetBansResponse::ban_size() const { + return ban_.size(); +} +inline void GetBansResponse::clear_ban() { + ban_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubBan& GetBansResponse::ban(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBansResponse::mutable_ban(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBansResponse::add_ban() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >& +GetBansResponse::ban() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* +GetBansResponse::mutable_ban() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetBansResponse.ban) + return &ban_; +} + +// optional uint64 continuation = 2; +inline bool GetBansResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBansResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBansResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBansResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetBansResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansResponse.continuation) + return continuation_; +} +inline void GetBansResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SubscribeStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SubscribeStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.club_id) + return club_id_; +} +inline void SubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeStreamRequest.club_id) +} + +// repeated uint64 stream_id = 3; +inline int SubscribeStreamRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void SubscribeStreamRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 SubscribeStreamRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return stream_id_.Get(index); +} +inline void SubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) +} +inline void SubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +SubscribeStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +SubscribeStreamRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// UnsubscribeStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnsubscribeStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.club_id) + return club_id_; +} +inline void UnsubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.club_id) +} + +// repeated uint64 stream_id = 3; +inline int UnsubscribeStreamRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void UnsubscribeStreamRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 UnsubscribeStreamRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return stream_id_.Get(index); +} +inline void UnsubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) +} +inline void UnsubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +UnsubscribeStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +UnsubscribeStreamRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// CreateStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.club_id) + return club_id_; +} +inline void CreateStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateStreamOptions options = 3; +inline bool CreateStreamRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateStreamRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateStreamRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateStreamRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateStreamOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& CreateStreamRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* CreateStreamRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateStreamOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* CreateStreamRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateStreamOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateStreamResponse + +// optional uint64 club_id = 1; +inline bool CreateStreamResponse::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateStreamResponse::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateStreamResponse::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateStreamResponse::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateStreamResponse::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamResponse.club_id) + return club_id_; +} +inline void CreateStreamResponse::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.club_id) +} + +// optional uint64 stream_id = 2; +inline bool CreateStreamResponse::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamResponse::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamResponse::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamResponse::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 CreateStreamResponse::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamResponse.stream_id) + return stream_id_; +} +inline void CreateStreamResponse::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.stream_id) +} + +// ------------------------------------------------------------------- + +// DestroyStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.club_id) + return club_id_; +} +inline void DestroyStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool DestroyStreamRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyStreamRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyStreamRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyStreamRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 DestroyStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.stream_id) + return stream_id_; +} +inline void DestroyStreamRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// GetStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.club_id) + return club_id_; +} +inline void GetStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.stream_id) + return stream_id_; +} +inline void GetStreamRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// GetStreamResponse + +// optional .bgs.protocol.club.v1.client.Stream stream = 1; +inline bool GetStreamResponse::has_stream() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamResponse::set_has_stream() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamResponse::clear_has_stream() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamResponse::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::Stream::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::Stream& GetStreamResponse::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamResponse.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamResponse::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::Stream; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamResponse.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamResponse::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::Stream* temp = stream_; + stream_ = NULL; + return temp; +} +inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamResponse.stream) +} + +// ------------------------------------------------------------------- + +// GetStreamsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.club_id) + return club_id_; +} +inline void GetStreamsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetStreamsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.continuation) + return continuation_; +} +inline void GetStreamsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamsResponse + +// repeated .bgs.protocol.club.v1.client.Stream stream = 1; +inline int GetStreamsResponse::stream_size() const { + return stream_.size(); +} +inline void GetStreamsResponse::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Stream& GetStreamsResponse::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamsResponse::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamsResponse::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >& +GetStreamsResponse::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* +GetStreamsResponse::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return &stream_; +} + +// repeated .bgs.protocol.club.v1.client.StreamView view = 2; +inline int GetStreamsResponse::view_size() const { + return view_.size(); +} +inline void GetStreamsResponse::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamView& GetStreamsResponse::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamView* GetStreamsResponse::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamView* GetStreamsResponse::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >& +GetStreamsResponse::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* +GetStreamsResponse::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return &view_; +} + +// optional uint64 continuation = 3; +inline bool GetStreamsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.continuation) + return continuation_; +} +inline void GetStreamsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// UpdateStreamStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateStreamStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateStreamStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateStreamStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateStreamStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateStreamStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateStreamStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateStreamStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateStreamStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateStreamStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateStreamStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateStreamStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.club_id) + return club_id_; +} +inline void UpdateStreamStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool UpdateStreamStateRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateStreamStateRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateStreamStateRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateStreamStateRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 UpdateStreamStateRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.stream_id) + return stream_id_; +} +inline void UpdateStreamStateRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamStateOptions options = 5; +inline bool UpdateStreamStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void UpdateStreamStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void UpdateStreamStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void UpdateStreamStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::StreamStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::StreamStateOptions& UpdateStreamStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::StreamStateOptions* UpdateStreamStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::StreamStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::StreamStateOptions* UpdateStreamStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::StreamStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::StreamStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) +} + +// ------------------------------------------------------------------- + +// SetStreamFocusRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetStreamFocusRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetStreamFocusRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetStreamFocusRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetStreamFocusRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetStreamFocusRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetStreamFocusRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetStreamFocusRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetStreamFocusRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetStreamFocusRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetStreamFocusRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetStreamFocusRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.club_id) + return club_id_; +} +inline void SetStreamFocusRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetStreamFocusRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetStreamFocusRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetStreamFocusRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetStreamFocusRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetStreamFocusRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.stream_id) + return stream_id_; +} +inline void SetStreamFocusRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.stream_id) +} + +// optional bool focus = 4; +inline bool SetStreamFocusRequest::has_focus() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SetStreamFocusRequest::set_has_focus() { + _has_bits_[0] |= 0x00000008u; +} +inline void SetStreamFocusRequest::clear_has_focus() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SetStreamFocusRequest::clear_focus() { + focus_ = false; + clear_has_focus(); +} +inline bool SetStreamFocusRequest::focus() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.focus) + return focus_; +} +inline void SetStreamFocusRequest::set_focus(bool value) { + set_has_focus(); + focus_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.focus) +} + +// ------------------------------------------------------------------- + +// CreateMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.club_id) + return club_id_; +} +inline void CreateMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool CreateMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 CreateMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.stream_id) + return stream_id_; +} +inline void CreateMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 4; +inline bool CreateMessageRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateMessageRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateMessageRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateMessageRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMessageOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& CreateMessageRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* CreateMessageRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMessageOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* CreateMessageRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool CreateMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& CreateMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* CreateMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* CreateMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// DestroyMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.club_id) + return club_id_; +} +inline void DestroyMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool DestroyMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 DestroyMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.stream_id) + return stream_id_; +} +inline void DestroyMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool DestroyMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void DestroyMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void DestroyMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void DestroyMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& DestroyMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* DestroyMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* DestroyMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void DestroyMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) +} + +// ------------------------------------------------------------------- + +// DestroyMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool DestroyMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& DestroyMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* DestroyMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* DestroyMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// EditMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool EditMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EditMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void EditMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EditMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& EditMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool EditMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EditMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void EditMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EditMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 EditMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.club_id) + return club_id_; +} +inline void EditMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool EditMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EditMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void EditMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EditMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 EditMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.stream_id) + return stream_id_; +} +inline void EditMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool EditMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void EditMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void EditMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void EditMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& EditMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* EditMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* EditMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.message_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 5; +inline bool EditMessageRequest::has_options() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void EditMessageRequest::set_has_options() { + _has_bits_[0] |= 0x00000010u; +} +inline void EditMessageRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000010u; +} +inline void EditMessageRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMessageOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& EditMessageRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* EditMessageRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMessageOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* EditMessageRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.options) +} + +// ------------------------------------------------------------------- + +// EditMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool EditMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EditMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void EditMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EditMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& EditMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* EditMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* EditMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// SetMessagePinnedRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetMessagePinnedRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetMessagePinnedRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetMessagePinnedRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetMessagePinnedRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetMessagePinnedRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetMessagePinnedRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetMessagePinnedRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetMessagePinnedRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetMessagePinnedRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetMessagePinnedRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetMessagePinnedRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.club_id) + return club_id_; +} +inline void SetMessagePinnedRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetMessagePinnedRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetMessagePinnedRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetMessagePinnedRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetMessagePinnedRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetMessagePinnedRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.stream_id) + return stream_id_; +} +inline void SetMessagePinnedRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// SetTypingIndicatorRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetTypingIndicatorRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetTypingIndicatorRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetTypingIndicatorRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetTypingIndicatorRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.club_id) + return club_id_; +} +inline void SetTypingIndicatorRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetTypingIndicatorRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetTypingIndicatorRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetTypingIndicatorRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.stream_id) + return stream_id_; +} +inline void SetTypingIndicatorRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.stream_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 4; +inline bool SetTypingIndicatorRequest::has_indicator() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_indicator() { + _has_bits_[0] |= 0x00000008u; +} +inline void SetTypingIndicatorRequest::clear_has_indicator() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SetTypingIndicatorRequest::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void SetTypingIndicatorRequest::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceStreamViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceStreamViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceStreamViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceStreamViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceStreamViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceStreamViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.club_id) +} + +// optional uint64 stream_id_deprecated = 3 [deprecated = true]; +inline bool AdvanceStreamViewTimeRequest::has_stream_id_deprecated() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_stream_id_deprecated() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_stream_id_deprecated() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceStreamViewTimeRequest::clear_stream_id_deprecated() { + stream_id_deprecated_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id_deprecated(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id_deprecated) + return stream_id_deprecated_; +} +inline void AdvanceStreamViewTimeRequest::set_stream_id_deprecated(::google::protobuf::uint64 value) { + set_has_stream_id_deprecated(); + stream_id_deprecated_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id_deprecated) +} + +// repeated uint64 stream_id = 4 [packed = true]; +inline int AdvanceStreamViewTimeRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void AdvanceStreamViewTimeRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return stream_id_.Get(index); +} +inline void AdvanceStreamViewTimeRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) +} +inline void AdvanceStreamViewTimeRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +AdvanceStreamViewTimeRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +AdvanceStreamViewTimeRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// AdvanceStreamMentionViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamMentionViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceStreamMentionViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceStreamMentionViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool AdvanceStreamMentionViewTimeRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.stream_id) + return stream_id_; +} +inline void AdvanceStreamMentionViewTimeRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// AdvanceActivityViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceActivityViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceActivityViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceActivityViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceActivityViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceActivityViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceActivityViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceActivityViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceActivityViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceActivityViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceActivityViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceActivityViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceActivityViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetStreamHistoryRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamHistoryRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamHistoryRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamHistoryRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamHistoryRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamHistoryRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamHistoryRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamHistoryRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamHistoryRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamHistoryRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamHistoryRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamHistoryRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.club_id) + return club_id_; +} +inline void GetStreamHistoryRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamHistoryRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamHistoryRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamHistoryRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamHistoryRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamHistoryRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.stream_id) + return stream_id_; +} +inline void GetStreamHistoryRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.stream_id) +} + +// optional .bgs.protocol.GetEventOptions options = 4; +inline bool GetStreamHistoryRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamHistoryRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamHistoryRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamHistoryRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetStreamHistoryRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStreamHistoryRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStreamHistoryResponse + +// repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline int GetStreamHistoryResponse::message_size() const { + return message_.size(); +} +inline void GetStreamHistoryResponse::clear_message() { + message_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& GetStreamHistoryResponse::message(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamHistoryResponse::mutable_message(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamHistoryResponse::add_message() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& +GetStreamHistoryResponse::message() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* +GetStreamHistoryResponse::mutable_message() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return &message_; +} + +// optional uint64 continuation = 2; +inline bool GetStreamHistoryResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamHistoryResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamHistoryResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamHistoryResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamHistoryResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryResponse.continuation) + return continuation_; +} +inline void GetStreamHistoryResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryResponse.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.club_id) + return club_id_; +} +inline void GetStreamMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.stream_id) + return stream_id_; +} +inline void GetStreamMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool GetStreamMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& GetStreamMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* GetStreamMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* GetStreamMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void GetStreamMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) +} + +// ------------------------------------------------------------------- + +// GetStreamMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool GetStreamMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& GetStreamMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// GetClubActivityRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetClubActivityRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubActivityRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubActivityRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubActivityRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetClubActivityRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetClubActivityRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetClubActivityRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubActivityRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubActivityRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubActivityRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetClubActivityRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.club_id) + return club_id_; +} +inline void GetClubActivityRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityRequest.club_id) +} + +// optional .bgs.protocol.GetEventOptions options = 3; +inline bool GetClubActivityRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetClubActivityRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetClubActivityRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetClubActivityRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetClubActivityRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubActivityRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetClubActivityRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.options) +} + +// ------------------------------------------------------------------- + +// GetClubActivityResponse + +// optional uint64 continuation = 2; +inline bool GetClubActivityResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubActivityResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubActivityResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubActivityResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetClubActivityResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityResponse.continuation) + return continuation_; +} +inline void GetClubActivityResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityResponse.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamVoiceTokenRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamVoiceTokenRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamVoiceTokenRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamVoiceTokenRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamVoiceTokenRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamVoiceTokenRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamVoiceTokenRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamVoiceTokenRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamVoiceTokenRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.club_id) + return club_id_; +} +inline void GetStreamVoiceTokenRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamVoiceTokenRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamVoiceTokenRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamVoiceTokenRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.stream_id) + return stream_id_; +} +inline void GetStreamVoiceTokenRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.stream_id) +} + +// optional uint32 version = 4 [deprecated = true]; +inline bool GetStreamVoiceTokenRequest::has_version() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_version() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamVoiceTokenRequest::clear_has_version() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamVoiceTokenRequest::clear_version() { + version_ = 0u; + clear_has_version(); +} +inline ::google::protobuf::uint32 GetStreamVoiceTokenRequest::version() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.version) + return version_; +} +inline void GetStreamVoiceTokenRequest::set_version(::google::protobuf::uint32 value) { + set_has_version(); + version_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.version) +} + +// ------------------------------------------------------------------- + +// GetStreamVoiceTokenResponse + +// optional string channel_uri = 1; +inline bool GetStreamVoiceTokenResponse::has_channel_uri() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamVoiceTokenResponse::set_has_channel_uri() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamVoiceTokenResponse::clear_has_channel_uri() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamVoiceTokenResponse::clear_channel_uri() { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_->clear(); + } + clear_has_channel_uri(); +} +inline const ::std::string& GetStreamVoiceTokenResponse::channel_uri() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) + return *channel_uri_; +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const ::std::string& value) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value, size_t size) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline ::std::string* GetStreamVoiceTokenResponse::mutable_channel_uri() { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) + return channel_uri_; +} +inline ::std::string* GetStreamVoiceTokenResponse::release_channel_uri() { + clear_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = channel_uri_; + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void GetStreamVoiceTokenResponse::set_allocated_channel_uri(::std::string* channel_uri) { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_uri_; + } + if (channel_uri) { + set_has_channel_uri(); + channel_uri_ = channel_uri; + } else { + clear_has_channel_uri(); + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} + +// optional .bgs.protocol.voice.v1.VoiceCredentials credentials = 2; +inline bool GetStreamVoiceTokenResponse::has_credentials() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamVoiceTokenResponse::set_has_credentials() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamVoiceTokenResponse::clear_has_credentials() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamVoiceTokenResponse::clear_credentials() { + if (credentials_ != NULL) credentials_->::bgs::protocol::voice::v1::VoiceCredentials::Clear(); + clear_has_credentials(); +} +inline const ::bgs::protocol::voice::v1::VoiceCredentials& GetStreamVoiceTokenResponse::credentials() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) + return credentials_ != NULL ? *credentials_ : *default_instance_->credentials_; +} +inline ::bgs::protocol::voice::v1::VoiceCredentials* GetStreamVoiceTokenResponse::mutable_credentials() { + set_has_credentials(); + if (credentials_ == NULL) credentials_ = new ::bgs::protocol::voice::v1::VoiceCredentials; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) + return credentials_; +} +inline ::bgs::protocol::voice::v1::VoiceCredentials* GetStreamVoiceTokenResponse::release_credentials() { + clear_has_credentials(); + ::bgs::protocol::voice::v1::VoiceCredentials* temp = credentials_; + credentials_ = NULL; + return temp; +} +inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protocol::voice::v1::VoiceCredentials* credentials) { + delete credentials_; + credentials_ = credentials; + if (credentials) { + set_has_credentials(); + } else { + clear_has_credentials(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) +} + +// ------------------------------------------------------------------- + +// KickFromStreamVoiceRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool KickFromStreamVoiceRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void KickFromStreamVoiceRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void KickFromStreamVoiceRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void KickFromStreamVoiceRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool KickFromStreamVoiceRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void KickFromStreamVoiceRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void KickFromStreamVoiceRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.club_id) + return club_id_; +} +inline void KickFromStreamVoiceRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool KickFromStreamVoiceRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void KickFromStreamVoiceRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void KickFromStreamVoiceRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.stream_id) + return stream_id_; +} +inline void KickFromStreamVoiceRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 4; +inline bool KickFromStreamVoiceRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void KickFromStreamVoiceRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void KickFromStreamVoiceRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void KickFromStreamVoiceRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_role.pb.cc b/src/server/proto/Client/api/client/v1/club_role.pb.cc new file mode 100644 index 00000000000..c67ddf600ae --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_role.pb.cc @@ -0,0 +1,589 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_role.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_role.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubPrivilegeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubPrivilegeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRole_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRole_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRoleSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRoleSet_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_role.proto"); + GOOGLE_CHECK(file != NULL); + ClubPrivilegeSet_descriptor_ = file->message_type(0); + static const int ClubPrivilegeSet_offsets_[49] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_kick_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_voice_state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_use_voice_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_voice_mute_member_for_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_guest_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_own_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_other_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_suggest_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_approve_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_remove_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_voice_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_own_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_other_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_edit_own_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_pin_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_here_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_role_), + }; + ClubPrivilegeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubPrivilegeSet_descriptor_, + ClubPrivilegeSet::default_instance_, + ClubPrivilegeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubPrivilegeSet)); + ClubRole_descriptor_ = file->message_type(1); + static const int ClubRole_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, privilege_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, always_grant_stream_access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, allow_in_club_slot_), + }; + ClubRole_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRole_descriptor_, + ClubRole::default_instance_, + ClubRole_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRole)); + ClubRoleSet_descriptor_ = file->message_type(2); + static const int ClubRoleSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, default_role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, assignment_respects_relegation_chain_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, subtype_), + }; + ClubRoleSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRoleSet_descriptor_, + ClubRoleSet::default_instance_, + ClubRoleSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRoleSet)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubPrivilegeSet_descriptor_, &ClubPrivilegeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRole_descriptor_, &ClubRole::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRoleSet_descriptor_, &ClubRoleSet::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto() { + delete ClubPrivilegeSet::default_instance_; + delete ClubPrivilegeSet_reflection_; + delete ClubRole::default_instance_; + delete ClubRole_reflection_; + delete ClubRoleSet::default_instance_; + delete ClubRoleSet_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_role_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_role.proto\022\033bgs.pro" + "tocol.club.v1.client\032\020role_types.proto\"\307" + "\013\n\020ClubPrivilegeSet\022\023\n\013can_destroy\030\001 \001(\010" + "\022\031\n\021can_set_attribute\030\n \001(\010\022\024\n\014can_set_n" + "ame\030\013 \001(\010\022\033\n\023can_set_description\030\014 \001(\010\022\026" + "\n\016can_set_avatar\030\r \001(\010\022\031\n\021can_set_broadc" + "ast\030\016 \001(\010\022\035\n\025can_set_privacy_level\030\017 \001(\010" + "\022\026\n\016can_add_member\030\035 \001(\010\022\027\n\017can_kick_mem" + "ber\030\036 \001(\010\022$\n\034can_set_own_member_attribut" + "e\030\037 \001(\010\022&\n\036can_set_other_member_attribut" + "e\030 \001(\010\022\037\n\027can_set_own_voice_state\030! \001(\010" + "\022\"\n\032can_set_own_presence_level\030\" \001(\010\022!\n\031" + "can_set_own_whisper_level\030# \001(\010\022\037\n\027can_s" + "et_own_member_note\030$ \001(\010\022!\n\031can_set_othe" + "r_member_note\030% \001(\010\022\025\n\rcan_use_voice\0302 \001" + "(\010\022%\n\035can_voice_mute_member_for_all\0303 \001(" + "\010\022\032\n\022can_get_invitation\030F \001(\010\022\033\n\023can_sen" + "d_invitation\030G \001(\010\022!\n\031can_send_guest_inv" + "itation\030H \001(\010\022!\n\031can_revoke_own_invitati" + "on\030I \001(\010\022#\n\033can_revoke_other_invitation\030" + "J \001(\010\022\032\n\022can_get_suggestion\030Z \001(\010\022\032\n\022can" + "_suggest_member\030[ \001(\010\022\032\n\022can_approve_mem" + "ber\030\\ \001(\010\022\026\n\016can_get_ticket\030n \001(\010\022\031\n\021can" + "_create_ticket\030o \001(\010\022\032\n\022can_destroy_tick" + "et\030p \001(\010\022\024\n\013can_get_ban\030\202\001 \001(\010\022\024\n\013can_ad" + "d_ban\030\203\001 \001(\010\022\027\n\016can_remove_ban\030\204\001 \001(\010\022\032\n" + "\021can_create_stream\030\214\001 \001(\010\022\033\n\022can_destroy" + "_stream\030\215\001 \001(\010\022 \n\027can_set_stream_positio" + "n\030\216\001 \001(\010\022!\n\030can_set_stream_attribute\030\217\001 " + "\001(\010\022\034\n\023can_set_stream_name\030\220\001 \001(\010\022\037\n\026can" + "_set_stream_subject\030\221\001 \001(\010\022\036\n\025can_set_st" + "ream_access\030\222\001 \001(\010\022#\n\032can_set_stream_voi" + "ce_level\030\223\001 \001(\010\022\033\n\022can_create_message\030\264\001" + " \001(\010\022 \n\027can_destroy_own_message\030\265\001 \001(\010\022\"" + "\n\031can_destroy_other_message\030\266\001 \001(\010\022\035\n\024ca" + "n_edit_own_message\030\267\001 \001(\010\022\030\n\017can_pin_mes" + "sage\030\270\001 \001(\010\022\030\n\017can_mention_all\030\271\001 \001(\010\022\031\n" + "\020can_mention_here\030\272\001 \001(\010\022\033\n\022can_mention_" + "member\030\273\001 \001(\010\022\031\n\020can_mention_role\030\274\001 \001(\010" + "\"\300\001\n\010ClubRole\022\n\n\002id\030\001 \001(\r\022&\n\005state\030\002 \001(\013" + "2\027.bgs.protocol.RoleState\022@\n\tprivilege\030\003" + " \001(\0132-.bgs.protocol.club.v1.client.ClubP" + "rivilegeSet\022\"\n\032always_grant_stream_acces" + "s\030\004 \001(\010\022\032\n\022allow_in_club_slot\030\005 \001(\010\"\233\001\n\013" + "ClubRoleSet\0223\n\004role\030\001 \003(\0132%.bgs.protocol" + ".club.v1.client.ClubRole\022\030\n\014default_role" + "\030\005 \003(\rB\002\020\001\022,\n$assignment_respects_relega" + "tion_chain\030\006 \001(\010\022\017\n\007subtype\030\007 \001(\tB\002H\002", 1917); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_role.proto", &protobuf_RegisterTypes); + ClubPrivilegeSet::default_instance_ = new ClubPrivilegeSet(); + ClubRole::default_instance_ = new ClubRole(); + ClubRoleSet::default_instance_ = new ClubRoleSet(); + ClubPrivilegeSet::default_instance_->InitAsDefaultInstance(); + ClubRole::default_instance_->InitAsDefaultInstance(); + ClubRoleSet::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frole_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frole_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frole_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubPrivilegeSet::kCanDestroyFieldNumber; +const int ClubPrivilegeSet::kCanSetAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetNameFieldNumber; +const int ClubPrivilegeSet::kCanSetDescriptionFieldNumber; +const int ClubPrivilegeSet::kCanSetAvatarFieldNumber; +const int ClubPrivilegeSet::kCanSetBroadcastFieldNumber; +const int ClubPrivilegeSet::kCanSetPrivacyLevelFieldNumber; +const int ClubPrivilegeSet::kCanAddMemberFieldNumber; +const int ClubPrivilegeSet::kCanKickMemberFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnMemberAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetOtherMemberAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnVoiceStateFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnPresenceLevelFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnWhisperLevelFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnMemberNoteFieldNumber; +const int ClubPrivilegeSet::kCanSetOtherMemberNoteFieldNumber; +const int ClubPrivilegeSet::kCanUseVoiceFieldNumber; +const int ClubPrivilegeSet::kCanVoiceMuteMemberForAllFieldNumber; +const int ClubPrivilegeSet::kCanGetInvitationFieldNumber; +const int ClubPrivilegeSet::kCanSendInvitationFieldNumber; +const int ClubPrivilegeSet::kCanSendGuestInvitationFieldNumber; +const int ClubPrivilegeSet::kCanRevokeOwnInvitationFieldNumber; +const int ClubPrivilegeSet::kCanRevokeOtherInvitationFieldNumber; +const int ClubPrivilegeSet::kCanGetSuggestionFieldNumber; +const int ClubPrivilegeSet::kCanSuggestMemberFieldNumber; +const int ClubPrivilegeSet::kCanApproveMemberFieldNumber; +const int ClubPrivilegeSet::kCanGetTicketFieldNumber; +const int ClubPrivilegeSet::kCanCreateTicketFieldNumber; +const int ClubPrivilegeSet::kCanDestroyTicketFieldNumber; +const int ClubPrivilegeSet::kCanGetBanFieldNumber; +const int ClubPrivilegeSet::kCanAddBanFieldNumber; +const int ClubPrivilegeSet::kCanRemoveBanFieldNumber; +const int ClubPrivilegeSet::kCanCreateStreamFieldNumber; +const int ClubPrivilegeSet::kCanDestroyStreamFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamPositionFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamNameFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamSubjectFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamAccessFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamVoiceLevelFieldNumber; +const int ClubPrivilegeSet::kCanCreateMessageFieldNumber; +const int ClubPrivilegeSet::kCanDestroyOwnMessageFieldNumber; +const int ClubPrivilegeSet::kCanDestroyOtherMessageFieldNumber; +const int ClubPrivilegeSet::kCanEditOwnMessageFieldNumber; +const int ClubPrivilegeSet::kCanPinMessageFieldNumber; +const int ClubPrivilegeSet::kCanMentionAllFieldNumber; +const int ClubPrivilegeSet::kCanMentionHereFieldNumber; +const int ClubPrivilegeSet::kCanMentionMemberFieldNumber; +const int ClubPrivilegeSet::kCanMentionRoleFieldNumber; +#endif // !_MSC_VER + +ClubPrivilegeSet::ClubPrivilegeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) +} + +void ClubPrivilegeSet::InitAsDefaultInstance() { +} + +ClubPrivilegeSet::ClubPrivilegeSet(const ClubPrivilegeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) +} + +void ClubPrivilegeSet::SharedCtor() { + _cached_size_ = 0; + can_destroy_ = false; + can_set_attribute_ = false; + can_set_name_ = false; + can_set_description_ = false; + can_set_avatar_ = false; + can_set_broadcast_ = false; + can_set_privacy_level_ = false; + can_add_member_ = false; + can_kick_member_ = false; + can_set_own_member_attribute_ = false; + can_set_other_member_attribute_ = false; + can_set_own_voice_state_ = false; + can_set_own_presence_level_ = false; + can_set_own_whisper_level_ = false; + can_set_own_member_note_ = false; + can_set_other_member_note_ = false; + can_use_voice_ = false; + can_voice_mute_member_for_all_ = false; + can_get_invitation_ = false; + can_send_invitation_ = false; + can_send_guest_invitation_ = false; + can_revoke_own_invitation_ = false; + can_revoke_other_invitation_ = false; + can_get_suggestion_ = false; + can_suggest_member_ = false; + can_approve_member_ = false; + can_get_ticket_ = false; + can_create_ticket_ = false; + can_destroy_ticket_ = false; + can_get_ban_ = false; + can_add_ban_ = false; + can_remove_ban_ = false; + can_create_stream_ = false; + can_destroy_stream_ = false; + can_set_stream_position_ = false; + can_set_stream_attribute_ = false; + can_set_stream_name_ = false; + can_set_stream_subject_ = false; + can_set_stream_access_ = false; + can_set_stream_voice_level_ = false; + can_create_message_ = false; + can_destroy_own_message_ = false; + can_destroy_other_message_ = false; + can_edit_own_message_ = false; + can_pin_message_ = false; + can_mention_all_ = false; + can_mention_here_ = false; + can_mention_member_ = false; + can_mention_role_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubPrivilegeSet::~ClubPrivilegeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) + SharedDtor(); +} + +void ClubPrivilegeSet::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubPrivilegeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubPrivilegeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubPrivilegeSet_descriptor_; +} + +const ClubPrivilegeSet& ClubPrivilegeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubPrivilegeSet* ClubPrivilegeSet::default_instance_ = NULL; + +ClubPrivilegeSet* ClubPrivilegeSet::New() const { + return new ClubPrivilegeSet; +} + +void ClubPrivilegeSet::Swap(ClubPrivilegeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubPrivilegeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubPrivilegeSet_descriptor_; + metadata.reflection = ClubPrivilegeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRole::kIdFieldNumber; +const int ClubRole::kStateFieldNumber; +const int ClubRole::kPrivilegeFieldNumber; +const int ClubRole::kAlwaysGrantStreamAccessFieldNumber; +const int ClubRole::kAllowInClubSlotFieldNumber; +#endif // !_MSC_VER + +ClubRole::ClubRole() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubRole) +} + +void ClubRole::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::RoleState*>(&::bgs::protocol::RoleState::default_instance()); + privilege_ = const_cast< ::bgs::protocol::club::v1::client::ClubPrivilegeSet*>(&::bgs::protocol::club::v1::client::ClubPrivilegeSet::default_instance()); +} + +ClubRole::ClubRole(const ClubRole& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRole) +} + +void ClubRole::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + state_ = NULL; + privilege_ = NULL; + always_grant_stream_access_ = false; + allow_in_club_slot_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRole::~ClubRole() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRole) + SharedDtor(); +} + +void ClubRole::SharedDtor() { + if (this != default_instance_) { + delete state_; + delete privilege_; + } +} + +void ClubRole::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRole::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRole_descriptor_; +} + +const ClubRole& ClubRole::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubRole* ClubRole::default_instance_ = NULL; + +ClubRole* ClubRole::New() const { + return new ClubRole; +} + +void ClubRole::Swap(ClubRole* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRole::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRole_descriptor_; + metadata.reflection = ClubRole_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRoleSet::kRoleFieldNumber; +const int ClubRoleSet::kDefaultRoleFieldNumber; +const int ClubRoleSet::kAssignmentRespectsRelegationChainFieldNumber; +const int ClubRoleSet::kSubtypeFieldNumber; +#endif // !_MSC_VER + +ClubRoleSet::ClubRoleSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubRoleSet) +} + +void ClubRoleSet::InitAsDefaultInstance() { +} + +ClubRoleSet::ClubRoleSet(const ClubRoleSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRoleSet) +} + +void ClubRoleSet::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + assignment_respects_relegation_chain_ = false; + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRoleSet::~ClubRoleSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRoleSet) + SharedDtor(); +} + +void ClubRoleSet::SharedDtor() { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subtype_; + } + if (this != default_instance_) { + } +} + +void ClubRoleSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRoleSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRoleSet_descriptor_; +} + +const ClubRoleSet& ClubRoleSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubRoleSet* ClubRoleSet::default_instance_ = NULL; + +ClubRoleSet* ClubRoleSet::New() const { + return new ClubRoleSet; +} + +void ClubRoleSet::Swap(ClubRoleSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRoleSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRoleSet_descriptor_; + metadata.reflection = ClubRoleSet_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_role.pb.h b/src/server/proto/Client/api/client/v1/club_role.pb.h new file mode 100644 index 00000000000..5c088960d46 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_role.pb.h @@ -0,0 +1,2332 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_role.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "role_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + +class ClubPrivilegeSet; +class ClubRole; +class ClubRoleSet; + +// =================================================================== + +class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message { + public: + ClubPrivilegeSet(); + virtual ~ClubPrivilegeSet(); + + ClubPrivilegeSet(const ClubPrivilegeSet& from); + + inline ClubPrivilegeSet& operator=(const ClubPrivilegeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubPrivilegeSet& default_instance(); + + void Swap(ClubPrivilegeSet* other); + + // implements Message ---------------------------------------------- + + ClubPrivilegeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool can_destroy = 1; + inline bool has_can_destroy() const; + inline void clear_can_destroy(); + static const int kCanDestroyFieldNumber = 1; + inline bool can_destroy() const; + inline void set_can_destroy(bool value); + + // optional bool can_set_attribute = 10; + inline bool has_can_set_attribute() const; + inline void clear_can_set_attribute(); + static const int kCanSetAttributeFieldNumber = 10; + inline bool can_set_attribute() const; + inline void set_can_set_attribute(bool value); + + // optional bool can_set_name = 11; + inline bool has_can_set_name() const; + inline void clear_can_set_name(); + static const int kCanSetNameFieldNumber = 11; + inline bool can_set_name() const; + inline void set_can_set_name(bool value); + + // optional bool can_set_description = 12; + inline bool has_can_set_description() const; + inline void clear_can_set_description(); + static const int kCanSetDescriptionFieldNumber = 12; + inline bool can_set_description() const; + inline void set_can_set_description(bool value); + + // optional bool can_set_avatar = 13; + inline bool has_can_set_avatar() const; + inline void clear_can_set_avatar(); + static const int kCanSetAvatarFieldNumber = 13; + inline bool can_set_avatar() const; + inline void set_can_set_avatar(bool value); + + // optional bool can_set_broadcast = 14; + inline bool has_can_set_broadcast() const; + inline void clear_can_set_broadcast(); + static const int kCanSetBroadcastFieldNumber = 14; + inline bool can_set_broadcast() const; + inline void set_can_set_broadcast(bool value); + + // optional bool can_set_privacy_level = 15; + inline bool has_can_set_privacy_level() const; + inline void clear_can_set_privacy_level(); + static const int kCanSetPrivacyLevelFieldNumber = 15; + inline bool can_set_privacy_level() const; + inline void set_can_set_privacy_level(bool value); + + // optional bool can_add_member = 29; + inline bool has_can_add_member() const; + inline void clear_can_add_member(); + static const int kCanAddMemberFieldNumber = 29; + inline bool can_add_member() const; + inline void set_can_add_member(bool value); + + // optional bool can_kick_member = 30; + inline bool has_can_kick_member() const; + inline void clear_can_kick_member(); + static const int kCanKickMemberFieldNumber = 30; + inline bool can_kick_member() const; + inline void set_can_kick_member(bool value); + + // optional bool can_set_own_member_attribute = 31; + inline bool has_can_set_own_member_attribute() const; + inline void clear_can_set_own_member_attribute(); + static const int kCanSetOwnMemberAttributeFieldNumber = 31; + inline bool can_set_own_member_attribute() const; + inline void set_can_set_own_member_attribute(bool value); + + // optional bool can_set_other_member_attribute = 32; + inline bool has_can_set_other_member_attribute() const; + inline void clear_can_set_other_member_attribute(); + static const int kCanSetOtherMemberAttributeFieldNumber = 32; + inline bool can_set_other_member_attribute() const; + inline void set_can_set_other_member_attribute(bool value); + + // optional bool can_set_own_voice_state = 33; + inline bool has_can_set_own_voice_state() const; + inline void clear_can_set_own_voice_state(); + static const int kCanSetOwnVoiceStateFieldNumber = 33; + inline bool can_set_own_voice_state() const; + inline void set_can_set_own_voice_state(bool value); + + // optional bool can_set_own_presence_level = 34; + inline bool has_can_set_own_presence_level() const; + inline void clear_can_set_own_presence_level(); + static const int kCanSetOwnPresenceLevelFieldNumber = 34; + inline bool can_set_own_presence_level() const; + inline void set_can_set_own_presence_level(bool value); + + // optional bool can_set_own_whisper_level = 35; + inline bool has_can_set_own_whisper_level() const; + inline void clear_can_set_own_whisper_level(); + static const int kCanSetOwnWhisperLevelFieldNumber = 35; + inline bool can_set_own_whisper_level() const; + inline void set_can_set_own_whisper_level(bool value); + + // optional bool can_set_own_member_note = 36; + inline bool has_can_set_own_member_note() const; + inline void clear_can_set_own_member_note(); + static const int kCanSetOwnMemberNoteFieldNumber = 36; + inline bool can_set_own_member_note() const; + inline void set_can_set_own_member_note(bool value); + + // optional bool can_set_other_member_note = 37; + inline bool has_can_set_other_member_note() const; + inline void clear_can_set_other_member_note(); + static const int kCanSetOtherMemberNoteFieldNumber = 37; + inline bool can_set_other_member_note() const; + inline void set_can_set_other_member_note(bool value); + + // optional bool can_use_voice = 50; + inline bool has_can_use_voice() const; + inline void clear_can_use_voice(); + static const int kCanUseVoiceFieldNumber = 50; + inline bool can_use_voice() const; + inline void set_can_use_voice(bool value); + + // optional bool can_voice_mute_member_for_all = 51; + inline bool has_can_voice_mute_member_for_all() const; + inline void clear_can_voice_mute_member_for_all(); + static const int kCanVoiceMuteMemberForAllFieldNumber = 51; + inline bool can_voice_mute_member_for_all() const; + inline void set_can_voice_mute_member_for_all(bool value); + + // optional bool can_get_invitation = 70; + inline bool has_can_get_invitation() const; + inline void clear_can_get_invitation(); + static const int kCanGetInvitationFieldNumber = 70; + inline bool can_get_invitation() const; + inline void set_can_get_invitation(bool value); + + // optional bool can_send_invitation = 71; + inline bool has_can_send_invitation() const; + inline void clear_can_send_invitation(); + static const int kCanSendInvitationFieldNumber = 71; + inline bool can_send_invitation() const; + inline void set_can_send_invitation(bool value); + + // optional bool can_send_guest_invitation = 72; + inline bool has_can_send_guest_invitation() const; + inline void clear_can_send_guest_invitation(); + static const int kCanSendGuestInvitationFieldNumber = 72; + inline bool can_send_guest_invitation() const; + inline void set_can_send_guest_invitation(bool value); + + // optional bool can_revoke_own_invitation = 73; + inline bool has_can_revoke_own_invitation() const; + inline void clear_can_revoke_own_invitation(); + static const int kCanRevokeOwnInvitationFieldNumber = 73; + inline bool can_revoke_own_invitation() const; + inline void set_can_revoke_own_invitation(bool value); + + // optional bool can_revoke_other_invitation = 74; + inline bool has_can_revoke_other_invitation() const; + inline void clear_can_revoke_other_invitation(); + static const int kCanRevokeOtherInvitationFieldNumber = 74; + inline bool can_revoke_other_invitation() const; + inline void set_can_revoke_other_invitation(bool value); + + // optional bool can_get_suggestion = 90; + inline bool has_can_get_suggestion() const; + inline void clear_can_get_suggestion(); + static const int kCanGetSuggestionFieldNumber = 90; + inline bool can_get_suggestion() const; + inline void set_can_get_suggestion(bool value); + + // optional bool can_suggest_member = 91; + inline bool has_can_suggest_member() const; + inline void clear_can_suggest_member(); + static const int kCanSuggestMemberFieldNumber = 91; + inline bool can_suggest_member() const; + inline void set_can_suggest_member(bool value); + + // optional bool can_approve_member = 92; + inline bool has_can_approve_member() const; + inline void clear_can_approve_member(); + static const int kCanApproveMemberFieldNumber = 92; + inline bool can_approve_member() const; + inline void set_can_approve_member(bool value); + + // optional bool can_get_ticket = 110; + inline bool has_can_get_ticket() const; + inline void clear_can_get_ticket(); + static const int kCanGetTicketFieldNumber = 110; + inline bool can_get_ticket() const; + inline void set_can_get_ticket(bool value); + + // optional bool can_create_ticket = 111; + inline bool has_can_create_ticket() const; + inline void clear_can_create_ticket(); + static const int kCanCreateTicketFieldNumber = 111; + inline bool can_create_ticket() const; + inline void set_can_create_ticket(bool value); + + // optional bool can_destroy_ticket = 112; + inline bool has_can_destroy_ticket() const; + inline void clear_can_destroy_ticket(); + static const int kCanDestroyTicketFieldNumber = 112; + inline bool can_destroy_ticket() const; + inline void set_can_destroy_ticket(bool value); + + // optional bool can_get_ban = 130; + inline bool has_can_get_ban() const; + inline void clear_can_get_ban(); + static const int kCanGetBanFieldNumber = 130; + inline bool can_get_ban() const; + inline void set_can_get_ban(bool value); + + // optional bool can_add_ban = 131; + inline bool has_can_add_ban() const; + inline void clear_can_add_ban(); + static const int kCanAddBanFieldNumber = 131; + inline bool can_add_ban() const; + inline void set_can_add_ban(bool value); + + // optional bool can_remove_ban = 132; + inline bool has_can_remove_ban() const; + inline void clear_can_remove_ban(); + static const int kCanRemoveBanFieldNumber = 132; + inline bool can_remove_ban() const; + inline void set_can_remove_ban(bool value); + + // optional bool can_create_stream = 140; + inline bool has_can_create_stream() const; + inline void clear_can_create_stream(); + static const int kCanCreateStreamFieldNumber = 140; + inline bool can_create_stream() const; + inline void set_can_create_stream(bool value); + + // optional bool can_destroy_stream = 141; + inline bool has_can_destroy_stream() const; + inline void clear_can_destroy_stream(); + static const int kCanDestroyStreamFieldNumber = 141; + inline bool can_destroy_stream() const; + inline void set_can_destroy_stream(bool value); + + // optional bool can_set_stream_position = 142; + inline bool has_can_set_stream_position() const; + inline void clear_can_set_stream_position(); + static const int kCanSetStreamPositionFieldNumber = 142; + inline bool can_set_stream_position() const; + inline void set_can_set_stream_position(bool value); + + // optional bool can_set_stream_attribute = 143; + inline bool has_can_set_stream_attribute() const; + inline void clear_can_set_stream_attribute(); + static const int kCanSetStreamAttributeFieldNumber = 143; + inline bool can_set_stream_attribute() const; + inline void set_can_set_stream_attribute(bool value); + + // optional bool can_set_stream_name = 144; + inline bool has_can_set_stream_name() const; + inline void clear_can_set_stream_name(); + static const int kCanSetStreamNameFieldNumber = 144; + inline bool can_set_stream_name() const; + inline void set_can_set_stream_name(bool value); + + // optional bool can_set_stream_subject = 145; + inline bool has_can_set_stream_subject() const; + inline void clear_can_set_stream_subject(); + static const int kCanSetStreamSubjectFieldNumber = 145; + inline bool can_set_stream_subject() const; + inline void set_can_set_stream_subject(bool value); + + // optional bool can_set_stream_access = 146; + inline bool has_can_set_stream_access() const; + inline void clear_can_set_stream_access(); + static const int kCanSetStreamAccessFieldNumber = 146; + inline bool can_set_stream_access() const; + inline void set_can_set_stream_access(bool value); + + // optional bool can_set_stream_voice_level = 147; + inline bool has_can_set_stream_voice_level() const; + inline void clear_can_set_stream_voice_level(); + static const int kCanSetStreamVoiceLevelFieldNumber = 147; + inline bool can_set_stream_voice_level() const; + inline void set_can_set_stream_voice_level(bool value); + + // optional bool can_create_message = 180; + inline bool has_can_create_message() const; + inline void clear_can_create_message(); + static const int kCanCreateMessageFieldNumber = 180; + inline bool can_create_message() const; + inline void set_can_create_message(bool value); + + // optional bool can_destroy_own_message = 181; + inline bool has_can_destroy_own_message() const; + inline void clear_can_destroy_own_message(); + static const int kCanDestroyOwnMessageFieldNumber = 181; + inline bool can_destroy_own_message() const; + inline void set_can_destroy_own_message(bool value); + + // optional bool can_destroy_other_message = 182; + inline bool has_can_destroy_other_message() const; + inline void clear_can_destroy_other_message(); + static const int kCanDestroyOtherMessageFieldNumber = 182; + inline bool can_destroy_other_message() const; + inline void set_can_destroy_other_message(bool value); + + // optional bool can_edit_own_message = 183; + inline bool has_can_edit_own_message() const; + inline void clear_can_edit_own_message(); + static const int kCanEditOwnMessageFieldNumber = 183; + inline bool can_edit_own_message() const; + inline void set_can_edit_own_message(bool value); + + // optional bool can_pin_message = 184; + inline bool has_can_pin_message() const; + inline void clear_can_pin_message(); + static const int kCanPinMessageFieldNumber = 184; + inline bool can_pin_message() const; + inline void set_can_pin_message(bool value); + + // optional bool can_mention_all = 185; + inline bool has_can_mention_all() const; + inline void clear_can_mention_all(); + static const int kCanMentionAllFieldNumber = 185; + inline bool can_mention_all() const; + inline void set_can_mention_all(bool value); + + // optional bool can_mention_here = 186; + inline bool has_can_mention_here() const; + inline void clear_can_mention_here(); + static const int kCanMentionHereFieldNumber = 186; + inline bool can_mention_here() const; + inline void set_can_mention_here(bool value); + + // optional bool can_mention_member = 187; + inline bool has_can_mention_member() const; + inline void clear_can_mention_member(); + static const int kCanMentionMemberFieldNumber = 187; + inline bool can_mention_member() const; + inline void set_can_mention_member(bool value); + + // optional bool can_mention_role = 188; + inline bool has_can_mention_role() const; + inline void clear_can_mention_role(); + static const int kCanMentionRoleFieldNumber = 188; + inline bool can_mention_role() const; + inline void set_can_mention_role(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubPrivilegeSet) + private: + inline void set_has_can_destroy(); + inline void clear_has_can_destroy(); + inline void set_has_can_set_attribute(); + inline void clear_has_can_set_attribute(); + inline void set_has_can_set_name(); + inline void clear_has_can_set_name(); + inline void set_has_can_set_description(); + inline void clear_has_can_set_description(); + inline void set_has_can_set_avatar(); + inline void clear_has_can_set_avatar(); + inline void set_has_can_set_broadcast(); + inline void clear_has_can_set_broadcast(); + inline void set_has_can_set_privacy_level(); + inline void clear_has_can_set_privacy_level(); + inline void set_has_can_add_member(); + inline void clear_has_can_add_member(); + inline void set_has_can_kick_member(); + inline void clear_has_can_kick_member(); + inline void set_has_can_set_own_member_attribute(); + inline void clear_has_can_set_own_member_attribute(); + inline void set_has_can_set_other_member_attribute(); + inline void clear_has_can_set_other_member_attribute(); + inline void set_has_can_set_own_voice_state(); + inline void clear_has_can_set_own_voice_state(); + inline void set_has_can_set_own_presence_level(); + inline void clear_has_can_set_own_presence_level(); + inline void set_has_can_set_own_whisper_level(); + inline void clear_has_can_set_own_whisper_level(); + inline void set_has_can_set_own_member_note(); + inline void clear_has_can_set_own_member_note(); + inline void set_has_can_set_other_member_note(); + inline void clear_has_can_set_other_member_note(); + inline void set_has_can_use_voice(); + inline void clear_has_can_use_voice(); + inline void set_has_can_voice_mute_member_for_all(); + inline void clear_has_can_voice_mute_member_for_all(); + inline void set_has_can_get_invitation(); + inline void clear_has_can_get_invitation(); + inline void set_has_can_send_invitation(); + inline void clear_has_can_send_invitation(); + inline void set_has_can_send_guest_invitation(); + inline void clear_has_can_send_guest_invitation(); + inline void set_has_can_revoke_own_invitation(); + inline void clear_has_can_revoke_own_invitation(); + inline void set_has_can_revoke_other_invitation(); + inline void clear_has_can_revoke_other_invitation(); + inline void set_has_can_get_suggestion(); + inline void clear_has_can_get_suggestion(); + inline void set_has_can_suggest_member(); + inline void clear_has_can_suggest_member(); + inline void set_has_can_approve_member(); + inline void clear_has_can_approve_member(); + inline void set_has_can_get_ticket(); + inline void clear_has_can_get_ticket(); + inline void set_has_can_create_ticket(); + inline void clear_has_can_create_ticket(); + inline void set_has_can_destroy_ticket(); + inline void clear_has_can_destroy_ticket(); + inline void set_has_can_get_ban(); + inline void clear_has_can_get_ban(); + inline void set_has_can_add_ban(); + inline void clear_has_can_add_ban(); + inline void set_has_can_remove_ban(); + inline void clear_has_can_remove_ban(); + inline void set_has_can_create_stream(); + inline void clear_has_can_create_stream(); + inline void set_has_can_destroy_stream(); + inline void clear_has_can_destroy_stream(); + inline void set_has_can_set_stream_position(); + inline void clear_has_can_set_stream_position(); + inline void set_has_can_set_stream_attribute(); + inline void clear_has_can_set_stream_attribute(); + inline void set_has_can_set_stream_name(); + inline void clear_has_can_set_stream_name(); + inline void set_has_can_set_stream_subject(); + inline void clear_has_can_set_stream_subject(); + inline void set_has_can_set_stream_access(); + inline void clear_has_can_set_stream_access(); + inline void set_has_can_set_stream_voice_level(); + inline void clear_has_can_set_stream_voice_level(); + inline void set_has_can_create_message(); + inline void clear_has_can_create_message(); + inline void set_has_can_destroy_own_message(); + inline void clear_has_can_destroy_own_message(); + inline void set_has_can_destroy_other_message(); + inline void clear_has_can_destroy_other_message(); + inline void set_has_can_edit_own_message(); + inline void clear_has_can_edit_own_message(); + inline void set_has_can_pin_message(); + inline void clear_has_can_pin_message(); + inline void set_has_can_mention_all(); + inline void clear_has_can_mention_all(); + inline void set_has_can_mention_here(); + inline void clear_has_can_mention_here(); + inline void set_has_can_mention_member(); + inline void clear_has_can_mention_member(); + inline void set_has_can_mention_role(); + inline void clear_has_can_mention_role(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[2]; + bool can_destroy_; + bool can_set_attribute_; + bool can_set_name_; + bool can_set_description_; + bool can_set_avatar_; + bool can_set_broadcast_; + bool can_set_privacy_level_; + bool can_add_member_; + bool can_kick_member_; + bool can_set_own_member_attribute_; + bool can_set_other_member_attribute_; + bool can_set_own_voice_state_; + bool can_set_own_presence_level_; + bool can_set_own_whisper_level_; + bool can_set_own_member_note_; + bool can_set_other_member_note_; + bool can_use_voice_; + bool can_voice_mute_member_for_all_; + bool can_get_invitation_; + bool can_send_invitation_; + bool can_send_guest_invitation_; + bool can_revoke_own_invitation_; + bool can_revoke_other_invitation_; + bool can_get_suggestion_; + bool can_suggest_member_; + bool can_approve_member_; + bool can_get_ticket_; + bool can_create_ticket_; + bool can_destroy_ticket_; + bool can_get_ban_; + bool can_add_ban_; + bool can_remove_ban_; + bool can_create_stream_; + bool can_destroy_stream_; + bool can_set_stream_position_; + bool can_set_stream_attribute_; + bool can_set_stream_name_; + bool can_set_stream_subject_; + bool can_set_stream_access_; + bool can_set_stream_voice_level_; + bool can_create_message_; + bool can_destroy_own_message_; + bool can_destroy_other_message_; + bool can_edit_own_message_; + bool can_pin_message_; + bool can_mention_all_; + bool can_mention_here_; + bool can_mention_member_; + bool can_mention_role_; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubPrivilegeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRole : public ::google::protobuf::Message { + public: + ClubRole(); + virtual ~ClubRole(); + + ClubRole(const ClubRole& from); + + inline ClubRole& operator=(const ClubRole& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRole& default_instance(); + + void Swap(ClubRole* other); + + // implements Message ---------------------------------------------- + + ClubRole* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // optional .bgs.protocol.RoleState state = 2; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 2; + inline const ::bgs::protocol::RoleState& state() const; + inline ::bgs::protocol::RoleState* mutable_state(); + inline ::bgs::protocol::RoleState* release_state(); + inline void set_allocated_state(::bgs::protocol::RoleState* state); + + // optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3; + inline bool has_privilege() const; + inline void clear_privilege(); + static const int kPrivilegeFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& privilege() const; + inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* mutable_privilege(); + inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* release_privilege(); + inline void set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege); + + // optional bool always_grant_stream_access = 4; + inline bool has_always_grant_stream_access() const; + inline void clear_always_grant_stream_access(); + static const int kAlwaysGrantStreamAccessFieldNumber = 4; + inline bool always_grant_stream_access() const; + inline void set_always_grant_stream_access(bool value); + + // optional bool allow_in_club_slot = 5; + inline bool has_allow_in_club_slot() const; + inline void clear_allow_in_club_slot(); + static const int kAllowInClubSlotFieldNumber = 5; + inline bool allow_in_club_slot() const; + inline void set_allow_in_club_slot(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRole) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_state(); + inline void clear_has_state(); + inline void set_has_privilege(); + inline void clear_has_privilege(); + inline void set_has_always_grant_stream_access(); + inline void clear_has_always_grant_stream_access(); + inline void set_has_allow_in_club_slot(); + inline void clear_has_allow_in_club_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::RoleState* state_; + ::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege_; + ::google::protobuf::uint32 id_; + bool always_grant_stream_access_; + bool allow_in_club_slot_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubRole* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { + public: + ClubRoleSet(); + virtual ~ClubRoleSet(); + + ClubRoleSet(const ClubRoleSet& from); + + inline ClubRoleSet& operator=(const ClubRoleSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRoleSet& default_instance(); + + void Swap(ClubRoleSet* other); + + // implements Message ---------------------------------------------- + + ClubRoleSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubRole role = 1; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubRole& role(int index) const; + inline ::bgs::protocol::club::v1::client::ClubRole* mutable_role(int index); + inline ::bgs::protocol::club::v1::client::ClubRole* add_role(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >& + role() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* + mutable_role(); + + // repeated uint32 default_role = 5 [packed = true]; + inline int default_role_size() const; + inline void clear_default_role(); + static const int kDefaultRoleFieldNumber = 5; + inline ::google::protobuf::uint32 default_role(int index) const; + inline void set_default_role(int index, ::google::protobuf::uint32 value); + inline void add_default_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + default_role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_default_role(); + + // optional bool assignment_respects_relegation_chain = 6; + inline bool has_assignment_respects_relegation_chain() const; + inline void clear_assignment_respects_relegation_chain(); + static const int kAssignmentRespectsRelegationChainFieldNumber = 6; + inline bool assignment_respects_relegation_chain() const; + inline void set_assignment_respects_relegation_chain(bool value); + + // optional string subtype = 7; + inline bool has_subtype() const; + inline void clear_subtype(); + static const int kSubtypeFieldNumber = 7; + inline const ::std::string& subtype() const; + inline void set_subtype(const ::std::string& value); + inline void set_subtype(const char* value); + inline void set_subtype(const char* value, size_t size); + inline ::std::string* mutable_subtype(); + inline ::std::string* release_subtype(); + inline void set_allocated_subtype(::std::string* subtype); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRoleSet) + private: + inline void set_has_assignment_respects_relegation_chain(); + inline void clear_has_assignment_respects_relegation_chain(); + inline void set_has_subtype(); + inline void clear_has_subtype(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > role_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_; + ::std::string* subtype_; + bool assignment_respects_relegation_chain_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubRoleSet* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubPrivilegeSet + +// optional bool can_destroy = 1; +inline bool ClubPrivilegeSet::has_can_destroy() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubPrivilegeSet::clear_can_destroy() { + can_destroy_ = false; + clear_has_can_destroy(); +} +inline bool ClubPrivilegeSet::can_destroy() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy) + return can_destroy_; +} +inline void ClubPrivilegeSet::set_can_destroy(bool value) { + set_has_can_destroy(); + can_destroy_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy) +} + +// optional bool can_set_attribute = 10; +inline bool ClubPrivilegeSet::has_can_set_attribute() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_attribute() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubPrivilegeSet::clear_has_can_set_attribute() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubPrivilegeSet::clear_can_set_attribute() { + can_set_attribute_ = false; + clear_has_can_set_attribute(); +} +inline bool ClubPrivilegeSet::can_set_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute) + return can_set_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_attribute(bool value) { + set_has_can_set_attribute(); + can_set_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute) +} + +// optional bool can_set_name = 11; +inline bool ClubPrivilegeSet::has_can_set_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubPrivilegeSet::clear_has_can_set_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubPrivilegeSet::clear_can_set_name() { + can_set_name_ = false; + clear_has_can_set_name(); +} +inline bool ClubPrivilegeSet::can_set_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name) + return can_set_name_; +} +inline void ClubPrivilegeSet::set_can_set_name(bool value) { + set_has_can_set_name(); + can_set_name_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name) +} + +// optional bool can_set_description = 12; +inline bool ClubPrivilegeSet::has_can_set_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubPrivilegeSet::clear_has_can_set_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubPrivilegeSet::clear_can_set_description() { + can_set_description_ = false; + clear_has_can_set_description(); +} +inline bool ClubPrivilegeSet::can_set_description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description) + return can_set_description_; +} +inline void ClubPrivilegeSet::set_can_set_description(bool value) { + set_has_can_set_description(); + can_set_description_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description) +} + +// optional bool can_set_avatar = 13; +inline bool ClubPrivilegeSet::has_can_set_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubPrivilegeSet::clear_has_can_set_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubPrivilegeSet::clear_can_set_avatar() { + can_set_avatar_ = false; + clear_has_can_set_avatar(); +} +inline bool ClubPrivilegeSet::can_set_avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar) + return can_set_avatar_; +} +inline void ClubPrivilegeSet::set_can_set_avatar(bool value) { + set_has_can_set_avatar(); + can_set_avatar_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar) +} + +// optional bool can_set_broadcast = 14; +inline bool ClubPrivilegeSet::has_can_set_broadcast() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_broadcast() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubPrivilegeSet::clear_has_can_set_broadcast() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubPrivilegeSet::clear_can_set_broadcast() { + can_set_broadcast_ = false; + clear_has_can_set_broadcast(); +} +inline bool ClubPrivilegeSet::can_set_broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast) + return can_set_broadcast_; +} +inline void ClubPrivilegeSet::set_can_set_broadcast(bool value) { + set_has_can_set_broadcast(); + can_set_broadcast_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast) +} + +// optional bool can_set_privacy_level = 15; +inline bool ClubPrivilegeSet::has_can_set_privacy_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_privacy_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubPrivilegeSet::clear_has_can_set_privacy_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubPrivilegeSet::clear_can_set_privacy_level() { + can_set_privacy_level_ = false; + clear_has_can_set_privacy_level(); +} +inline bool ClubPrivilegeSet::can_set_privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level) + return can_set_privacy_level_; +} +inline void ClubPrivilegeSet::set_can_set_privacy_level(bool value) { + set_has_can_set_privacy_level(); + can_set_privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level) +} + +// optional bool can_add_member = 29; +inline bool ClubPrivilegeSet::has_can_add_member() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_add_member() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubPrivilegeSet::clear_has_can_add_member() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubPrivilegeSet::clear_can_add_member() { + can_add_member_ = false; + clear_has_can_add_member(); +} +inline bool ClubPrivilegeSet::can_add_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member) + return can_add_member_; +} +inline void ClubPrivilegeSet::set_can_add_member(bool value) { + set_has_can_add_member(); + can_add_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member) +} + +// optional bool can_kick_member = 30; +inline bool ClubPrivilegeSet::has_can_kick_member() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_kick_member() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubPrivilegeSet::clear_has_can_kick_member() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubPrivilegeSet::clear_can_kick_member() { + can_kick_member_ = false; + clear_has_can_kick_member(); +} +inline bool ClubPrivilegeSet::can_kick_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member) + return can_kick_member_; +} +inline void ClubPrivilegeSet::set_can_kick_member(bool value) { + set_has_can_kick_member(); + can_kick_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member) +} + +// optional bool can_set_own_member_attribute = 31; +inline bool ClubPrivilegeSet::has_can_set_own_member_attribute() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_member_attribute() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_member_attribute() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubPrivilegeSet::clear_can_set_own_member_attribute() { + can_set_own_member_attribute_ = false; + clear_has_can_set_own_member_attribute(); +} +inline bool ClubPrivilegeSet::can_set_own_member_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute) + return can_set_own_member_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_own_member_attribute(bool value) { + set_has_can_set_own_member_attribute(); + can_set_own_member_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute) +} + +// optional bool can_set_other_member_attribute = 32; +inline bool ClubPrivilegeSet::has_can_set_other_member_attribute() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_other_member_attribute() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubPrivilegeSet::clear_has_can_set_other_member_attribute() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubPrivilegeSet::clear_can_set_other_member_attribute() { + can_set_other_member_attribute_ = false; + clear_has_can_set_other_member_attribute(); +} +inline bool ClubPrivilegeSet::can_set_other_member_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute) + return can_set_other_member_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_other_member_attribute(bool value) { + set_has_can_set_other_member_attribute(); + can_set_other_member_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute) +} + +// optional bool can_set_own_voice_state = 33; +inline bool ClubPrivilegeSet::has_can_set_own_voice_state() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_voice_state() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_voice_state() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubPrivilegeSet::clear_can_set_own_voice_state() { + can_set_own_voice_state_ = false; + clear_has_can_set_own_voice_state(); +} +inline bool ClubPrivilegeSet::can_set_own_voice_state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state) + return can_set_own_voice_state_; +} +inline void ClubPrivilegeSet::set_can_set_own_voice_state(bool value) { + set_has_can_set_own_voice_state(); + can_set_own_voice_state_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state) +} + +// optional bool can_set_own_presence_level = 34; +inline bool ClubPrivilegeSet::has_can_set_own_presence_level() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_presence_level() { + _has_bits_[0] |= 0x00001000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_presence_level() { + _has_bits_[0] &= ~0x00001000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_presence_level() { + can_set_own_presence_level_ = false; + clear_has_can_set_own_presence_level(); +} +inline bool ClubPrivilegeSet::can_set_own_presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level) + return can_set_own_presence_level_; +} +inline void ClubPrivilegeSet::set_can_set_own_presence_level(bool value) { + set_has_can_set_own_presence_level(); + can_set_own_presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level) +} + +// optional bool can_set_own_whisper_level = 35; +inline bool ClubPrivilegeSet::has_can_set_own_whisper_level() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_whisper_level() { + _has_bits_[0] |= 0x00002000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_whisper_level() { + _has_bits_[0] &= ~0x00002000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_whisper_level() { + can_set_own_whisper_level_ = false; + clear_has_can_set_own_whisper_level(); +} +inline bool ClubPrivilegeSet::can_set_own_whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level) + return can_set_own_whisper_level_; +} +inline void ClubPrivilegeSet::set_can_set_own_whisper_level(bool value) { + set_has_can_set_own_whisper_level(); + can_set_own_whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level) +} + +// optional bool can_set_own_member_note = 36; +inline bool ClubPrivilegeSet::has_can_set_own_member_note() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_member_note() { + _has_bits_[0] |= 0x00004000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_member_note() { + _has_bits_[0] &= ~0x00004000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_member_note() { + can_set_own_member_note_ = false; + clear_has_can_set_own_member_note(); +} +inline bool ClubPrivilegeSet::can_set_own_member_note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note) + return can_set_own_member_note_; +} +inline void ClubPrivilegeSet::set_can_set_own_member_note(bool value) { + set_has_can_set_own_member_note(); + can_set_own_member_note_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note) +} + +// optional bool can_set_other_member_note = 37; +inline bool ClubPrivilegeSet::has_can_set_other_member_note() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_other_member_note() { + _has_bits_[0] |= 0x00008000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_other_member_note() { + _has_bits_[0] &= ~0x00008000u; +} +inline void ClubPrivilegeSet::clear_can_set_other_member_note() { + can_set_other_member_note_ = false; + clear_has_can_set_other_member_note(); +} +inline bool ClubPrivilegeSet::can_set_other_member_note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note) + return can_set_other_member_note_; +} +inline void ClubPrivilegeSet::set_can_set_other_member_note(bool value) { + set_has_can_set_other_member_note(); + can_set_other_member_note_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note) +} + +// optional bool can_use_voice = 50; +inline bool ClubPrivilegeSet::has_can_use_voice() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_use_voice() { + _has_bits_[0] |= 0x00010000u; +} +inline void ClubPrivilegeSet::clear_has_can_use_voice() { + _has_bits_[0] &= ~0x00010000u; +} +inline void ClubPrivilegeSet::clear_can_use_voice() { + can_use_voice_ = false; + clear_has_can_use_voice(); +} +inline bool ClubPrivilegeSet::can_use_voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice) + return can_use_voice_; +} +inline void ClubPrivilegeSet::set_can_use_voice(bool value) { + set_has_can_use_voice(); + can_use_voice_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice) +} + +// optional bool can_voice_mute_member_for_all = 51; +inline bool ClubPrivilegeSet::has_can_voice_mute_member_for_all() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_voice_mute_member_for_all() { + _has_bits_[0] |= 0x00020000u; +} +inline void ClubPrivilegeSet::clear_has_can_voice_mute_member_for_all() { + _has_bits_[0] &= ~0x00020000u; +} +inline void ClubPrivilegeSet::clear_can_voice_mute_member_for_all() { + can_voice_mute_member_for_all_ = false; + clear_has_can_voice_mute_member_for_all(); +} +inline bool ClubPrivilegeSet::can_voice_mute_member_for_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all) + return can_voice_mute_member_for_all_; +} +inline void ClubPrivilegeSet::set_can_voice_mute_member_for_all(bool value) { + set_has_can_voice_mute_member_for_all(); + can_voice_mute_member_for_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all) +} + +// optional bool can_get_invitation = 70; +inline bool ClubPrivilegeSet::has_can_get_invitation() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_invitation() { + _has_bits_[0] |= 0x00040000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_invitation() { + _has_bits_[0] &= ~0x00040000u; +} +inline void ClubPrivilegeSet::clear_can_get_invitation() { + can_get_invitation_ = false; + clear_has_can_get_invitation(); +} +inline bool ClubPrivilegeSet::can_get_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation) + return can_get_invitation_; +} +inline void ClubPrivilegeSet::set_can_get_invitation(bool value) { + set_has_can_get_invitation(); + can_get_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation) +} + +// optional bool can_send_invitation = 71; +inline bool ClubPrivilegeSet::has_can_send_invitation() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_send_invitation() { + _has_bits_[0] |= 0x00080000u; +} +inline void ClubPrivilegeSet::clear_has_can_send_invitation() { + _has_bits_[0] &= ~0x00080000u; +} +inline void ClubPrivilegeSet::clear_can_send_invitation() { + can_send_invitation_ = false; + clear_has_can_send_invitation(); +} +inline bool ClubPrivilegeSet::can_send_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation) + return can_send_invitation_; +} +inline void ClubPrivilegeSet::set_can_send_invitation(bool value) { + set_has_can_send_invitation(); + can_send_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation) +} + +// optional bool can_send_guest_invitation = 72; +inline bool ClubPrivilegeSet::has_can_send_guest_invitation() const { + return (_has_bits_[0] & 0x00100000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_send_guest_invitation() { + _has_bits_[0] |= 0x00100000u; +} +inline void ClubPrivilegeSet::clear_has_can_send_guest_invitation() { + _has_bits_[0] &= ~0x00100000u; +} +inline void ClubPrivilegeSet::clear_can_send_guest_invitation() { + can_send_guest_invitation_ = false; + clear_has_can_send_guest_invitation(); +} +inline bool ClubPrivilegeSet::can_send_guest_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation) + return can_send_guest_invitation_; +} +inline void ClubPrivilegeSet::set_can_send_guest_invitation(bool value) { + set_has_can_send_guest_invitation(); + can_send_guest_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation) +} + +// optional bool can_revoke_own_invitation = 73; +inline bool ClubPrivilegeSet::has_can_revoke_own_invitation() const { + return (_has_bits_[0] & 0x00200000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_revoke_own_invitation() { + _has_bits_[0] |= 0x00200000u; +} +inline void ClubPrivilegeSet::clear_has_can_revoke_own_invitation() { + _has_bits_[0] &= ~0x00200000u; +} +inline void ClubPrivilegeSet::clear_can_revoke_own_invitation() { + can_revoke_own_invitation_ = false; + clear_has_can_revoke_own_invitation(); +} +inline bool ClubPrivilegeSet::can_revoke_own_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation) + return can_revoke_own_invitation_; +} +inline void ClubPrivilegeSet::set_can_revoke_own_invitation(bool value) { + set_has_can_revoke_own_invitation(); + can_revoke_own_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation) +} + +// optional bool can_revoke_other_invitation = 74; +inline bool ClubPrivilegeSet::has_can_revoke_other_invitation() const { + return (_has_bits_[0] & 0x00400000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_revoke_other_invitation() { + _has_bits_[0] |= 0x00400000u; +} +inline void ClubPrivilegeSet::clear_has_can_revoke_other_invitation() { + _has_bits_[0] &= ~0x00400000u; +} +inline void ClubPrivilegeSet::clear_can_revoke_other_invitation() { + can_revoke_other_invitation_ = false; + clear_has_can_revoke_other_invitation(); +} +inline bool ClubPrivilegeSet::can_revoke_other_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation) + return can_revoke_other_invitation_; +} +inline void ClubPrivilegeSet::set_can_revoke_other_invitation(bool value) { + set_has_can_revoke_other_invitation(); + can_revoke_other_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation) +} + +// optional bool can_get_suggestion = 90; +inline bool ClubPrivilegeSet::has_can_get_suggestion() const { + return (_has_bits_[0] & 0x00800000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_suggestion() { + _has_bits_[0] |= 0x00800000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_suggestion() { + _has_bits_[0] &= ~0x00800000u; +} +inline void ClubPrivilegeSet::clear_can_get_suggestion() { + can_get_suggestion_ = false; + clear_has_can_get_suggestion(); +} +inline bool ClubPrivilegeSet::can_get_suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion) + return can_get_suggestion_; +} +inline void ClubPrivilegeSet::set_can_get_suggestion(bool value) { + set_has_can_get_suggestion(); + can_get_suggestion_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion) +} + +// optional bool can_suggest_member = 91; +inline bool ClubPrivilegeSet::has_can_suggest_member() const { + return (_has_bits_[0] & 0x01000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_suggest_member() { + _has_bits_[0] |= 0x01000000u; +} +inline void ClubPrivilegeSet::clear_has_can_suggest_member() { + _has_bits_[0] &= ~0x01000000u; +} +inline void ClubPrivilegeSet::clear_can_suggest_member() { + can_suggest_member_ = false; + clear_has_can_suggest_member(); +} +inline bool ClubPrivilegeSet::can_suggest_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member) + return can_suggest_member_; +} +inline void ClubPrivilegeSet::set_can_suggest_member(bool value) { + set_has_can_suggest_member(); + can_suggest_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member) +} + +// optional bool can_approve_member = 92; +inline bool ClubPrivilegeSet::has_can_approve_member() const { + return (_has_bits_[0] & 0x02000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_approve_member() { + _has_bits_[0] |= 0x02000000u; +} +inline void ClubPrivilegeSet::clear_has_can_approve_member() { + _has_bits_[0] &= ~0x02000000u; +} +inline void ClubPrivilegeSet::clear_can_approve_member() { + can_approve_member_ = false; + clear_has_can_approve_member(); +} +inline bool ClubPrivilegeSet::can_approve_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member) + return can_approve_member_; +} +inline void ClubPrivilegeSet::set_can_approve_member(bool value) { + set_has_can_approve_member(); + can_approve_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member) +} + +// optional bool can_get_ticket = 110; +inline bool ClubPrivilegeSet::has_can_get_ticket() const { + return (_has_bits_[0] & 0x04000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_ticket() { + _has_bits_[0] |= 0x04000000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_ticket() { + _has_bits_[0] &= ~0x04000000u; +} +inline void ClubPrivilegeSet::clear_can_get_ticket() { + can_get_ticket_ = false; + clear_has_can_get_ticket(); +} +inline bool ClubPrivilegeSet::can_get_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket) + return can_get_ticket_; +} +inline void ClubPrivilegeSet::set_can_get_ticket(bool value) { + set_has_can_get_ticket(); + can_get_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket) +} + +// optional bool can_create_ticket = 111; +inline bool ClubPrivilegeSet::has_can_create_ticket() const { + return (_has_bits_[0] & 0x08000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_ticket() { + _has_bits_[0] |= 0x08000000u; +} +inline void ClubPrivilegeSet::clear_has_can_create_ticket() { + _has_bits_[0] &= ~0x08000000u; +} +inline void ClubPrivilegeSet::clear_can_create_ticket() { + can_create_ticket_ = false; + clear_has_can_create_ticket(); +} +inline bool ClubPrivilegeSet::can_create_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket) + return can_create_ticket_; +} +inline void ClubPrivilegeSet::set_can_create_ticket(bool value) { + set_has_can_create_ticket(); + can_create_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket) +} + +// optional bool can_destroy_ticket = 112; +inline bool ClubPrivilegeSet::has_can_destroy_ticket() const { + return (_has_bits_[0] & 0x10000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_ticket() { + _has_bits_[0] |= 0x10000000u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_ticket() { + _has_bits_[0] &= ~0x10000000u; +} +inline void ClubPrivilegeSet::clear_can_destroy_ticket() { + can_destroy_ticket_ = false; + clear_has_can_destroy_ticket(); +} +inline bool ClubPrivilegeSet::can_destroy_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket) + return can_destroy_ticket_; +} +inline void ClubPrivilegeSet::set_can_destroy_ticket(bool value) { + set_has_can_destroy_ticket(); + can_destroy_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket) +} + +// optional bool can_get_ban = 130; +inline bool ClubPrivilegeSet::has_can_get_ban() const { + return (_has_bits_[0] & 0x20000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_ban() { + _has_bits_[0] |= 0x20000000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_ban() { + _has_bits_[0] &= ~0x20000000u; +} +inline void ClubPrivilegeSet::clear_can_get_ban() { + can_get_ban_ = false; + clear_has_can_get_ban(); +} +inline bool ClubPrivilegeSet::can_get_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban) + return can_get_ban_; +} +inline void ClubPrivilegeSet::set_can_get_ban(bool value) { + set_has_can_get_ban(); + can_get_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban) +} + +// optional bool can_add_ban = 131; +inline bool ClubPrivilegeSet::has_can_add_ban() const { + return (_has_bits_[0] & 0x40000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_add_ban() { + _has_bits_[0] |= 0x40000000u; +} +inline void ClubPrivilegeSet::clear_has_can_add_ban() { + _has_bits_[0] &= ~0x40000000u; +} +inline void ClubPrivilegeSet::clear_can_add_ban() { + can_add_ban_ = false; + clear_has_can_add_ban(); +} +inline bool ClubPrivilegeSet::can_add_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban) + return can_add_ban_; +} +inline void ClubPrivilegeSet::set_can_add_ban(bool value) { + set_has_can_add_ban(); + can_add_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban) +} + +// optional bool can_remove_ban = 132; +inline bool ClubPrivilegeSet::has_can_remove_ban() const { + return (_has_bits_[0] & 0x80000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_remove_ban() { + _has_bits_[0] |= 0x80000000u; +} +inline void ClubPrivilegeSet::clear_has_can_remove_ban() { + _has_bits_[0] &= ~0x80000000u; +} +inline void ClubPrivilegeSet::clear_can_remove_ban() { + can_remove_ban_ = false; + clear_has_can_remove_ban(); +} +inline bool ClubPrivilegeSet::can_remove_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban) + return can_remove_ban_; +} +inline void ClubPrivilegeSet::set_can_remove_ban(bool value) { + set_has_can_remove_ban(); + can_remove_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban) +} + +// optional bool can_create_stream = 140; +inline bool ClubPrivilegeSet::has_can_create_stream() const { + return (_has_bits_[1] & 0x00000001u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_stream() { + _has_bits_[1] |= 0x00000001u; +} +inline void ClubPrivilegeSet::clear_has_can_create_stream() { + _has_bits_[1] &= ~0x00000001u; +} +inline void ClubPrivilegeSet::clear_can_create_stream() { + can_create_stream_ = false; + clear_has_can_create_stream(); +} +inline bool ClubPrivilegeSet::can_create_stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream) + return can_create_stream_; +} +inline void ClubPrivilegeSet::set_can_create_stream(bool value) { + set_has_can_create_stream(); + can_create_stream_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream) +} + +// optional bool can_destroy_stream = 141; +inline bool ClubPrivilegeSet::has_can_destroy_stream() const { + return (_has_bits_[1] & 0x00000002u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_stream() { + _has_bits_[1] |= 0x00000002u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_stream() { + _has_bits_[1] &= ~0x00000002u; +} +inline void ClubPrivilegeSet::clear_can_destroy_stream() { + can_destroy_stream_ = false; + clear_has_can_destroy_stream(); +} +inline bool ClubPrivilegeSet::can_destroy_stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream) + return can_destroy_stream_; +} +inline void ClubPrivilegeSet::set_can_destroy_stream(bool value) { + set_has_can_destroy_stream(); + can_destroy_stream_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream) +} + +// optional bool can_set_stream_position = 142; +inline bool ClubPrivilegeSet::has_can_set_stream_position() const { + return (_has_bits_[1] & 0x00000004u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_position() { + _has_bits_[1] |= 0x00000004u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_position() { + _has_bits_[1] &= ~0x00000004u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_position() { + can_set_stream_position_ = false; + clear_has_can_set_stream_position(); +} +inline bool ClubPrivilegeSet::can_set_stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position) + return can_set_stream_position_; +} +inline void ClubPrivilegeSet::set_can_set_stream_position(bool value) { + set_has_can_set_stream_position(); + can_set_stream_position_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position) +} + +// optional bool can_set_stream_attribute = 143; +inline bool ClubPrivilegeSet::has_can_set_stream_attribute() const { + return (_has_bits_[1] & 0x00000008u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_attribute() { + _has_bits_[1] |= 0x00000008u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_attribute() { + _has_bits_[1] &= ~0x00000008u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_attribute() { + can_set_stream_attribute_ = false; + clear_has_can_set_stream_attribute(); +} +inline bool ClubPrivilegeSet::can_set_stream_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute) + return can_set_stream_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_stream_attribute(bool value) { + set_has_can_set_stream_attribute(); + can_set_stream_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute) +} + +// optional bool can_set_stream_name = 144; +inline bool ClubPrivilegeSet::has_can_set_stream_name() const { + return (_has_bits_[1] & 0x00000010u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_name() { + _has_bits_[1] |= 0x00000010u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_name() { + _has_bits_[1] &= ~0x00000010u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_name() { + can_set_stream_name_ = false; + clear_has_can_set_stream_name(); +} +inline bool ClubPrivilegeSet::can_set_stream_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name) + return can_set_stream_name_; +} +inline void ClubPrivilegeSet::set_can_set_stream_name(bool value) { + set_has_can_set_stream_name(); + can_set_stream_name_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name) +} + +// optional bool can_set_stream_subject = 145; +inline bool ClubPrivilegeSet::has_can_set_stream_subject() const { + return (_has_bits_[1] & 0x00000020u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_subject() { + _has_bits_[1] |= 0x00000020u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_subject() { + _has_bits_[1] &= ~0x00000020u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_subject() { + can_set_stream_subject_ = false; + clear_has_can_set_stream_subject(); +} +inline bool ClubPrivilegeSet::can_set_stream_subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject) + return can_set_stream_subject_; +} +inline void ClubPrivilegeSet::set_can_set_stream_subject(bool value) { + set_has_can_set_stream_subject(); + can_set_stream_subject_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject) +} + +// optional bool can_set_stream_access = 146; +inline bool ClubPrivilegeSet::has_can_set_stream_access() const { + return (_has_bits_[1] & 0x00000040u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_access() { + _has_bits_[1] |= 0x00000040u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_access() { + _has_bits_[1] &= ~0x00000040u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_access() { + can_set_stream_access_ = false; + clear_has_can_set_stream_access(); +} +inline bool ClubPrivilegeSet::can_set_stream_access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access) + return can_set_stream_access_; +} +inline void ClubPrivilegeSet::set_can_set_stream_access(bool value) { + set_has_can_set_stream_access(); + can_set_stream_access_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access) +} + +// optional bool can_set_stream_voice_level = 147; +inline bool ClubPrivilegeSet::has_can_set_stream_voice_level() const { + return (_has_bits_[1] & 0x00000080u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_voice_level() { + _has_bits_[1] |= 0x00000080u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_voice_level() { + _has_bits_[1] &= ~0x00000080u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_voice_level() { + can_set_stream_voice_level_ = false; + clear_has_can_set_stream_voice_level(); +} +inline bool ClubPrivilegeSet::can_set_stream_voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level) + return can_set_stream_voice_level_; +} +inline void ClubPrivilegeSet::set_can_set_stream_voice_level(bool value) { + set_has_can_set_stream_voice_level(); + can_set_stream_voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level) +} + +// optional bool can_create_message = 180; +inline bool ClubPrivilegeSet::has_can_create_message() const { + return (_has_bits_[1] & 0x00000100u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_message() { + _has_bits_[1] |= 0x00000100u; +} +inline void ClubPrivilegeSet::clear_has_can_create_message() { + _has_bits_[1] &= ~0x00000100u; +} +inline void ClubPrivilegeSet::clear_can_create_message() { + can_create_message_ = false; + clear_has_can_create_message(); +} +inline bool ClubPrivilegeSet::can_create_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message) + return can_create_message_; +} +inline void ClubPrivilegeSet::set_can_create_message(bool value) { + set_has_can_create_message(); + can_create_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message) +} + +// optional bool can_destroy_own_message = 181; +inline bool ClubPrivilegeSet::has_can_destroy_own_message() const { + return (_has_bits_[1] & 0x00000200u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_own_message() { + _has_bits_[1] |= 0x00000200u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_own_message() { + _has_bits_[1] &= ~0x00000200u; +} +inline void ClubPrivilegeSet::clear_can_destroy_own_message() { + can_destroy_own_message_ = false; + clear_has_can_destroy_own_message(); +} +inline bool ClubPrivilegeSet::can_destroy_own_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message) + return can_destroy_own_message_; +} +inline void ClubPrivilegeSet::set_can_destroy_own_message(bool value) { + set_has_can_destroy_own_message(); + can_destroy_own_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message) +} + +// optional bool can_destroy_other_message = 182; +inline bool ClubPrivilegeSet::has_can_destroy_other_message() const { + return (_has_bits_[1] & 0x00000400u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_other_message() { + _has_bits_[1] |= 0x00000400u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_other_message() { + _has_bits_[1] &= ~0x00000400u; +} +inline void ClubPrivilegeSet::clear_can_destroy_other_message() { + can_destroy_other_message_ = false; + clear_has_can_destroy_other_message(); +} +inline bool ClubPrivilegeSet::can_destroy_other_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message) + return can_destroy_other_message_; +} +inline void ClubPrivilegeSet::set_can_destroy_other_message(bool value) { + set_has_can_destroy_other_message(); + can_destroy_other_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message) +} + +// optional bool can_edit_own_message = 183; +inline bool ClubPrivilegeSet::has_can_edit_own_message() const { + return (_has_bits_[1] & 0x00000800u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_edit_own_message() { + _has_bits_[1] |= 0x00000800u; +} +inline void ClubPrivilegeSet::clear_has_can_edit_own_message() { + _has_bits_[1] &= ~0x00000800u; +} +inline void ClubPrivilegeSet::clear_can_edit_own_message() { + can_edit_own_message_ = false; + clear_has_can_edit_own_message(); +} +inline bool ClubPrivilegeSet::can_edit_own_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message) + return can_edit_own_message_; +} +inline void ClubPrivilegeSet::set_can_edit_own_message(bool value) { + set_has_can_edit_own_message(); + can_edit_own_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message) +} + +// optional bool can_pin_message = 184; +inline bool ClubPrivilegeSet::has_can_pin_message() const { + return (_has_bits_[1] & 0x00001000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_pin_message() { + _has_bits_[1] |= 0x00001000u; +} +inline void ClubPrivilegeSet::clear_has_can_pin_message() { + _has_bits_[1] &= ~0x00001000u; +} +inline void ClubPrivilegeSet::clear_can_pin_message() { + can_pin_message_ = false; + clear_has_can_pin_message(); +} +inline bool ClubPrivilegeSet::can_pin_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message) + return can_pin_message_; +} +inline void ClubPrivilegeSet::set_can_pin_message(bool value) { + set_has_can_pin_message(); + can_pin_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message) +} + +// optional bool can_mention_all = 185; +inline bool ClubPrivilegeSet::has_can_mention_all() const { + return (_has_bits_[1] & 0x00002000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_all() { + _has_bits_[1] |= 0x00002000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_all() { + _has_bits_[1] &= ~0x00002000u; +} +inline void ClubPrivilegeSet::clear_can_mention_all() { + can_mention_all_ = false; + clear_has_can_mention_all(); +} +inline bool ClubPrivilegeSet::can_mention_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all) + return can_mention_all_; +} +inline void ClubPrivilegeSet::set_can_mention_all(bool value) { + set_has_can_mention_all(); + can_mention_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all) +} + +// optional bool can_mention_here = 186; +inline bool ClubPrivilegeSet::has_can_mention_here() const { + return (_has_bits_[1] & 0x00004000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_here() { + _has_bits_[1] |= 0x00004000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_here() { + _has_bits_[1] &= ~0x00004000u; +} +inline void ClubPrivilegeSet::clear_can_mention_here() { + can_mention_here_ = false; + clear_has_can_mention_here(); +} +inline bool ClubPrivilegeSet::can_mention_here() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here) + return can_mention_here_; +} +inline void ClubPrivilegeSet::set_can_mention_here(bool value) { + set_has_can_mention_here(); + can_mention_here_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here) +} + +// optional bool can_mention_member = 187; +inline bool ClubPrivilegeSet::has_can_mention_member() const { + return (_has_bits_[1] & 0x00008000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_member() { + _has_bits_[1] |= 0x00008000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_member() { + _has_bits_[1] &= ~0x00008000u; +} +inline void ClubPrivilegeSet::clear_can_mention_member() { + can_mention_member_ = false; + clear_has_can_mention_member(); +} +inline bool ClubPrivilegeSet::can_mention_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member) + return can_mention_member_; +} +inline void ClubPrivilegeSet::set_can_mention_member(bool value) { + set_has_can_mention_member(); + can_mention_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member) +} + +// optional bool can_mention_role = 188; +inline bool ClubPrivilegeSet::has_can_mention_role() const { + return (_has_bits_[1] & 0x00010000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_role() { + _has_bits_[1] |= 0x00010000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_role() { + _has_bits_[1] &= ~0x00010000u; +} +inline void ClubPrivilegeSet::clear_can_mention_role() { + can_mention_role_ = false; + clear_has_can_mention_role(); +} +inline bool ClubPrivilegeSet::can_mention_role() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role) + return can_mention_role_; +} +inline void ClubPrivilegeSet::set_can_mention_role(bool value) { + set_has_can_mention_role(); + can_mention_role_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role) +} + +// ------------------------------------------------------------------- + +// ClubRole + +// optional uint32 id = 1; +inline bool ClubRole::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubRole::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubRole::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubRole::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 ClubRole::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.id) + return id_; +} +inline void ClubRole::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.id) +} + +// optional .bgs.protocol.RoleState state = 2; +inline bool ClubRole::has_state() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubRole::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubRole::clear_has_state() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubRole::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::RoleState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::RoleState& ClubRole::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::RoleState* ClubRole::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::RoleState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.state) + return state_; +} +inline ::bgs::protocol::RoleState* ClubRole::release_state() { + clear_has_state(); + ::bgs::protocol::RoleState* temp = state_; + state_ = NULL; + return temp; +} +inline void ClubRole::set_allocated_state(::bgs::protocol::RoleState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.state) +} + +// optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3; +inline bool ClubRole::has_privilege() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRole::set_has_privilege() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRole::clear_has_privilege() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRole::clear_privilege() { + if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::client::ClubPrivilegeSet::Clear(); + clear_has_privilege(); +} +inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& ClubRole::privilege() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.privilege) + return privilege_ != NULL ? *privilege_ : *default_instance_->privilege_; +} +inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::mutable_privilege() { + set_has_privilege(); + if (privilege_ == NULL) privilege_ = new ::bgs::protocol::club::v1::client::ClubPrivilegeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.privilege) + return privilege_; +} +inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::release_privilege() { + clear_has_privilege(); + ::bgs::protocol::club::v1::client::ClubPrivilegeSet* temp = privilege_; + privilege_ = NULL; + return temp; +} +inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege) { + delete privilege_; + privilege_ = privilege; + if (privilege) { + set_has_privilege(); + } else { + clear_has_privilege(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.privilege) +} + +// optional bool always_grant_stream_access = 4; +inline bool ClubRole::has_always_grant_stream_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRole::set_has_always_grant_stream_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRole::clear_has_always_grant_stream_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRole::clear_always_grant_stream_access() { + always_grant_stream_access_ = false; + clear_has_always_grant_stream_access(); +} +inline bool ClubRole::always_grant_stream_access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access) + return always_grant_stream_access_; +} +inline void ClubRole::set_always_grant_stream_access(bool value) { + set_has_always_grant_stream_access(); + always_grant_stream_access_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access) +} + +// optional bool allow_in_club_slot = 5; +inline bool ClubRole::has_allow_in_club_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubRole::set_has_allow_in_club_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubRole::clear_has_allow_in_club_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubRole::clear_allow_in_club_slot() { + allow_in_club_slot_ = false; + clear_has_allow_in_club_slot(); +} +inline bool ClubRole::allow_in_club_slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot) + return allow_in_club_slot_; +} +inline void ClubRole::set_allow_in_club_slot(bool value) { + set_has_allow_in_club_slot(); + allow_in_club_slot_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot) +} + +// ------------------------------------------------------------------- + +// ClubRoleSet + +// repeated .bgs.protocol.club.v1.client.ClubRole role = 1; +inline int ClubRoleSet::role_size() const { + return role_.size(); +} +inline void ClubRoleSet::clear_role() { + role_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubRole& ClubRoleSet::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::mutable_role(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::add_role() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >& +ClubRoleSet::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* +ClubRoleSet::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.role) + return &role_; +} + +// repeated uint32 default_role = 5 [packed = true]; +inline int ClubRoleSet::default_role_size() const { + return default_role_.size(); +} +inline void ClubRoleSet::clear_default_role() { + default_role_.Clear(); +} +inline ::google::protobuf::uint32 ClubRoleSet::default_role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return default_role_.Get(index); +} +inline void ClubRoleSet::set_default_role(int index, ::google::protobuf::uint32 value) { + default_role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.default_role) +} +inline void ClubRoleSet::add_default_role(::google::protobuf::uint32 value) { + default_role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.default_role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +ClubRoleSet::default_role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return default_role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +ClubRoleSet::mutable_default_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return &default_role_; +} + +// optional bool assignment_respects_relegation_chain = 6; +inline bool ClubRoleSet::has_assignment_respects_relegation_chain() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRoleSet::set_has_assignment_respects_relegation_chain() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRoleSet::clear_has_assignment_respects_relegation_chain() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRoleSet::clear_assignment_respects_relegation_chain() { + assignment_respects_relegation_chain_ = false; + clear_has_assignment_respects_relegation_chain(); +} +inline bool ClubRoleSet::assignment_respects_relegation_chain() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain) + return assignment_respects_relegation_chain_; +} +inline void ClubRoleSet::set_assignment_respects_relegation_chain(bool value) { + set_has_assignment_respects_relegation_chain(); + assignment_respects_relegation_chain_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain) +} + +// optional string subtype = 7; +inline bool ClubRoleSet::has_subtype() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRoleSet::set_has_subtype() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRoleSet::clear_has_subtype() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRoleSet::clear_subtype() { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_->clear(); + } + clear_has_subtype(); +} +inline const ::std::string& ClubRoleSet::subtype() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.subtype) + return *subtype_; +} +inline void ClubRoleSet::set_subtype(const ::std::string& value) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline void ClubRoleSet::set_subtype(const char* value) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline void ClubRoleSet::set_subtype(const char* value, size_t size) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline ::std::string* ClubRoleSet::mutable_subtype() { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.subtype) + return subtype_; +} +inline ::std::string* ClubRoleSet::release_subtype() { + clear_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subtype_; + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subtype_; + } + if (subtype) { + set_has_subtype(); + subtype_ = subtype; + } else { + clear_has_subtype(); + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_service.pb.cc b/src/server/proto/Client/api/client/v1/club_service.pb.cc new file mode 100644 index 00000000000..90d9e1f9957 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.pb.cc @@ -0,0 +1,1528 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::ServiceDescriptor* ClubService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_service.proto"); + GOOGLE_CHECK(file != NULL); + ClubService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n api/client/v1/club_service.proto\022\033bgs." + "protocol.club.v1.client\032 api/client/v1/c" + "lub_request.proto2\330/\n\013ClubService\022X\n\tSub" + "scribe\022-.bgs.protocol.club.v1.client.Sub" + "scribeRequest\032\024.bgs.protocol.NoData\"\006\202\371+" + "\002\010\001\022\\\n\013Unsubscribe\022/.bgs.protocol.club.v" + "1.client.UnsubscribeRequest\032\024.bgs.protoc" + "ol.NoData\"\006\202\371+\002\010\002\022i\n\006Create\022*.bgs.protoc" + "ol.club.v1.client.CreateRequest\032+.bgs.pr" + "otocol.club.v1.client.CreateResponse\"\006\202\371" + "+\002\010\003\022T\n\007Destroy\022+.bgs.protocol.club.v1.c" + "lient.DestroyRequest\032\024.bgs.protocol.NoDa" + "ta\"\006\202\371+\002\010\004\022\201\001\n\016GetDescription\0222.bgs.prot" + "ocol.club.v1.client.GetDescriptionReques" + "t\0323.bgs.protocol.club.v1.client.GetDescr" + "iptionResponse\"\006\202\371+\002\010\005\022x\n\013GetClubType\022/." + "bgs.protocol.club.v1.client.GetClubTypeR" + "equest\0320.bgs.protocol.club.v1.client.Get" + "ClubTypeResponse\"\006\202\371+\002\010\006\022d\n\017UpdateClubSt" + "ate\0223.bgs.protocol.club.v1.client.Update" + "ClubStateRequest\032\024.bgs.protocol.NoData\"\006" + "\202\371+\002\010\007\022j\n\022UpdateClubSettings\0226.bgs.proto" + "col.club.v1.client.UpdateClubSettingsReq" + "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\010\022N\n\004Jo" + "in\022(.bgs.protocol.club.v1.client.JoinReq" + "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\036\022P\n\005Le" + "ave\022).bgs.protocol.club.v1.client.LeaveR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\037\022N\n\004" + "Kick\022(.bgs.protocol.club.v1.client.KickR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010 \022r\n\t" + "GetMember\022-.bgs.protocol.club.v1.client." + "GetMemberRequest\032..bgs.protocol.club.v1." + "client.GetMemberResponse\"\006\202\371+\002\010!\022u\n\nGetM" + "embers\022..bgs.protocol.club.v1.client.Get" + "MembersRequest\032/.bgs.protocol.club.v1.cl" + "ient.GetMembersResponse\"\006\202\371+\002\010\"\022h\n\021Updat" + "eMemberState\0225.bgs.protocol.club.v1.clie" + "nt.UpdateMemberStateRequest\032\024.bgs.protoc" + "ol.NoData\"\006\202\371+\002\010#\022p\n\025UpdateSubscriberSta" + "te\0229.bgs.protocol.club.v1.client.UpdateS" + "ubscriberStateRequest\032\024.bgs.protocol.NoD" + "ata\"\006\202\371+\002\010$\022Z\n\nAssignRole\022..bgs.protocol" + ".club.v1.client.AssignRoleRequest\032\024.bgs." + "protocol.NoData\"\006\202\371+\002\010%\022^\n\014UnassignRole\022" + "0.bgs.protocol.club.v1.client.UnassignRo" + "leRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010&\022" + "b\n\016SendInvitation\0222.bgs.protocol.club.v1" + ".client.SendInvitationRequest\032\024.bgs.prot" + "ocol.NoData\"\006\202\371+\002\0102\022f\n\020AcceptInvitation\022" + "4.bgs.protocol.club.v1.client.AcceptInvi" + "tationRequest\032\024.bgs.protocol.NoData\"\006\202\371+" + "\002\0103\022h\n\021DeclineInvitation\0225.bgs.protocol." + "club.v1.client.DeclineInvitationRequest\032" + "\024.bgs.protocol.NoData\"\006\202\371+\002\0104\022f\n\020RevokeI" + "nvitation\0224.bgs.protocol.club.v1.client." + "RevokeInvitationRequest\032\024.bgs.protocol.N" + "oData\"\006\202\371+\002\0105\022~\n\rGetInvitation\0221.bgs.pro" + "tocol.club.v1.client.GetInvitationReques" + "t\0322.bgs.protocol.club.v1.client.GetInvit" + "ationResponse\"\006\202\371+\002\0106\022\201\001\n\016GetInvitations" + "\0222.bgs.protocol.club.v1.client.GetInvita" + "tionsRequest\0323.bgs.protocol.club.v1.clie" + "nt.GetInvitationsResponse\"\006\202\371+\002\0107\022b\n\016Sen" + "dSuggestion\0222.bgs.protocol.club.v1.clien" + "t.SendSuggestionRequest\032\024.bgs.protocol.N" + "oData\"\006\202\371+\002\010<\022f\n\020AcceptSuggestion\0224.bgs." + "protocol.club.v1.client.AcceptSuggestion" + "Request\032\024.bgs.protocol.NoData\"\006\202\371+\002\010=\022h\n" + "\021DeclineSuggestion\0225.bgs.protocol.club.v" + "1.client.DeclineSuggestionRequest\032\024.bgs." + "protocol.NoData\"\006\202\371+\002\010>\022~\n\rGetSuggestion" + "\0221.bgs.protocol.club.v1.client.GetSugges" + "tionRequest\0322.bgs.protocol.club.v1.clien" + "t.GetSuggestionResponse\"\006\202\371+\002\010\?\022\201\001\n\016GetS" + "uggestions\0222.bgs.protocol.club.v1.client" + ".GetSuggestionsRequest\0323.bgs.protocol.cl" + "ub.v1.client.GetSuggestionsResponse\"\006\202\371+" + "\002\010@\022{\n\014CreateTicket\0220.bgs.protocol.club." + "v1.client.CreateTicketRequest\0321.bgs.prot" + "ocol.club.v1.client.CreateTicketResponse" + "\"\006\202\371+\002\010F\022`\n\rDestroyTicket\0221.bgs.protocol" + ".club.v1.client.DestroyTicketRequest\032\024.b" + "gs.protocol.NoData\"\006\202\371+\002\010G\022^\n\014RedeemTick" + "et\0220.bgs.protocol.club.v1.client.RedeemT" + "icketRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002" + "\010H\022r\n\tGetTicket\022-.bgs.protocol.club.v1.c" + "lient.GetTicketRequest\032..bgs.protocol.cl" + "ub.v1.client.GetTicketResponse\"\006\202\371+\002\010I\022u" + "\n\nGetTickets\022..bgs.protocol.club.v1.clie" + "nt.GetTicketsRequest\032/.bgs.protocol.club" + ".v1.client.GetTicketsResponse\"\006\202\371+\002\010J\022R\n" + "\006AddBan\022*.bgs.protocol.club.v1.client.Ad" + "dBanRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010" + "P\022X\n\tRemoveBan\022-.bgs.protocol.club.v1.cl" + "ient.RemoveBanRequest\032\024.bgs.protocol.NoD" + "ata\"\006\202\371+\002\010Q\022i\n\006GetBan\022*.bgs.protocol.clu" + "b.v1.client.GetBanRequest\032+.bgs.protocol" + ".club.v1.client.GetBanResponse\"\006\202\371+\002\010R\022l" + "\n\007GetBans\022+.bgs.protocol.club.v1.client." + "GetBansRequest\032,.bgs.protocol.club.v1.cl" + "ient.GetBansResponse\"\006\202\371+\002\010S\022d\n\017Subscrib" + "eStream\0223.bgs.protocol.club.v1.client.Su" + "bscribeStreamRequest\032\024.bgs.protocol.NoDa" + "ta\"\006\202\371+\002\010d\022h\n\021UnsubscribeStream\0225.bgs.pr" + "otocol.club.v1.client.UnsubscribeStreamR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010e\022{\n\014" + "CreateStream\0220.bgs.protocol.club.v1.clie" + "nt.CreateStreamRequest\0321.bgs.protocol.cl" + "ub.v1.client.CreateStreamResponse\"\006\202\371+\002\010" + "f\022`\n\rDestroyStream\0221.bgs.protocol.club.v" + "1.client.DestroyStreamRequest\032\024.bgs.prot" + "ocol.NoData\"\006\202\371+\002\010g\022r\n\tGetStream\022-.bgs.p" + "rotocol.club.v1.client.GetStreamRequest\032" + "..bgs.protocol.club.v1.client.GetStreamR" + "esponse\"\006\202\371+\002\010h\022u\n\nGetStreams\022..bgs.prot" + "ocol.club.v1.client.GetStreamsRequest\032/." + "bgs.protocol.club.v1.client.GetStreamsRe" + "sponse\"\006\202\371+\002\010i\022h\n\021UpdateStreamState\0225.bg" + "s.protocol.club.v1.client.UpdateStreamSt" + "ateRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010j" + "\022b\n\016SetStreamFocus\0222.bgs.protocol.club.v" + "1.client.SetStreamFocusRequest\032\024.bgs.pro" + "tocol.NoData\"\006\202\371+\002\010k\022\220\001\n\023GetStreamVoiceT" + "oken\0227.bgs.protocol.club.v1.client.GetSt" + "reamVoiceTokenRequest\0328.bgs.protocol.clu" + "b.v1.client.GetStreamVoiceTokenResponse\"" + "\006\202\371+\002\010l\022l\n\023KickFromStreamVoice\0227.bgs.pro" + "tocol.club.v1.client.KickFromStreamVoice" + "Request\032\024.bgs.protocol.NoData\"\006\202\371+\002\010m\022\177\n" + "\rCreateMessage\0221.bgs.protocol.club.v1.cl" + "ient.CreateMessageRequest\0322.bgs.protocol" + ".club.v1.client.CreateMessageResponse\"\007\202" + "\371+\003\010\226\001\022\202\001\n\016DestroyMessage\0222.bgs.protocol" + ".club.v1.client.DestroyMessageRequest\0323." + "bgs.protocol.club.v1.client.DestroyMessa" + "geResponse\"\007\202\371+\003\010\227\001\022y\n\013EditMessage\022/.bgs" + ".protocol.club.v1.client.EditMessageRequ" + "est\0320.bgs.protocol.club.v1.client.EditMe" + "ssageResponse\"\007\202\371+\003\010\230\001\022g\n\020SetMessagePinn" + "ed\0224.bgs.protocol.club.v1.client.SetMess" + "agePinnedRequest\032\024.bgs.protocol.NoData\"\007" + "\202\371+\003\010\231\001\022k\n\022SetTypingIndicator\0226.bgs.prot" + "ocol.club.v1.client.SetTypingIndicatorRe" + "quest\032\024.bgs.protocol.NoData\"\007\202\371+\003\010\232\001\022q\n\025" + "AdvanceStreamViewTime\0229.bgs.protocol.clu" + "b.v1.client.AdvanceStreamViewTimeRequest" + "\032\024.bgs.protocol.NoData\"\007\202\371+\003\010\233\001\022\210\001\n\020GetS" + "treamHistory\0224.bgs.protocol.club.v1.clie" + "nt.GetStreamHistoryRequest\0325.bgs.protoco" + "l.club.v1.client.GetStreamHistoryRespons" + "e\"\007\202\371+\003\010\234\001\022\210\001\n\020GetStreamMessage\0224.bgs.pr" + "otocol.club.v1.client.GetStreamMessageRe" + "quest\0325.bgs.protocol.club.v1.client.GetS" + "treamMessageResponse\"\007\202\371+\003\010\235\001\0325\202\371+)\n!bne" + "t.protocol.club.v1.ClubService*\004club\212\371+\004" + "\020\001\030\001B\005H\002\200\001\000", 6211); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_service.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fservice_2eproto_; +// =================================================================== + +ClubService::ClubService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubService::~ClubService() { +} + +google::protobuf::ServiceDescriptor const* ClubService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubService_descriptor_; +} + +void ClubService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleCreate(token, methodId, buffer); + break; + case 4: + ParseAndHandleDestroy(token, methodId, buffer); + break; + case 5: + ParseAndHandleGetDescription(token, methodId, buffer); + break; + case 6: + ParseAndHandleGetClubType(token, methodId, buffer); + break; + case 7: + ParseAndHandleUpdateClubState(token, methodId, buffer); + break; + case 8: + ParseAndHandleUpdateClubSettings(token, methodId, buffer); + break; + case 30: + ParseAndHandleJoin(token, methodId, buffer); + break; + case 31: + ParseAndHandleLeave(token, methodId, buffer); + break; + case 32: + ParseAndHandleKick(token, methodId, buffer); + break; + case 33: + ParseAndHandleGetMember(token, methodId, buffer); + break; + case 34: + ParseAndHandleGetMembers(token, methodId, buffer); + break; + case 35: + ParseAndHandleUpdateMemberState(token, methodId, buffer); + break; + case 36: + ParseAndHandleUpdateSubscriberState(token, methodId, buffer); + break; + case 37: + ParseAndHandleAssignRole(token, methodId, buffer); + break; + case 38: + ParseAndHandleUnassignRole(token, methodId, buffer); + break; + case 50: + ParseAndHandleSendInvitation(token, methodId, buffer); + break; + case 51: + ParseAndHandleAcceptInvitation(token, methodId, buffer); + break; + case 52: + ParseAndHandleDeclineInvitation(token, methodId, buffer); + break; + case 53: + ParseAndHandleRevokeInvitation(token, methodId, buffer); + break; + case 54: + ParseAndHandleGetInvitation(token, methodId, buffer); + break; + case 55: + ParseAndHandleGetInvitations(token, methodId, buffer); + break; + case 60: + ParseAndHandleSendSuggestion(token, methodId, buffer); + break; + case 61: + ParseAndHandleAcceptSuggestion(token, methodId, buffer); + break; + case 62: + ParseAndHandleDeclineSuggestion(token, methodId, buffer); + break; + case 63: + ParseAndHandleGetSuggestion(token, methodId, buffer); + break; + case 64: + ParseAndHandleGetSuggestions(token, methodId, buffer); + break; + case 70: + ParseAndHandleCreateTicket(token, methodId, buffer); + break; + case 71: + ParseAndHandleDestroyTicket(token, methodId, buffer); + break; + case 72: + ParseAndHandleRedeemTicket(token, methodId, buffer); + break; + case 73: + ParseAndHandleGetTicket(token, methodId, buffer); + break; + case 74: + ParseAndHandleGetTickets(token, methodId, buffer); + break; + case 80: + ParseAndHandleAddBan(token, methodId, buffer); + break; + case 81: + ParseAndHandleRemoveBan(token, methodId, buffer); + break; + case 82: + ParseAndHandleGetBan(token, methodId, buffer); + break; + case 83: + ParseAndHandleGetBans(token, methodId, buffer); + break; + case 100: + ParseAndHandleSubscribeStream(token, methodId, buffer); + break; + case 101: + ParseAndHandleUnsubscribeStream(token, methodId, buffer); + break; + case 102: + ParseAndHandleCreateStream(token, methodId, buffer); + break; + case 103: + ParseAndHandleDestroyStream(token, methodId, buffer); + break; + case 104: + ParseAndHandleGetStream(token, methodId, buffer); + break; + case 105: + ParseAndHandleGetStreams(token, methodId, buffer); + break; + case 106: + ParseAndHandleUpdateStreamState(token, methodId, buffer); + break; + case 107: + ParseAndHandleSetStreamFocus(token, methodId, buffer); + break; + case 108: + ParseAndHandleGetStreamVoiceToken(token, methodId, buffer); + break; + case 109: + ParseAndHandleKickFromStreamVoice(token, methodId, buffer); + break; + case 150: + ParseAndHandleCreateMessage(token, methodId, buffer); + break; + case 151: + ParseAndHandleDestroyMessage(token, methodId, buffer); + break; + case 152: + ParseAndHandleEditMessage(token, methodId, buffer); + break; + case 153: + ParseAndHandleSetMessagePinned(token, methodId, buffer); + break; + case 154: + ParseAndHandleSetTypingIndicator(token, methodId, buffer); + break; + case 155: + ParseAndHandleAdvanceStreamViewTime(token, methodId, buffer); + break; + case 156: + ParseAndHandleGetStreamHistory(token, methodId, buffer); + break; + case 157: + ParseAndHandleGetStreamMessage(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 ClubService::HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Create", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Destroy", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetDescription", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetClubType", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateClubState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateClubSettings", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Join", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Leave", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Kick", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetMember", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetMembers", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateMemberState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateSubscriberState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AssignRole", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UnassignRole", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SendInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AcceptInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DeclineInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RevokeInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetInvitations", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SendSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AcceptSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DeclineSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetSuggestions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RedeemTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetTickets", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AddBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RemoveBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetBans", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SubscribeStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UnsubscribeStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreams", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateStreamState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetStreamFocus", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamVoiceToken", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.KickFromStreamVoice", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.EditMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetMessagePinned", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetTypingIndicator", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AdvanceStreamViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamHistory", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void ClubService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Subscribe", "bgs.protocol.club.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Subscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Unsubscribe", "bgs.protocol.club.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Create"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Create", "bgs.protocol.club.v1.client.CreateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Create", ::bgs::protocol::club::v1::client::CreateResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateResponse response; + uint32 status = HandleCreate(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Destroy"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Destroy", "bgs.protocol.club.v1.client.DestroyRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Destroy", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroy(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetDescriptionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetDescription"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetDescription", "bgs.protocol.club.v1.client.GetDescriptionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetDescription", ::bgs::protocol::club::v1::client::GetDescriptionResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetDescriptionResponse response; + uint32 status = HandleGetDescription(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetClubTypeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetClubType"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetClubType", "bgs.protocol.club.v1.client.GetClubTypeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetClubType", ::bgs::protocol::club::v1::client::GetClubTypeResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetClubTypeResponse response; + uint32 status = HandleGetClubType(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateClubStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateClubState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateClubState", "bgs.protocol.club.v1.client.UpdateClubStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateClubSettingsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateClubSettings"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateClubSettings", "bgs.protocol.club.v1.client.UpdateClubSettingsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubSettings", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubSettings(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::JoinRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Join"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Join", "bgs.protocol.club.v1.client.JoinRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Join", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleJoin(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::LeaveRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Leave"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Leave", "bgs.protocol.club.v1.client.LeaveRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Leave", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleLeave(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::KickRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Kick"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Kick", "bgs.protocol.club.v1.client.KickRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Kick", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleKick(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetMemberRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetMember"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetMember", "bgs.protocol.club.v1.client.GetMemberRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMember", ::bgs::protocol::club::v1::client::GetMemberResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetMemberResponse response; + uint32 status = HandleGetMember(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetMembersRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetMembers"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetMembers", "bgs.protocol.club.v1.client.GetMembersRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMembers", ::bgs::protocol::club::v1::client::GetMembersResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetMembersResponse response; + uint32 status = HandleGetMembers(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateMemberStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateMemberState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateMemberState", "bgs.protocol.club.v1.client.UpdateMemberStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateMemberState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateMemberState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateSubscriberState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateSubscriberState", "bgs.protocol.club.v1.client.UpdateSubscriberStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateSubscriberState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateSubscriberState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AssignRoleRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AssignRole"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AssignRole", "bgs.protocol.club.v1.client.AssignRoleRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AssignRole", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAssignRole(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnassignRoleRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UnassignRole"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UnassignRole", "bgs.protocol.club.v1.client.UnassignRoleRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnassignRole", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnassignRole(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SendInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SendInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SendInvitation", "bgs.protocol.club.v1.client.SendInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AcceptInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AcceptInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AcceptInvitation", "bgs.protocol.club.v1.client.AcceptInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAcceptInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DeclineInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DeclineInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DeclineInvitation", "bgs.protocol.club.v1.client.DeclineInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDeclineInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RevokeInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RevokeInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RevokeInvitation", "bgs.protocol.club.v1.client.RevokeInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RevokeInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRevokeInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetInvitation", "bgs.protocol.club.v1.client.GetInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitation", ::bgs::protocol::club::v1::client::GetInvitationResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetInvitationResponse response; + uint32 status = HandleGetInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetInvitationsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetInvitations"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetInvitations", "bgs.protocol.club.v1.client.GetInvitationsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitations", ::bgs::protocol::club::v1::client::GetInvitationsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetInvitationsResponse response; + uint32 status = HandleGetInvitations(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SendSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SendSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SendSuggestion", "bgs.protocol.club.v1.client.SendSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AcceptSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AcceptSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AcceptSuggestion", "bgs.protocol.club.v1.client.AcceptSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAcceptSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DeclineSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DeclineSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DeclineSuggestion", "bgs.protocol.club.v1.client.DeclineSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDeclineSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetSuggestion", "bgs.protocol.club.v1.client.GetSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestion", ::bgs::protocol::club::v1::client::GetSuggestionResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetSuggestionResponse response; + uint32 status = HandleGetSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetSuggestionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetSuggestions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetSuggestions", "bgs.protocol.club.v1.client.GetSuggestionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestions", ::bgs::protocol::club::v1::client::GetSuggestionsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetSuggestionsResponse response; + uint32 status = HandleGetSuggestions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateTicket", "bgs.protocol.club.v1.client.CreateTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateTicket", ::bgs::protocol::club::v1::client::CreateTicketResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateTicketResponse response; + uint32 status = HandleCreateTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyTicket", "bgs.protocol.club.v1.client.DestroyTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyTicket", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroyTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RedeemTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RedeemTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RedeemTicket", "bgs.protocol.club.v1.client.RedeemTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RedeemTicket", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRedeemTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetTicket", "bgs.protocol.club.v1.client.GetTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTicket", ::bgs::protocol::club::v1::client::GetTicketResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetTicketResponse response; + uint32 status = HandleGetTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetTicketsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetTickets"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetTickets", "bgs.protocol.club.v1.client.GetTicketsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTickets", ::bgs::protocol::club::v1::client::GetTicketsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetTicketsResponse response; + uint32 status = HandleGetTickets(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AddBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AddBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AddBan", "bgs.protocol.club.v1.client.AddBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AddBan", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAddBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RemoveBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RemoveBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RemoveBan", "bgs.protocol.club.v1.client.RemoveBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RemoveBan", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRemoveBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetBan", "bgs.protocol.club.v1.client.GetBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBan", ::bgs::protocol::club::v1::client::GetBanResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetBanResponse response; + uint32 status = HandleGetBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetBansRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetBans"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetBans", "bgs.protocol.club.v1.client.GetBansRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBans", ::bgs::protocol::club::v1::client::GetBansResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetBansResponse response; + uint32 status = HandleGetBans(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SubscribeStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SubscribeStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SubscribeStream", "bgs.protocol.club.v1.client.SubscribeStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SubscribeStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSubscribeStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnsubscribeStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UnsubscribeStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UnsubscribeStream", "bgs.protocol.club.v1.client.UnsubscribeStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnsubscribeStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribeStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateStream", "bgs.protocol.club.v1.client.CreateStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateStream", ::bgs::protocol::club::v1::client::CreateStreamResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateStreamResponse response; + uint32 status = HandleCreateStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyStream", "bgs.protocol.club.v1.client.DestroyStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroyStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStream", "bgs.protocol.club.v1.client.GetStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStream", ::bgs::protocol::club::v1::client::GetStreamResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamResponse response; + uint32 status = HandleGetStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreams"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreams", "bgs.protocol.club.v1.client.GetStreamsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreams", ::bgs::protocol::club::v1::client::GetStreamsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamsResponse response; + uint32 status = HandleGetStreams(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateStreamStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateStreamState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateStreamState", "bgs.protocol.club.v1.client.UpdateStreamStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateStreamState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateStreamState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetStreamFocusRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetStreamFocus"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetStreamFocus", "bgs.protocol.club.v1.client.SetStreamFocusRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetStreamFocus", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetStreamFocus(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamVoiceToken"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamVoiceToken", "bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamVoiceToken", ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse response; + uint32 status = HandleGetStreamVoiceToken(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.KickFromStreamVoice"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.KickFromStreamVoice", "bgs.protocol.club.v1.client.KickFromStreamVoiceRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.KickFromStreamVoice", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleKickFromStreamVoice(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateMessage", "bgs.protocol.club.v1.client.CreateMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateMessage", ::bgs::protocol::club::v1::client::CreateMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateMessageResponse response; + uint32 status = HandleCreateMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyMessage", "bgs.protocol.club.v1.client.DestroyMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyMessage", ::bgs::protocol::club::v1::client::DestroyMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::DestroyMessageResponse response; + uint32 status = HandleDestroyMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::EditMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.EditMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.EditMessage", "bgs.protocol.club.v1.client.EditMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.EditMessage", ::bgs::protocol::club::v1::client::EditMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::EditMessageResponse response; + uint32 status = HandleEditMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetMessagePinnedRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetMessagePinned"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetMessagePinned", "bgs.protocol.club.v1.client.SetMessagePinnedRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetMessagePinned", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetMessagePinned(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetTypingIndicatorRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetTypingIndicator"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetTypingIndicator", "bgs.protocol.club.v1.client.SetTypingIndicatorRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetTypingIndicator(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AdvanceStreamViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AdvanceStreamViewTime", "bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AdvanceStreamViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceStreamViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamHistoryRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamHistory"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamHistory", "bgs.protocol.club.v1.client.GetStreamHistoryRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamHistory", ::bgs::protocol::club::v1::client::GetStreamHistoryResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamHistoryResponse response; + uint32 status = HandleGetStreamHistory(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamMessage", "bgs.protocol.club.v1.client.GetStreamMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamMessage", ::bgs::protocol::club::v1::client::GetStreamMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamMessageResponse response; + uint32 status = HandleGetStreamMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_service.pb.h b/src/server/proto/Client/api/client/v1/club_service.pb.h new file mode 100644 index 00000000000..7f4fcac44b7 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.pb.h @@ -0,0 +1,201 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_request.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + +// =================================================================== + +// =================================================================== + +class TC_PROTO_API ClubService : public ServiceBase +{ + public: + + explicit ClubService(bool use_original_hash); + ClubService(ClubService const&) = delete; + ClubService(ClubService&&) = delete; + ClubService& operator=(ClubService const&) = delete; + ClubService& operator=(ClubService&&) = delete; + virtual ~ClubService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* response, std::function& continuation); + virtual uint32 HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* response, std::function& continuation); + virtual uint32 HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* response, std::function& continuation); + virtual uint32 HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* response, std::function& continuation); + virtual uint32 HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* response, std::function& continuation); + virtual uint32 HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* response, std::function& continuation); + virtual uint32 HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* response, std::function& continuation); + virtual uint32 HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* response, std::function& continuation); + virtual uint32 HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* response, std::function& continuation); + virtual uint32 HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* response, std::function& continuation); + virtual uint32 HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* response, std::function& continuation); + virtual uint32 HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* response, std::function& continuation); + virtual uint32 HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* response, std::function& continuation); + virtual uint32 HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* response, std::function& continuation); + virtual uint32 HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* response, std::function& continuation); + virtual uint32 HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* response, std::function& continuation); + virtual uint32 HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* response, std::function& continuation); + virtual uint32 HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* response, std::function& continuation); + virtual uint32 HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* response, std::function& continuation); + virtual uint32 HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* response, std::function& continuation); + virtual uint32 HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* response, std::function& continuation); + virtual uint32 HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* response, std::function& continuation); + virtual uint32 HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_service.proto b/src/server/proto/Client/api/client/v1/club_service.proto new file mode 100644 index 00000000000..7eada30457d --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.proto @@ -0,0 +1,293 @@ +syntax = "proto2"; + +import "api/client/v1/club_request.proto"; +package bgs.protocol.club.v1.client; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubService { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubService" + shard_name: "club" + }; + option (.bgs.protocol.sdk_service_options) = { + outbound: true + use_client_id: true + }; + rpc Subscribe(.bgs.protocol.club.v1.client.SubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc Unsubscribe(.bgs.protocol.club.v1.client.UnsubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc Create(.bgs.protocol.club.v1.client.CreateRequest) returns (.bgs.protocol.club.v1.client.CreateResponse) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc Destroy(.bgs.protocol.club.v1.client.DestroyRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc GetDescription(.bgs.protocol.club.v1.client.GetDescriptionRequest) returns (.bgs.protocol.club.v1.client.GetDescriptionResponse) { + option (.bgs.protocol.method_options) = { + id: 5 + }; + } + rpc GetClubType(.bgs.protocol.club.v1.client.GetClubTypeRequest) returns (.bgs.protocol.club.v1.client.GetClubTypeResponse) { + option (.bgs.protocol.method_options) = { + id: 6 + }; + } + rpc UpdateClubState(.bgs.protocol.club.v1.client.UpdateClubStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 7 + }; + } + rpc UpdateClubSettings(.bgs.protocol.club.v1.client.UpdateClubSettingsRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 8 + }; + } + rpc Join(.bgs.protocol.club.v1.client.JoinRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc Leave(.bgs.protocol.club.v1.client.LeaveRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc Kick(.bgs.protocol.club.v1.client.KickRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc GetMember(.bgs.protocol.club.v1.client.GetMemberRequest) returns (.bgs.protocol.club.v1.client.GetMemberResponse) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc GetMembers(.bgs.protocol.club.v1.client.GetMembersRequest) returns (.bgs.protocol.club.v1.client.GetMembersResponse) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc UpdateMemberState(.bgs.protocol.club.v1.client.UpdateMemberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 35 + }; + } + rpc UpdateSubscriberState(.bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 36 + }; + } + rpc AssignRole(.bgs.protocol.club.v1.client.AssignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 37 + }; + } + rpc UnassignRole(.bgs.protocol.club.v1.client.UnassignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 38 + }; + } + rpc SendInvitation(.bgs.protocol.club.v1.client.SendInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc AcceptInvitation(.bgs.protocol.club.v1.client.AcceptInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc DeclineInvitation(.bgs.protocol.club.v1.client.DeclineInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 52 + }; + } + rpc RevokeInvitation(.bgs.protocol.club.v1.client.RevokeInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 53 + }; + } + rpc GetInvitation(.bgs.protocol.club.v1.client.GetInvitationRequest) returns (.bgs.protocol.club.v1.client.GetInvitationResponse) { + option (.bgs.protocol.method_options) = { + id: 54 + }; + } + rpc GetInvitations(.bgs.protocol.club.v1.client.GetInvitationsRequest) returns (.bgs.protocol.club.v1.client.GetInvitationsResponse) { + option (.bgs.protocol.method_options) = { + id: 55 + }; + } + rpc SendSuggestion(.bgs.protocol.club.v1.client.SendSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 60 + }; + } + rpc AcceptSuggestion(.bgs.protocol.club.v1.client.AcceptSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 61 + }; + } + rpc DeclineSuggestion(.bgs.protocol.club.v1.client.DeclineSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 62 + }; + } + rpc GetSuggestion(.bgs.protocol.club.v1.client.GetSuggestionRequest) returns (.bgs.protocol.club.v1.client.GetSuggestionResponse) { + option (.bgs.protocol.method_options) = { + id: 63 + }; + } + rpc GetSuggestions(.bgs.protocol.club.v1.client.GetSuggestionsRequest) returns (.bgs.protocol.club.v1.client.GetSuggestionsResponse) { + option (.bgs.protocol.method_options) = { + id: 64 + }; + } + rpc CreateTicket(.bgs.protocol.club.v1.client.CreateTicketRequest) returns (.bgs.protocol.club.v1.client.CreateTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc DestroyTicket(.bgs.protocol.club.v1.client.DestroyTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc RedeemTicket(.bgs.protocol.club.v1.client.RedeemTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 72 + }; + } + rpc GetTicket(.bgs.protocol.club.v1.client.GetTicketRequest) returns (.bgs.protocol.club.v1.client.GetTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 73 + }; + } + rpc GetTickets(.bgs.protocol.club.v1.client.GetTicketsRequest) returns (.bgs.protocol.club.v1.client.GetTicketsResponse) { + option (.bgs.protocol.method_options) = { + id: 74 + }; + } + rpc AddBan(.bgs.protocol.club.v1.client.AddBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 80 + }; + } + rpc RemoveBan(.bgs.protocol.club.v1.client.RemoveBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 81 + }; + } + rpc GetBan(.bgs.protocol.club.v1.client.GetBanRequest) returns (.bgs.protocol.club.v1.client.GetBanResponse) { + option (.bgs.protocol.method_options) = { + id: 82 + }; + } + rpc GetBans(.bgs.protocol.club.v1.client.GetBansRequest) returns (.bgs.protocol.club.v1.client.GetBansResponse) { + option (.bgs.protocol.method_options) = { + id: 83 + }; + } + rpc SubscribeStream(.bgs.protocol.club.v1.client.SubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc UnsubscribeStream(.bgs.protocol.club.v1.client.UnsubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc CreateStream(.bgs.protocol.club.v1.client.CreateStreamRequest) returns (.bgs.protocol.club.v1.client.CreateStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc DestroyStream(.bgs.protocol.club.v1.client.DestroyStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 103 + }; + } + rpc GetStream(.bgs.protocol.club.v1.client.GetStreamRequest) returns (.bgs.protocol.club.v1.client.GetStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 104 + }; + } + rpc GetStreams(.bgs.protocol.club.v1.client.GetStreamsRequest) returns (.bgs.protocol.club.v1.client.GetStreamsResponse) { + option (.bgs.protocol.method_options) = { + id: 105 + }; + } + rpc UpdateStreamState(.bgs.protocol.club.v1.client.UpdateStreamStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 106 + }; + } + rpc SetStreamFocus(.bgs.protocol.club.v1.client.SetStreamFocusRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 107 + }; + } + rpc GetStreamVoiceToken(.bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) returns (.bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) { + option (.bgs.protocol.method_options) = { + id: 108 + }; + } + rpc KickFromStreamVoice(.bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 109 + }; + } + rpc CreateMessage(.bgs.protocol.club.v1.client.CreateMessageRequest) returns (.bgs.protocol.club.v1.client.CreateMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc DestroyMessage(.bgs.protocol.club.v1.client.DestroyMessageRequest) returns (.bgs.protocol.club.v1.client.DestroyMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 151 + }; + } + rpc EditMessage(.bgs.protocol.club.v1.client.EditMessageRequest) returns (.bgs.protocol.club.v1.client.EditMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc SetMessagePinned(.bgs.protocol.club.v1.client.SetMessagePinnedRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc SetTypingIndicator(.bgs.protocol.club.v1.client.SetTypingIndicatorRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc AdvanceStreamViewTime(.bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } + rpc GetStreamHistory(.bgs.protocol.club.v1.client.GetStreamHistoryRequest) returns (.bgs.protocol.club.v1.client.GetStreamHistoryResponse) { + option (.bgs.protocol.method_options) = { + id: 156 + }; + } + rpc GetStreamMessage(.bgs.protocol.club.v1.client.GetStreamMessageRequest) returns (.bgs.protocol.club.v1.client.GetStreamMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 157 + }; + } +} diff --git a/src/server/proto/Client/api/client/v1/club_stream.pb.cc b/src/server/proto/Client/api/client/v1/club_stream.pb.cc new file mode 100644 index 00000000000..cdf82564159 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.cc @@ -0,0 +1,2108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_stream.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_stream.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* StreamPosition_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamPosition_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAccess_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAccess_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Stream_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Stream_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* MentionContent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MentionContent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStreamMessageContainer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStreamMessageContainer_reflection_ = NULL; +const ::google::protobuf::Descriptor* ContentChain_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ContentChain_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessage_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMention_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMention_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamView_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAdvanceViewTime_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAdvanceViewTime_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamEventTime_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamEventTime_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionView_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamTypingIndicator_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamTypingIndicator_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_stream.proto"); + GOOGLE_CHECK(file != NULL); + StreamPosition_descriptor_ = file->message_type(0); + static const int StreamPosition_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, stream_id_), + }; + StreamPosition_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamPosition_descriptor_, + StreamPosition::default_instance_, + StreamPosition_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamPosition)); + StreamAccess_descriptor_ = file->message_type(1); + static const int StreamAccess_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, role_), + }; + StreamAccess_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAccess_descriptor_, + StreamAccess::default_instance_, + StreamAccess_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAccess)); + CreateStreamOptions_descriptor_ = file->message_type(2); + static const int CreateStreamOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, voice_level_), + }; + CreateStreamOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamOptions_descriptor_, + CreateStreamOptions::default_instance_, + CreateStreamOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamOptions)); + Stream_descriptor_ = file->message_type(3); + static const int Stream_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, voice_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, creation_time_), + }; + Stream_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Stream_descriptor_, + Stream::default_instance_, + Stream_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Stream)); + StreamDescription_descriptor_ = file->message_type(4); + static const int StreamDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, name_), + }; + StreamDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamDescription_descriptor_, + StreamDescription::default_instance_, + StreamDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamDescription)); + MentionContent_descriptor_ = file->message_type(5); + static const int MentionContent_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, here_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, role_), + }; + MentionContent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MentionContent_descriptor_, + MentionContent::default_instance_, + MentionContent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MentionContent)); + CreateMessageOptions_descriptor_ = file->message_type(6); + static const int CreateMessageOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, mention_), + }; + CreateMessageOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageOptions_descriptor_, + CreateMessageOptions::default_instance_, + CreateMessageOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageOptions)); + ClubStreamMessageContainer_descriptor_ = file->message_type(7); + static const int ClubStreamMessageContainer_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, message_), + }; + ClubStreamMessageContainer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStreamMessageContainer_descriptor_, + ClubStreamMessageContainer::default_instance_, + ClubStreamMessageContainer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStreamMessageContainer)); + ContentChain_descriptor_ = file->message_type(8); + static const int ContentChain_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, embed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, mention_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, edit_time_), + }; + ContentChain_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ContentChain_descriptor_, + ContentChain::default_instance_, + ContentChain_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ContentChain)); + StreamMessage_descriptor_ = file->message_type(9); + static const int StreamMessage_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, author_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, content_chain_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyer_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroy_time_), + }; + StreamMessage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessage_descriptor_, + StreamMessage::default_instance_, + StreamMessage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessage)); + StreamMention_descriptor_ = file->message_type(10); + static const int StreamMention_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, author_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, destroyed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, mention_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_type_), + }; + StreamMention_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMention_descriptor_, + StreamMention::default_instance_, + StreamMention_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMention)); + StreamView_descriptor_ = file->message_type(11); + static const int StreamView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, marker_), + }; + StreamView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamView_descriptor_, + StreamView::default_instance_, + StreamView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamView)); + StreamAdvanceViewTime_descriptor_ = file->message_type(12); + static const int StreamAdvanceViewTime_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, view_time_), + }; + StreamAdvanceViewTime_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAdvanceViewTime_descriptor_, + StreamAdvanceViewTime::default_instance_, + StreamAdvanceViewTime_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAdvanceViewTime)); + StreamEventTime_descriptor_ = file->message_type(13); + static const int StreamEventTime_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, event_time_), + }; + StreamEventTime_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamEventTime_descriptor_, + StreamEventTime::default_instance_, + StreamEventTime_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamEventTime)); + StreamMentionView_descriptor_ = file->message_type(14); + static const int StreamMentionView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, marker_), + }; + StreamMentionView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionView_descriptor_, + StreamMentionView::default_instance_, + StreamMentionView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionView)); + StreamStateOptions_descriptor_ = file->message_type(15); + static const int StreamStateOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, voice_level_), + }; + StreamStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateOptions_descriptor_, + StreamStateOptions::default_instance_, + StreamStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateOptions)); + StreamStateAssignment_descriptor_ = file->message_type(16); + static const int StreamStateAssignment_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_subscription_removed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, voice_level_), + }; + StreamStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateAssignment_descriptor_, + StreamStateAssignment::default_instance_, + StreamStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateAssignment)); + StreamTypingIndicator_descriptor_ = file->message_type(17); + static const int StreamTypingIndicator_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, author_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, indicator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, epoch_), + }; + StreamTypingIndicator_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamTypingIndicator_descriptor_, + StreamTypingIndicator::default_instance_, + StreamTypingIndicator_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamTypingIndicator)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamPosition_descriptor_, &StreamPosition::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAccess_descriptor_, &StreamAccess::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamOptions_descriptor_, &CreateStreamOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Stream_descriptor_, &Stream::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamDescription_descriptor_, &StreamDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MentionContent_descriptor_, &MentionContent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageOptions_descriptor_, &CreateMessageOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStreamMessageContainer_descriptor_, &ClubStreamMessageContainer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ContentChain_descriptor_, &ContentChain::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessage_descriptor_, &StreamMessage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMention_descriptor_, &StreamMention::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamView_descriptor_, &StreamView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAdvanceViewTime_descriptor_, &StreamAdvanceViewTime::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamEventTime_descriptor_, &StreamEventTime::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionView_descriptor_, &StreamMentionView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateOptions_descriptor_, &StreamStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateAssignment_descriptor_, &StreamStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamTypingIndicator_descriptor_, &StreamTypingIndicator::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + delete StreamPosition::default_instance_; + delete StreamPosition_reflection_; + delete StreamAccess::default_instance_; + delete StreamAccess_reflection_; + delete CreateStreamOptions::default_instance_; + delete CreateStreamOptions_reflection_; + delete Stream::default_instance_; + delete Stream_reflection_; + delete StreamDescription::default_instance_; + delete StreamDescription_reflection_; + delete MentionContent::default_instance_; + delete MentionContent_reflection_; + delete CreateMessageOptions::default_instance_; + delete CreateMessageOptions_reflection_; + delete ClubStreamMessageContainer::default_instance_; + delete ClubStreamMessageContainer_reflection_; + delete ContentChain::default_instance_; + delete ContentChain_reflection_; + delete StreamMessage::default_instance_; + delete StreamMessage_reflection_; + delete StreamMention::default_instance_; + delete StreamMention_reflection_; + delete StreamView::default_instance_; + delete StreamView_reflection_; + delete StreamAdvanceViewTime::default_instance_; + delete StreamAdvanceViewTime_reflection_; + delete StreamEventTime::default_instance_; + delete StreamEventTime_reflection_; + delete StreamMentionView::default_instance_; + delete StreamMentionView_reflection_; + delete StreamStateOptions::default_instance_; + delete StreamStateOptions_reflection_; + delete StreamStateAssignment::default_instance_; + delete StreamStateAssignment_reflection_; + delete StreamTypingIndicator::default_instance_; + delete StreamTypingIndicator_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_embed_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/client/v1/club_stream.proto\022\033bgs.p" + "rotocol.club.v1.client\032\035api/client/v1/cl" + "ub_enum.proto\032\037api/client/v1/club_member" + ".proto\032\035api/common/v1/club_type.proto\032#a" + "pi/common/v2/attribute_types.proto\032\021embe" + "d_types.proto\032\017ets_types.proto\032\026event_vi" + "ew_types.proto\032\023message_types.proto\"\'\n\016S" + "treamPosition\022\025\n\tstream_id\030\001 \003(\004B\002\020\001\" \n\014" + "StreamAccess\022\020\n\004role\030\001 \003(\rB\002\020\001\"\342\001\n\023Creat" + "eStreamOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs." + "protocol.v2.Attribute\022\014\n\004name\030\002 \001(\t\022\017\n\007s" + "ubject\030\003 \001(\t\0229\n\006access\030\004 \001(\0132).bgs.proto" + "col.club.v1.client.StreamAccess\022B\n\013voice" + "_level\030\005 \001(\0162-.bgs.protocol.club.v1.clie" + "nt.StreamVoiceLevel\"\211\002\n\006Stream\022\017\n\007club_i" + "d\030\001 \001(\004\022\n\n\002id\030\002 \001(\004\022-\n\tattribute\030\003 \003(\0132\032" + ".bgs.protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t" + "\022\017\n\007subject\030\005 \001(\t\0229\n\006access\030\006 \001(\0132).bgs." + "protocol.club.v1.client.StreamAccess\022B\n\013" + "voice_level\030\007 \001(\0162-.bgs.protocol.club.v1" + ".client.StreamVoiceLevel\022\025\n\rcreation_tim" + "e\030\010 \001(\004\"-\n\021StreamDescription\022\n\n\002id\030\002 \001(\004" + "\022\014\n\004name\030\004 \001(\t\"p\n\016MentionContent\022\013\n\003all\030" + "\001 \001(\010\022\014\n\004here\030\002 \001(\010\0221\n\tmember_id\030\003 \003(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\020\n\004role\030\004" + " \003(\rB\002\020\001\"e\n\024CreateMessageOptions\022\017\n\007cont" + "ent\030\002 \001(\t\022<\n\007mention\030\003 \001(\0132+.bgs.protoco" + "l.club.v1.client.MentionContent\"Y\n\032ClubS" + "treamMessageContainer\022;\n\007message\030\001 \003(\0132*" + ".bgs.protocol.club.v1.client.StreamMessa" + "ge\"\230\001\n\014ContentChain\022\017\n\007content\030\005 \001(\t\022&\n\005" + "embed\030\006 \003(\0132\027.bgs.protocol.EmbedInfo\022<\n\007" + "mention\030\007 \001(\0132+.bgs.protocol.club.v1.cli" + "ent.MentionContent\022\021\n\tedit_time\030\010 \001(\004\"\242\002" + "\n\rStreamMessage\022#\n\002id\030\003 \001(\0132\027.bgs.protoc" + "ol.MessageId\022>\n\006author\030\004 \001(\0132..bgs.proto" + "col.club.v1.client.MemberDescription\022@\n\r" + "content_chain\030\006 \003(\0132).bgs.protocol.club." + "v1.client.ContentChain\022A\n\tdestroyer\030\017 \001(" + "\0132..bgs.protocol.club.v1.client.MemberDe" + "scription\022\021\n\tdestroyed\030\020 \001(\010\022\024\n\014destroy_" + "time\030\021 \001(\004\"\214\003\n\rStreamMention\022\017\n\007club_id\030" + "\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022+\n\nmessage_id\030\003" + " \001(\0132\027.bgs.protocol.MessageId\022>\n\006author\030" + "\004 \001(\0132..bgs.protocol.club.v1.client.Memb" + "erDescription\022\021\n\tdestroyed\030\005 \001(\010\022.\n\nment" + "ion_id\030\006 \001(\0132\032.bgs.protocol.TimeSeriesId" + "\0221\n\tmember_id\030\007 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022;\n\007message\030\010 \001(\0132*.bgs.proto" + "col.club.v1.client.StreamMessage\0227\n\tclub" + "_type\030\t \001(\0132$.bgs.protocol.club.v1.Uniqu" + "eClubType\"Z\n\nStreamView\022\017\n\007club_id\030\001 \001(\004" + "\022\021\n\tstream_id\030\002 \001(\004\022(\n\006marker\030\003 \001(\0132\030.bg" + "s.protocol.ViewMarker\"=\n\025StreamAdvanceVi" + "ewTime\022\021\n\tstream_id\030\001 \001(\004\022\021\n\tview_time\030\002" + " \001(\004\"8\n\017StreamEventTime\022\021\n\tstream_id\030\001 \001" + "(\004\022\022\n\nevent_time\030\002 \001(\004\"a\n\021StreamMentionV" + "iew\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022" + "(\n\006marker\030\003 \001(\0132\030.bgs.protocol.ViewMarke" + "r\"\341\001\n\022StreamStateOptions\022-\n\tattribute\030\001 " + "\003(\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name\030" + "\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0229\n\006access\030\004 \001(\0132)" + ".bgs.protocol.club.v1.client.StreamAcces" + "s\022B\n\013voice_level\030\005 \001(\0162-.bgs.protocol.cl" + "ub.v1.client.StreamVoiceLevel\"\234\002\n\025Stream" + "StateAssignment\022\021\n\tstream_id\030\001 \001(\004\022-\n\tat" + "tribute\030\002 \003(\0132\032.bgs.protocol.v2.Attribut" + "e\022\014\n\004name\030\003 \001(\t\022\017\n\007subject\030\004 \001(\t\0229\n\006acce" + "ss\030\005 \001(\0132).bgs.protocol.club.v1.client.S" + "treamAccess\022#\n\033stream_subscription_remov" + "ed\030\006 \001(\010\022B\n\013voice_level\030\007 \001(\0162-.bgs.prot" + "ocol.club.v1.client.StreamVoiceLevel\"\213\001\n" + "\025StreamTypingIndicator\0221\n\tauthor_id\030\001 \001(" + "\0132\036.bgs.protocol.club.v1.MemberId\0220\n\tind" + "icator\030\002 \001(\0162\035.bgs.protocol.TypingIndica" + "tor\022\r\n\005epoch\030\003 \001(\004B\002H\002", 3022); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_stream.proto", &protobuf_RegisterTypes); + StreamPosition::default_instance_ = new StreamPosition(); + StreamAccess::default_instance_ = new StreamAccess(); + CreateStreamOptions::default_instance_ = new CreateStreamOptions(); + Stream::default_instance_ = new Stream(); + StreamDescription::default_instance_ = new StreamDescription(); + MentionContent::default_instance_ = new MentionContent(); + CreateMessageOptions::default_instance_ = new CreateMessageOptions(); + ClubStreamMessageContainer::default_instance_ = new ClubStreamMessageContainer(); + ContentChain::default_instance_ = new ContentChain(); + StreamMessage::default_instance_ = new StreamMessage(); + StreamMention::default_instance_ = new StreamMention(); + StreamView::default_instance_ = new StreamView(); + StreamAdvanceViewTime::default_instance_ = new StreamAdvanceViewTime(); + StreamEventTime::default_instance_ = new StreamEventTime(); + StreamMentionView::default_instance_ = new StreamMentionView(); + StreamStateOptions::default_instance_ = new StreamStateOptions(); + StreamStateAssignment::default_instance_ = new StreamStateAssignment(); + StreamTypingIndicator::default_instance_ = new StreamTypingIndicator(); + StreamPosition::default_instance_->InitAsDefaultInstance(); + StreamAccess::default_instance_->InitAsDefaultInstance(); + CreateStreamOptions::default_instance_->InitAsDefaultInstance(); + Stream::default_instance_->InitAsDefaultInstance(); + StreamDescription::default_instance_->InitAsDefaultInstance(); + MentionContent::default_instance_->InitAsDefaultInstance(); + CreateMessageOptions::default_instance_->InitAsDefaultInstance(); + ClubStreamMessageContainer::default_instance_->InitAsDefaultInstance(); + ContentChain::default_instance_->InitAsDefaultInstance(); + StreamMessage::default_instance_->InitAsDefaultInstance(); + StreamMention::default_instance_->InitAsDefaultInstance(); + StreamView::default_instance_->InitAsDefaultInstance(); + StreamAdvanceViewTime::default_instance_->InitAsDefaultInstance(); + StreamEventTime::default_instance_->InitAsDefaultInstance(); + StreamMentionView::default_instance_->InitAsDefaultInstance(); + StreamStateOptions::default_instance_->InitAsDefaultInstance(); + StreamStateAssignment::default_instance_->InitAsDefaultInstance(); + StreamTypingIndicator::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fstream_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fstream_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int StreamPosition::kStreamIdFieldNumber; +#endif // !_MSC_VER + +StreamPosition::StreamPosition() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamPosition) +} + +void StreamPosition::InitAsDefaultInstance() { +} + +StreamPosition::StreamPosition(const StreamPosition& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamPosition) +} + +void StreamPosition::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamPosition::~StreamPosition() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamPosition) + SharedDtor(); +} + +void StreamPosition::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamPosition::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamPosition::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamPosition_descriptor_; +} + +const StreamPosition& StreamPosition::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamPosition* StreamPosition::default_instance_ = NULL; + +StreamPosition* StreamPosition::New() const { + return new StreamPosition; +} + +void StreamPosition::Swap(StreamPosition* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamPosition::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamPosition_descriptor_; + metadata.reflection = StreamPosition_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAccess::kRoleFieldNumber; +#endif // !_MSC_VER + +StreamAccess::StreamAccess() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAccess) +} + +void StreamAccess::InitAsDefaultInstance() { +} + +StreamAccess::StreamAccess(const StreamAccess& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAccess) +} + +void StreamAccess::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAccess::~StreamAccess() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAccess) + SharedDtor(); +} + +void StreamAccess::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamAccess::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAccess::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAccess_descriptor_; +} + +const StreamAccess& StreamAccess::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamAccess* StreamAccess::default_instance_ = NULL; + +StreamAccess* StreamAccess::New() const { + return new StreamAccess; +} + +void StreamAccess::Swap(StreamAccess* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAccess::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAccess_descriptor_; + metadata.reflection = StreamAccess_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamOptions::kAttributeFieldNumber; +const int CreateStreamOptions::kNameFieldNumber; +const int CreateStreamOptions::kSubjectFieldNumber; +const int CreateStreamOptions::kAccessFieldNumber; +const int CreateStreamOptions::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +CreateStreamOptions::CreateStreamOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamOptions) +} + +void CreateStreamOptions::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +CreateStreamOptions::CreateStreamOptions(const CreateStreamOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamOptions) +} + +void CreateStreamOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamOptions::~CreateStreamOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamOptions) + SharedDtor(); +} + +void CreateStreamOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void CreateStreamOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamOptions_descriptor_; +} + +const CreateStreamOptions& CreateStreamOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +CreateStreamOptions* CreateStreamOptions::default_instance_ = NULL; + +CreateStreamOptions* CreateStreamOptions::New() const { + return new CreateStreamOptions; +} + +void CreateStreamOptions::Swap(CreateStreamOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamOptions_descriptor_; + metadata.reflection = CreateStreamOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Stream::kClubIdFieldNumber; +const int Stream::kIdFieldNumber; +const int Stream::kAttributeFieldNumber; +const int Stream::kNameFieldNumber; +const int Stream::kSubjectFieldNumber; +const int Stream::kAccessFieldNumber; +const int Stream::kVoiceLevelFieldNumber; +const int Stream::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +Stream::Stream() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Stream) +} + +void Stream::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +Stream::Stream(const Stream& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Stream) +} + +void Stream::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Stream::~Stream() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Stream) + SharedDtor(); +} + +void Stream::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void Stream::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Stream::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Stream_descriptor_; +} + +const Stream& Stream::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +Stream* Stream::default_instance_ = NULL; + +Stream* Stream::New() const { + return new Stream; +} + +void Stream::Swap(Stream* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Stream::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Stream_descriptor_; + metadata.reflection = Stream_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamDescription::kIdFieldNumber; +const int StreamDescription::kNameFieldNumber; +#endif // !_MSC_VER + +StreamDescription::StreamDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamDescription) +} + +void StreamDescription::InitAsDefaultInstance() { +} + +StreamDescription::StreamDescription(const StreamDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamDescription) +} + +void StreamDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamDescription::~StreamDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamDescription) + SharedDtor(); +} + +void StreamDescription::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void StreamDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamDescription_descriptor_; +} + +const StreamDescription& StreamDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamDescription* StreamDescription::default_instance_ = NULL; + +StreamDescription* StreamDescription::New() const { + return new StreamDescription; +} + +void StreamDescription::Swap(StreamDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamDescription_descriptor_; + metadata.reflection = StreamDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MentionContent::kAllFieldNumber; +const int MentionContent::kHereFieldNumber; +const int MentionContent::kMemberIdFieldNumber; +const int MentionContent::kRoleFieldNumber; +#endif // !_MSC_VER + +MentionContent::MentionContent() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MentionContent) +} + +void MentionContent::InitAsDefaultInstance() { +} + +MentionContent::MentionContent(const MentionContent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MentionContent) +} + +void MentionContent::SharedCtor() { + _cached_size_ = 0; + all_ = false; + here_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MentionContent::~MentionContent() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MentionContent) + SharedDtor(); +} + +void MentionContent::SharedDtor() { + if (this != default_instance_) { + } +} + +void MentionContent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MentionContent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MentionContent_descriptor_; +} + +const MentionContent& MentionContent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +MentionContent* MentionContent::default_instance_ = NULL; + +MentionContent* MentionContent::New() const { + return new MentionContent; +} + +void MentionContent::Swap(MentionContent* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MentionContent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MentionContent_descriptor_; + metadata.reflection = MentionContent_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageOptions::kContentFieldNumber; +const int CreateMessageOptions::kMentionFieldNumber; +#endif // !_MSC_VER + +CreateMessageOptions::CreateMessageOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageOptions) +} + +void CreateMessageOptions::InitAsDefaultInstance() { + mention_ = const_cast< ::bgs::protocol::club::v1::client::MentionContent*>(&::bgs::protocol::club::v1::client::MentionContent::default_instance()); +} + +CreateMessageOptions::CreateMessageOptions(const CreateMessageOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageOptions) +} + +void CreateMessageOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + mention_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageOptions::~CreateMessageOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageOptions) + SharedDtor(); +} + +void CreateMessageOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete mention_; + } +} + +void CreateMessageOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageOptions_descriptor_; +} + +const CreateMessageOptions& CreateMessageOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +CreateMessageOptions* CreateMessageOptions::default_instance_ = NULL; + +CreateMessageOptions* CreateMessageOptions::New() const { + return new CreateMessageOptions; +} + +void CreateMessageOptions::Swap(CreateMessageOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageOptions_descriptor_; + metadata.reflection = CreateMessageOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStreamMessageContainer::kMessageFieldNumber; +#endif // !_MSC_VER + +ClubStreamMessageContainer::ClubStreamMessageContainer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) +} + +void ClubStreamMessageContainer::InitAsDefaultInstance() { +} + +ClubStreamMessageContainer::ClubStreamMessageContainer(const ClubStreamMessageContainer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) +} + +void ClubStreamMessageContainer::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStreamMessageContainer::~ClubStreamMessageContainer() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) + SharedDtor(); +} + +void ClubStreamMessageContainer::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubStreamMessageContainer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStreamMessageContainer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStreamMessageContainer_descriptor_; +} + +const ClubStreamMessageContainer& ClubStreamMessageContainer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +ClubStreamMessageContainer* ClubStreamMessageContainer::default_instance_ = NULL; + +ClubStreamMessageContainer* ClubStreamMessageContainer::New() const { + return new ClubStreamMessageContainer; +} + +void ClubStreamMessageContainer::Swap(ClubStreamMessageContainer* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStreamMessageContainer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStreamMessageContainer_descriptor_; + metadata.reflection = ClubStreamMessageContainer_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ContentChain::kContentFieldNumber; +const int ContentChain::kEmbedFieldNumber; +const int ContentChain::kMentionFieldNumber; +const int ContentChain::kEditTimeFieldNumber; +#endif // !_MSC_VER + +ContentChain::ContentChain() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ContentChain) +} + +void ContentChain::InitAsDefaultInstance() { + mention_ = const_cast< ::bgs::protocol::club::v1::client::MentionContent*>(&::bgs::protocol::club::v1::client::MentionContent::default_instance()); +} + +ContentChain::ContentChain(const ContentChain& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ContentChain) +} + +void ContentChain::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + mention_ = NULL; + edit_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ContentChain::~ContentChain() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ContentChain) + SharedDtor(); +} + +void ContentChain::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete mention_; + } +} + +void ContentChain::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ContentChain::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ContentChain_descriptor_; +} + +const ContentChain& ContentChain::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +ContentChain* ContentChain::default_instance_ = NULL; + +ContentChain* ContentChain::New() const { + return new ContentChain; +} + +void ContentChain::Swap(ContentChain* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ContentChain::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ContentChain_descriptor_; + metadata.reflection = ContentChain_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessage::kIdFieldNumber; +const int StreamMessage::kAuthorFieldNumber; +const int StreamMessage::kContentChainFieldNumber; +const int StreamMessage::kDestroyerFieldNumber; +const int StreamMessage::kDestroyedFieldNumber; +const int StreamMessage::kDestroyTimeFieldNumber; +#endif // !_MSC_VER + +StreamMessage::StreamMessage() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessage) +} + +void StreamMessage::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + author_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + destroyer_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +StreamMessage::StreamMessage(const StreamMessage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessage) +} + +void StreamMessage::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + author_ = NULL; + destroyer_ = NULL; + destroyed_ = false; + destroy_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessage::~StreamMessage() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessage) + SharedDtor(); +} + +void StreamMessage::SharedDtor() { + if (this != default_instance_) { + delete id_; + delete author_; + delete destroyer_; + } +} + +void StreamMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessage_descriptor_; +} + +const StreamMessage& StreamMessage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMessage* StreamMessage::default_instance_ = NULL; + +StreamMessage* StreamMessage::New() const { + return new StreamMessage; +} + +void StreamMessage::Swap(StreamMessage* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessage_descriptor_; + metadata.reflection = StreamMessage_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMention::kClubIdFieldNumber; +const int StreamMention::kStreamIdFieldNumber; +const int StreamMention::kMessageIdFieldNumber; +const int StreamMention::kAuthorFieldNumber; +const int StreamMention::kDestroyedFieldNumber; +const int StreamMention::kMentionIdFieldNumber; +const int StreamMention::kMemberIdFieldNumber; +const int StreamMention::kMessageFieldNumber; +const int StreamMention::kClubTypeFieldNumber; +#endif // !_MSC_VER + +StreamMention::StreamMention() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMention) +} + +void StreamMention::InitAsDefaultInstance() { + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + author_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); + club_type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +StreamMention::StreamMention(const StreamMention& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMention) +} + +void StreamMention::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + author_ = NULL; + destroyed_ = false; + mention_id_ = NULL; + member_id_ = NULL; + message_ = NULL; + club_type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMention::~StreamMention() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMention) + SharedDtor(); +} + +void StreamMention::SharedDtor() { + if (this != default_instance_) { + delete message_id_; + delete author_; + delete mention_id_; + delete member_id_; + delete message_; + delete club_type_; + } +} + +void StreamMention::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMention::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMention_descriptor_; +} + +const StreamMention& StreamMention::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMention* StreamMention::default_instance_ = NULL; + +StreamMention* StreamMention::New() const { + return new StreamMention; +} + +void StreamMention::Swap(StreamMention* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMention::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMention_descriptor_; + metadata.reflection = StreamMention_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamView::kClubIdFieldNumber; +const int StreamView::kStreamIdFieldNumber; +const int StreamView::kMarkerFieldNumber; +#endif // !_MSC_VER + +StreamView::StreamView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamView) +} + +void StreamView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +StreamView::StreamView(const StreamView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamView) +} + +void StreamView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamView::~StreamView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamView) + SharedDtor(); +} + +void StreamView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void StreamView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamView_descriptor_; +} + +const StreamView& StreamView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamView* StreamView::default_instance_ = NULL; + +StreamView* StreamView::New() const { + return new StreamView; +} + +void StreamView::Swap(StreamView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamView_descriptor_; + metadata.reflection = StreamView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAdvanceViewTime::kStreamIdFieldNumber; +const int StreamAdvanceViewTime::kViewTimeFieldNumber; +#endif // !_MSC_VER + +StreamAdvanceViewTime::StreamAdvanceViewTime() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) +} + +void StreamAdvanceViewTime::InitAsDefaultInstance() { +} + +StreamAdvanceViewTime::StreamAdvanceViewTime(const StreamAdvanceViewTime& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) +} + +void StreamAdvanceViewTime::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + view_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAdvanceViewTime::~StreamAdvanceViewTime() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) + SharedDtor(); +} + +void StreamAdvanceViewTime::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamAdvanceViewTime::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAdvanceViewTime::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAdvanceViewTime_descriptor_; +} + +const StreamAdvanceViewTime& StreamAdvanceViewTime::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamAdvanceViewTime* StreamAdvanceViewTime::default_instance_ = NULL; + +StreamAdvanceViewTime* StreamAdvanceViewTime::New() const { + return new StreamAdvanceViewTime; +} + +void StreamAdvanceViewTime::Swap(StreamAdvanceViewTime* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAdvanceViewTime::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAdvanceViewTime_descriptor_; + metadata.reflection = StreamAdvanceViewTime_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamEventTime::kStreamIdFieldNumber; +const int StreamEventTime::kEventTimeFieldNumber; +#endif // !_MSC_VER + +StreamEventTime::StreamEventTime() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamEventTime) +} + +void StreamEventTime::InitAsDefaultInstance() { +} + +StreamEventTime::StreamEventTime(const StreamEventTime& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamEventTime) +} + +void StreamEventTime::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + event_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamEventTime::~StreamEventTime() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamEventTime) + SharedDtor(); +} + +void StreamEventTime::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamEventTime::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamEventTime::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamEventTime_descriptor_; +} + +const StreamEventTime& StreamEventTime::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamEventTime* StreamEventTime::default_instance_ = NULL; + +StreamEventTime* StreamEventTime::New() const { + return new StreamEventTime; +} + +void StreamEventTime::Swap(StreamEventTime* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamEventTime::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamEventTime_descriptor_; + metadata.reflection = StreamEventTime_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionView::kClubIdFieldNumber; +const int StreamMentionView::kStreamIdFieldNumber; +const int StreamMentionView::kMarkerFieldNumber; +#endif // !_MSC_VER + +StreamMentionView::StreamMentionView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMentionView) +} + +void StreamMentionView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +StreamMentionView::StreamMentionView(const StreamMentionView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMentionView) +} + +void StreamMentionView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionView::~StreamMentionView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMentionView) + SharedDtor(); +} + +void StreamMentionView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void StreamMentionView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionView_descriptor_; +} + +const StreamMentionView& StreamMentionView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMentionView* StreamMentionView::default_instance_ = NULL; + +StreamMentionView* StreamMentionView::New() const { + return new StreamMentionView; +} + +void StreamMentionView::Swap(StreamMentionView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionView_descriptor_; + metadata.reflection = StreamMentionView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateOptions::kAttributeFieldNumber; +const int StreamStateOptions::kNameFieldNumber; +const int StreamStateOptions::kSubjectFieldNumber; +const int StreamStateOptions::kAccessFieldNumber; +const int StreamStateOptions::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +StreamStateOptions::StreamStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateOptions) +} + +void StreamStateOptions::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +StreamStateOptions::StreamStateOptions(const StreamStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateOptions) +} + +void StreamStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateOptions::~StreamStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateOptions) + SharedDtor(); +} + +void StreamStateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void StreamStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateOptions_descriptor_; +} + +const StreamStateOptions& StreamStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamStateOptions* StreamStateOptions::default_instance_ = NULL; + +StreamStateOptions* StreamStateOptions::New() const { + return new StreamStateOptions; +} + +void StreamStateOptions::Swap(StreamStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateOptions_descriptor_; + metadata.reflection = StreamStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateAssignment::kStreamIdFieldNumber; +const int StreamStateAssignment::kAttributeFieldNumber; +const int StreamStateAssignment::kNameFieldNumber; +const int StreamStateAssignment::kSubjectFieldNumber; +const int StreamStateAssignment::kAccessFieldNumber; +const int StreamStateAssignment::kStreamSubscriptionRemovedFieldNumber; +const int StreamStateAssignment::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +StreamStateAssignment::StreamStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateAssignment) +} + +void StreamStateAssignment::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +StreamStateAssignment::StreamStateAssignment(const StreamStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateAssignment) +} + +void StreamStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + stream_subscription_removed_ = false; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateAssignment::~StreamStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateAssignment) + SharedDtor(); +} + +void StreamStateAssignment::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void StreamStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateAssignment_descriptor_; +} + +const StreamStateAssignment& StreamStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamStateAssignment* StreamStateAssignment::default_instance_ = NULL; + +StreamStateAssignment* StreamStateAssignment::New() const { + return new StreamStateAssignment; +} + +void StreamStateAssignment::Swap(StreamStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateAssignment_descriptor_; + metadata.reflection = StreamStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamTypingIndicator::kAuthorIdFieldNumber; +const int StreamTypingIndicator::kIndicatorFieldNumber; +const int StreamTypingIndicator::kEpochFieldNumber; +#endif // !_MSC_VER + +StreamTypingIndicator::StreamTypingIndicator() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) +} + +void StreamTypingIndicator::InitAsDefaultInstance() { + author_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamTypingIndicator::StreamTypingIndicator(const StreamTypingIndicator& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) +} + +void StreamTypingIndicator::SharedCtor() { + _cached_size_ = 0; + author_id_ = NULL; + indicator_ = 0; + epoch_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamTypingIndicator::~StreamTypingIndicator() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicator) + SharedDtor(); +} + +void StreamTypingIndicator::SharedDtor() { + if (this != default_instance_) { + delete author_id_; + } +} + +void StreamTypingIndicator::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamTypingIndicator::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamTypingIndicator_descriptor_; +} + +const StreamTypingIndicator& StreamTypingIndicator::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamTypingIndicator* StreamTypingIndicator::default_instance_ = NULL; + +StreamTypingIndicator* StreamTypingIndicator::New() const { + return new StreamTypingIndicator; +} + +void StreamTypingIndicator::Swap(StreamTypingIndicator* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamTypingIndicator::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamTypingIndicator_descriptor_; + metadata.reflection = StreamTypingIndicator_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_stream.pb.h b/src/server/proto/Client/api/client/v1/club_stream.pb.h new file mode 100644 index 00000000000..294eb70c748 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.h @@ -0,0 +1,4554 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_stream.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_enum.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "embed_types.pb.h" +#include "ets_types.pb.h" +#include "event_view_types.pb.h" +#include "message_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + +class StreamPosition; +class StreamAccess; +class CreateStreamOptions; +class Stream; +class StreamDescription; +class MentionContent; +class CreateMessageOptions; +class ClubStreamMessageContainer; +class ContentChain; +class StreamMessage; +class StreamMention; +class StreamView; +class StreamAdvanceViewTime; +class StreamEventTime; +class StreamMentionView; +class StreamStateOptions; +class StreamStateAssignment; +class StreamTypingIndicator; + +// =================================================================== + +class TC_PROTO_API StreamPosition : public ::google::protobuf::Message { + public: + StreamPosition(); + virtual ~StreamPosition(); + + StreamPosition(const StreamPosition& from); + + inline StreamPosition& operator=(const StreamPosition& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamPosition& default_instance(); + + void Swap(StreamPosition* other); + + // implements Message ---------------------------------------------- + + StreamPosition* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint64 stream_id = 1 [packed = true]; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamPosition) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamPosition* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAccess : public ::google::protobuf::Message { + public: + StreamAccess(); + virtual ~StreamAccess(); + + StreamAccess(const StreamAccess& from); + + inline StreamAccess& operator=(const StreamAccess& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAccess& default_instance(); + + void Swap(StreamAccess* other); + + // implements Message ---------------------------------------------- + + StreamAccess* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint32 role = 1 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAccess) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamAccess* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message { + public: + CreateStreamOptions(); + virtual ~CreateStreamOptions(); + + CreateStreamOptions(const CreateStreamOptions& from); + + inline CreateStreamOptions& operator=(const CreateStreamOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamOptions& default_instance(); + + void Swap(CreateStreamOptions* other); + + // implements Message ---------------------------------------------- + + CreateStreamOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 3; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 3; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 4; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Stream : public ::google::protobuf::Message { + public: + Stream(); + virtual ~Stream(); + + Stream(const Stream& from); + + inline Stream& operator=(const Stream& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Stream& default_instance(); + + void Swap(Stream* other); + + // implements Message ---------------------------------------------- + + Stream* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 id = 2; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 2; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 5; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 5; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 6; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // optional uint64 creation_time = 8; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Stream) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + ::google::protobuf::uint64 creation_time_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static Stream* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamDescription : public ::google::protobuf::Message { + public: + StreamDescription(); + virtual ~StreamDescription(); + + StreamDescription(const StreamDescription& from); + + inline StreamDescription& operator=(const StreamDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamDescription& default_instance(); + + void Swap(StreamDescription* other); + + // implements Message ---------------------------------------------- + + StreamDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 2; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 2; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::std::string* name_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MentionContent : public ::google::protobuf::Message { + public: + MentionContent(); + virtual ~MentionContent(); + + MentionContent(const MentionContent& from); + + inline MentionContent& operator=(const MentionContent& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MentionContent& default_instance(); + + void Swap(MentionContent* other); + + // implements Message ---------------------------------------------- + + MentionContent* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool all = 1; + inline bool has_all() const; + inline void clear_all(); + static const int kAllFieldNumber = 1; + inline bool all() const; + inline void set_all(bool value); + + // optional bool here = 2; + inline bool has_here() const; + inline void clear_here(); + static const int kHereFieldNumber = 2; + inline bool here() const; + inline void set_here(bool value); + + // repeated .bgs.protocol.club.v1.MemberId member_id = 3; + inline int member_id_size() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id(int index) const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(int index); + inline ::bgs::protocol::club::v1::MemberId* add_member_id(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& + member_id() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* + mutable_member_id(); + + // repeated uint32 role = 4 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 4; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MentionContent) + private: + inline void set_has_all(); + inline void clear_has_all(); + inline void set_has_here(); + inline void clear_has_here(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + bool all_; + bool here_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static MentionContent* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message { + public: + CreateMessageOptions(); + virtual ~CreateMessageOptions(); + + CreateMessageOptions(const CreateMessageOptions& from); + + inline CreateMessageOptions& operator=(const CreateMessageOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageOptions& default_instance(); + + void Swap(CreateMessageOptions* other); + + // implements Message ---------------------------------------------- + + CreateMessageOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 2; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 2; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional .bgs.protocol.club.v1.client.MentionContent mention = 3; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const; + inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention(); + inline ::bgs::protocol::club::v1::client::MentionContent* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_mention(); + inline void clear_has_mention(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::bgs::protocol::club::v1::client::MentionContent* mention_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Message { + public: + ClubStreamMessageContainer(); + virtual ~ClubStreamMessageContainer(); + + ClubStreamMessageContainer(const ClubStreamMessageContainer& from); + + inline ClubStreamMessageContainer& operator=(const ClubStreamMessageContainer& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStreamMessageContainer& default_instance(); + + void Swap(ClubStreamMessageContainer* other); + + // implements Message ---------------------------------------------- + + ClubStreamMessageContainer* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline int message_size() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(int index); + inline ::bgs::protocol::club::v1::client::StreamMessage* add_message(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& + message() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* + mutable_message(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamMessageContainer) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static ClubStreamMessageContainer* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ContentChain : public ::google::protobuf::Message { + public: + ContentChain(); + virtual ~ContentChain(); + + ContentChain(const ContentChain& from); + + inline ContentChain& operator=(const ContentChain& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ContentChain& default_instance(); + + void Swap(ContentChain* other); + + // implements Message ---------------------------------------------- + + ContentChain* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 5; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 5; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // repeated .bgs.protocol.EmbedInfo embed = 6; + inline int embed_size() const; + inline void clear_embed(); + static const int kEmbedFieldNumber = 6; + inline const ::bgs::protocol::EmbedInfo& embed(int index) const; + inline ::bgs::protocol::EmbedInfo* mutable_embed(int index); + inline ::bgs::protocol::EmbedInfo* add_embed(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& + embed() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* + mutable_embed(); + + // optional .bgs.protocol.club.v1.client.MentionContent mention = 7; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 7; + inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const; + inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention(); + inline ::bgs::protocol::club::v1::client::MentionContent* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention); + + // optional uint64 edit_time = 8; + inline bool has_edit_time() const; + inline void clear_edit_time(); + static const int kEditTimeFieldNumber = 8; + inline ::google::protobuf::uint64 edit_time() const; + inline void set_edit_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ContentChain) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_mention(); + inline void clear_has_mention(); + inline void set_has_edit_time(); + inline void clear_has_edit_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_; + ::bgs::protocol::club::v1::client::MentionContent* mention_; + ::google::protobuf::uint64 edit_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static ContentChain* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { + public: + StreamMessage(); + virtual ~StreamMessage(); + + StreamMessage(const StreamMessage& from); + + inline StreamMessage& operator=(const StreamMessage& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessage& default_instance(); + + void Swap(StreamMessage* other); + + // implements Message ---------------------------------------------- + + StreamMessage* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.MessageId id = 3; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 3; + inline const ::bgs::protocol::MessageId& id() const; + inline ::bgs::protocol::MessageId* mutable_id(); + inline ::bgs::protocol::MessageId* release_id(); + inline void set_allocated_id(::bgs::protocol::MessageId* id); + + // optional .bgs.protocol.club.v1.client.MemberDescription author = 4; + inline bool has_author() const; + inline void clear_author(); + static const int kAuthorFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_author(); + inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author); + + // repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6; + inline int content_chain_size() const; + inline void clear_content_chain(); + static const int kContentChainFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::ContentChain& content_chain(int index) const; + inline ::bgs::protocol::club::v1::client::ContentChain* mutable_content_chain(int index); + inline ::bgs::protocol::club::v1::client::ContentChain* add_content_chain(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >& + content_chain() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* + mutable_content_chain(); + + // optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15; + inline bool has_destroyer() const; + inline void clear_destroyer(); + static const int kDestroyerFieldNumber = 15; + inline const ::bgs::protocol::club::v1::client::MemberDescription& destroyer() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_destroyer(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_destroyer(); + inline void set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer); + + // optional bool destroyed = 16; + inline bool has_destroyed() const; + inline void clear_destroyed(); + static const int kDestroyedFieldNumber = 16; + inline bool destroyed() const; + inline void set_destroyed(bool value); + + // optional uint64 destroy_time = 17; + inline bool has_destroy_time() const; + inline void clear_destroy_time(); + static const int kDestroyTimeFieldNumber = 17; + inline ::google::protobuf::uint64 destroy_time() const; + inline void set_destroy_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessage) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_author(); + inline void clear_has_author(); + inline void set_has_destroyer(); + inline void clear_has_destroyer(); + inline void set_has_destroyed(); + inline void clear_has_destroyed(); + inline void set_has_destroy_time(); + inline void clear_has_destroy_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::MessageId* id_; + ::bgs::protocol::club::v1::client::MemberDescription* author_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > content_chain_; + ::bgs::protocol::club::v1::client::MemberDescription* destroyer_; + ::google::protobuf::uint64 destroy_time_; + bool destroyed_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMention : public ::google::protobuf::Message { + public: + StreamMention(); + virtual ~StreamMention(); + + StreamMention(const StreamMention& from); + + inline StreamMention& operator=(const StreamMention& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMention& default_instance(); + + void Swap(StreamMention* other); + + // implements Message ---------------------------------------------- + + StreamMention* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 3; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 3; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // optional .bgs.protocol.club.v1.client.MemberDescription author = 4; + inline bool has_author() const; + inline void clear_author(); + static const int kAuthorFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_author(); + inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author); + + // optional bool destroyed = 5; + inline bool has_destroyed() const; + inline void clear_destroyed(); + static const int kDestroyedFieldNumber = 5; + inline bool destroyed() const; + inline void set_destroyed(bool value); + + // optional .bgs.protocol.TimeSeriesId mention_id = 6; + inline bool has_mention_id() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 6; + inline const ::bgs::protocol::TimeSeriesId& mention_id() const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); + inline ::bgs::protocol::TimeSeriesId* release_mention_id(); + inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); + + // optional .bgs.protocol.club.v1.MemberId member_id = 7; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 7; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 8; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 8; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; + inline bool has_club_type() const; + inline void clear_club_type(); + static const int kClubTypeFieldNumber = 9; + inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type(); + inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMention) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + inline void set_has_author(); + inline void clear_has_author(); + inline void set_has_destroyed(); + inline void clear_has_destroyed(); + inline void set_has_mention_id(); + inline void clear_has_mention_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_message(); + inline void clear_has_message(); + inline void set_has_club_type(); + inline void clear_has_club_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + ::bgs::protocol::club::v1::client::MemberDescription* author_; + ::bgs::protocol::TimeSeriesId* mention_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + ::bgs::protocol::club::v1::UniqueClubType* club_type_; + bool destroyed_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMention* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamView : public ::google::protobuf::Message { + public: + StreamView(); + virtual ~StreamView(); + + StreamView(const StreamView& from); + + inline StreamView& operator=(const StreamView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamView& default_instance(); + + void Swap(StreamView* other); + + // implements Message ---------------------------------------------- + + StreamView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 3; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 3; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message { + public: + StreamAdvanceViewTime(); + virtual ~StreamAdvanceViewTime(); + + StreamAdvanceViewTime(const StreamAdvanceViewTime& from); + + inline StreamAdvanceViewTime& operator=(const StreamAdvanceViewTime& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAdvanceViewTime& default_instance(); + + void Swap(StreamAdvanceViewTime* other); + + // implements Message ---------------------------------------------- + + StreamAdvanceViewTime* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint64 view_time = 2; + inline bool has_view_time() const; + inline void clear_view_time(); + static const int kViewTimeFieldNumber = 2; + inline ::google::protobuf::uint64 view_time() const; + inline void set_view_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTime) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_view_time(); + inline void clear_has_view_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint64 view_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamAdvanceViewTime* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message { + public: + StreamEventTime(); + virtual ~StreamEventTime(); + + StreamEventTime(const StreamEventTime& from); + + inline StreamEventTime& operator=(const StreamEventTime& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamEventTime& default_instance(); + + void Swap(StreamEventTime* other); + + // implements Message ---------------------------------------------- + + StreamEventTime* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint64 event_time = 2; + inline bool has_event_time() const; + inline void clear_event_time(); + static const int kEventTimeFieldNumber = 2; + inline ::google::protobuf::uint64 event_time() const; + inline void set_event_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamEventTime) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_event_time(); + inline void clear_has_event_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint64 event_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamEventTime* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message { + public: + StreamMentionView(); + virtual ~StreamMentionView(); + + StreamMentionView(const StreamMentionView& from); + + inline StreamMentionView& operator=(const StreamMentionView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionView& default_instance(); + + void Swap(StreamMentionView* other); + + // implements Message ---------------------------------------------- + + StreamMentionView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 3; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 3; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMentionView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message { + public: + StreamStateOptions(); + virtual ~StreamStateOptions(); + + StreamStateOptions(const StreamStateOptions& from); + + inline StreamStateOptions& operator=(const StreamStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateOptions& default_instance(); + + void Swap(StreamStateOptions* other); + + // implements Message ---------------------------------------------- + + StreamStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 3; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 3; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 4; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { + public: + StreamStateAssignment(); + virtual ~StreamStateAssignment(); + + StreamStateAssignment(const StreamStateAssignment& from); + + inline StreamStateAssignment& operator=(const StreamStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateAssignment& default_instance(); + + void Swap(StreamStateAssignment* other); + + // implements Message ---------------------------------------------- + + StreamStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 4; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 4; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 5; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional bool stream_subscription_removed = 6; + inline bool has_stream_subscription_removed() const; + inline void clear_stream_subscription_removed(); + static const int kStreamSubscriptionRemovedFieldNumber = 6; + inline bool stream_subscription_removed() const; + inline void set_stream_subscription_removed(bool value); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateAssignment) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_stream_subscription_removed(); + inline void clear_has_stream_subscription_removed(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + bool stream_subscription_removed_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message { + public: + StreamTypingIndicator(); + virtual ~StreamTypingIndicator(); + + StreamTypingIndicator(const StreamTypingIndicator& from); + + inline StreamTypingIndicator& operator=(const StreamTypingIndicator& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamTypingIndicator& default_instance(); + + void Swap(StreamTypingIndicator* other); + + // implements Message ---------------------------------------------- + + StreamTypingIndicator* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId author_id = 1; + inline bool has_author_id() const; + inline void clear_author_id(); + static const int kAuthorIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& author_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_author_id(); + inline ::bgs::protocol::club::v1::MemberId* release_author_id(); + inline void set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id); + + // optional .bgs.protocol.TypingIndicator indicator = 2; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 2; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // optional uint64 epoch = 3; + inline bool has_epoch() const; + inline void clear_epoch(); + static const int kEpochFieldNumber = 3; + inline ::google::protobuf::uint64 epoch() const; + inline void set_epoch(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicator) + private: + inline void set_has_author_id(); + inline void clear_has_author_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + inline void set_has_epoch(); + inline void clear_has_epoch(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* author_id_; + ::google::protobuf::uint64 epoch_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamTypingIndicator* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// StreamPosition + +// repeated uint64 stream_id = 1 [packed = true]; +inline int StreamPosition::stream_id_size() const { + return stream_id_.size(); +} +inline void StreamPosition::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 StreamPosition::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return stream_id_.Get(index); +} +inline void StreamPosition::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamPosition.stream_id) +} +inline void StreamPosition::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamPosition.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +StreamPosition::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +StreamPosition::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// StreamAccess + +// repeated uint32 role = 1 [packed = true]; +inline int StreamAccess::role_size() const { + return role_.size(); +} +inline void StreamAccess::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 StreamAccess::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAccess.role) + return role_.Get(index); +} +inline void StreamAccess::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAccess.role) +} +inline void StreamAccess::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamAccess.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +StreamAccess::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAccess.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +StreamAccess::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAccess.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// CreateStreamOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int CreateStreamOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateStreamOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateStreamOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateStreamOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateStreamOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool CreateStreamOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CreateStreamOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.name) + return *name_; +} +inline void CreateStreamOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline void CreateStreamOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline void CreateStreamOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline ::std::string* CreateStreamOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.name) + return name_; +} +inline ::std::string* CreateStreamOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateStreamOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} + +// optional string subject = 3; +inline bool CreateStreamOptions::has_subject() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateStreamOptions::set_has_subject() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateStreamOptions::clear_has_subject() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateStreamOptions::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& CreateStreamOptions::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.subject) + return *subject_; +} +inline void CreateStreamOptions::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline void CreateStreamOptions::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline void CreateStreamOptions::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline ::std::string* CreateStreamOptions::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.subject) + return subject_; +} +inline ::std::string* CreateStreamOptions::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; +inline bool CreateStreamOptions::has_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateStreamOptions::set_has_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateStreamOptions::clear_has_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateStreamOptions::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& CreateStreamOptions::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; +inline bool CreateStreamOptions::has_voice_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CreateStreamOptions::set_has_voice_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void CreateStreamOptions::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CreateStreamOptions::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel CreateStreamOptions::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void CreateStreamOptions::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level) +} + +// ------------------------------------------------------------------- + +// Stream + +// optional uint64 club_id = 1; +inline bool Stream::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Stream::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Stream::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Stream::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 Stream::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.club_id) + return club_id_; +} +inline void Stream::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.club_id) +} + +// optional uint64 id = 2; +inline bool Stream::has_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Stream::set_has_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void Stream::clear_has_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Stream::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Stream::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.id) + return id_; +} +inline void Stream::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int Stream::attribute_size() const { + return attribute_.size(); +} +inline void Stream::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Stream::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Stream::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Stream::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Stream::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Stream::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Stream.attribute) + return &attribute_; +} + +// optional string name = 4; +inline bool Stream::has_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Stream::set_has_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Stream::clear_has_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Stream::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Stream::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.name) + return *name_; +} +inline void Stream::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.name) +} +inline void Stream::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.name) +} +inline void Stream::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.name) +} +inline ::std::string* Stream::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.name) + return name_; +} +inline ::std::string* Stream::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Stream::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.name) +} + +// optional string subject = 5; +inline bool Stream::has_subject() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Stream::set_has_subject() { + _has_bits_[0] |= 0x00000010u; +} +inline void Stream::clear_has_subject() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Stream::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& Stream::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.subject) + return *subject_; +} +inline void Stream::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.subject) +} +inline void Stream::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.subject) +} +inline void Stream::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.subject) +} +inline ::std::string* Stream::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.subject) + return subject_; +} +inline ::std::string* Stream::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Stream::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 6; +inline bool Stream::has_access() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Stream::set_has_access() { + _has_bits_[0] |= 0x00000020u; +} +inline void Stream::clear_has_access() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Stream::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& Stream::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void Stream::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; +inline bool Stream::has_voice_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Stream::set_has_voice_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void Stream::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Stream::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel Stream::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void Stream::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.voice_level) +} + +// optional uint64 creation_time = 8; +inline bool Stream::has_creation_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Stream::set_has_creation_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void Stream::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Stream::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Stream::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.creation_time) + return creation_time_; +} +inline void Stream::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.creation_time) +} + +// ------------------------------------------------------------------- + +// StreamDescription + +// optional uint64 id = 2; +inline bool StreamDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamDescription::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 StreamDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.id) + return id_; +} +inline void StreamDescription::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.id) +} + +// optional string name = 4; +inline bool StreamDescription::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamDescription::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamDescription::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamDescription::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamDescription::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.name) + return *name_; +} +inline void StreamDescription::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline void StreamDescription::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline void StreamDescription::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline ::std::string* StreamDescription::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamDescription.name) + return name_; +} +inline ::std::string* StreamDescription::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamDescription::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamDescription.name) +} + +// ------------------------------------------------------------------- + +// MentionContent + +// optional bool all = 1; +inline bool MentionContent::has_all() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MentionContent::set_has_all() { + _has_bits_[0] |= 0x00000001u; +} +inline void MentionContent::clear_has_all() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MentionContent::clear_all() { + all_ = false; + clear_has_all(); +} +inline bool MentionContent::all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.all) + return all_; +} +inline void MentionContent::set_all(bool value) { + set_has_all(); + all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.all) +} + +// optional bool here = 2; +inline bool MentionContent::has_here() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MentionContent::set_has_here() { + _has_bits_[0] |= 0x00000002u; +} +inline void MentionContent::clear_has_here() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MentionContent::clear_here() { + here_ = false; + clear_has_here(); +} +inline bool MentionContent::here() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.here) + return here_; +} +inline void MentionContent::set_here(bool value) { + set_has_here(); + here_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.here) +} + +// repeated .bgs.protocol.club.v1.MemberId member_id = 3; +inline int MentionContent::member_id_size() const { + return member_id_.size(); +} +inline void MentionContent::clear_member_id() { + member_id_.Clear(); +} +inline const ::bgs::protocol::club::v1::MemberId& MentionContent::member_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Get(index); +} +inline ::bgs::protocol::club::v1::MemberId* MentionContent::mutable_member_id(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Mutable(index); +} +inline ::bgs::protocol::club::v1::MemberId* MentionContent::add_member_id() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& +MentionContent::member_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* +MentionContent::mutable_member_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.member_id) + return &member_id_; +} + +// repeated uint32 role = 4 [packed = true]; +inline int MentionContent::role_size() const { + return role_.size(); +} +inline void MentionContent::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 MentionContent::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.role) + return role_.Get(index); +} +inline void MentionContent::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.role) +} +inline void MentionContent::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +MentionContent::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +MentionContent::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// CreateMessageOptions + +// optional string content = 2; +inline bool CreateMessageOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& CreateMessageOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.content) + return *content_; +} +inline void CreateMessageOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline void CreateMessageOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline void CreateMessageOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline ::std::string* CreateMessageOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.content) + return content_; +} +inline ::std::string* CreateMessageOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateMessageOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} + +// optional .bgs.protocol.club.v1.client.MentionContent mention = 3; +inline bool CreateMessageOptions::has_mention() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateMessageOptions::set_has_mention() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateMessageOptions::clear_has_mention() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateMessageOptions::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::MentionContent& CreateMessageOptions::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; + mention_ = NULL; + return temp; +} +inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.mention) +} + +// ------------------------------------------------------------------- + +// ClubStreamMessageContainer + +// repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline int ClubStreamMessageContainer::message_size() const { + return message_.size(); +} +inline void ClubStreamMessageContainer::clear_message() { + message_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& ClubStreamMessageContainer::message(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::add_message() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& +ClubStreamMessageContainer::message() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* +ClubStreamMessageContainer::mutable_message() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return &message_; +} + +// ------------------------------------------------------------------- + +// ContentChain + +// optional string content = 5; +inline bool ContentChain::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ContentChain::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void ContentChain::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ContentChain::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& ContentChain::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.content) + return *content_; +} +inline void ContentChain::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.content) +} +inline void ContentChain::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ContentChain.content) +} +inline void ContentChain::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ContentChain.content) +} +inline ::std::string* ContentChain::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.content) + return content_; +} +inline ::std::string* ContentChain::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ContentChain::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.content) +} + +// repeated .bgs.protocol.EmbedInfo embed = 6; +inline int ContentChain::embed_size() const { + return embed_.size(); +} +inline void ContentChain::clear_embed() { + embed_.Clear(); +} +inline const ::bgs::protocol::EmbedInfo& ContentChain::embed(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Get(index); +} +inline ::bgs::protocol::EmbedInfo* ContentChain::mutable_embed(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Mutable(index); +} +inline ::bgs::protocol::EmbedInfo* ContentChain::add_embed() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& +ContentChain::embed() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* +ContentChain::mutable_embed() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ContentChain.embed) + return &embed_; +} + +// optional .bgs.protocol.club.v1.client.MentionContent mention = 7; +inline bool ContentChain::has_mention() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ContentChain::set_has_mention() { + _has_bits_[0] |= 0x00000004u; +} +inline void ContentChain::clear_has_mention() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ContentChain::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::MentionContent& ContentChain::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; + mention_ = NULL; + return temp; +} +inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.mention) +} + +// optional uint64 edit_time = 8; +inline bool ContentChain::has_edit_time() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ContentChain::set_has_edit_time() { + _has_bits_[0] |= 0x00000008u; +} +inline void ContentChain::clear_has_edit_time() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ContentChain::clear_edit_time() { + edit_time_ = GOOGLE_ULONGLONG(0); + clear_has_edit_time(); +} +inline ::google::protobuf::uint64 ContentChain::edit_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.edit_time) + return edit_time_; +} +inline void ContentChain::set_edit_time(::google::protobuf::uint64 value) { + set_has_edit_time(); + edit_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.edit_time) +} + +// ------------------------------------------------------------------- + +// StreamMessage + +// optional .bgs.protocol.MessageId id = 3; +inline bool StreamMessage::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessage::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessage::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessage::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::MessageId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::MessageId& StreamMessage::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::MessageId* StreamMessage::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.id) + return id_; +} +inline ::bgs::protocol::MessageId* StreamMessage::release_id() { + clear_has_id(); + ::bgs::protocol::MessageId* temp = id_; + id_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_id(::bgs::protocol::MessageId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; +inline bool StreamMessage::has_author() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessage::set_has_author() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessage::clear_has_author() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessage::clear_author() { + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_author(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::author() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.author) + return author_ != NULL ? *author_ : *default_instance_->author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_author() { + set_has_author(); + if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.author) + return author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_author() { + clear_has_author(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; + author_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { + delete author_; + author_ = author; + if (author) { + set_has_author(); + } else { + clear_has_author(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.author) +} + +// repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6; +inline int StreamMessage::content_chain_size() const { + return content_chain_.size(); +} +inline void StreamMessage::clear_content_chain() { + content_chain_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ContentChain& StreamMessage::content_chain(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::mutable_content_chain(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::add_content_chain() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >& +StreamMessage::content_chain() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* +StreamMessage::mutable_content_chain() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return &content_chain_; +} + +// optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15; +inline bool StreamMessage::has_destroyer() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessage::set_has_destroyer() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessage::clear_has_destroyer() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessage::clear_destroyer() { + if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_destroyer(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::destroyer() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyer) + return destroyer_ != NULL ? *destroyer_ : *default_instance_->destroyer_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_destroyer() { + set_has_destroyer(); + if (destroyer_ == NULL) destroyer_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.destroyer) + return destroyer_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_destroyer() { + clear_has_destroyer(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = destroyer_; + destroyer_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer) { + delete destroyer_; + destroyer_ = destroyer; + if (destroyer) { + set_has_destroyer(); + } else { + clear_has_destroyer(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.destroyer) +} + +// optional bool destroyed = 16; +inline bool StreamMessage::has_destroyed() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMessage::set_has_destroyed() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMessage::clear_has_destroyed() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMessage::clear_destroyed() { + destroyed_ = false; + clear_has_destroyed(); +} +inline bool StreamMessage::destroyed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyed) + return destroyed_; +} +inline void StreamMessage::set_destroyed(bool value) { + set_has_destroyed(); + destroyed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroyed) +} + +// optional uint64 destroy_time = 17; +inline bool StreamMessage::has_destroy_time() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamMessage::set_has_destroy_time() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamMessage::clear_has_destroy_time() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamMessage::clear_destroy_time() { + destroy_time_ = GOOGLE_ULONGLONG(0); + clear_has_destroy_time(); +} +inline ::google::protobuf::uint64 StreamMessage::destroy_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroy_time) + return destroy_time_; +} +inline void StreamMessage::set_destroy_time(::google::protobuf::uint64 value) { + set_has_destroy_time(); + destroy_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroy_time) +} + +// ------------------------------------------------------------------- + +// StreamMention + +// optional uint64 club_id = 1; +inline bool StreamMention::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMention::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMention::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMention::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMention::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_id) + return club_id_; +} +inline void StreamMention::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamMention::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMention::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMention::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMention::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMention::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.stream_id) + return stream_id_; +} +inline void StreamMention::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 3; +inline bool StreamMention::has_message_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMention::set_has_message_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMention::clear_has_message_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMention::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& StreamMention::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* StreamMention::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* StreamMention::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message_id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; +inline bool StreamMention::has_author() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMention::set_has_author() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMention::clear_has_author() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMention::clear_author() { + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_author(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMention::author() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.author) + return author_ != NULL ? *author_ : *default_instance_->author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::mutable_author() { + set_has_author(); + if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.author) + return author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::release_author() { + clear_has_author(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; + author_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { + delete author_; + author_ = author; + if (author) { + set_has_author(); + } else { + clear_has_author(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.author) +} + +// optional bool destroyed = 5; +inline bool StreamMention::has_destroyed() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMention::set_has_destroyed() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMention::clear_has_destroyed() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMention::clear_destroyed() { + destroyed_ = false; + clear_has_destroyed(); +} +inline bool StreamMention::destroyed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.destroyed) + return destroyed_; +} +inline void StreamMention::set_destroyed(bool value) { + set_has_destroyed(); + destroyed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.destroyed) +} + +// optional .bgs.protocol.TimeSeriesId mention_id = 6; +inline bool StreamMention::has_mention_id() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamMention::set_has_mention_id() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamMention::clear_has_mention_id() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamMention::clear_mention_id() { + if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); + clear_has_mention_id(); +} +inline const ::bgs::protocol::TimeSeriesId& StreamMention::mention_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.mention_id) + return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMention::mutable_mention_id() { + set_has_mention_id(); + if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.mention_id) + return mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() { + clear_has_mention_id(); + ::bgs::protocol::TimeSeriesId* temp = mention_id_; + mention_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { + delete mention_id_; + mention_id_ = mention_id; + if (mention_id) { + set_has_mention_id(); + } else { + clear_has_mention_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.mention_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 7; +inline bool StreamMention::has_member_id() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void StreamMention::set_has_member_id() { + _has_bits_[0] |= 0x00000040u; +} +inline void StreamMention::clear_has_member_id() { + _has_bits_[0] &= ~0x00000040u; +} +inline void StreamMention::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMention::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMention::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMention::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.member_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 8; +inline bool StreamMention::has_message() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void StreamMention::set_has_message() { + _has_bits_[0] |= 0x00000080u; +} +inline void StreamMention::clear_has_message() { + _has_bits_[0] &= ~0x00000080u; +} +inline void StreamMention::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMention::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message) +} + +// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; +inline bool StreamMention::has_club_type() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void StreamMention::set_has_club_type() { + _has_bits_[0] |= 0x00000100u; +} +inline void StreamMention::clear_has_club_type() { + _has_bits_[0] &= ~0x00000100u; +} +inline void StreamMention::clear_club_type() { + if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_club_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_type) + return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() { + set_has_club_type(); + if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.club_type) + return club_type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() { + clear_has_club_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = club_type_; + club_type_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type) { + delete club_type_; + club_type_ = club_type; + if (club_type) { + set_has_club_type(); + } else { + clear_has_club_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.club_type) +} + +// ------------------------------------------------------------------- + +// StreamView + +// optional uint64 club_id = 1; +inline bool StreamView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.club_id) + return club_id_; +} +inline void StreamView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamView::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamView::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamView::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamView::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamView::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.stream_id) + return stream_id_; +} +inline void StreamView::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.stream_id) +} + +// optional .bgs.protocol.ViewMarker marker = 3; +inline bool StreamView::has_marker() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamView::set_has_marker() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamView::clear_has_marker() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& StreamView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* StreamView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* StreamView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void StreamView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamView.marker) +} + +// ------------------------------------------------------------------- + +// StreamAdvanceViewTime + +// optional uint64 stream_id = 1; +inline bool StreamAdvanceViewTime::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAdvanceViewTime::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAdvanceViewTime::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAdvanceViewTime::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTime::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id) + return stream_id_; +} +inline void StreamAdvanceViewTime::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id) +} + +// optional uint64 view_time = 2; +inline bool StreamAdvanceViewTime::has_view_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAdvanceViewTime::set_has_view_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAdvanceViewTime::clear_has_view_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAdvanceViewTime::clear_view_time() { + view_time_ = GOOGLE_ULONGLONG(0); + clear_has_view_time(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTime::view_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time) + return view_time_; +} +inline void StreamAdvanceViewTime::set_view_time(::google::protobuf::uint64 value) { + set_has_view_time(); + view_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time) +} + +// ------------------------------------------------------------------- + +// StreamEventTime + +// optional uint64 stream_id = 1; +inline bool StreamEventTime::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamEventTime::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamEventTime::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamEventTime::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamEventTime::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.stream_id) + return stream_id_; +} +inline void StreamEventTime::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.stream_id) +} + +// optional uint64 event_time = 2; +inline bool StreamEventTime::has_event_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamEventTime::set_has_event_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamEventTime::clear_has_event_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamEventTime::clear_event_time() { + event_time_ = GOOGLE_ULONGLONG(0); + clear_has_event_time(); +} +inline ::google::protobuf::uint64 StreamEventTime::event_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.event_time) + return event_time_; +} +inline void StreamEventTime::set_event_time(::google::protobuf::uint64 value) { + set_has_event_time(); + event_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.event_time) +} + +// ------------------------------------------------------------------- + +// StreamMentionView + +// optional uint64 club_id = 1; +inline bool StreamMentionView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMentionView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.club_id) + return club_id_; +} +inline void StreamMentionView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamMentionView::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionView::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionView::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionView::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMentionView::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.stream_id) + return stream_id_; +} +inline void StreamMentionView::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.stream_id) +} + +// optional .bgs.protocol.ViewMarker marker = 3; +inline bool StreamMentionView::has_marker() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionView::set_has_marker() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionView::clear_has_marker() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* StreamMentionView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMentionView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void StreamMentionView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMentionView.marker) +} + +// ------------------------------------------------------------------- + +// StreamStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int StreamStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void StreamStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& StreamStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +StreamStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +StreamStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool StreamStateOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamStateOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamStateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamStateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamStateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.name) + return *name_; +} +inline void StreamStateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline void StreamStateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline void StreamStateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline ::std::string* StreamStateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.name) + return name_; +} +inline ::std::string* StreamStateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.name) +} + +// optional string subject = 3; +inline bool StreamStateOptions::has_subject() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateOptions::set_has_subject() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateOptions::clear_has_subject() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateOptions::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& StreamStateOptions::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.subject) + return *subject_; +} +inline void StreamStateOptions::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline void StreamStateOptions::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline void StreamStateOptions::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline ::std::string* StreamStateOptions::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.subject) + return subject_; +} +inline ::std::string* StreamStateOptions::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateOptions::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; +inline bool StreamStateOptions::has_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateOptions::set_has_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateOptions::clear_has_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateOptions::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateOptions::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; +inline bool StreamStateOptions::has_voice_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamStateOptions::set_has_voice_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamStateOptions::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamStateOptions::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateOptions::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void StreamStateOptions::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.voice_level) +} + +// ------------------------------------------------------------------- + +// StreamStateAssignment + +// optional uint64 stream_id = 1; +inline bool StreamStateAssignment::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamStateAssignment::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamStateAssignment::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamStateAssignment::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamStateAssignment::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id) + return stream_id_; +} +inline void StreamStateAssignment::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int StreamStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void StreamStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& StreamStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +StreamStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +StreamStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool StreamStateAssignment::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateAssignment::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateAssignment::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateAssignment::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamStateAssignment::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.name) + return *name_; +} +inline void StreamStateAssignment::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline void StreamStateAssignment::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline void StreamStateAssignment::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline ::std::string* StreamStateAssignment::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.name) + return name_; +} +inline ::std::string* StreamStateAssignment::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateAssignment::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} + +// optional string subject = 4; +inline bool StreamStateAssignment::has_subject() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateAssignment::set_has_subject() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateAssignment::clear_has_subject() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateAssignment::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& StreamStateAssignment::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.subject) + return *subject_; +} +inline void StreamStateAssignment::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline void StreamStateAssignment::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline void StreamStateAssignment::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline ::std::string* StreamStateAssignment::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.subject) + return subject_; +} +inline ::std::string* StreamStateAssignment::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 5; +inline bool StreamStateAssignment::has_access() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamStateAssignment::set_has_access() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamStateAssignment::clear_has_access() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamStateAssignment::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateAssignment::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.access) +} + +// optional bool stream_subscription_removed = 6; +inline bool StreamStateAssignment::has_stream_subscription_removed() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamStateAssignment::set_has_stream_subscription_removed() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamStateAssignment::clear_has_stream_subscription_removed() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamStateAssignment::clear_stream_subscription_removed() { + stream_subscription_removed_ = false; + clear_has_stream_subscription_removed(); +} +inline bool StreamStateAssignment::stream_subscription_removed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed) + return stream_subscription_removed_; +} +inline void StreamStateAssignment::set_stream_subscription_removed(bool value) { + set_has_stream_subscription_removed(); + stream_subscription_removed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; +inline bool StreamStateAssignment::has_voice_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void StreamStateAssignment::set_has_voice_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void StreamStateAssignment::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void StreamStateAssignment::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateAssignment::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void StreamStateAssignment::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level) +} + +// ------------------------------------------------------------------- + +// StreamTypingIndicator + +// optional .bgs.protocol.club.v1.MemberId author_id = 1; +inline bool StreamTypingIndicator::has_author_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamTypingIndicator::set_has_author_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamTypingIndicator::clear_has_author_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamTypingIndicator::clear_author_id() { + if (author_id_ != NULL) author_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_author_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicator::author_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) + return author_id_ != NULL ? *author_id_ : *default_instance_->author_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::mutable_author_id() { + set_has_author_id(); + if (author_id_ == NULL) author_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) + return author_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::release_author_id() { + clear_has_author_id(); + ::bgs::protocol::club::v1::MemberId* temp = author_id_; + author_id_ = NULL; + return temp; +} +inline void StreamTypingIndicator::set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id) { + delete author_id_; + author_id_ = author_id; + if (author_id) { + set_has_author_id(); + } else { + clear_has_author_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 2; +inline bool StreamTypingIndicator::has_indicator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamTypingIndicator::set_has_indicator() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamTypingIndicator::clear_has_indicator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamTypingIndicator::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator StreamTypingIndicator::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void StreamTypingIndicator::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator) +} + +// optional uint64 epoch = 3; +inline bool StreamTypingIndicator::has_epoch() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamTypingIndicator::set_has_epoch() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamTypingIndicator::clear_has_epoch() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamTypingIndicator::clear_epoch() { + epoch_ = GOOGLE_ULONGLONG(0); + clear_has_epoch(); +} +inline ::google::protobuf::uint64 StreamTypingIndicator::epoch() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch) + return epoch_; +} +inline void StreamTypingIndicator::set_epoch(::google::protobuf::uint64 value) { + set_has_epoch(); + epoch_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_types.pb.cc b/src/server/proto/Client/api/client/v1/club_types.pb.cc new file mode 100644 index 00000000000..f1ff28e39bf --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_types.pb.cc @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_types.proto"); + GOOGLE_CHECK(file != NULL); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club_membership::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::protobuf_AddDesc_invitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); + ::protobuf_AddDesc_voice_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\036api/client/v1/club_types.proto\022\033bgs.pr" + "otocol.club.v1.client\032)api/client/v1/clu" + "b_membership_types.proto\032\035api/client/v1/" + "club_enum.proto\032\035api/client/v1/club_role" + ".proto\032\"api/client/v1/club_range_set.pro" + "to\032\035api/client/v1/club_core.proto\032\037api/c" + "lient/v1/club_member.proto\032#api/client/v" + "1/club_invitation.proto\032\034api/client/v1/c" + "lub_ban.proto\032\037api/client/v1/club_stream" + ".proto\032\'api/client/v1/club_name_generato" + "r.proto\032\035api/common/v1/club_core.proto\032\035" + "api/common/v1/club_enum.proto\032\034api/commo" + "n/v1/club_tag.proto\032\035api/common/v1/club_" + "type.proto\032#api/common/v2/attribute_type" + "s.proto\032\023account_types.proto\032\026event_view" + "_types.proto\032\026invitation_types.proto\032\023me" + "ssage_types.proto\032\017ets_types.proto\032\021voic" + "e_types.proto\032\017rpc_types.protoB\002H\002P\000P\001P\002" + "P\003P\004P\005P\006P\007P\010P\tP\nP\013P\014P\rP\016P\017P\020P\021P\022P\023P\024P\025", 758); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_types.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto_; +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_types.pb.h b/src/server/proto/Client/api/client/v1/club_types.pb.h new file mode 100644 index 00000000000..9ad78486e2b --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_types.pb.h @@ -0,0 +1,85 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_membership_types.pb.h" // IWYU pragma: export +#include "api/client/v1/club_enum.pb.h" // IWYU pragma: export +#include "api/client/v1/club_role.pb.h" // IWYU pragma: export +#include "api/client/v1/club_range_set.pb.h" // IWYU pragma: export +#include "api/client/v1/club_core.pb.h" // IWYU pragma: export +#include "api/client/v1/club_member.pb.h" // IWYU pragma: export +#include "api/client/v1/club_invitation.pb.h" // IWYU pragma: export +#include "api/client/v1/club_ban.pb.h" // IWYU pragma: export +#include "api/client/v1/club_stream.pb.h" // IWYU pragma: export +#include "api/client/v1/club_name_generator.pb.h" // IWYU pragma: export +#include "api/common/v1/club_core.pb.h" // IWYU pragma: export +#include "api/common/v1/club_enum.pb.h" // IWYU pragma: export +#include "api/common/v1/club_tag.pb.h" // IWYU pragma: export +#include "api/common/v1/club_type.pb.h" // IWYU pragma: export +#include "api/common/v2/attribute_types.pb.h" // IWYU pragma: export +#include "account_types.pb.h" // IWYU pragma: export +#include "event_view_types.pb.h" // IWYU pragma: export +#include "invitation_types.pb.h" // IWYU pragma: export +#include "message_types.pb.h" // IWYU pragma: export +#include "ets_types.pb.h" // IWYU pragma: export +#include "voice_types.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" // IWYU pragma: export +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/attribute_types.pb.cc b/src/server/proto/Client/api/client/v2/attribute_types.pb.cc deleted file mode 100644 index b0c4fc4e402..00000000000 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.cc +++ /dev/null @@ -1,482 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "api/client/v2/attribute_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace v2 { - -namespace { - -const ::google::protobuf::Descriptor* Variant_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Variant_reflection_ = NULL; -struct VariantOneofInstance { - bool bool_value_; - ::google::protobuf::int64 int_value_; - double float_value_; - const ::std::string* string_value_; - const ::std::string* blob_value_; - ::google::protobuf::uint64 uint_value_; -}* Variant_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* Attribute_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Attribute_reflection_ = NULL; -const ::google::protobuf::Descriptor* AttributeFilter_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AttributeFilter_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "api/client/v2/attribute_types.proto"); - GOOGLE_CHECK(file != NULL); - Variant_descriptor_ = file->message_type(0); - static const int Variant_offsets_[7] = { - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, bool_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, int_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, float_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, string_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, blob_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, uint_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, type_), - }; - Variant_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Variant_descriptor_, - Variant::default_instance_, - Variant_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _unknown_fields_), - -1, - Variant_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Variant)); - Attribute_descriptor_ = file->message_type(1); - static const int Attribute_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, value_), - }; - Attribute_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Attribute_descriptor_, - Attribute::default_instance_, - Attribute_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Attribute)); - AttributeFilter_descriptor_ = file->message_type(2); - static const int AttributeFilter_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, op_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, attribute_), - }; - AttributeFilter_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AttributeFilter_descriptor_, - AttributeFilter::default_instance_, - AttributeFilter_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AttributeFilter)); - AttributeFilter_Operation_descriptor_ = AttributeFilter_descriptor_->enum_type(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Variant_descriptor_, &Variant::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Attribute_descriptor_, &Attribute::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AttributeFilter_descriptor_, &AttributeFilter::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - delete Variant::default_instance_; - delete Variant_default_oneof_instance_; - delete Variant_reflection_; - delete Attribute::default_instance_; - delete Attribute_reflection_; - delete AttributeFilter::default_instance_; - delete AttributeFilter_reflection_; -} - -void protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n#api/client/v2/attribute_types.proto\022\017b" - "gs.protocol.v2\"\227\001\n\007Variant\022\024\n\nbool_value" - "\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\025\n\013float_v" - "alue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000\022\024\n\n" - "blob_value\030\005 \001(\014H\000\022\024\n\nuint_value\030\006 \001(\004H\000" - "B\006\n\004type\"B\n\tAttribute\022\014\n\004name\030\001 \001(\t\022\'\n\005v" - "alue\030\002 \001(\0132\030.bgs.protocol.v2.Variant\"\320\001\n" - "\017AttributeFilter\0226\n\002op\030\001 \001(\0162*.bgs.proto" - "col.v2.AttributeFilter.Operation\022-\n\tattr" - "ibute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"" - "V\n\tOperation\022\016\n\nMATCH_NONE\020\000\022\r\n\tMATCH_AN" - "Y\020\001\022\r\n\tMATCH_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPE" - "CIFIC\020\003B\002H\002", 491); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "api/client/v2/attribute_types.proto", &protobuf_RegisterTypes); - Variant::default_instance_ = new Variant(); - Variant_default_oneof_instance_ = new VariantOneofInstance; - Attribute::default_instance_ = new Attribute(); - AttributeFilter::default_instance_ = new AttributeFilter(); - Variant::default_instance_->InitAsDefaultInstance(); - Attribute::default_instance_->InitAsDefaultInstance(); - AttributeFilter::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto { - StaticDescriptorInitializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - } -} static_descriptor_initializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int Variant::kBoolValueFieldNumber; -const int Variant::kIntValueFieldNumber; -const int Variant::kFloatValueFieldNumber; -const int Variant::kStringValueFieldNumber; -const int Variant::kBlobValueFieldNumber; -const int Variant::kUintValueFieldNumber; -#endif // !_MSC_VER - -Variant::Variant() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.Variant) -} - -void Variant::InitAsDefaultInstance() { - Variant_default_oneof_instance_->bool_value_ = false; - Variant_default_oneof_instance_->int_value_ = GOOGLE_LONGLONG(0); - Variant_default_oneof_instance_->float_value_ = 0; - Variant_default_oneof_instance_->string_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Variant_default_oneof_instance_->blob_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Variant_default_oneof_instance_->uint_value_ = GOOGLE_ULONGLONG(0); -} - -Variant::Variant(const Variant& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Variant) -} - -void Variant::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_type(); -} - -Variant::~Variant() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.Variant) - SharedDtor(); -} - -void Variant::SharedDtor() { - if (has_type()) { - clear_type(); - } - if (this != default_instance_) { - } -} - -void Variant::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Variant::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Variant_descriptor_; -} - -const Variant& Variant::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -Variant* Variant::default_instance_ = NULL; - -Variant* Variant::New() const { - return new Variant; -} - -void Variant::clear_type() { - switch(type_case()) { - case kBoolValue: { - // No need to clear - break; - } - case kIntValue: { - // No need to clear - break; - } - case kFloatValue: { - // No need to clear - break; - } - case kStringValue: { - delete type_.string_value_; - break; - } - case kBlobValue: { - delete type_.blob_value_; - break; - } - case kUintValue: { - // No need to clear - break; - } - case TYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPE_NOT_SET; -} - -void Variant::Swap(Variant* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Variant::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Variant_descriptor_; - metadata.reflection = Variant_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Attribute::kNameFieldNumber; -const int Attribute::kValueFieldNumber; -#endif // !_MSC_VER - -Attribute::Attribute() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.Attribute) -} - -void Attribute::InitAsDefaultInstance() { - value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance()); -} - -Attribute::Attribute(const Attribute& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Attribute) -} - -void Attribute::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Attribute::~Attribute() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.Attribute) - SharedDtor(); -} - -void Attribute::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (this != default_instance_) { - delete value_; - } -} - -void Attribute::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Attribute::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Attribute_descriptor_; -} - -const Attribute& Attribute::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -Attribute* Attribute::default_instance_ = NULL; - -Attribute* Attribute::New() const { - return new Attribute; -} - -void Attribute::Swap(Attribute* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Attribute::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Attribute_descriptor_; - metadata.reflection = Attribute_reflection_; - return metadata; -} - -// =================================================================== - -const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor() { - protobuf_AssignDescriptorsOnce(); - return AttributeFilter_Operation_descriptor_; -} -bool AttributeFilter_Operation_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#ifndef _MSC_VER -const AttributeFilter_Operation AttributeFilter::MATCH_NONE; -const AttributeFilter_Operation AttributeFilter::MATCH_ANY; -const AttributeFilter_Operation AttributeFilter::MATCH_ALL; -const AttributeFilter_Operation AttributeFilter::MATCH_ALL_MOST_SPECIFIC; -const AttributeFilter_Operation AttributeFilter::Operation_MIN; -const AttributeFilter_Operation AttributeFilter::Operation_MAX; -const int AttributeFilter::Operation_ARRAYSIZE; -#endif // _MSC_VER -#ifndef _MSC_VER -const int AttributeFilter::kOpFieldNumber; -const int AttributeFilter::kAttributeFieldNumber; -#endif // !_MSC_VER - -AttributeFilter::AttributeFilter() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.AttributeFilter) -} - -void AttributeFilter::InitAsDefaultInstance() { -} - -AttributeFilter::AttributeFilter(const AttributeFilter& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.AttributeFilter) -} - -void AttributeFilter::SharedCtor() { - _cached_size_ = 0; - op_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AttributeFilter::~AttributeFilter() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.AttributeFilter) - SharedDtor(); -} - -void AttributeFilter::SharedDtor() { - if (this != default_instance_) { - } -} - -void AttributeFilter::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AttributeFilter::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AttributeFilter_descriptor_; -} - -const AttributeFilter& AttributeFilter::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -AttributeFilter* AttributeFilter::default_instance_ = NULL; - -AttributeFilter* AttributeFilter::New() const { - return new AttributeFilter; -} - -void AttributeFilter::Swap(AttributeFilter* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AttributeFilter::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AttributeFilter_descriptor_; - metadata.reflection = AttributeFilter_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v2 -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/attribute_types.pb.h b/src/server/proto/Client/api/client/v2/attribute_types.pb.h deleted file mode 100644 index 80e1bdb5f0c..00000000000 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.h +++ /dev/null @@ -1,857 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto - -#ifndef PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED -#define PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace v2 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); -void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); -void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - -class Variant; -class Attribute; -class AttributeFilter; - -enum AttributeFilter_Operation { - AttributeFilter_Operation_MATCH_NONE = 0, - AttributeFilter_Operation_MATCH_ANY = 1, - AttributeFilter_Operation_MATCH_ALL = 2, - AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC = 3 -}; -TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value); -const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN = AttributeFilter_Operation_MATCH_NONE; -const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; -const int AttributeFilter_Operation_Operation_ARRAYSIZE = AttributeFilter_Operation_Operation_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor(); -inline const ::std::string& AttributeFilter_Operation_Name(AttributeFilter_Operation value) { - return ::google::protobuf::internal::NameOfEnum( - AttributeFilter_Operation_descriptor(), value); -} -inline bool AttributeFilter_Operation_Parse( - const ::std::string& name, AttributeFilter_Operation* value) { - return ::google::protobuf::internal::ParseNamedEnum( - AttributeFilter_Operation_descriptor(), name, value); -} -// =================================================================== - -class TC_PROTO_API Variant : public ::google::protobuf::Message { - public: - Variant(); - virtual ~Variant(); - - Variant(const Variant& from); - - inline Variant& operator=(const Variant& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Variant& default_instance(); - - enum TypeCase { - kBoolValue = 1, - kIntValue = 2, - kFloatValue = 3, - kStringValue = 4, - kBlobValue = 5, - kUintValue = 6, - TYPE_NOT_SET = 0, - }; - - void Swap(Variant* other); - - // implements Message ---------------------------------------------- - - Variant* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional bool bool_value = 1; - inline bool has_bool_value() const; - inline void clear_bool_value(); - static const int kBoolValueFieldNumber = 1; - inline bool bool_value() const; - inline void set_bool_value(bool value); - - // optional int64 int_value = 2; - inline bool has_int_value() const; - inline void clear_int_value(); - static const int kIntValueFieldNumber = 2; - inline ::google::protobuf::int64 int_value() const; - inline void set_int_value(::google::protobuf::int64 value); - - // optional double float_value = 3; - inline bool has_float_value() const; - inline void clear_float_value(); - static const int kFloatValueFieldNumber = 3; - inline double float_value() const; - inline void set_float_value(double value); - - // optional string string_value = 4; - inline bool has_string_value() const; - inline void clear_string_value(); - static const int kStringValueFieldNumber = 4; - inline const ::std::string& string_value() const; - inline void set_string_value(const ::std::string& value); - inline void set_string_value(const char* value); - inline void set_string_value(const char* value, size_t size); - inline ::std::string* mutable_string_value(); - inline ::std::string* release_string_value(); - inline void set_allocated_string_value(::std::string* string_value); - - // optional bytes blob_value = 5; - inline bool has_blob_value() const; - inline void clear_blob_value(); - static const int kBlobValueFieldNumber = 5; - inline const ::std::string& blob_value() const; - inline void set_blob_value(const ::std::string& value); - inline void set_blob_value(const char* value); - inline void set_blob_value(const void* value, size_t size); - inline ::std::string* mutable_blob_value(); - inline ::std::string* release_blob_value(); - inline void set_allocated_blob_value(::std::string* blob_value); - - // optional uint64 uint_value = 6; - inline bool has_uint_value() const; - inline void clear_uint_value(); - static const int kUintValueFieldNumber = 6; - inline ::google::protobuf::uint64 uint_value() const; - inline void set_uint_value(::google::protobuf::uint64 value); - - inline TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Variant) - private: - inline void set_has_bool_value(); - inline void set_has_int_value(); - inline void set_has_float_value(); - inline void set_has_string_value(); - inline void set_has_blob_value(); - inline void set_has_uint_value(); - - inline bool has_type(); - void clear_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - union TypeUnion { - bool bool_value_; - ::google::protobuf::int64 int_value_; - double float_value_; - ::std::string* string_value_; - ::std::string* blob_value_; - ::google::protobuf::uint64 uint_value_; - } type_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Variant* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Attribute : public ::google::protobuf::Message { - public: - Attribute(); - virtual ~Attribute(); - - Attribute(const Attribute& from); - - inline Attribute& operator=(const Attribute& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Attribute& default_instance(); - - void Swap(Attribute* other); - - // implements Message ---------------------------------------------- - - Attribute* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string name = 1; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 1; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional .bgs.protocol.v2.Variant value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline const ::bgs::protocol::v2::Variant& value() const; - inline ::bgs::protocol::v2::Variant* mutable_value(); - inline ::bgs::protocol::v2::Variant* release_value(); - inline void set_allocated_value(::bgs::protocol::v2::Variant* value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Attribute) - private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* name_; - ::bgs::protocol::v2::Variant* value_; - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Attribute* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AttributeFilter : public ::google::protobuf::Message { - public: - AttributeFilter(); - virtual ~AttributeFilter(); - - AttributeFilter(const AttributeFilter& from); - - inline AttributeFilter& operator=(const AttributeFilter& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AttributeFilter& default_instance(); - - void Swap(AttributeFilter* other); - - // implements Message ---------------------------------------------- - - AttributeFilter* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - typedef AttributeFilter_Operation Operation; - static const Operation MATCH_NONE = AttributeFilter_Operation_MATCH_NONE; - static const Operation MATCH_ANY = AttributeFilter_Operation_MATCH_ANY; - static const Operation MATCH_ALL = AttributeFilter_Operation_MATCH_ALL; - static const Operation MATCH_ALL_MOST_SPECIFIC = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; - static inline bool Operation_IsValid(int value) { - return AttributeFilter_Operation_IsValid(value); - } - static const Operation Operation_MIN = - AttributeFilter_Operation_Operation_MIN; - static const Operation Operation_MAX = - AttributeFilter_Operation_Operation_MAX; - static const int Operation_ARRAYSIZE = - AttributeFilter_Operation_Operation_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Operation_descriptor() { - return AttributeFilter_Operation_descriptor(); - } - static inline const ::std::string& Operation_Name(Operation value) { - return AttributeFilter_Operation_Name(value); - } - static inline bool Operation_Parse(const ::std::string& name, - Operation* value) { - return AttributeFilter_Operation_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; - inline bool has_op() const; - inline void clear_op(); - static const int kOpFieldNumber = 1; - inline ::bgs::protocol::v2::AttributeFilter_Operation op() const; - inline void set_op(::bgs::protocol::v2::AttributeFilter_Operation value); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.AttributeFilter) - private: - inline void set_has_op(); - inline void clear_has_op(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - int op_; - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static AttributeFilter* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// Variant - -// optional bool bool_value = 1; -inline bool Variant::has_bool_value() const { - return type_case() == kBoolValue; -} -inline void Variant::set_has_bool_value() { - _oneof_case_[0] = kBoolValue; -} -inline void Variant::clear_bool_value() { - if (has_bool_value()) { - type_.bool_value_ = false; - clear_has_type(); - } -} -inline bool Variant::bool_value() const { - if (has_bool_value()) { - return type_.bool_value_; - } - return false; -} -inline void Variant::set_bool_value(bool value) { - if (!has_bool_value()) { - clear_type(); - set_has_bool_value(); - } - type_.bool_value_ = value; -} - -// optional int64 int_value = 2; -inline bool Variant::has_int_value() const { - return type_case() == kIntValue; -} -inline void Variant::set_has_int_value() { - _oneof_case_[0] = kIntValue; -} -inline void Variant::clear_int_value() { - if (has_int_value()) { - type_.int_value_ = GOOGLE_LONGLONG(0); - clear_has_type(); - } -} -inline ::google::protobuf::int64 Variant::int_value() const { - if (has_int_value()) { - return type_.int_value_; - } - return GOOGLE_LONGLONG(0); -} -inline void Variant::set_int_value(::google::protobuf::int64 value) { - if (!has_int_value()) { - clear_type(); - set_has_int_value(); - } - type_.int_value_ = value; -} - -// optional double float_value = 3; -inline bool Variant::has_float_value() const { - return type_case() == kFloatValue; -} -inline void Variant::set_has_float_value() { - _oneof_case_[0] = kFloatValue; -} -inline void Variant::clear_float_value() { - if (has_float_value()) { - type_.float_value_ = 0; - clear_has_type(); - } -} -inline double Variant::float_value() const { - if (has_float_value()) { - return type_.float_value_; - } - return 0; -} -inline void Variant::set_float_value(double value) { - if (!has_float_value()) { - clear_type(); - set_has_float_value(); - } - type_.float_value_ = value; -} - -// optional string string_value = 4; -inline bool Variant::has_string_value() const { - return type_case() == kStringValue; -} -inline void Variant::set_has_string_value() { - _oneof_case_[0] = kStringValue; -} -inline void Variant::clear_string_value() { - if (has_string_value()) { - delete type_.string_value_; - clear_has_type(); - } -} -inline const ::std::string& Variant::string_value() const { - if (has_string_value()) { - return *type_.string_value_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Variant::set_string_value(const ::std::string& value) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign(value); -} -inline void Variant::set_string_value(const char* value) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign(value); -} -inline void Variant::set_string_value(const char* value, size_t size) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Variant::mutable_string_value() { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - return type_.string_value_; -} -inline ::std::string* Variant::release_string_value() { - if (has_string_value()) { - clear_has_type(); - ::std::string* temp = type_.string_value_; - type_.string_value_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Variant::set_allocated_string_value(::std::string* string_value) { - clear_type(); - if (string_value) { - set_has_string_value(); - type_.string_value_ = string_value; - } -} - -// optional bytes blob_value = 5; -inline bool Variant::has_blob_value() const { - return type_case() == kBlobValue; -} -inline void Variant::set_has_blob_value() { - _oneof_case_[0] = kBlobValue; -} -inline void Variant::clear_blob_value() { - if (has_blob_value()) { - delete type_.blob_value_; - clear_has_type(); - } -} -inline const ::std::string& Variant::blob_value() const { - if (has_blob_value()) { - return *type_.blob_value_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Variant::set_blob_value(const ::std::string& value) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign(value); -} -inline void Variant::set_blob_value(const char* value) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign(value); -} -inline void Variant::set_blob_value(const void* value, size_t size) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Variant::mutable_blob_value() { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - return type_.blob_value_; -} -inline ::std::string* Variant::release_blob_value() { - if (has_blob_value()) { - clear_has_type(); - ::std::string* temp = type_.blob_value_; - type_.blob_value_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Variant::set_allocated_blob_value(::std::string* blob_value) { - clear_type(); - if (blob_value) { - set_has_blob_value(); - type_.blob_value_ = blob_value; - } -} - -// optional uint64 uint_value = 6; -inline bool Variant::has_uint_value() const { - return type_case() == kUintValue; -} -inline void Variant::set_has_uint_value() { - _oneof_case_[0] = kUintValue; -} -inline void Variant::clear_uint_value() { - if (has_uint_value()) { - type_.uint_value_ = GOOGLE_ULONGLONG(0); - clear_has_type(); - } -} -inline ::google::protobuf::uint64 Variant::uint_value() const { - if (has_uint_value()) { - return type_.uint_value_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Variant::set_uint_value(::google::protobuf::uint64 value) { - if (!has_uint_value()) { - clear_type(); - set_has_uint_value(); - } - type_.uint_value_ = value; -} - -inline bool Variant::has_type() { - return type_case() != TYPE_NOT_SET; -} -inline void Variant::clear_has_type() { - _oneof_case_[0] = TYPE_NOT_SET; -} -inline Variant::TypeCase Variant::type_case() const { - return Variant::TypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Attribute - -// optional string name = 1; -inline bool Attribute::has_name() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Attribute::set_has_name() { - _has_bits_[0] |= 0x00000001u; -} -inline void Attribute::clear_has_name() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Attribute::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& Attribute::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.name) - return *name_; -} -inline void Attribute::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.v2.Attribute.name) -} -inline void Attribute::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.v2.Attribute.name) -} -inline void Attribute::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.v2.Attribute.name) -} -inline ::std::string* Attribute::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.name) - return name_; -} -inline ::std::string* Attribute::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Attribute::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.name) -} - -// optional .bgs.protocol.v2.Variant value = 2; -inline bool Attribute::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Attribute::set_has_value() { - _has_bits_[0] |= 0x00000002u; -} -inline void Attribute::clear_has_value() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Attribute::clear_value() { - if (value_ != NULL) value_->::bgs::protocol::v2::Variant::Clear(); - clear_has_value(); -} -inline const ::bgs::protocol::v2::Variant& Attribute::value() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.value) - return value_ != NULL ? *value_ : *default_instance_->value_; -} -inline ::bgs::protocol::v2::Variant* Attribute::mutable_value() { - set_has_value(); - if (value_ == NULL) value_ = new ::bgs::protocol::v2::Variant; - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.value) - return value_; -} -inline ::bgs::protocol::v2::Variant* Attribute::release_value() { - clear_has_value(); - ::bgs::protocol::v2::Variant* temp = value_; - value_ = NULL; - return temp; -} -inline void Attribute::set_allocated_value(::bgs::protocol::v2::Variant* value) { - delete value_; - value_ = value; - if (value) { - set_has_value(); - } else { - clear_has_value(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.value) -} - -// ------------------------------------------------------------------- - -// AttributeFilter - -// optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; -inline bool AttributeFilter::has_op() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AttributeFilter::set_has_op() { - _has_bits_[0] |= 0x00000001u; -} -inline void AttributeFilter::clear_has_op() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AttributeFilter::clear_op() { - op_ = 0; - clear_has_op(); -} -inline ::bgs::protocol::v2::AttributeFilter_Operation AttributeFilter::op() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.op) - return static_cast< ::bgs::protocol::v2::AttributeFilter_Operation >(op_); -} -inline void AttributeFilter::set_op(::bgs::protocol::v2::AttributeFilter_Operation value) { - assert(::bgs::protocol::v2::AttributeFilter_Operation_IsValid(value)); - set_has_op(); - op_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.v2.AttributeFilter.op) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int AttributeFilter::attribute_size() const { - return attribute_.size(); -} -inline void AttributeFilter::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& AttributeFilter::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* AttributeFilter::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* AttributeFilter::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -AttributeFilter::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -AttributeFilter::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.v2.AttributeFilter.attribute) - return &attribute_; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v2 -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::v2::AttributeFilter_Operation> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation>() { - return ::bgs::protocol::v2::AttributeFilter_Operation_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/notification_service.pb.cc b/src/server/proto/Client/api/client/v2/notification_service.pb.cc new file mode 100644 index 00000000000..f0ee91d465a --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_service.pb.cc @@ -0,0 +1,241 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/notification_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SendNotificationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendNotificationRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* NotificationService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/notification_service.proto"); + GOOGLE_CHECK(file != NULL); + SendNotificationRequest_descriptor_ = file->message_type(0); + static const int SendNotificationRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, options_), + }; + SendNotificationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendNotificationRequest_descriptor_, + SendNotificationRequest::default_instance_, + SendNotificationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendNotificationRequest)); + NotificationService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendNotificationRequest_descriptor_, &SendNotificationRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + delete SendNotificationRequest::default_instance_; + delete SendNotificationRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::notification::v2::client::protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n(api/client/v2/notification_service.pro" + "to\022#bgs.protocol.notification.v2.client\032" + "&api/client/v2/notification_types.proto\032" + "\017rpc_types.proto\"h\n\027SendNotificationRequ" + "est\022M\n\007options\030\002 \001(\0132<.bgs.protocol.noti" + "fication.v2.client.SendNotificationOptio" + "ns2\337\001\n\023NotificationService\022p\n\020SendNotifi" + "cation\022<.bgs.protocol.notification.v2.cl" + "ient.SendNotificationRequest\032\024.bgs.proto" + "col.NoData\"\010\202\371+\004\010\001\020\001\032V\202\371+J\n8bnet.protoco" + "l.notification.v2.client.NotificationSer" + "vice*\014notificationH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 475); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/notification_service.proto", &protobuf_RegisterTypes); + SendNotificationRequest::default_instance_ = new SendNotificationRequest(); + SendNotificationRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SendNotificationRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendNotificationRequest::SendNotificationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.SendNotificationRequest) +} + +void SendNotificationRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::notification::v2::client::SendNotificationOptions*>(&::bgs::protocol::notification::v2::client::SendNotificationOptions::default_instance()); +} + +SendNotificationRequest::SendNotificationRequest(const SendNotificationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.SendNotificationRequest) +} + +void SendNotificationRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendNotificationRequest::~SendNotificationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.SendNotificationRequest) + SharedDtor(); +} + +void SendNotificationRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void SendNotificationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendNotificationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendNotificationRequest_descriptor_; +} + +const SendNotificationRequest& SendNotificationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + return *default_instance_; +} + +SendNotificationRequest* SendNotificationRequest::default_instance_ = NULL; + +SendNotificationRequest* SendNotificationRequest::New() const { + return new SendNotificationRequest; +} + +void SendNotificationRequest::Swap(SendNotificationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendNotificationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendNotificationRequest_descriptor_; + metadata.reflection = SendNotificationRequest_reflection_; + return metadata; +} + +// =================================================================== + +NotificationService::NotificationService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +NotificationService::~NotificationService() { +} + +google::protobuf::ServiceDescriptor const* NotificationService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NotificationService_descriptor_; +} + +void NotificationService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSendNotification(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 NotificationService::HandleSendNotification(::bgs::protocol::notification::v2::client::SendNotificationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("NotificationService.SendNotification", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void NotificationService::ParseAndHandleSendNotification(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::notification::v2::client::SendNotificationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("NotificationService.SendNotification"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("NotificationService.SendNotification", "bgs.protocol.notification.v2.client.SendNotificationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "NotificationService.SendNotification", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendNotification(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/notification_service.pb.h b/src/server/proto/Client/api/client/v2/notification_service.pb.h new file mode 100644 index 00000000000..e0d380d44e2 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_service.pb.h @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v2/notification_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + +class SendNotificationRequest; + +// =================================================================== + +class TC_PROTO_API SendNotificationRequest : public ::google::protobuf::Message { + public: + SendNotificationRequest(); + virtual ~SendNotificationRequest(); + + SendNotificationRequest(const SendNotificationRequest& from); + + inline SendNotificationRequest& operator=(const SendNotificationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendNotificationRequest& default_instance(); + + void Swap(SendNotificationRequest* other); + + // implements Message ---------------------------------------------- + + SendNotificationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.notification.v2.client.SendNotificationOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::notification::v2::client::SendNotificationOptions& options() const; + inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* mutable_options(); + inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::notification::v2::client::SendNotificationOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.SendNotificationRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::notification::v2::client::SendNotificationOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendNotificationRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API NotificationService : public ServiceBase +{ + public: + + explicit NotificationService(bool use_original_hash); + NotificationService(NotificationService const&) = delete; + NotificationService(NotificationService&&) = delete; + NotificationService& operator=(NotificationService const&) = delete; + NotificationService& operator=(NotificationService&&) = delete; + virtual ~NotificationService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSendNotification(::bgs::protocol::notification::v2::client::SendNotificationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSendNotification(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SendNotificationRequest + +// optional .bgs.protocol.notification.v2.client.SendNotificationOptions options = 2; +inline bool SendNotificationRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendNotificationRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendNotificationRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendNotificationRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::notification::v2::client::SendNotificationOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::notification::v2::client::SendNotificationOptions& SendNotificationRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* SendNotificationRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::notification::v2::client::SendNotificationOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationRequest.options) + return options_; +} +inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* SendNotificationRequest::release_options() { + clear_has_options(); + ::bgs::protocol::notification::v2::client::SendNotificationOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendNotificationRequest::set_allocated_options(::bgs::protocol::notification::v2::client::SendNotificationOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationRequest.options) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/notification_types.pb.cc b/src/server/proto/Client/api/client/v2/notification_types.pb.cc new file mode 100644 index 00000000000..dc2f7a023e1 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_types.pb.cc @@ -0,0 +1,566 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/notification_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* UserDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UserDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* Filter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Filter_reflection_ = NULL; +struct FilterOneofInstance { + ::google::protobuf::uint32 title_id_; + const ::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle_; + const ::bgs::protocol::account::v2::GameAccountHandle* game_account_; +}* Filter_default_oneof_instance_ = NULL; +const ::google::protobuf::Descriptor* SendNotificationOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendNotificationOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Notification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Notification_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/notification_types.proto"); + GOOGLE_CHECK(file != NULL); + UserDescription_descriptor_ = file->message_type(0); + static const int UserDescription_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, account_id_), + }; + UserDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UserDescription_descriptor_, + UserDescription::default_instance_, + UserDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UserDescription)); + Filter_descriptor_ = file->message_type(1); + static const int Filter_offsets_[4] = { + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, title_id_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, deprecated_handle_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, game_account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, type_), + }; + Filter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Filter_descriptor_, + Filter::default_instance_, + Filter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _unknown_fields_), + -1, + Filter_default_oneof_instance_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _oneof_case_[0]), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Filter)); + SendNotificationOptions_descriptor_ = file->message_type(2); + static const int SendNotificationOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, filter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, attribute_), + }; + SendNotificationOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendNotificationOptions_descriptor_, + SendNotificationOptions::default_instance_, + SendNotificationOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendNotificationOptions)); + Notification_descriptor_ = file->message_type(3); + static const int Notification_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, sender_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, target_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, creation_time_ms_), + }; + Notification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Notification_descriptor_, + Notification::default_instance_, + Notification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Notification)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UserDescription_descriptor_, &UserDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Filter_descriptor_, &Filter::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendNotificationOptions_descriptor_, &SendNotificationOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Notification_descriptor_, &Notification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + delete UserDescription::default_instance_; + delete UserDescription_reflection_; + delete Filter::default_instance_; + delete Filter_default_oneof_instance_; + delete Filter_reflection_; + delete SendNotificationOptions::default_instance_; + delete SendNotificationOptions_reflection_; + delete Notification::default_instance_; + delete Notification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::account::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n&api/client/v2/notification_types.proto" + "\022#bgs.protocol.notification.v2.client\032\023a" + "ccount_types.proto\032\017rpc_types.proto\032#api" + "/common/v2/attribute_types.proto\032\'api/co" + "mmon/v2/game_account_handle.proto\"/\n\017Use" + "rDescription\022\034\n\naccount_id\030\001 \001(\004B\010\212\371+\004\022\002" + "\020\000\"\273\001\n\006Filter\022\022\n\010title_id\030\001 \001(\rH\000\022Q\n\021dep" + "recated_handle\030\002 \001(\0132*.bgs.protocol.acco" + "unt.v1.GameAccountHandleB\010\030\001\222\371+\002 \001H\000\022B\n\014" + "game_account\030\003 \001(\0132*.bgs.protocol.accoun" + "t.v2.GameAccountHandleH\000B\006\n\004type\"\307\001\n\027Sen" + "dNotificationOptions\022\033\n\004type\030\001 \001(\tB\r\212\371+\t" + "\"\007\n\005\010\001\020\200\004\022#\n\021target_account_id\030\002 \001(\004B\010\212\371" + "+\004\022\002\020\000\022;\n\006filter\030\003 \001(\0132+.bgs.protocol.no" + "tification.v2.client.Filter\022-\n\tattribute" + "\030\004 \003(\0132\032.bgs.protocol.v2.Attribute\"\200\002\n\014N" + "otification\022\033\n\004type\030\001 \001(\tB\r\212\371+\t\"\007\n\005\010\001\020\200\004" + "\022D\n\006sender\030\002 \001(\01324.bgs.protocol.notifica" + "tion.v2.client.UserDescription\022D\n\006target" + "\030\003 \001(\01324.bgs.protocol.notification.v2.cl" + "ient.UserDescription\022-\n\tattribute\030\004 \003(\0132" + "\032.bgs.protocol.v2.Attribute\022\030\n\020creation_" + "time_ms\030\005 \001(\004B\002H\002", 897); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/notification_types.proto", &protobuf_RegisterTypes); + UserDescription::default_instance_ = new UserDescription(); + Filter::default_instance_ = new Filter(); + Filter_default_oneof_instance_ = new FilterOneofInstance; + SendNotificationOptions::default_instance_ = new SendNotificationOptions(); + Notification::default_instance_ = new Notification(); + UserDescription::default_instance_->InitAsDefaultInstance(); + Filter::default_instance_->InitAsDefaultInstance(); + SendNotificationOptions::default_instance_->InitAsDefaultInstance(); + Notification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int UserDescription::kAccountIdFieldNumber; +#endif // !_MSC_VER + +UserDescription::UserDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.UserDescription) +} + +void UserDescription::InitAsDefaultInstance() { +} + +UserDescription::UserDescription(const UserDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.UserDescription) +} + +void UserDescription::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UserDescription::~UserDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.UserDescription) + SharedDtor(); +} + +void UserDescription::SharedDtor() { + if (this != default_instance_) { + } +} + +void UserDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UserDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UserDescription_descriptor_; +} + +const UserDescription& UserDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +UserDescription* UserDescription::default_instance_ = NULL; + +UserDescription* UserDescription::New() const { + return new UserDescription; +} + +void UserDescription::Swap(UserDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UserDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UserDescription_descriptor_; + metadata.reflection = UserDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Filter::kTitleIdFieldNumber; +const int Filter::kDeprecatedHandleFieldNumber; +const int Filter::kGameAccountFieldNumber; +#endif // !_MSC_VER + +Filter::Filter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.Filter) +} + +void Filter::InitAsDefaultInstance() { + Filter_default_oneof_instance_->title_id_ = 0u; + Filter_default_oneof_instance_->deprecated_handle_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); + Filter_default_oneof_instance_->game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance()); +} + +Filter::Filter(const Filter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.Filter) +} + +void Filter::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + clear_has_type(); +} + +Filter::~Filter() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.Filter) + SharedDtor(); +} + +void Filter::SharedDtor() { + if (has_type()) { + clear_type(); + } + if (this != default_instance_) { + } +} + +void Filter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Filter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Filter_descriptor_; +} + +const Filter& Filter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +Filter* Filter::default_instance_ = NULL; + +Filter* Filter::New() const { + return new Filter; +} + +void Filter::clear_type() { + switch(type_case()) { + case kTitleId: { + // No need to clear + break; + } + case kDeprecatedHandle: { + delete type_.deprecated_handle_; + break; + } + case kGameAccount: { + delete type_.game_account_; + break; + } + case TYPE_NOT_SET: { + break; + } + } + _oneof_case_[0] = TYPE_NOT_SET; +} + +void Filter::Swap(Filter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Filter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Filter_descriptor_; + metadata.reflection = Filter_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendNotificationOptions::kTypeFieldNumber; +const int SendNotificationOptions::kTargetAccountIdFieldNumber; +const int SendNotificationOptions::kFilterFieldNumber; +const int SendNotificationOptions::kAttributeFieldNumber; +#endif // !_MSC_VER + +SendNotificationOptions::SendNotificationOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.SendNotificationOptions) +} + +void SendNotificationOptions::InitAsDefaultInstance() { + filter_ = const_cast< ::bgs::protocol::notification::v2::client::Filter*>(&::bgs::protocol::notification::v2::client::Filter::default_instance()); +} + +SendNotificationOptions::SendNotificationOptions(const SendNotificationOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.SendNotificationOptions) +} + +void SendNotificationOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + target_account_id_ = GOOGLE_ULONGLONG(0); + filter_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendNotificationOptions::~SendNotificationOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.SendNotificationOptions) + SharedDtor(); +} + +void SendNotificationOptions::SharedDtor() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (this != default_instance_) { + delete filter_; + } +} + +void SendNotificationOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendNotificationOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendNotificationOptions_descriptor_; +} + +const SendNotificationOptions& SendNotificationOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +SendNotificationOptions* SendNotificationOptions::default_instance_ = NULL; + +SendNotificationOptions* SendNotificationOptions::New() const { + return new SendNotificationOptions; +} + +void SendNotificationOptions::Swap(SendNotificationOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendNotificationOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendNotificationOptions_descriptor_; + metadata.reflection = SendNotificationOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Notification::kTypeFieldNumber; +const int Notification::kSenderFieldNumber; +const int Notification::kTargetFieldNumber; +const int Notification::kAttributeFieldNumber; +const int Notification::kCreationTimeMsFieldNumber; +#endif // !_MSC_VER + +Notification::Notification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.Notification) +} + +void Notification::InitAsDefaultInstance() { + sender_ = const_cast< ::bgs::protocol::notification::v2::client::UserDescription*>(&::bgs::protocol::notification::v2::client::UserDescription::default_instance()); + target_ = const_cast< ::bgs::protocol::notification::v2::client::UserDescription*>(&::bgs::protocol::notification::v2::client::UserDescription::default_instance()); +} + +Notification::Notification(const Notification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.Notification) +} + +void Notification::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sender_ = NULL; + target_ = NULL; + creation_time_ms_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Notification::~Notification() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.Notification) + SharedDtor(); +} + +void Notification::SharedDtor() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (this != default_instance_) { + delete sender_; + delete target_; + } +} + +void Notification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Notification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Notification_descriptor_; +} + +const Notification& Notification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +Notification* Notification::default_instance_ = NULL; + +Notification* Notification::New() const { + return new Notification; +} + +void Notification::Swap(Notification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Notification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Notification_descriptor_; + metadata.reflection = Notification_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/notification_types.pb.h b/src/server/proto/Client/api/client/v2/notification_types.pb.h new file mode 100644 index 00000000000..65ec2f8d15c --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_types.pb.h @@ -0,0 +1,1009 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "account_types.pb.h" +#include "rpc_types.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "api/common/v2/game_account_handle.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + +class UserDescription; +class Filter; +class SendNotificationOptions; +class Notification; + +// =================================================================== + +class TC_PROTO_API UserDescription : public ::google::protobuf::Message { + public: + UserDescription(); + virtual ~UserDescription(); + + UserDescription(const UserDescription& from); + + inline UserDescription& operator=(const UserDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UserDescription& default_instance(); + + void Swap(UserDescription* other); + + // implements Message ---------------------------------------------- + + UserDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.UserDescription) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UserDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Filter : public ::google::protobuf::Message { + public: + Filter(); + virtual ~Filter(); + + Filter(const Filter& from); + + inline Filter& operator=(const Filter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Filter& default_instance(); + + enum TypeCase { + kTitleId = 1, + kDeprecatedHandle = 2, + kGameAccount = 3, + TYPE_NOT_SET = 0, + }; + + void Swap(Filter* other); + + // implements Message ---------------------------------------------- + + Filter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 title_id = 1; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 1; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional .bgs.protocol.account.v1.GameAccountHandle deprecated_handle = 2 [deprecated = true]; + inline bool has_deprecated_handle() const PROTOBUF_DEPRECATED; + inline void clear_deprecated_handle() PROTOBUF_DEPRECATED; + static const int kDeprecatedHandleFieldNumber = 2; + inline const ::bgs::protocol::account::v1::GameAccountHandle& deprecated_handle() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_deprecated_handle() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::GameAccountHandle* release_deprecated_handle() PROTOBUF_DEPRECATED; + inline void set_allocated_deprecated_handle(::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.account.v2.GameAccountHandle game_account = 3; + inline bool has_game_account() const; + inline void clear_game_account(); + static const int kGameAccountFieldNumber = 3; + inline const ::bgs::protocol::account::v2::GameAccountHandle& game_account() const; + inline ::bgs::protocol::account::v2::GameAccountHandle* mutable_game_account(); + inline ::bgs::protocol::account::v2::GameAccountHandle* release_game_account(); + inline void set_allocated_game_account(::bgs::protocol::account::v2::GameAccountHandle* game_account); + + inline TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.Filter) + private: + inline void set_has_title_id(); + inline void set_has_deprecated_handle(); + inline void set_has_game_account(); + + inline bool has_type(); + void clear_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + union TypeUnion { + ::google::protobuf::uint32 title_id_; + ::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle_; + ::bgs::protocol::account::v2::GameAccountHandle* game_account_; + } type_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Filter* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendNotificationOptions : public ::google::protobuf::Message { + public: + SendNotificationOptions(); + virtual ~SendNotificationOptions(); + + SendNotificationOptions(const SendNotificationOptions& from); + + inline SendNotificationOptions& operator=(const SendNotificationOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendNotificationOptions& default_instance(); + + void Swap(SendNotificationOptions* other); + + // implements Message ---------------------------------------------- + + SendNotificationOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.notification.v2.client.Filter filter = 3; + inline bool has_filter() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 3; + inline const ::bgs::protocol::notification::v2::client::Filter& filter() const; + inline ::bgs::protocol::notification::v2::client::Filter* mutable_filter(); + inline ::bgs::protocol::notification::v2::client::Filter* release_filter(); + inline void set_allocated_filter(::bgs::protocol::notification::v2::client::Filter* filter); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.SendNotificationOptions) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_filter(); + inline void clear_has_filter(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* type_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::notification::v2::client::Filter* filter_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SendNotificationOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Notification : public ::google::protobuf::Message { + public: + Notification(); + virtual ~Notification(); + + Notification(const Notification& from); + + inline Notification& operator=(const Notification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Notification& default_instance(); + + void Swap(Notification* other); + + // implements Message ---------------------------------------------- + + Notification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional .bgs.protocol.notification.v2.client.UserDescription sender = 2; + inline bool has_sender() const; + inline void clear_sender(); + static const int kSenderFieldNumber = 2; + inline const ::bgs::protocol::notification::v2::client::UserDescription& sender() const; + inline ::bgs::protocol::notification::v2::client::UserDescription* mutable_sender(); + inline ::bgs::protocol::notification::v2::client::UserDescription* release_sender(); + inline void set_allocated_sender(::bgs::protocol::notification::v2::client::UserDescription* sender); + + // optional .bgs.protocol.notification.v2.client.UserDescription target = 3; + inline bool has_target() const; + inline void clear_target(); + static const int kTargetFieldNumber = 3; + inline const ::bgs::protocol::notification::v2::client::UserDescription& target() const; + inline ::bgs::protocol::notification::v2::client::UserDescription* mutable_target(); + inline ::bgs::protocol::notification::v2::client::UserDescription* release_target(); + inline void set_allocated_target(::bgs::protocol::notification::v2::client::UserDescription* target); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time_ms = 5; + inline bool has_creation_time_ms() const; + inline void clear_creation_time_ms(); + static const int kCreationTimeMsFieldNumber = 5; + inline ::google::protobuf::uint64 creation_time_ms() const; + inline void set_creation_time_ms(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.Notification) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_sender(); + inline void clear_has_sender(); + inline void set_has_target(); + inline void clear_has_target(); + inline void set_has_creation_time_ms(); + inline void clear_has_creation_time_ms(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* type_; + ::bgs::protocol::notification::v2::client::UserDescription* sender_; + ::bgs::protocol::notification::v2::client::UserDescription* target_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_ms_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Notification* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// UserDescription + +// optional uint64 account_id = 1; +inline bool UserDescription::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UserDescription::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UserDescription::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UserDescription::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 UserDescription::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.UserDescription.account_id) + return account_id_; +} +inline void UserDescription::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.UserDescription.account_id) +} + +// ------------------------------------------------------------------- + +// Filter + +// optional uint32 title_id = 1; +inline bool Filter::has_title_id() const { + return type_case() == kTitleId; +} +inline void Filter::set_has_title_id() { + _oneof_case_[0] = kTitleId; +} +inline void Filter::clear_title_id() { + if (has_title_id()) { + type_.title_id_ = 0u; + clear_has_type(); + } +} +inline ::google::protobuf::uint32 Filter::title_id() const { + if (has_title_id()) { + return type_.title_id_; + } + return 0u; +} +inline void Filter::set_title_id(::google::protobuf::uint32 value) { + if (!has_title_id()) { + clear_type(); + set_has_title_id(); + } + type_.title_id_ = value; +} + +// optional .bgs.protocol.account.v1.GameAccountHandle deprecated_handle = 2 [deprecated = true]; +inline bool Filter::has_deprecated_handle() const { + return type_case() == kDeprecatedHandle; +} +inline void Filter::set_has_deprecated_handle() { + _oneof_case_[0] = kDeprecatedHandle; +} +inline void Filter::clear_deprecated_handle() { + if (has_deprecated_handle()) { + delete type_.deprecated_handle_; + clear_has_type(); + } +} +inline const ::bgs::protocol::account::v1::GameAccountHandle& Filter::deprecated_handle() const { + return has_deprecated_handle() ? *type_.deprecated_handle_ + : ::bgs::protocol::account::v1::GameAccountHandle::default_instance(); +} +inline ::bgs::protocol::account::v1::GameAccountHandle* Filter::mutable_deprecated_handle() { + if (!has_deprecated_handle()) { + clear_type(); + set_has_deprecated_handle(); + type_.deprecated_handle_ = new ::bgs::protocol::account::v1::GameAccountHandle; + } + return type_.deprecated_handle_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* Filter::release_deprecated_handle() { + if (has_deprecated_handle()) { + clear_has_type(); + ::bgs::protocol::account::v1::GameAccountHandle* temp = type_.deprecated_handle_; + type_.deprecated_handle_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Filter::set_allocated_deprecated_handle(::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle) { + clear_type(); + if (deprecated_handle) { + set_has_deprecated_handle(); + type_.deprecated_handle_ = deprecated_handle; + } +} + +// optional .bgs.protocol.account.v2.GameAccountHandle game_account = 3; +inline bool Filter::has_game_account() const { + return type_case() == kGameAccount; +} +inline void Filter::set_has_game_account() { + _oneof_case_[0] = kGameAccount; +} +inline void Filter::clear_game_account() { + if (has_game_account()) { + delete type_.game_account_; + clear_has_type(); + } +} +inline const ::bgs::protocol::account::v2::GameAccountHandle& Filter::game_account() const { + return has_game_account() ? *type_.game_account_ + : ::bgs::protocol::account::v2::GameAccountHandle::default_instance(); +} +inline ::bgs::protocol::account::v2::GameAccountHandle* Filter::mutable_game_account() { + if (!has_game_account()) { + clear_type(); + set_has_game_account(); + type_.game_account_ = new ::bgs::protocol::account::v2::GameAccountHandle; + } + return type_.game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* Filter::release_game_account() { + if (has_game_account()) { + clear_has_type(); + ::bgs::protocol::account::v2::GameAccountHandle* temp = type_.game_account_; + type_.game_account_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Filter::set_allocated_game_account(::bgs::protocol::account::v2::GameAccountHandle* game_account) { + clear_type(); + if (game_account) { + set_has_game_account(); + type_.game_account_ = game_account; + } +} + +inline bool Filter::has_type() { + return type_case() != TYPE_NOT_SET; +} +inline void Filter::clear_has_type() { + _oneof_case_[0] = TYPE_NOT_SET; +} +inline Filter::TypeCase Filter::type_case() const { + return Filter::TypeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// SendNotificationOptions + +// optional string type = 1; +inline bool SendNotificationOptions::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendNotificationOptions::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendNotificationOptions::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendNotificationOptions::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& SendNotificationOptions::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.type) + return *type_; +} +inline void SendNotificationOptions::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline void SendNotificationOptions::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline void SendNotificationOptions::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline ::std::string* SendNotificationOptions::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.type) + return type_; +} +inline ::std::string* SendNotificationOptions::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SendNotificationOptions::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} + +// optional uint64 target_account_id = 2; +inline bool SendNotificationOptions::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendNotificationOptions::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendNotificationOptions::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendNotificationOptions::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SendNotificationOptions::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.target_account_id) + return target_account_id_; +} +inline void SendNotificationOptions::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.SendNotificationOptions.target_account_id) +} + +// optional .bgs.protocol.notification.v2.client.Filter filter = 3; +inline bool SendNotificationOptions::has_filter() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendNotificationOptions::set_has_filter() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendNotificationOptions::clear_has_filter() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendNotificationOptions::clear_filter() { + if (filter_ != NULL) filter_->::bgs::protocol::notification::v2::client::Filter::Clear(); + clear_has_filter(); +} +inline const ::bgs::protocol::notification::v2::client::Filter& SendNotificationOptions::filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) + return filter_ != NULL ? *filter_ : *default_instance_->filter_; +} +inline ::bgs::protocol::notification::v2::client::Filter* SendNotificationOptions::mutable_filter() { + set_has_filter(); + if (filter_ == NULL) filter_ = new ::bgs::protocol::notification::v2::client::Filter; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) + return filter_; +} +inline ::bgs::protocol::notification::v2::client::Filter* SendNotificationOptions::release_filter() { + clear_has_filter(); + ::bgs::protocol::notification::v2::client::Filter* temp = filter_; + filter_ = NULL; + return temp; +} +inline void SendNotificationOptions::set_allocated_filter(::bgs::protocol::notification::v2::client::Filter* filter) { + delete filter_; + filter_ = filter; + if (filter) { + set_has_filter(); + } else { + clear_has_filter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int SendNotificationOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendNotificationOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendNotificationOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendNotificationOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendNotificationOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendNotificationOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendNotificationOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// Notification + +// optional string type = 1; +inline bool Notification::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Notification::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void Notification::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Notification::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& Notification::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.type) + return *type_; +} +inline void Notification::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.Notification.type) +} +inline void Notification::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v2.client.Notification.type) +} +inline void Notification::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v2.client.Notification.type) +} +inline ::std::string* Notification::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.type) + return type_; +} +inline ::std::string* Notification::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Notification::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.type) +} + +// optional .bgs.protocol.notification.v2.client.UserDescription sender = 2; +inline bool Notification::has_sender() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Notification::set_has_sender() { + _has_bits_[0] |= 0x00000002u; +} +inline void Notification::clear_has_sender() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Notification::clear_sender() { + if (sender_ != NULL) sender_->::bgs::protocol::notification::v2::client::UserDescription::Clear(); + clear_has_sender(); +} +inline const ::bgs::protocol::notification::v2::client::UserDescription& Notification::sender() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.sender) + return sender_ != NULL ? *sender_ : *default_instance_->sender_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::mutable_sender() { + set_has_sender(); + if (sender_ == NULL) sender_ = new ::bgs::protocol::notification::v2::client::UserDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.sender) + return sender_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::release_sender() { + clear_has_sender(); + ::bgs::protocol::notification::v2::client::UserDescription* temp = sender_; + sender_ = NULL; + return temp; +} +inline void Notification::set_allocated_sender(::bgs::protocol::notification::v2::client::UserDescription* sender) { + delete sender_; + sender_ = sender; + if (sender) { + set_has_sender(); + } else { + clear_has_sender(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.sender) +} + +// optional .bgs.protocol.notification.v2.client.UserDescription target = 3; +inline bool Notification::has_target() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Notification::set_has_target() { + _has_bits_[0] |= 0x00000004u; +} +inline void Notification::clear_has_target() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Notification::clear_target() { + if (target_ != NULL) target_->::bgs::protocol::notification::v2::client::UserDescription::Clear(); + clear_has_target(); +} +inline const ::bgs::protocol::notification::v2::client::UserDescription& Notification::target() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.target) + return target_ != NULL ? *target_ : *default_instance_->target_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::mutable_target() { + set_has_target(); + if (target_ == NULL) target_ = new ::bgs::protocol::notification::v2::client::UserDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.target) + return target_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::release_target() { + clear_has_target(); + ::bgs::protocol::notification::v2::client::UserDescription* temp = target_; + target_ = NULL; + return temp; +} +inline void Notification::set_allocated_target(::bgs::protocol::notification::v2::client::UserDescription* target) { + delete target_; + target_ = target; + if (target) { + set_has_target(); + } else { + clear_has_target(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.target) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int Notification::attribute_size() const { + return attribute_.size(); +} +inline void Notification::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Notification::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Notification::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Notification::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Notification::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Notification::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v2.client.Notification.attribute) + return &attribute_; +} + +// optional uint64 creation_time_ms = 5; +inline bool Notification::has_creation_time_ms() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Notification::set_has_creation_time_ms() { + _has_bits_[0] |= 0x00000010u; +} +inline void Notification::clear_has_creation_time_ms() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Notification::clear_creation_time_ms() { + creation_time_ms_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time_ms(); +} +inline ::google::protobuf::uint64 Notification::creation_time_ms() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.creation_time_ms) + return creation_time_ms_; +} +inline void Notification::set_creation_time_ms(::google::protobuf::uint64 value) { + set_has_creation_time_ms(); + creation_time_ms_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.Notification.creation_time_ms) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.cc b/src/server/proto/Client/api/client/v2/report_types.pb.cc index 33794e7fe54..0d16870be2f 100644 --- a/src/server/proto/Client/api/client/v2/report_types.pb.cc +++ b/src/server/proto/Client/api/client/v2/report_types.pb.cc @@ -167,15 +167,15 @@ void protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n api/client/v2/report_types.proto\022\026bgs." - "protocol.report.v2\032#api/client/v2/attrib" - "ute_types.proto\032\023account_types.proto\032\023me" - "ssage_types.proto\032%global_extensions/fie" + "protocol.report.v2\032\023account_types.proto\032" + "\023message_types.proto\032#api/common/v2/attr" + "ibute_types.proto\032%global_extensions/fie" "ld_options.proto\"C\n\nReportItem\022-\n\nmessag" "e_id\030\001 \001(\0132\027.bgs.protocol.MessageIdH\000B\006\n" "\004type\"\333\001\n\013UserOptions\0225\n\ttarget_id\030\001 \001(\013" diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.h b/src/server/proto/Client/api/client/v2/report_types.pb.h index 3a03f338658..669f0e2d8c9 100644 --- a/src/server/proto/Client/api/client/v2/report_types.pb.h +++ b/src/server/proto/Client/api/client/v2/report_types.pb.h @@ -25,9 +25,9 @@ #include #include #include -#include "api/client/v2/attribute_types.pb.h" #include "account_types.pb.h" #include "message_types.pb.h" +#include "api/common/v2/attribute_types.pb.h" #include "global_extensions/field_options.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) diff --git a/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc b/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc new file mode 100644 index 00000000000..0f6dd426b90 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc @@ -0,0 +1,805 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/whisper_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* WhisperNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperEchoNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperEchoNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperUpdatedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperUpdatedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* TypingIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TypingIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceViewTimeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceClearTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceClearTimeNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* WhisperListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/whisper_listener.proto"); + GOOGLE_CHECK(file != NULL); + WhisperNotification_descriptor_ = file->message_type(0); + static const int WhisperNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, whisper_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, target_battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, target_game_account_), + }; + WhisperNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperNotification_descriptor_, + WhisperNotification::default_instance_, + WhisperNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperNotification)); + WhisperEchoNotification_descriptor_ = file->message_type(1); + static const int WhisperEchoNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, whisper_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, message_origin_), + }; + WhisperEchoNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperEchoNotification_descriptor_, + WhisperEchoNotification::default_instance_, + WhisperEchoNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperEchoNotification)); + WhisperUpdatedNotification_descriptor_ = file->message_type(2); + static const int WhisperUpdatedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, whisper_), + }; + WhisperUpdatedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperUpdatedNotification_descriptor_, + WhisperUpdatedNotification::default_instance_, + WhisperUpdatedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperUpdatedNotification)); + TypingIndicatorNotification_descriptor_ = file->message_type(3); + static const int TypingIndicatorNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, indicator_), + }; + TypingIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TypingIndicatorNotification_descriptor_, + TypingIndicatorNotification::default_instance_, + TypingIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TypingIndicatorNotification)); + AdvanceViewTimeNotification_descriptor_ = file->message_type(4); + static const int AdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, view_time_us_), + }; + AdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceViewTimeNotification_descriptor_, + AdvanceViewTimeNotification::default_instance_, + AdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceViewTimeNotification)); + AdvanceClearTimeNotification_descriptor_ = file->message_type(5); + static const int AdvanceClearTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, clear_time_us_), + }; + AdvanceClearTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceClearTimeNotification_descriptor_, + AdvanceClearTimeNotification::default_instance_, + AdvanceClearTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceClearTimeNotification)); + WhisperListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperNotification_descriptor_, &WhisperNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperEchoNotification_descriptor_, &WhisperEchoNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperUpdatedNotification_descriptor_, &WhisperUpdatedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TypingIndicatorNotification_descriptor_, &TypingIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceViewTimeNotification_descriptor_, &AdvanceViewTimeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceClearTimeNotification_descriptor_, &AdvanceClearTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + delete WhisperNotification::default_instance_; + delete WhisperNotification_reflection_; + delete WhisperEchoNotification::default_instance_; + delete WhisperEchoNotification_reflection_; + delete WhisperUpdatedNotification::default_instance_; + delete WhisperUpdatedNotification_reflection_; + delete TypingIndicatorNotification::default_instance_; + delete TypingIndicatorNotification_reflection_; + delete AdvanceViewTimeNotification::default_instance_; + delete AdvanceViewTimeNotification_reflection_; + delete AdvanceClearTimeNotification::default_instance_; + delete AdvanceClearTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::account::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + ::bgs::protocol::whisper::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/client/v2/whisper_listener.proto\022\036" + "bgs.protocol.whisper.v2.client\032!api/comm" + "on/v1/message_types.proto\032\'api/common/v2" + "/game_account_handle.proto\032!api/common/v" + "2/whisper_types.proto\032\017rpc_types.proto\"\323" + "\001\n\023WhisperNotification\022\035\n\025subscriber_acc" + "ount_id\030\001 \001(\004\0221\n\007whisper\030\002 \001(\0132 .bgs.pro" + "tocol.whisper.v2.Whisper\022!\n\021target_battl" + "e_tag\030\003 \001(\tB\006\202\371+\002\010\001\022G\n\023target_game_accou" + "nt\030\004 \001(\0132*.bgs.protocol.account.v2.GameA" + "ccountHandle\"\230\001\n\027WhisperEchoNotification" + "\022\035\n\025subscriber_account_id\030\001 \001(\004\0221\n\007whisp" + "er\030\002 \001(\0132 .bgs.protocol.whisper.v2.Whisp" + "er\022+\n\016message_origin\030\003 \001(\rB\023\202\371+\017*\rMessag" + "eOrigin\"n\n\032WhisperUpdatedNotification\022\035\n" + "\025subscriber_account_id\030\001 \001(\004\0221\n\007whisper\030" + "\002 \001(\0132 .bgs.protocol.whisper.v2.Whisper\"" + "\211\001\n\033TypingIndicatorNotification\022\035\n\025subsc" + "riber_account_id\030\001 \001(\004\022\031\n\021target_account" + "_id\030\002 \001(\004\0220\n\tindicator\030\003 \001(\0162\035.bgs.proto" + "col.TypingIndicator\"m\n\033AdvanceViewTimeNo" + "tification\022\035\n\025subscriber_account_id\030\001 \001(" + "\004\022\031\n\021target_account_id\030\002 \001(\004\022\024\n\014view_tim" + "e_us\030\003 \001(\004\"o\n\034AdvanceClearTimeNotificati" + "on\022\035\n\025subscriber_account_id\030\001 \001(\004\022\031\n\021tar" + "get_account_id\030\002 \001(\004\022\025\n\rclear_time_us\030\003 " + "\001(\0042\372\005\n\017WhisperListener\022e\n\tOnWhisper\0223.b" + "gs.protocol.whisper.v2.client.WhisperNot" + "ification\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371" + "+\004\010\0018\001\022k\n\rOnWhisperEcho\0227.bgs.protocol.w" + "hisper.v2.client.WhisperEchoNotification" + "\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022q\n\020O" + "nWhisperUpdated\022:.bgs.protocol.whisper.v" + "2.client.WhisperUpdatedNotification\032\031.bg" + "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\003\022s\n\021OnAdva" + "nceViewTime\022;.bgs.protocol.whisper.v2.cl" + "ient.AdvanceViewTimeNotification\032\031.bgs.p" + "rotocol.NO_RESPONSE\"\006\202\371+\002\010\004\022u\n\022OnAdvance" + "ClearTime\022<.bgs.protocol.whisper.v2.clie" + "nt.AdvanceClearTimeNotification\032\031.bgs.pr" + "otocol.NO_RESPONSE\"\006\202\371+\002\010\005\022s\n\021OnTypingIn" + "dicator\022;.bgs.protocol.whisper.v2.client" + ".TypingIndicatorNotification\032\031.bgs.proto" + "col.NO_RESPONSE\"\006\202\371+\002\010\006\032\?\202\371+3\n/bnet.prot" + "ocol.whisper.v2.client.WhisperListener8\001" + "\212\371+\004\010\001\030\001B\002H\002", 1812); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/whisper_listener.proto", &protobuf_RegisterTypes); + WhisperNotification::default_instance_ = new WhisperNotification(); + WhisperEchoNotification::default_instance_ = new WhisperEchoNotification(); + WhisperUpdatedNotification::default_instance_ = new WhisperUpdatedNotification(); + TypingIndicatorNotification::default_instance_ = new TypingIndicatorNotification(); + AdvanceViewTimeNotification::default_instance_ = new AdvanceViewTimeNotification(); + AdvanceClearTimeNotification::default_instance_ = new AdvanceClearTimeNotification(); + WhisperNotification::default_instance_->InitAsDefaultInstance(); + WhisperEchoNotification::default_instance_->InitAsDefaultInstance(); + WhisperUpdatedNotification::default_instance_->InitAsDefaultInstance(); + TypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); + AdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + AdvanceClearTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int WhisperNotification::kSubscriberAccountIdFieldNumber; +const int WhisperNotification::kWhisperFieldNumber; +const int WhisperNotification::kTargetBattleTagFieldNumber; +const int WhisperNotification::kTargetGameAccountFieldNumber; +#endif // !_MSC_VER + +WhisperNotification::WhisperNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperNotification) +} + +void WhisperNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); + target_game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance()); +} + +WhisperNotification::WhisperNotification(const WhisperNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperNotification) +} + +void WhisperNotification::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + target_game_account_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperNotification::~WhisperNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperNotification) + SharedDtor(); +} + +void WhisperNotification::SharedDtor() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (this != default_instance_) { + delete whisper_; + delete target_game_account_; + } +} + +void WhisperNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperNotification_descriptor_; +} + +const WhisperNotification& WhisperNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperNotification* WhisperNotification::default_instance_ = NULL; + +WhisperNotification* WhisperNotification::New() const { + return new WhisperNotification; +} + +void WhisperNotification::Swap(WhisperNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperNotification_descriptor_; + metadata.reflection = WhisperNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperEchoNotification::kSubscriberAccountIdFieldNumber; +const int WhisperEchoNotification::kWhisperFieldNumber; +const int WhisperEchoNotification::kMessageOriginFieldNumber; +#endif // !_MSC_VER + +WhisperEchoNotification::WhisperEchoNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) +} + +void WhisperEchoNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +WhisperEchoNotification::WhisperEchoNotification(const WhisperEchoNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) +} + +void WhisperEchoNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + message_origin_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperEchoNotification::~WhisperEchoNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) + SharedDtor(); +} + +void WhisperEchoNotification::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void WhisperEchoNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperEchoNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperEchoNotification_descriptor_; +} + +const WhisperEchoNotification& WhisperEchoNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperEchoNotification* WhisperEchoNotification::default_instance_ = NULL; + +WhisperEchoNotification* WhisperEchoNotification::New() const { + return new WhisperEchoNotification; +} + +void WhisperEchoNotification::Swap(WhisperEchoNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperEchoNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperEchoNotification_descriptor_; + metadata.reflection = WhisperEchoNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperUpdatedNotification::kSubscriberAccountIdFieldNumber; +const int WhisperUpdatedNotification::kWhisperFieldNumber; +#endif // !_MSC_VER + +WhisperUpdatedNotification::WhisperUpdatedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) +} + +void WhisperUpdatedNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +WhisperUpdatedNotification::WhisperUpdatedNotification(const WhisperUpdatedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) +} + +void WhisperUpdatedNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperUpdatedNotification::~WhisperUpdatedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) + SharedDtor(); +} + +void WhisperUpdatedNotification::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void WhisperUpdatedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperUpdatedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperUpdatedNotification_descriptor_; +} + +const WhisperUpdatedNotification& WhisperUpdatedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperUpdatedNotification* WhisperUpdatedNotification::default_instance_ = NULL; + +WhisperUpdatedNotification* WhisperUpdatedNotification::New() const { + return new WhisperUpdatedNotification; +} + +void WhisperUpdatedNotification::Swap(WhisperUpdatedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperUpdatedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperUpdatedNotification_descriptor_; + metadata.reflection = WhisperUpdatedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int TypingIndicatorNotification::kSubscriberAccountIdFieldNumber; +const int TypingIndicatorNotification::kTargetAccountIdFieldNumber; +const int TypingIndicatorNotification::kIndicatorFieldNumber; +#endif // !_MSC_VER + +TypingIndicatorNotification::TypingIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) +} + +void TypingIndicatorNotification::InitAsDefaultInstance() { +} + +TypingIndicatorNotification::TypingIndicatorNotification(const TypingIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) +} + +void TypingIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TypingIndicatorNotification::~TypingIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) + SharedDtor(); +} + +void TypingIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void TypingIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TypingIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TypingIndicatorNotification_descriptor_; +} + +const TypingIndicatorNotification& TypingIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +TypingIndicatorNotification* TypingIndicatorNotification::default_instance_ = NULL; + +TypingIndicatorNotification* TypingIndicatorNotification::New() const { + return new TypingIndicatorNotification; +} + +void TypingIndicatorNotification::Swap(TypingIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TypingIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TypingIndicatorNotification_descriptor_; + metadata.reflection = TypingIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceViewTimeNotification::kSubscriberAccountIdFieldNumber; +const int AdvanceViewTimeNotification::kTargetAccountIdFieldNumber; +const int AdvanceViewTimeNotification::kViewTimeUsFieldNumber; +#endif // !_MSC_VER + +AdvanceViewTimeNotification::AdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) +} + +void AdvanceViewTimeNotification::InitAsDefaultInstance() { +} + +AdvanceViewTimeNotification::AdvanceViewTimeNotification(const AdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) +} + +void AdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + view_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceViewTimeNotification::~AdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) + SharedDtor(); +} + +void AdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceViewTimeNotification_descriptor_; +} + +const AdvanceViewTimeNotification& AdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +AdvanceViewTimeNotification* AdvanceViewTimeNotification::default_instance_ = NULL; + +AdvanceViewTimeNotification* AdvanceViewTimeNotification::New() const { + return new AdvanceViewTimeNotification; +} + +void AdvanceViewTimeNotification::Swap(AdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceViewTimeNotification_descriptor_; + metadata.reflection = AdvanceViewTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceClearTimeNotification::kSubscriberAccountIdFieldNumber; +const int AdvanceClearTimeNotification::kTargetAccountIdFieldNumber; +const int AdvanceClearTimeNotification::kClearTimeUsFieldNumber; +#endif // !_MSC_VER + +AdvanceClearTimeNotification::AdvanceClearTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) +} + +void AdvanceClearTimeNotification::InitAsDefaultInstance() { +} + +AdvanceClearTimeNotification::AdvanceClearTimeNotification(const AdvanceClearTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) +} + +void AdvanceClearTimeNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceClearTimeNotification::~AdvanceClearTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) + SharedDtor(); +} + +void AdvanceClearTimeNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceClearTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceClearTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceClearTimeNotification_descriptor_; +} + +const AdvanceClearTimeNotification& AdvanceClearTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +AdvanceClearTimeNotification* AdvanceClearTimeNotification::default_instance_ = NULL; + +AdvanceClearTimeNotification* AdvanceClearTimeNotification::New() const { + return new AdvanceClearTimeNotification; +} + +void AdvanceClearTimeNotification::Swap(AdvanceClearTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceClearTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceClearTimeNotification_descriptor_; + metadata.reflection = AdvanceClearTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +WhisperListener::WhisperListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +WhisperListener::~WhisperListener() { +} + +google::protobuf::ServiceDescriptor const* WhisperListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperListener_descriptor_; +} + +void WhisperListener::OnWhisper(::bgs::protocol::whisper::v2::client::WhisperNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisper", "bgs.protocol.whisper.v2.client.WhisperNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnWhisperEcho(::bgs::protocol::whisper::v2::client::WhisperEchoNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisperEcho", "bgs.protocol.whisper.v2.client.WhisperEchoNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnWhisperUpdated(::bgs::protocol::whisper::v2::client::WhisperUpdatedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisperUpdated", "bgs.protocol.whisper.v2.client.WhisperUpdatedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnAdvanceViewTime", "bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnAdvanceClearTime", "bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification", request); + SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnTypingIndicator(::bgs::protocol::whisper::v2::client::TypingIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnTypingIndicator", "bgs.protocol.whisper.v2.client.TypingIndicatorNotification", request); + SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/whisper_listener.pb.h b/src/server/proto/Client/api/client/v2/whisper_listener.pb.h new file mode 100644 index 00000000000..049d2b6155d --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_listener.pb.h @@ -0,0 +1,1209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/message_types.pb.h" +#include "api/common/v2/game_account_handle.pb.h" +#include "api/common/v2/whisper_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + +class WhisperNotification; +class WhisperEchoNotification; +class WhisperUpdatedNotification; +class TypingIndicatorNotification; +class AdvanceViewTimeNotification; +class AdvanceClearTimeNotification; + +// =================================================================== + +class TC_PROTO_API WhisperNotification : public ::google::protobuf::Message { + public: + WhisperNotification(); + virtual ~WhisperNotification(); + + WhisperNotification(const WhisperNotification& from); + + inline WhisperNotification& operator=(const WhisperNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperNotification& default_instance(); + + void Swap(WhisperNotification* other); + + // implements Message ---------------------------------------------- + + WhisperNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // optional string target_battle_tag = 3; + inline bool has_target_battle_tag() const; + inline void clear_target_battle_tag(); + static const int kTargetBattleTagFieldNumber = 3; + inline const ::std::string& target_battle_tag() const; + inline void set_target_battle_tag(const ::std::string& value); + inline void set_target_battle_tag(const char* value); + inline void set_target_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_target_battle_tag(); + inline ::std::string* release_target_battle_tag(); + inline void set_allocated_target_battle_tag(::std::string* target_battle_tag); + + // optional .bgs.protocol.account.v2.GameAccountHandle target_game_account = 4; + inline bool has_target_game_account() const; + inline void clear_target_game_account(); + static const int kTargetGameAccountFieldNumber = 4; + inline const ::bgs::protocol::account::v2::GameAccountHandle& target_game_account() const; + inline ::bgs::protocol::account::v2::GameAccountHandle* mutable_target_game_account(); + inline ::bgs::protocol::account::v2::GameAccountHandle* release_target_game_account(); + inline void set_allocated_target_game_account(::bgs::protocol::account::v2::GameAccountHandle* target_game_account); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + inline void set_has_target_battle_tag(); + inline void clear_has_target_battle_tag(); + inline void set_has_target_game_account(); + inline void clear_has_target_game_account(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + ::std::string* target_battle_tag_; + ::bgs::protocol::account::v2::GameAccountHandle* target_game_account_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperEchoNotification : public ::google::protobuf::Message { + public: + WhisperEchoNotification(); + virtual ~WhisperEchoNotification(); + + WhisperEchoNotification(const WhisperEchoNotification& from); + + inline WhisperEchoNotification& operator=(const WhisperEchoNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperEchoNotification& default_instance(); + + void Swap(WhisperEchoNotification* other); + + // implements Message ---------------------------------------------- + + WhisperEchoNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // optional uint32 message_origin = 3; + inline bool has_message_origin() const; + inline void clear_message_origin(); + static const int kMessageOriginFieldNumber = 3; + inline ::google::protobuf::uint32 message_origin() const; + inline void set_message_origin(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperEchoNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + inline void set_has_message_origin(); + inline void clear_has_message_origin(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + ::google::protobuf::uint32 message_origin_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperEchoNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperUpdatedNotification : public ::google::protobuf::Message { + public: + WhisperUpdatedNotification(); + virtual ~WhisperUpdatedNotification(); + + WhisperUpdatedNotification(const WhisperUpdatedNotification& from); + + inline WhisperUpdatedNotification& operator=(const WhisperUpdatedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperUpdatedNotification& default_instance(); + + void Swap(WhisperUpdatedNotification* other); + + // implements Message ---------------------------------------------- + + WhisperUpdatedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperUpdatedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API TypingIndicatorNotification : public ::google::protobuf::Message { + public: + TypingIndicatorNotification(); + virtual ~TypingIndicatorNotification(); + + TypingIndicatorNotification(const TypingIndicatorNotification& from); + + inline TypingIndicatorNotification& operator=(const TypingIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TypingIndicatorNotification& default_instance(); + + void Swap(TypingIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + TypingIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 3; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 3; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static TypingIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + AdvanceViewTimeNotification(); + virtual ~AdvanceViewTimeNotification(); + + AdvanceViewTimeNotification(const AdvanceViewTimeNotification& from); + + inline AdvanceViewTimeNotification& operator=(const AdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceViewTimeNotification& default_instance(); + + void Swap(AdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + AdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional uint64 view_time_us = 3; + inline bool has_view_time_us() const; + inline void clear_view_time_us(); + static const int kViewTimeUsFieldNumber = 3; + inline ::google::protobuf::uint64 view_time_us() const; + inline void set_view_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_view_time_us(); + inline void clear_has_view_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + ::google::protobuf::uint64 view_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceViewTimeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceClearTimeNotification : public ::google::protobuf::Message { + public: + AdvanceClearTimeNotification(); + virtual ~AdvanceClearTimeNotification(); + + AdvanceClearTimeNotification(const AdvanceClearTimeNotification& from); + + inline AdvanceClearTimeNotification& operator=(const AdvanceClearTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceClearTimeNotification& default_instance(); + + void Swap(AdvanceClearTimeNotification* other); + + // implements Message ---------------------------------------------- + + AdvanceClearTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional uint64 clear_time_us = 3; + inline bool has_clear_time_us() const; + inline void clear_clear_time_us(); + static const int kClearTimeUsFieldNumber = 3; + inline ::google::protobuf::uint64 clear_time_us() const; + inline void set_clear_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_clear_time_us(); + inline void clear_has_clear_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + ::google::protobuf::uint64 clear_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceClearTimeNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API WhisperListener : public ServiceBase +{ + public: + + explicit WhisperListener(bool use_original_hash); + WhisperListener(WhisperListener const&) = delete; + WhisperListener(WhisperListener&&) = delete; + WhisperListener& operator=(WhisperListener const&) = delete; + WhisperListener& operator=(WhisperListener&&) = delete; + virtual ~WhisperListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnWhisper(::bgs::protocol::whisper::v2::client::WhisperNotification const* request, bool client = false, bool server = false); + void OnWhisperEcho(::bgs::protocol::whisper::v2::client::WhisperEchoNotification const* request, bool client = false, bool server = false); + void OnWhisperUpdated(::bgs::protocol::whisper::v2::client::WhisperUpdatedNotification const* request, bool client = false, bool server = false); + void OnAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeNotification const* request, bool client = false, bool server = false); + void OnAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeNotification const* request, bool client = false, bool server = false); + void OnTypingIndicator(::bgs::protocol::whisper::v2::client::TypingIndicatorNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// WhisperNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) +} + +// optional string target_battle_tag = 3; +inline bool WhisperNotification::has_target_battle_tag() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperNotification::set_has_target_battle_tag() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperNotification::clear_has_target_battle_tag() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperNotification::clear_target_battle_tag() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_->clear(); + } + clear_has_target_battle_tag(); +} +inline const ::std::string& WhisperNotification::target_battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) + return *target_battle_tag_; +} +inline void WhisperNotification::set_target_battle_tag(const ::std::string& value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline void WhisperNotification::set_target_battle_tag(const char* value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline void WhisperNotification::set_target_battle_tag(const char* value, size_t size) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline ::std::string* WhisperNotification::mutable_target_battle_tag() { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) + return target_battle_tag_; +} +inline ::std::string* WhisperNotification::release_target_battle_tag() { + clear_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = target_battle_tag_; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void WhisperNotification::set_allocated_target_battle_tag(::std::string* target_battle_tag) { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (target_battle_tag) { + set_has_target_battle_tag(); + target_battle_tag_ = target_battle_tag; + } else { + clear_has_target_battle_tag(); + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} + +// optional .bgs.protocol.account.v2.GameAccountHandle target_game_account = 4; +inline bool WhisperNotification::has_target_game_account() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void WhisperNotification::set_has_target_game_account() { + _has_bits_[0] |= 0x00000008u; +} +inline void WhisperNotification::clear_has_target_game_account() { + _has_bits_[0] &= ~0x00000008u; +} +inline void WhisperNotification::clear_target_game_account() { + if (target_game_account_ != NULL) target_game_account_->::bgs::protocol::account::v2::GameAccountHandle::Clear(); + clear_has_target_game_account(); +} +inline const ::bgs::protocol::account::v2::GameAccountHandle& WhisperNotification::target_game_account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) + return target_game_account_ != NULL ? *target_game_account_ : *default_instance_->target_game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* WhisperNotification::mutable_target_game_account() { + set_has_target_game_account(); + if (target_game_account_ == NULL) target_game_account_ = new ::bgs::protocol::account::v2::GameAccountHandle; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) + return target_game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* WhisperNotification::release_target_game_account() { + clear_has_target_game_account(); + ::bgs::protocol::account::v2::GameAccountHandle* temp = target_game_account_; + target_game_account_ = NULL; + return temp; +} +inline void WhisperNotification::set_allocated_target_game_account(::bgs::protocol::account::v2::GameAccountHandle* target_game_account) { + delete target_game_account_; + target_game_account_ = target_game_account; + if (target_game_account) { + set_has_target_game_account(); + } else { + clear_has_target_game_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) +} + +// ------------------------------------------------------------------- + +// WhisperEchoNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperEchoNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperEchoNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperEchoNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperEchoNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperEchoNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperEchoNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperEchoNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperEchoNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperEchoNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperEchoNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperEchoNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperEchoNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperEchoNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperEchoNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperEchoNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) +} + +// optional uint32 message_origin = 3; +inline bool WhisperEchoNotification::has_message_origin() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperEchoNotification::set_has_message_origin() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperEchoNotification::clear_has_message_origin() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperEchoNotification::clear_message_origin() { + message_origin_ = 0u; + clear_has_message_origin(); +} +inline ::google::protobuf::uint32 WhisperEchoNotification::message_origin() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.message_origin) + return message_origin_; +} +inline void WhisperEchoNotification::set_message_origin(::google::protobuf::uint32 value) { + set_has_message_origin(); + message_origin_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperEchoNotification.message_origin) +} + +// ------------------------------------------------------------------- + +// WhisperUpdatedNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperUpdatedNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperUpdatedNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperUpdatedNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperUpdatedNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperUpdatedNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperUpdatedNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperUpdatedNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperUpdatedNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperUpdatedNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperUpdatedNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperUpdatedNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperUpdatedNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperUpdatedNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperUpdatedNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) +} + +// ------------------------------------------------------------------- + +// TypingIndicatorNotification + +// optional uint64 subscriber_account_id = 1; +inline bool TypingIndicatorNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TypingIndicatorNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void TypingIndicatorNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TypingIndicatorNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 TypingIndicatorNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void TypingIndicatorNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool TypingIndicatorNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void TypingIndicatorNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void TypingIndicatorNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void TypingIndicatorNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 TypingIndicatorNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.target_account_id) + return target_account_id_; +} +inline void TypingIndicatorNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.target_account_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 3; +inline bool TypingIndicatorNotification::has_indicator() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void TypingIndicatorNotification::set_has_indicator() { + _has_bits_[0] |= 0x00000004u; +} +inline void TypingIndicatorNotification::clear_has_indicator() { + _has_bits_[0] &= ~0x00000004u; +} +inline void TypingIndicatorNotification::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator TypingIndicatorNotification::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void TypingIndicatorNotification::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceViewTimeNotification + +// optional uint64 subscriber_account_id = 1; +inline bool AdvanceViewTimeNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceViewTimeNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceViewTimeNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void AdvanceViewTimeNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool AdvanceViewTimeNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceViewTimeNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceViewTimeNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.target_account_id) + return target_account_id_; +} +inline void AdvanceViewTimeNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.target_account_id) +} + +// optional uint64 view_time_us = 3; +inline bool AdvanceViewTimeNotification::has_view_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_view_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceViewTimeNotification::clear_has_view_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceViewTimeNotification::clear_view_time_us() { + view_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_view_time_us(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::view_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.view_time_us) + return view_time_us_; +} +inline void AdvanceViewTimeNotification::set_view_time_us(::google::protobuf::uint64 value) { + set_has_view_time_us(); + view_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.view_time_us) +} + +// ------------------------------------------------------------------- + +// AdvanceClearTimeNotification + +// optional uint64 subscriber_account_id = 1; +inline bool AdvanceClearTimeNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceClearTimeNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceClearTimeNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void AdvanceClearTimeNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool AdvanceClearTimeNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceClearTimeNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceClearTimeNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.target_account_id) + return target_account_id_; +} +inline void AdvanceClearTimeNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.target_account_id) +} + +// optional uint64 clear_time_us = 3; +inline bool AdvanceClearTimeNotification::has_clear_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_clear_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceClearTimeNotification::clear_has_clear_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceClearTimeNotification::clear_clear_time_us() { + clear_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_clear_time_us(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::clear_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.clear_time_us) + return clear_time_us_; +} +inline void AdvanceClearTimeNotification::set_clear_time_us(::google::protobuf::uint64 value) { + set_has_clear_time_us(); + clear_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.clear_time_us) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/whisper_service.pb.cc b/src/server/proto/Client/api/client/v2/whisper_service.pb.cc new file mode 100644 index 00000000000..ac02bc39eaf --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_service.pb.cc @@ -0,0 +1,1291 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/whisper_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetWhisperHistoryRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetWhisperHistoryRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetWhisperHistoryResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetWhisperHistoryResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetTypingIndicatorRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceClearTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceClearTimeRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* WhisperService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/whisper_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[1] = { + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, view_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetWhisperHistoryRequest_descriptor_ = file->message_type(3); + static const int GetWhisperHistoryRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, continuation_), + }; + GetWhisperHistoryRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetWhisperHistoryRequest_descriptor_, + GetWhisperHistoryRequest::default_instance_, + GetWhisperHistoryRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetWhisperHistoryRequest)); + GetWhisperHistoryResponse_descriptor_ = file->message_type(4); + static const int GetWhisperHistoryResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, whispers_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, continuation_), + }; + GetWhisperHistoryResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetWhisperHistoryResponse_descriptor_, + GetWhisperHistoryResponse::default_instance_, + GetWhisperHistoryResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetWhisperHistoryResponse)); + SendWhisperRequest_descriptor_ = file->message_type(5); + static const int SendWhisperRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, options_), + }; + SendWhisperRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperRequest_descriptor_, + SendWhisperRequest::default_instance_, + SendWhisperRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperRequest)); + SendWhisperResponse_descriptor_ = file->message_type(6); + static const int SendWhisperResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, whisper_), + }; + SendWhisperResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperResponse_descriptor_, + SendWhisperResponse::default_instance_, + SendWhisperResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperResponse)); + SetTypingIndicatorRequest_descriptor_ = file->message_type(7); + static const int SetTypingIndicatorRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, indicator_), + }; + SetTypingIndicatorRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetTypingIndicatorRequest_descriptor_, + SetTypingIndicatorRequest::default_instance_, + SetTypingIndicatorRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetTypingIndicatorRequest)); + AdvanceViewTimeRequest_descriptor_ = file->message_type(8); + static const int AdvanceViewTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, target_account_id_), + }; + AdvanceViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceViewTimeRequest_descriptor_, + AdvanceViewTimeRequest::default_instance_, + AdvanceViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceViewTimeRequest)); + AdvanceClearTimeRequest_descriptor_ = file->message_type(9); + static const int AdvanceClearTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, target_account_id_), + }; + AdvanceClearTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceClearTimeRequest_descriptor_, + AdvanceClearTimeRequest::default_instance_, + AdvanceClearTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceClearTimeRequest)); + WhisperService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetWhisperHistoryRequest_descriptor_, &GetWhisperHistoryRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetWhisperHistoryResponse_descriptor_, &GetWhisperHistoryResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperRequest_descriptor_, &SendWhisperRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperResponse_descriptor_, &SendWhisperResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetTypingIndicatorRequest_descriptor_, &SetTypingIndicatorRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceViewTimeRequest_descriptor_, &AdvanceViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceClearTimeRequest_descriptor_, &AdvanceClearTimeRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetWhisperHistoryRequest::default_instance_; + delete GetWhisperHistoryRequest_reflection_; + delete GetWhisperHistoryResponse::default_instance_; + delete GetWhisperHistoryResponse_reflection_; + delete SendWhisperRequest::default_instance_; + delete SendWhisperRequest_reflection_; + delete SendWhisperResponse::default_instance_; + delete SendWhisperResponse_reflection_; + delete SetTypingIndicatorRequest::default_instance_; + delete SetTypingIndicatorRequest_reflection_; + delete AdvanceViewTimeRequest::default_instance_; + delete AdvanceViewTimeRequest_reflection_; + delete AdvanceClearTimeRequest::default_instance_; + delete AdvanceClearTimeRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::whisper::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/client/v2/whisper_service.proto\022\036b" + "gs.protocol.whisper.v2.client\032$api/commo" + "n/v1/event_view_types.proto\032!api/common/" + "v1/message_types.proto\032!api/common/v2/wh" + "isper_types.proto\032\017rpc_types.proto\"\022\n\020Su" + "bscribeRequest\"G\n\021SubscribeResponse\0222\n\004v" + "iew\030\001 \003(\0132$.bgs.protocol.whisper.v2.Whis" + "perView\"\024\n\022UnsubscribeRequest\"{\n\030GetWhis" + "perHistoryRequest\022\031\n\021target_account_id\030\001" + " \001(\004\022.\n\007options\030\002 \001(\0132\035.bgs.protocol.Get" + "EventOptions\022\024\n\014continuation\030\004 \001(\004\"e\n\031Ge" + "tWhisperHistoryResponse\0222\n\010whispers\030\001 \003(" + "\0132 .bgs.protocol.whisper.v2.Whisper\022\024\n\014c" + "ontinuation\030\002 \001(\004\"m\n\022SendWhisperRequest\022" + "\031\n\021target_account_id\030\001 \001(\004\022<\n\007options\030\002 " + "\001(\0132+.bgs.protocol.whisper.v2.SendWhispe" + "rOptions\"H\n\023SendWhisperResponse\0221\n\007whisp" + "er\030\001 \001(\0132 .bgs.protocol.whisper.v2.Whisp" + "er\"h\n\031SetTypingIndicatorRequest\022\031\n\021targe" + "t_account_id\030\001 \001(\004\0220\n\tindicator\030\002 \001(\0162\035." + "bgs.protocol.TypingIndicator\"3\n\026AdvanceV" + "iewTimeRequest\022\031\n\021target_account_id\030\001 \001(" + "\004\"4\n\027AdvanceClearTimeRequest\022\031\n\021target_a" + "ccount_id\030\001 \001(\0042\231\007\n\016WhisperService\022z\n\tSu" + "bscribe\0220.bgs.protocol.whisper.v2.client" + ".SubscribeRequest\0321.bgs.protocol.whisper" + ".v2.client.SubscribeResponse\"\010\202\371+\004\010\001\020\001\022a" + "\n\013Unsubscribe\0222.bgs.protocol.whisper.v2." + "client.UnsubscribeRequest\032\024.bgs.protocol" + ".NoData\"\010\202\371+\004\010\002\020\001\022\222\001\n\021GetWhisperHistory\022" + "8.bgs.protocol.whisper.v2.client.GetWhis" + "perHistoryRequest\0329.bgs.protocol.whisper" + ".v2.client.GetWhisperHistoryResponse\"\010\202\371" + "+\004\010\003\020\001\022\200\001\n\013SendWhisper\0222.bgs.protocol.wh" + "isper.v2.client.SendWhisperRequest\0323.bgs" + ".protocol.whisper.v2.client.SendWhisperR" + "esponse\"\010\202\371+\004\010\004\020\001\022i\n\017AdvanceViewTime\0226.b" + "gs.protocol.whisper.v2.client.AdvanceVie" + "wTimeRequest\032\024.bgs.protocol.NoData\"\010\202\371+\004" + "\010\005\020\001\022k\n\020AdvanceClearTime\0227.bgs.protocol." + "whisper.v2.client.AdvanceClearTimeReques" + "t\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001\022o\n\022Set" + "TypingIndicator\0229.bgs.protocol.whisper.v" + "2.client.SetTypingIndicatorRequest\032\024.bgs" + ".protocol.NoData\"\010\202\371+\004\010\007\020\001\032G\202\371+;\n.bnet.p" + "rotocol.whisper.v2.client.WhisperService" + "*\007whisperH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 1866); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/whisper_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetWhisperHistoryRequest::default_instance_ = new GetWhisperHistoryRequest(); + GetWhisperHistoryResponse::default_instance_ = new GetWhisperHistoryResponse(); + SendWhisperRequest::default_instance_ = new SendWhisperRequest(); + SendWhisperResponse::default_instance_ = new SendWhisperResponse(); + SetTypingIndicatorRequest::default_instance_ = new SetTypingIndicatorRequest(); + AdvanceViewTimeRequest::default_instance_ = new AdvanceViewTimeRequest(); + AdvanceClearTimeRequest::default_instance_ = new AdvanceClearTimeRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetWhisperHistoryRequest::default_instance_->InitAsDefaultInstance(); + GetWhisperHistoryResponse::default_instance_->InitAsDefaultInstance(); + SendWhisperRequest::default_instance_->InitAsDefaultInstance(); + SendWhisperResponse::default_instance_->InitAsDefaultInstance(); + SetTypingIndicatorRequest::default_instance_->InitAsDefaultInstance(); + AdvanceViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceClearTimeRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kViewFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetWhisperHistoryRequest::kTargetAccountIdFieldNumber; +const int GetWhisperHistoryRequest::kOptionsFieldNumber; +const int GetWhisperHistoryRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetWhisperHistoryRequest::GetWhisperHistoryRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) +} + +void GetWhisperHistoryRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetWhisperHistoryRequest::GetWhisperHistoryRequest(const GetWhisperHistoryRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) +} + +void GetWhisperHistoryRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetWhisperHistoryRequest::~GetWhisperHistoryRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) + SharedDtor(); +} + +void GetWhisperHistoryRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void GetWhisperHistoryRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetWhisperHistoryRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetWhisperHistoryRequest_descriptor_; +} + +const GetWhisperHistoryRequest& GetWhisperHistoryRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +GetWhisperHistoryRequest* GetWhisperHistoryRequest::default_instance_ = NULL; + +GetWhisperHistoryRequest* GetWhisperHistoryRequest::New() const { + return new GetWhisperHistoryRequest; +} + +void GetWhisperHistoryRequest::Swap(GetWhisperHistoryRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetWhisperHistoryRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetWhisperHistoryRequest_descriptor_; + metadata.reflection = GetWhisperHistoryRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetWhisperHistoryResponse::kWhispersFieldNumber; +const int GetWhisperHistoryResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetWhisperHistoryResponse::GetWhisperHistoryResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) +} + +void GetWhisperHistoryResponse::InitAsDefaultInstance() { +} + +GetWhisperHistoryResponse::GetWhisperHistoryResponse(const GetWhisperHistoryResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) +} + +void GetWhisperHistoryResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetWhisperHistoryResponse::~GetWhisperHistoryResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) + SharedDtor(); +} + +void GetWhisperHistoryResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetWhisperHistoryResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetWhisperHistoryResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetWhisperHistoryResponse_descriptor_; +} + +const GetWhisperHistoryResponse& GetWhisperHistoryResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +GetWhisperHistoryResponse* GetWhisperHistoryResponse::default_instance_ = NULL; + +GetWhisperHistoryResponse* GetWhisperHistoryResponse::New() const { + return new GetWhisperHistoryResponse; +} + +void GetWhisperHistoryResponse::Swap(GetWhisperHistoryResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetWhisperHistoryResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetWhisperHistoryResponse_descriptor_; + metadata.reflection = GetWhisperHistoryResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperRequest::kTargetAccountIdFieldNumber; +const int SendWhisperRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendWhisperRequest::SendWhisperRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) +} + +void SendWhisperRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::whisper::v2::SendWhisperOptions*>(&::bgs::protocol::whisper::v2::SendWhisperOptions::default_instance()); +} + +SendWhisperRequest::SendWhisperRequest(const SendWhisperRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) +} + +void SendWhisperRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperRequest::~SendWhisperRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) + SharedDtor(); +} + +void SendWhisperRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void SendWhisperRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperRequest_descriptor_; +} + +const SendWhisperRequest& SendWhisperRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SendWhisperRequest* SendWhisperRequest::default_instance_ = NULL; + +SendWhisperRequest* SendWhisperRequest::New() const { + return new SendWhisperRequest; +} + +void SendWhisperRequest::Swap(SendWhisperRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperRequest_descriptor_; + metadata.reflection = SendWhisperRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperResponse::kWhisperFieldNumber; +#endif // !_MSC_VER + +SendWhisperResponse::SendWhisperResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) +} + +void SendWhisperResponse::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +SendWhisperResponse::SendWhisperResponse(const SendWhisperResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) +} + +void SendWhisperResponse::SharedCtor() { + _cached_size_ = 0; + whisper_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperResponse::~SendWhisperResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) + SharedDtor(); +} + +void SendWhisperResponse::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void SendWhisperResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperResponse_descriptor_; +} + +const SendWhisperResponse& SendWhisperResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SendWhisperResponse* SendWhisperResponse::default_instance_ = NULL; + +SendWhisperResponse* SendWhisperResponse::New() const { + return new SendWhisperResponse; +} + +void SendWhisperResponse::Swap(SendWhisperResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperResponse_descriptor_; + metadata.reflection = SendWhisperResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetTypingIndicatorRequest::kTargetAccountIdFieldNumber; +const int SetTypingIndicatorRequest::kIndicatorFieldNumber; +#endif // !_MSC_VER + +SetTypingIndicatorRequest::SetTypingIndicatorRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::InitAsDefaultInstance() { +} + +SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) + SharedDtor(); +} + +void SetTypingIndicatorRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SetTypingIndicatorRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetTypingIndicatorRequest_descriptor_; +} + +const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::default_instance_ = NULL; + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::New() const { + return new SetTypingIndicatorRequest; +} + +void SetTypingIndicatorRequest::Swap(SetTypingIndicatorRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetTypingIndicatorRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetTypingIndicatorRequest_descriptor_; + metadata.reflection = SetTypingIndicatorRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceViewTimeRequest::kTargetAccountIdFieldNumber; +#endif // !_MSC_VER + +AdvanceViewTimeRequest::AdvanceViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) +} + +void AdvanceViewTimeRequest::InitAsDefaultInstance() { +} + +AdvanceViewTimeRequest::AdvanceViewTimeRequest(const AdvanceViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) +} + +void AdvanceViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceViewTimeRequest::~AdvanceViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) + SharedDtor(); +} + +void AdvanceViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceViewTimeRequest_descriptor_; +} + +const AdvanceViewTimeRequest& AdvanceViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceViewTimeRequest* AdvanceViewTimeRequest::default_instance_ = NULL; + +AdvanceViewTimeRequest* AdvanceViewTimeRequest::New() const { + return new AdvanceViewTimeRequest; +} + +void AdvanceViewTimeRequest::Swap(AdvanceViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceViewTimeRequest_descriptor_; + metadata.reflection = AdvanceViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceClearTimeRequest::kTargetAccountIdFieldNumber; +#endif // !_MSC_VER + +AdvanceClearTimeRequest::AdvanceClearTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) +} + +void AdvanceClearTimeRequest::InitAsDefaultInstance() { +} + +AdvanceClearTimeRequest::AdvanceClearTimeRequest(const AdvanceClearTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) +} + +void AdvanceClearTimeRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceClearTimeRequest::~AdvanceClearTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) + SharedDtor(); +} + +void AdvanceClearTimeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceClearTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceClearTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceClearTimeRequest_descriptor_; +} + +const AdvanceClearTimeRequest& AdvanceClearTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceClearTimeRequest* AdvanceClearTimeRequest::default_instance_ = NULL; + +AdvanceClearTimeRequest* AdvanceClearTimeRequest::New() const { + return new AdvanceClearTimeRequest; +} + +void AdvanceClearTimeRequest::Swap(AdvanceClearTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceClearTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceClearTimeRequest_descriptor_; + metadata.reflection = AdvanceClearTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +WhisperService::WhisperService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +WhisperService::~WhisperService() { +} + +google::protobuf::ServiceDescriptor const* WhisperService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperService_descriptor_; +} + +void WhisperService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetWhisperHistory(token, methodId, buffer); + break; + case 4: + ParseAndHandleSendWhisper(token, methodId, buffer); + break; + case 5: + ParseAndHandleAdvanceViewTime(token, methodId, buffer); + break; + case 6: + ParseAndHandleAdvanceClearTime(token, methodId, buffer); + break; + case 7: + ParseAndHandleSetTypingIndicator(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 WhisperService::HandleSubscribe(::bgs::protocol::whisper::v2::client::SubscribeRequest const* request, ::bgs::protocol::whisper::v2::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleUnsubscribe(::bgs::protocol::whisper::v2::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleGetWhisperHistory(::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest const* request, ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.GetWhisperHistory", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleSendWhisper(::bgs::protocol::whisper::v2::client::SendWhisperRequest const* request, ::bgs::protocol::whisper::v2::client::SendWhisperResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.SendWhisper", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.AdvanceViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.AdvanceClearTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleSetTypingIndicator(::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.SetTypingIndicator", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void WhisperService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.Subscribe", "bgs.protocol.whisper.v2.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.Subscribe", ::bgs::protocol::whisper::v2::client::SubscribeResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.Unsubscribe", "bgs.protocol.whisper.v2.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleGetWhisperHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.GetWhisperHistory"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.GetWhisperHistory", "bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.GetWhisperHistory", ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse response; + uint32 status = HandleGetWhisperHistory(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleSendWhisper(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SendWhisperRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.SendWhisper"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.SendWhisper", "bgs.protocol.whisper.v2.client.SendWhisperRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.SendWhisper", ::bgs::protocol::whisper::v2::client::SendWhisperResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::SendWhisperResponse response; + uint32 status = HandleSendWhisper(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleAdvanceViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.AdvanceViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.AdvanceViewTime", "bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.AdvanceViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleAdvanceClearTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.AdvanceClearTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.AdvanceClearTime", "bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.AdvanceClearTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceClearTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.SetTypingIndicator"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.SetTypingIndicator", "bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetTypingIndicator(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/whisper_service.pb.h b/src/server/proto/Client/api/client/v2/whisper_service.pb.h new file mode 100644 index 00000000000..f7eeccbea43 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_service.pb.h @@ -0,0 +1,1236 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/event_view_types.pb.h" +#include "api/common/v1/message_types.pb.h" +#include "api/common/v2/whisper_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetWhisperHistoryRequest; +class GetWhisperHistoryResponse; +class SendWhisperRequest; +class SendWhisperResponse; +class SetTypingIndicatorRequest; +class AdvanceViewTimeRequest; +class AdvanceClearTimeRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.whisper.v2.WhisperView view = 1; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::WhisperView& view(int index) const; + inline ::bgs::protocol::whisper::v2::WhisperView* mutable_view(int index); + inline ::bgs::protocol::whisper::v2::WhisperView* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >* + mutable_view(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SubscribeResponse) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView > view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.UnsubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetWhisperHistoryRequest : public ::google::protobuf::Message { + public: + GetWhisperHistoryRequest(); + virtual ~GetWhisperHistoryRequest(); + + GetWhisperHistoryRequest(const GetWhisperHistoryRequest& from); + + inline GetWhisperHistoryRequest& operator=(const GetWhisperHistoryRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetWhisperHistoryRequest& default_instance(); + + void Swap(GetWhisperHistoryRequest* other); + + // implements Message ---------------------------------------------- + + GetWhisperHistoryRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // optional uint64 continuation = 4; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 4; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_options(); + inline void clear_has_options(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::GetEventOptions* options_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetWhisperHistoryRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetWhisperHistoryResponse : public ::google::protobuf::Message { + public: + GetWhisperHistoryResponse(); + virtual ~GetWhisperHistoryResponse(); + + GetWhisperHistoryResponse(const GetWhisperHistoryResponse& from); + + inline GetWhisperHistoryResponse& operator=(const GetWhisperHistoryResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetWhisperHistoryResponse& default_instance(); + + void Swap(GetWhisperHistoryResponse* other); + + // implements Message ---------------------------------------------- + + GetWhisperHistoryResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.whisper.v2.Whisper whispers = 1; + inline int whispers_size() const; + inline void clear_whispers(); + static const int kWhispersFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::Whisper& whispers(int index) const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whispers(int index); + inline ::bgs::protocol::whisper::v2::Whisper* add_whispers(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >& + whispers() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >* + mutable_whispers(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper > whispers_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetWhisperHistoryResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperRequest : public ::google::protobuf::Message { + public: + SendWhisperRequest(); + virtual ~SendWhisperRequest(); + + SendWhisperRequest(const SendWhisperRequest& from); + + inline SendWhisperRequest& operator=(const SendWhisperRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperRequest& default_instance(); + + void Swap(SendWhisperRequest* other); + + // implements Message ---------------------------------------------- + + SendWhisperRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.SendWhisperOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::SendWhisperOptions& options() const; + inline ::bgs::protocol::whisper::v2::SendWhisperOptions* mutable_options(); + inline ::bgs::protocol::whisper::v2::SendWhisperOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::whisper::v2::SendWhisperOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SendWhisperRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::whisper::v2::SendWhisperOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperResponse : public ::google::protobuf::Message { + public: + SendWhisperResponse(); + virtual ~SendWhisperResponse(); + + SendWhisperResponse(const SendWhisperResponse& from); + + inline SendWhisperResponse& operator=(const SendWhisperResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperResponse& default_instance(); + + void Swap(SendWhisperResponse* other); + + // implements Message ---------------------------------------------- + + SendWhisperResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 1; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SendWhisperResponse) + private: + inline void set_has_whisper(); + inline void clear_has_whisper(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Message { + public: + SetTypingIndicatorRequest(); + virtual ~SetTypingIndicatorRequest(); + + SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from); + + inline SetTypingIndicatorRequest& operator=(const SetTypingIndicatorRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetTypingIndicatorRequest& default_instance(); + + void Swap(SetTypingIndicatorRequest* other); + + // implements Message ---------------------------------------------- + + SetTypingIndicatorRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 2; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 2; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SetTypingIndicatorRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceViewTimeRequest(); + virtual ~AdvanceViewTimeRequest(); + + AdvanceViewTimeRequest(const AdvanceViewTimeRequest& from); + + inline AdvanceViewTimeRequest& operator=(const AdvanceViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceViewTimeRequest& default_instance(); + + void Swap(AdvanceViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceClearTimeRequest : public ::google::protobuf::Message { + public: + AdvanceClearTimeRequest(); + virtual ~AdvanceClearTimeRequest(); + + AdvanceClearTimeRequest(const AdvanceClearTimeRequest& from); + + inline AdvanceClearTimeRequest& operator=(const AdvanceClearTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceClearTimeRequest& default_instance(); + + void Swap(AdvanceClearTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceClearTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceClearTimeRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API WhisperService : public ServiceBase +{ + public: + + explicit WhisperService(bool use_original_hash); + WhisperService(WhisperService const&) = delete; + WhisperService(WhisperService&&) = delete; + WhisperService& operator=(WhisperService const&) = delete; + WhisperService& operator=(WhisperService&&) = delete; + virtual ~WhisperService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::whisper::v2::client::SubscribeRequest const* request, ::bgs::protocol::whisper::v2::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::whisper::v2::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetWhisperHistory(::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest const* request, ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse* response, std::function& continuation); + virtual uint32 HandleSendWhisper(::bgs::protocol::whisper::v2::client::SendWhisperRequest const* request, ::bgs::protocol::whisper::v2::client::SendWhisperResponse* response, std::function& continuation); + virtual uint32 HandleAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetWhisperHistory(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendWhisper(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceClearTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// repeated .bgs.protocol.whisper.v2.WhisperView view = 1; +inline int SubscribeResponse::view_size() const { + return view_.size(); +} +inline void SubscribeResponse::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::whisper::v2::WhisperView& SubscribeResponse::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Get(index); +} +inline ::bgs::protocol::whisper::v2::WhisperView* SubscribeResponse::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::whisper::v2::WhisperView* SubscribeResponse::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >& +SubscribeResponse::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >* +SubscribeResponse::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return &view_; +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// ------------------------------------------------------------------- + +// GetWhisperHistoryRequest + +// optional uint64 target_account_id = 1; +inline bool GetWhisperHistoryRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetWhisperHistoryRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetWhisperHistoryRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.target_account_id) + return target_account_id_; +} +inline void GetWhisperHistoryRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.target_account_id) +} + +// optional .bgs.protocol.GetEventOptions options = 2; +inline bool GetWhisperHistoryRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetWhisperHistoryRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetWhisperHistoryRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetWhisperHistoryRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetWhisperHistoryRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetWhisperHistoryRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetWhisperHistoryRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) +} + +// optional uint64 continuation = 4; +inline bool GetWhisperHistoryRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetWhisperHistoryRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetWhisperHistoryRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.continuation) + return continuation_; +} +inline void GetWhisperHistoryRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetWhisperHistoryResponse + +// repeated .bgs.protocol.whisper.v2.Whisper whispers = 1; +inline int GetWhisperHistoryResponse::whispers_size() const { + return whispers_.size(); +} +inline void GetWhisperHistoryResponse::clear_whispers() { + whispers_.Clear(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& GetWhisperHistoryResponse::whispers(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Get(index); +} +inline ::bgs::protocol::whisper::v2::Whisper* GetWhisperHistoryResponse::mutable_whispers(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Mutable(index); +} +inline ::bgs::protocol::whisper::v2::Whisper* GetWhisperHistoryResponse::add_whispers() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >& +GetWhisperHistoryResponse::whispers() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >* +GetWhisperHistoryResponse::mutable_whispers() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return &whispers_; +} + +// optional uint64 continuation = 2; +inline bool GetWhisperHistoryResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetWhisperHistoryResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetWhisperHistoryResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetWhisperHistoryResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.continuation) + return continuation_; +} +inline void GetWhisperHistoryResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SendWhisperRequest + +// optional uint64 target_account_id = 1; +inline bool SendWhisperRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SendWhisperRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperRequest.target_account_id) + return target_account_id_; +} +inline void SendWhisperRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SendWhisperRequest.target_account_id) +} + +// optional .bgs.protocol.whisper.v2.SendWhisperOptions options = 2; +inline bool SendWhisperRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendWhisperRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendWhisperRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendWhisperRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::whisper::v2::SendWhisperOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::whisper::v2::SendWhisperOptions& SendWhisperRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::whisper::v2::SendWhisperOptions* SendWhisperRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::whisper::v2::SendWhisperOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) + return options_; +} +inline ::bgs::protocol::whisper::v2::SendWhisperOptions* SendWhisperRequest::release_options() { + clear_has_options(); + ::bgs::protocol::whisper::v2::SendWhisperOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendWhisperRequest::set_allocated_options(::bgs::protocol::whisper::v2::SendWhisperOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) +} + +// ------------------------------------------------------------------- + +// SendWhisperResponse + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 1; +inline bool SendWhisperResponse::has_whisper() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperResponse::set_has_whisper() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperResponse::clear_has_whisper() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperResponse::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& SendWhisperResponse::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* SendWhisperResponse::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* SendWhisperResponse::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void SendWhisperResponse::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) +} + +// ------------------------------------------------------------------- + +// SetTypingIndicatorRequest + +// optional uint64 target_account_id = 1; +inline bool SetTypingIndicatorRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.target_account_id) + return target_account_id_; +} +inline void SetTypingIndicatorRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.target_account_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 2; +inline bool SetTypingIndicatorRequest::has_indicator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_indicator() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_has_indicator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void SetTypingIndicatorRequest::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceViewTimeRequest + +// optional uint64 target_account_id = 1; +inline bool AdvanceViewTimeRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceViewTimeRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceViewTimeRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceViewTimeRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest.target_account_id) + return target_account_id_; +} +inline void AdvanceViewTimeRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest.target_account_id) +} + +// ------------------------------------------------------------------- + +// AdvanceClearTimeRequest + +// optional uint64 target_account_id = 1; +inline bool AdvanceClearTimeRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceClearTimeRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceClearTimeRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceClearTimeRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest.target_account_id) + return target_account_id_; +} +inline void AdvanceClearTimeRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest.target_account_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_core.pb.cc b/src/server/proto/Client/api/common/v1/club_core.pb.cc new file mode 100644 index 00000000000..73a0bde3faf --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_core.pb.cc @@ -0,0 +1,344 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_core.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_core.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* AvatarId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AvatarId_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubDescription_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_core.proto"); + GOOGLE_CHECK(file != NULL); + AvatarId_descriptor_ = file->message_type(0); + static const int AvatarId_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, id_), + }; + AvatarId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AvatarId_descriptor_, + AvatarId::default_instance_, + AvatarId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AvatarId)); + ClubDescription_descriptor_ = file->message_type(1); + static const int ClubDescription_offsets_[13] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, member_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, leader_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, tag_), + }; + ClubDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubDescription_descriptor_, + ClubDescription::default_instance_, + ClubDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubDescription)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AvatarId_descriptor_, &AvatarId::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubDescription_descriptor_, &ClubDescription::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + delete AvatarId::default_instance_; + delete AvatarId_reflection_; + delete ClubDescription::default_instance_; + delete ClubDescription_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_core.proto\022\024bgs.pro" + "tocol.club.v1\032\034api/common/v1/club_tag.pr" + "oto\032\035api/common/v1/club_type.proto\032\035api/" + "common/v1/club_enum.proto\032\037api/client/v1" + "/club_member.proto\"\026\n\010AvatarId\022\n\n\002id\030\001 \001" + "(\r\"\341\003\n\017ClubDescription\022\n\n\002id\030\001 \001(\004\0222\n\004ty" + "pe\030\002 \001(\0132$.bgs.protocol.club.v1.UniqueCl" + "ubType\022\014\n\004name\030\003 \001(\t\022\023\n\013description\030\004 \001(" + "\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol.club.v1" + ".AvatarId\0229\n\rprivacy_level\030\006 \001(\0162\".bgs.p" + "rotocol.club.v1.PrivacyLevel\022\?\n\020visibili" + "ty_level\030\007 \001(\0162%.bgs.protocol.club.v1.Vi" + "sibilityLevel\022\024\n\014member_count\030\010 \001(\r\022>\n\006l" + "eader\030\t \003(\0132..bgs.protocol.club.v1.clien" + "t.MemberDescription\022\025\n\rcreation_time\030\n \001" + "(\004\022\020\n\010timezone\030\013 \001(\t\022\016\n\006locale\030\014 \001(\t\0220\n\003" + "tag\030\r \003(\0132#.bgs.protocol.club.v1.TagIden" + "tifierB\002H\002", 690); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_core.proto", &protobuf_RegisterTypes); + AvatarId::default_instance_ = new AvatarId(); + ClubDescription::default_instance_ = new ClubDescription(); + AvatarId::default_instance_->InitAsDefaultInstance(); + ClubDescription::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int AvatarId::kIdFieldNumber; +#endif // !_MSC_VER + +AvatarId::AvatarId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AvatarId) +} + +void AvatarId::InitAsDefaultInstance() { +} + +AvatarId::AvatarId(const AvatarId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AvatarId) +} + +void AvatarId::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AvatarId::~AvatarId() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AvatarId) + SharedDtor(); +} + +void AvatarId::SharedDtor() { + if (this != default_instance_) { + } +} + +void AvatarId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AvatarId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AvatarId_descriptor_; +} + +const AvatarId& AvatarId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +AvatarId* AvatarId::default_instance_ = NULL; + +AvatarId* AvatarId::New() const { + return new AvatarId; +} + +void AvatarId::Swap(AvatarId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AvatarId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AvatarId_descriptor_; + metadata.reflection = AvatarId_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubDescription::kIdFieldNumber; +const int ClubDescription::kTypeFieldNumber; +const int ClubDescription::kNameFieldNumber; +const int ClubDescription::kDescriptionFieldNumber; +const int ClubDescription::kAvatarFieldNumber; +const int ClubDescription::kPrivacyLevelFieldNumber; +const int ClubDescription::kVisibilityLevelFieldNumber; +const int ClubDescription::kMemberCountFieldNumber; +const int ClubDescription::kLeaderFieldNumber; +const int ClubDescription::kCreationTimeFieldNumber; +const int ClubDescription::kTimezoneFieldNumber; +const int ClubDescription::kLocaleFieldNumber; +const int ClubDescription::kTagFieldNumber; +#endif // !_MSC_VER + +ClubDescription::ClubDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubDescription) +} + +void ClubDescription::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); +} + +ClubDescription::ClubDescription(const ClubDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubDescription) +} + +void ClubDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_ = NULL; + privacy_level_ = 0; + visibility_level_ = 0; + member_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubDescription::~ClubDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubDescription) + SharedDtor(); +} + +void ClubDescription::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (this != default_instance_) { + delete type_; + delete avatar_; + } +} + +void ClubDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubDescription_descriptor_; +} + +const ClubDescription& ClubDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubDescription* ClubDescription::default_instance_ = NULL; + +ClubDescription* ClubDescription::New() const { + return new ClubDescription; +} + +void ClubDescription::Swap(ClubDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubDescription_descriptor_; + metadata.reflection = ClubDescription_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_core.pb.h b/src/server/proto/Client/api/common/v1/club_core.pb.h new file mode 100644 index 00000000000..2967858faa7 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_core.pb.h @@ -0,0 +1,949 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_core.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_tag.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v1/club_enum.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + +class AvatarId; +class ClubDescription; + +// =================================================================== + +class TC_PROTO_API AvatarId : public ::google::protobuf::Message { + public: + AvatarId(); + virtual ~AvatarId(); + + AvatarId(const AvatarId& from); + + inline AvatarId& operator=(const AvatarId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AvatarId& default_instance(); + + void Swap(AvatarId* other); + + // implements Message ---------------------------------------------- + + AvatarId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AvatarId) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static AvatarId* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubDescription : public ::google::protobuf::Message { + public: + ClubDescription(); + virtual ~ClubDescription(); + + ClubDescription(const ClubDescription& from); + + inline ClubDescription& operator=(const ClubDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubDescription& default_instance(); + + void Swap(ClubDescription* other); + + // implements Message ---------------------------------------------- + + ClubDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional uint32 member_count = 8; + inline bool has_member_count() const; + inline void clear_member_count(); + static const int kMemberCountFieldNumber = 8; + inline ::google::protobuf::uint32 member_count() const; + inline void set_member_count(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.club.v1.client.MemberDescription leader = 9; + inline int leader_size() const; + inline void clear_leader(); + static const int kLeaderFieldNumber = 9; + inline const ::bgs::protocol::club::v1::client::MemberDescription& leader(int index) const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_leader(int index); + inline ::bgs::protocol::club::v1::client::MemberDescription* add_leader(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& + leader() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* + mutable_leader(); + + // optional uint64 creation_time = 10; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 10; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional string timezone = 11; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 11; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // optional string locale = 12; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 12; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 13; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member_count(); + inline void clear_has_member_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_locale(); + inline void clear_has_locale(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + int privacy_level_; + int visibility_level_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_; + ::google::protobuf::uint64 creation_time_; + ::std::string* timezone_; + ::std::string* locale_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::uint32 member_count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubDescription* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// AvatarId + +// optional uint32 id = 1; +inline bool AvatarId::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AvatarId::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AvatarId::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AvatarId::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 AvatarId::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AvatarId.id) + return id_; +} +inline void AvatarId::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AvatarId.id) +} + +// ------------------------------------------------------------------- + +// ClubDescription + +// optional uint64 id = 1; +inline bool ClubDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubDescription::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.id) + return id_; +} +inline void ClubDescription::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool ClubDescription::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubDescription::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubDescription::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubDescription::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubDescription::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubDescription::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.type) +} + +// optional string name = 3; +inline bool ClubDescription::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubDescription::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubDescription::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubDescription::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubDescription::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.name) + return *name_; +} +inline void ClubDescription::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.name) +} +inline void ClubDescription::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.name) +} +inline void ClubDescription::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.name) +} +inline ::std::string* ClubDescription::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.name) + return name_; +} +inline ::std::string* ClubDescription::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.name) +} + +// optional string description = 4; +inline bool ClubDescription::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubDescription::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubDescription::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubDescription::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubDescription::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.description) + return *description_; +} +inline void ClubDescription::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.description) +} +inline void ClubDescription::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.description) +} +inline void ClubDescription::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.description) +} +inline ::std::string* ClubDescription::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.description) + return description_; +} +inline ::std::string* ClubDescription::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.description) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubDescription::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubDescription::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubDescription::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubDescription::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubDescription::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubDescription::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubDescription::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubDescription::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubDescription::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubDescription::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubDescription::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubDescription::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.privacy_level) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; +inline bool ClubDescription::has_visibility_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubDescription::set_has_visibility_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubDescription::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubDescription::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubDescription::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubDescription::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.visibility_level) +} + +// optional uint32 member_count = 8; +inline bool ClubDescription::has_member_count() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubDescription::set_has_member_count() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubDescription::clear_has_member_count() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubDescription::clear_member_count() { + member_count_ = 0u; + clear_has_member_count(); +} +inline ::google::protobuf::uint32 ClubDescription::member_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.member_count) + return member_count_; +} +inline void ClubDescription::set_member_count(::google::protobuf::uint32 value) { + set_has_member_count(); + member_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.member_count) +} + +// repeated .bgs.protocol.club.v1.client.MemberDescription leader = 9; +inline int ClubDescription::leader_size() const { + return leader_.size(); +} +inline void ClubDescription::clear_leader() { + leader_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubDescription::leader(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubDescription::mutable_leader(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubDescription::add_leader() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& +ClubDescription::leader() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.leader) + return leader_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* +ClubDescription::mutable_leader() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.leader) + return &leader_; +} + +// optional uint64 creation_time = 10; +inline bool ClubDescription::has_creation_time() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubDescription::set_has_creation_time() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubDescription::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubDescription::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubDescription::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.creation_time) + return creation_time_; +} +inline void ClubDescription::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.creation_time) +} + +// optional string timezone = 11; +inline bool ClubDescription::has_timezone() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubDescription::set_has_timezone() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubDescription::clear_has_timezone() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubDescription::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubDescription::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.timezone) + return *timezone_; +} +inline void ClubDescription::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline void ClubDescription::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline void ClubDescription::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline ::std::string* ClubDescription::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.timezone) + return timezone_; +} +inline ::std::string* ClubDescription::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.timezone) +} + +// optional string locale = 12; +inline bool ClubDescription::has_locale() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubDescription::set_has_locale() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubDescription::clear_has_locale() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubDescription::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubDescription::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.locale) + return *locale_; +} +inline void ClubDescription::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.locale) +} +inline void ClubDescription::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.locale) +} +inline void ClubDescription::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.locale) +} +inline ::std::string* ClubDescription::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.locale) + return locale_; +} +inline ::std::string* ClubDescription::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.locale) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; +inline int ClubDescription::tag_size() const { + return tag_.size(); +} +inline void ClubDescription::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& ClubDescription::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +ClubDescription::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +ClubDescription::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.tag) + return &tag_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_enum.pb.cc b/src/server/proto/Client/api/common/v1/club_enum.pb.cc new file mode 100644 index 00000000000..49db759bc21 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_enum.pb.cc @@ -0,0 +1,140 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_enum.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_enum.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_enum.proto"); + GOOGLE_CHECK(file != NULL); + PrivacyLevel_descriptor_ = file->enum_type(0); + VisibilityLevel_descriptor_ = file->enum_type(1); + JoinClubSource_descriptor_ = file->enum_type(2); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_enum.proto\022\024bgs.pro" + "tocol.club.v1*\202\001\n\014PrivacyLevel\022\030\n\024PRIVAC" + "Y_LEVEL_CLOSED\020\000\022!\n\035PRIVACY_LEVEL_OPEN_I" + "NVITATION\020\001\022\035\n\031PRIVACY_LEVEL_OPEN_TICKET" + "\020\002\022\026\n\022PRIVACY_LEVEL_OPEN\020\003*L\n\017Visibility" + "Level\022\034\n\030VISIBILITY_LEVEL_PRIVATE\020\000\022\033\n\027V" + "ISIBILITY_LEVEL_PUBLIC\020\001*w\n\016JoinClubSour" + "ce\022\031\n\025JOIN_CLUB_SOURCE_NONE\020\000\022 \n\034JOIN_CL" + "UB_SOURCE_CLUB_FINDER\020\001\022(\n$JOIN_CLUB_SOU" + "RCE_CLUB_RECOMMENDATION\020\002B\002H\002", 389); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_enum.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto_; +const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return PrivacyLevel_descriptor_; +} +bool PrivacyLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VisibilityLevel_descriptor_; +} +bool VisibilityLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor() { + protobuf_AssignDescriptorsOnce(); + return JoinClubSource_descriptor_; +} +bool JoinClubSource_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_enum.pb.h b/src/server/proto/Client/api/common/v1/club_enum.pb.h new file mode 100644 index 00000000000..5bb246ded4d --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_enum.pb.h @@ -0,0 +1,137 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_enum.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + +enum PrivacyLevel { + PRIVACY_LEVEL_CLOSED = 0, + PRIVACY_LEVEL_OPEN_INVITATION = 1, + PRIVACY_LEVEL_OPEN_TICKET = 2, + PRIVACY_LEVEL_OPEN = 3 +}; +TC_PROTO_API bool PrivacyLevel_IsValid(int value); +const PrivacyLevel PrivacyLevel_MIN = PRIVACY_LEVEL_CLOSED; +const PrivacyLevel PrivacyLevel_MAX = PRIVACY_LEVEL_OPEN; +const int PrivacyLevel_ARRAYSIZE = PrivacyLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor(); +inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { + return ::google::protobuf::internal::NameOfEnum( + PrivacyLevel_descriptor(), value); +} +inline bool PrivacyLevel_Parse( + const ::std::string& name, PrivacyLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PrivacyLevel_descriptor(), name, value); +} +enum VisibilityLevel { + VISIBILITY_LEVEL_PRIVATE = 0, + VISIBILITY_LEVEL_PUBLIC = 1 +}; +TC_PROTO_API bool VisibilityLevel_IsValid(int value); +const VisibilityLevel VisibilityLevel_MIN = VISIBILITY_LEVEL_PRIVATE; +const VisibilityLevel VisibilityLevel_MAX = VISIBILITY_LEVEL_PUBLIC; +const int VisibilityLevel_ARRAYSIZE = VisibilityLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor(); +inline const ::std::string& VisibilityLevel_Name(VisibilityLevel value) { + return ::google::protobuf::internal::NameOfEnum( + VisibilityLevel_descriptor(), value); +} +inline bool VisibilityLevel_Parse( + const ::std::string& name, VisibilityLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VisibilityLevel_descriptor(), name, value); +} +enum JoinClubSource { + JOIN_CLUB_SOURCE_NONE = 0, + JOIN_CLUB_SOURCE_CLUB_FINDER = 1, + JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION = 2 +}; +TC_PROTO_API bool JoinClubSource_IsValid(int value); +const JoinClubSource JoinClubSource_MIN = JOIN_CLUB_SOURCE_NONE; +const JoinClubSource JoinClubSource_MAX = JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION; +const int JoinClubSource_ARRAYSIZE = JoinClubSource_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor(); +inline const ::std::string& JoinClubSource_Name(JoinClubSource value) { + return ::google::protobuf::internal::NameOfEnum( + JoinClubSource_descriptor(), value); +} +inline bool JoinClubSource_Parse( + const ::std::string& name, JoinClubSource* value) { + return ::google::protobuf::internal::ParseNamedEnum( + JoinClubSource_descriptor(), name, value); +} +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::PrivacyLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel>() { + return ::bgs::protocol::club::v1::PrivacyLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::VisibilityLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel>() { + return ::bgs::protocol::club::v1::VisibilityLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::JoinClubSource> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::JoinClubSource>() { + return ::bgs::protocol::club::v1::JoinClubSource_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_member_id.pb.cc b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc new file mode 100644 index 00000000000..6b02d270c97 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_member_id.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_member_id.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* MemberId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberId_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_member_id.proto"); + GOOGLE_CHECK(file != NULL); + MemberId_descriptor_ = file->message_type(0); + static const int MemberId_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, account_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, unique_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, account_id_), + }; + MemberId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberId_descriptor_, + MemberId::default_instance_, + MemberId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberId)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberId_descriptor_, &MemberId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + delete MemberId::default_instance_; + delete MemberId_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\"api/common/v1/club_member_id.proto\022\024bg" + "s.protocol.club.v1\032\'global_extensions/me" + "ssage_options.proto\032\023account_types.proto" + "\032\017rpc_types.proto\"\204\001\n\010MemberId\022I\n\025accoun" + "t_id_deprecated\030\001 \001(\0132\".bgs.protocol.acc" + "ount.v1.AccountIdB\006\222\371+\002 \001\022\021\n\tunique_id\030\002" + " \001(\004\022\022\n\naccount_id\030\003 \001(\004:\006\202\371+\002\010\001B\002H\002", 276); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_member_id.proto", &protobuf_RegisterTypes); + MemberId::default_instance_ = new MemberId(); + MemberId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int MemberId::kAccountIdDeprecatedFieldNumber; +const int MemberId::kUniqueIdFieldNumber; +const int MemberId::kAccountIdFieldNumber; +#endif // !_MSC_VER + +MemberId::MemberId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberId) +} + +void MemberId::InitAsDefaultInstance() { + account_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +MemberId::MemberId(const MemberId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberId) +} + +void MemberId::SharedCtor() { + _cached_size_ = 0; + account_id_deprecated_ = NULL; + unique_id_ = GOOGLE_ULONGLONG(0); + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberId::~MemberId() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberId) + SharedDtor(); +} + +void MemberId::SharedDtor() { + if (this != default_instance_) { + delete account_id_deprecated_; + } +} + +void MemberId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberId_descriptor_; +} + +const MemberId& MemberId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + return *default_instance_; +} + +MemberId* MemberId::default_instance_ = NULL; + +MemberId* MemberId::New() const { + return new MemberId; +} + +void MemberId::Swap(MemberId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberId_descriptor_; + metadata.reflection = MemberId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_member_id.pb.h b/src/server/proto/Client/api/common/v1/club_member_id.pb.h new file mode 100644 index 00000000000..150aac7c393 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.h @@ -0,0 +1,246 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_member_id.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/message_options.pb.h" +#include "account_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + +class MemberId; + +// =================================================================== + +class TC_PROTO_API MemberId : public ::google::protobuf::Message { + public: + MemberId(); + virtual ~MemberId(); + + MemberId(const MemberId& from); + + inline MemberId& operator=(const MemberId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberId& default_instance(); + + void Swap(MemberId* other); + + // implements Message ---------------------------------------------- + + MemberId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1; + inline bool has_account_id_deprecated() const; + inline void clear_account_id_deprecated(); + static const int kAccountIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& account_id_deprecated() const; + inline ::bgs::protocol::account::v1::AccountId* mutable_account_id_deprecated(); + inline ::bgs::protocol::account::v1::AccountId* release_account_id_deprecated(); + inline void set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId* account_id_deprecated); + + // optional uint64 unique_id = 2; + inline bool has_unique_id() const; + inline void clear_unique_id(); + static const int kUniqueIdFieldNumber = 2; + inline ::google::protobuf::uint64 unique_id() const; + inline void set_unique_id(::google::protobuf::uint64 value); + + // optional uint64 account_id = 3; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 3; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberId) + private: + inline void set_has_account_id_deprecated(); + inline void clear_has_account_id_deprecated(); + inline void set_has_unique_id(); + inline void clear_has_unique_id(); + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* account_id_deprecated_; + ::google::protobuf::uint64 unique_id_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + + void InitAsDefaultInstance(); + static MemberId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// MemberId + +// optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1; +inline bool MemberId::has_account_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberId::set_has_account_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberId::clear_has_account_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberId::clear_account_id_deprecated() { + if (account_id_deprecated_ != NULL) account_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_account_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& MemberId::account_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id_deprecated) + return account_id_deprecated_ != NULL ? *account_id_deprecated_ : *default_instance_->account_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* MemberId::mutable_account_id_deprecated() { + set_has_account_id_deprecated(); + if (account_id_deprecated_ == NULL) account_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberId.account_id_deprecated) + return account_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* MemberId::release_account_id_deprecated() { + clear_has_account_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = account_id_deprecated_; + account_id_deprecated_ = NULL; + return temp; +} +inline void MemberId::set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId* account_id_deprecated) { + delete account_id_deprecated_; + account_id_deprecated_ = account_id_deprecated; + if (account_id_deprecated) { + set_has_account_id_deprecated(); + } else { + clear_has_account_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id_deprecated) +} + +// optional uint64 unique_id = 2; +inline bool MemberId::has_unique_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberId::set_has_unique_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberId::clear_has_unique_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberId::clear_unique_id() { + unique_id_ = GOOGLE_ULONGLONG(0); + clear_has_unique_id(); +} +inline ::google::protobuf::uint64 MemberId::unique_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.unique_id) + return unique_id_; +} +inline void MemberId::set_unique_id(::google::protobuf::uint64 value) { + set_has_unique_id(); + unique_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.unique_id) +} + +// optional uint64 account_id = 3; +inline bool MemberId::has_account_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberId::set_has_account_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberId::clear_has_account_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberId::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 MemberId::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id) + return account_id_; +} +inline void MemberId::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.account_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_tag.pb.cc b/src/server/proto/Client/api/common/v1/club_tag.pb.cc new file mode 100644 index 00000000000..a651868269a --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.cc @@ -0,0 +1,435 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_tag.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_tag.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* TagOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TagOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* TagIdentifier_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TagIdentifier_reflection_ = NULL; +const ::google::protobuf::Descriptor* LocalizedTag_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + LocalizedTag_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* TagAction_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* TagType_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_tag.proto"); + GOOGLE_CHECK(file != NULL); + TagOptions_descriptor_ = file->message_type(0); + static const int TagOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, action_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, tag_), + }; + TagOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TagOptions_descriptor_, + TagOptions::default_instance_, + TagOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TagOptions)); + TagIdentifier_descriptor_ = file->message_type(1); + static const int TagIdentifier_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, type_), + }; + TagIdentifier_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TagIdentifier_descriptor_, + TagIdentifier::default_instance_, + TagIdentifier_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TagIdentifier)); + LocalizedTag_descriptor_ = file->message_type(2); + static const int LocalizedTag_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, tag_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, description_), + }; + LocalizedTag_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + LocalizedTag_descriptor_, + LocalizedTag::default_instance_, + LocalizedTag_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(LocalizedTag)); + TagAction_descriptor_ = file->enum_type(0); + TagType_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TagOptions_descriptor_, &TagOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TagIdentifier_descriptor_, &TagIdentifier::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + LocalizedTag_descriptor_, &LocalizedTag::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + delete TagOptions::default_instance_; + delete TagOptions_reflection_; + delete TagIdentifier::default_instance_; + delete TagIdentifier_reflection_; + delete LocalizedTag::default_instance_; + delete LocalizedTag_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\034api/common/v1/club_tag.proto\022\024bgs.prot" + "ocol.club.v1\032\017rpc_types.proto\"_\n\nTagOpti" + "ons\022\037\n\006action\030\001 \001(\rB\017\202\371+\013*\tTagAction\0220\n\003" + "tag\030\002 \003(\0132#.bgs.protocol.club.v1.TagIden" + "tifier\"8\n\rTagIdentifier\022\n\n\002id\030\001 \001(\r\022\033\n\004t" + "ype\030\002 \001(\rB\r\202\371+\t*\007TagType\"f\n\014LocalizedTag" + "\0223\n\006tag_id\030\001 \001(\0132#.bgs.protocol.club.v1." + "TagIdentifier\022\014\n\004name\030\002 \001(\t\022\023\n\013descripti" + "on\030\003 \001(\t*J\n\tTagAction\022\023\n\017TAG_ACTION_NONE" + "\020\000\022\024\n\020TAG_ACTION_CLEAR\020\001\022\022\n\016TAG_ACTION_S" + "ET\020\002*K\n\007TagType\022\024\n\020TAG_TYPE_INVALID\020\000\022\025\n" + "\021TAG_TYPE_PLATFORM\020\001\022\023\n\017TAG_TYPE_CUSTOM\020" + "\002B\002H\002", 485); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_tag.proto", &protobuf_RegisterTypes); + TagOptions::default_instance_ = new TagOptions(); + TagIdentifier::default_instance_ = new TagIdentifier(); + LocalizedTag::default_instance_ = new LocalizedTag(); + TagOptions::default_instance_->InitAsDefaultInstance(); + TagIdentifier::default_instance_->InitAsDefaultInstance(); + LocalizedTag::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto_; +const ::google::protobuf::EnumDescriptor* TagAction_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagAction_descriptor_; +} +bool TagAction_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* TagType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagType_descriptor_; +} +bool TagType_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int TagOptions::kActionFieldNumber; +const int TagOptions::kTagFieldNumber; +#endif // !_MSC_VER + +TagOptions::TagOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagOptions) +} + +void TagOptions::InitAsDefaultInstance() { +} + +TagOptions::TagOptions(const TagOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagOptions) +} + +void TagOptions::SharedCtor() { + _cached_size_ = 0; + action_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TagOptions::~TagOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagOptions) + SharedDtor(); +} + +void TagOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void TagOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TagOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagOptions_descriptor_; +} + +const TagOptions& TagOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +TagOptions* TagOptions::default_instance_ = NULL; + +TagOptions* TagOptions::New() const { + return new TagOptions; +} + +void TagOptions::Swap(TagOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TagOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TagOptions_descriptor_; + metadata.reflection = TagOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int TagIdentifier::kIdFieldNumber; +const int TagIdentifier::kTypeFieldNumber; +#endif // !_MSC_VER + +TagIdentifier::TagIdentifier() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagIdentifier) +} + +void TagIdentifier::InitAsDefaultInstance() { +} + +TagIdentifier::TagIdentifier(const TagIdentifier& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagIdentifier) +} + +void TagIdentifier::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + type_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TagIdentifier::~TagIdentifier() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagIdentifier) + SharedDtor(); +} + +void TagIdentifier::SharedDtor() { + if (this != default_instance_) { + } +} + +void TagIdentifier::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TagIdentifier::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagIdentifier_descriptor_; +} + +const TagIdentifier& TagIdentifier::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +TagIdentifier* TagIdentifier::default_instance_ = NULL; + +TagIdentifier* TagIdentifier::New() const { + return new TagIdentifier; +} + +void TagIdentifier::Swap(TagIdentifier* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TagIdentifier::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TagIdentifier_descriptor_; + metadata.reflection = TagIdentifier_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int LocalizedTag::kTagIdFieldNumber; +const int LocalizedTag::kNameFieldNumber; +const int LocalizedTag::kDescriptionFieldNumber; +#endif // !_MSC_VER + +LocalizedTag::LocalizedTag() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LocalizedTag) +} + +void LocalizedTag::InitAsDefaultInstance() { + tag_id_ = const_cast< ::bgs::protocol::club::v1::TagIdentifier*>(&::bgs::protocol::club::v1::TagIdentifier::default_instance()); +} + +LocalizedTag::LocalizedTag(const LocalizedTag& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LocalizedTag) +} + +void LocalizedTag::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + tag_id_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +LocalizedTag::~LocalizedTag() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LocalizedTag) + SharedDtor(); +} + +void LocalizedTag::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (this != default_instance_) { + delete tag_id_; + } +} + +void LocalizedTag::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* LocalizedTag::descriptor() { + protobuf_AssignDescriptorsOnce(); + return LocalizedTag_descriptor_; +} + +const LocalizedTag& LocalizedTag::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +LocalizedTag* LocalizedTag::default_instance_ = NULL; + +LocalizedTag* LocalizedTag::New() const { + return new LocalizedTag; +} + +void LocalizedTag::Swap(LocalizedTag* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata LocalizedTag::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = LocalizedTag_descriptor_; + metadata.reflection = LocalizedTag_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_tag.pb.h b/src/server/proto/Client/api/common/v1/club_tag.pb.h new file mode 100644 index 00000000000..ff1921aa476 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.h @@ -0,0 +1,676 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_tag.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + +class TagOptions; +class TagIdentifier; +class LocalizedTag; + +enum TagAction { + TAG_ACTION_NONE = 0, + TAG_ACTION_CLEAR = 1, + TAG_ACTION_SET = 2 +}; +TC_PROTO_API bool TagAction_IsValid(int value); +const TagAction TagAction_MIN = TAG_ACTION_NONE; +const TagAction TagAction_MAX = TAG_ACTION_SET; +const int TagAction_ARRAYSIZE = TagAction_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagAction_descriptor(); +inline const ::std::string& TagAction_Name(TagAction value) { + return ::google::protobuf::internal::NameOfEnum( + TagAction_descriptor(), value); +} +inline bool TagAction_Parse( + const ::std::string& name, TagAction* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TagAction_descriptor(), name, value); +} +enum TagType { + TAG_TYPE_INVALID = 0, + TAG_TYPE_PLATFORM = 1, + TAG_TYPE_CUSTOM = 2 +}; +TC_PROTO_API bool TagType_IsValid(int value); +const TagType TagType_MIN = TAG_TYPE_INVALID; +const TagType TagType_MAX = TAG_TYPE_CUSTOM; +const int TagType_ARRAYSIZE = TagType_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagType_descriptor(); +inline const ::std::string& TagType_Name(TagType value) { + return ::google::protobuf::internal::NameOfEnum( + TagType_descriptor(), value); +} +inline bool TagType_Parse( + const ::std::string& name, TagType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TagType_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API TagOptions : public ::google::protobuf::Message { + public: + TagOptions(); + virtual ~TagOptions(); + + TagOptions(const TagOptions& from); + + inline TagOptions& operator=(const TagOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TagOptions& default_instance(); + + void Swap(TagOptions* other); + + // implements Message ---------------------------------------------- + + TagOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 action = 1; + inline bool has_action() const; + inline void clear_action(); + static const int kActionFieldNumber = 1; + inline ::google::protobuf::uint32 action() const; + inline void set_action(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 2; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagOptions) + private: + inline void set_has_action(); + inline void clear_has_action(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::uint32 action_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static TagOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API TagIdentifier : public ::google::protobuf::Message { + public: + TagIdentifier(); + virtual ~TagIdentifier(); + + TagIdentifier(const TagIdentifier& from); + + inline TagIdentifier& operator=(const TagIdentifier& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TagIdentifier& default_instance(); + + void Swap(TagIdentifier* other); + + // implements Message ---------------------------------------------- + + TagIdentifier* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // optional uint32 type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline ::google::protobuf::uint32 type() const; + inline void set_type(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagIdentifier) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 id_; + ::google::protobuf::uint32 type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static TagIdentifier* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API LocalizedTag : public ::google::protobuf::Message { + public: + LocalizedTag(); + virtual ~LocalizedTag(); + + LocalizedTag(const LocalizedTag& from); + + inline LocalizedTag& operator=(const LocalizedTag& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const LocalizedTag& default_instance(); + + void Swap(LocalizedTag* other); + + // implements Message ---------------------------------------------- + + LocalizedTag* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; + inline bool has_tag_id() const; + inline void clear_tag_id(); + static const int kTagIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag_id() const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag_id(); + inline ::bgs::protocol::club::v1::TagIdentifier* release_tag_id(); + inline void set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 3; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 3; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.LocalizedTag) + private: + inline void set_has_tag_id(); + inline void clear_has_tag_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::TagIdentifier* tag_id_; + ::std::string* name_; + ::std::string* description_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static LocalizedTag* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// TagOptions + +// optional uint32 action = 1; +inline bool TagOptions::has_action() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TagOptions::set_has_action() { + _has_bits_[0] |= 0x00000001u; +} +inline void TagOptions::clear_has_action() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TagOptions::clear_action() { + action_ = 0u; + clear_has_action(); +} +inline ::google::protobuf::uint32 TagOptions::action() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.action) + return action_; +} +inline void TagOptions::set_action(::google::protobuf::uint32 value) { + set_has_action(); + action_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagOptions.action) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; +inline int TagOptions::tag_size() const { + return tag_.size(); +} +inline void TagOptions::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& TagOptions::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +TagOptions::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.TagOptions.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +TagOptions::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.TagOptions.tag) + return &tag_; +} + +// ------------------------------------------------------------------- + +// TagIdentifier + +// optional uint32 id = 1; +inline bool TagIdentifier::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TagIdentifier::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void TagIdentifier::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TagIdentifier::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 TagIdentifier::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.id) + return id_; +} +inline void TagIdentifier::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.id) +} + +// optional uint32 type = 2; +inline bool TagIdentifier::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void TagIdentifier::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void TagIdentifier::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void TagIdentifier::clear_type() { + type_ = 0u; + clear_has_type(); +} +inline ::google::protobuf::uint32 TagIdentifier::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.type) + return type_; +} +inline void TagIdentifier::set_type(::google::protobuf::uint32 value) { + set_has_type(); + type_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.type) +} + +// ------------------------------------------------------------------- + +// LocalizedTag + +// optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; +inline bool LocalizedTag::has_tag_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void LocalizedTag::set_has_tag_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void LocalizedTag::clear_has_tag_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void LocalizedTag::clear_tag_id() { + if (tag_id_ != NULL) tag_id_->::bgs::protocol::club::v1::TagIdentifier::Clear(); + clear_has_tag_id(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& LocalizedTag::tag_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.tag_id) + return tag_id_ != NULL ? *tag_id_ : *default_instance_->tag_id_; +} +inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::mutable_tag_id() { + set_has_tag_id(); + if (tag_id_ == NULL) tag_id_ = new ::bgs::protocol::club::v1::TagIdentifier; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.tag_id) + return tag_id_; +} +inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::release_tag_id() { + clear_has_tag_id(); + ::bgs::protocol::club::v1::TagIdentifier* temp = tag_id_; + tag_id_ = NULL; + return temp; +} +inline void LocalizedTag::set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id) { + delete tag_id_; + tag_id_ = tag_id; + if (tag_id) { + set_has_tag_id(); + } else { + clear_has_tag_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.tag_id) +} + +// optional string name = 2; +inline bool LocalizedTag::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void LocalizedTag::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void LocalizedTag::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void LocalizedTag::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& LocalizedTag::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.name) + return *name_; +} +inline void LocalizedTag::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.name) +} +inline void LocalizedTag::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.name) +} +inline void LocalizedTag::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.name) +} +inline ::std::string* LocalizedTag::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.name) + return name_; +} +inline ::std::string* LocalizedTag::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void LocalizedTag::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.name) +} + +// optional string description = 3; +inline bool LocalizedTag::has_description() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void LocalizedTag::set_has_description() { + _has_bits_[0] |= 0x00000004u; +} +inline void LocalizedTag::clear_has_description() { + _has_bits_[0] &= ~0x00000004u; +} +inline void LocalizedTag::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& LocalizedTag::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.description) + return *description_; +} +inline void LocalizedTag::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.description) +} +inline void LocalizedTag::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.description) +} +inline void LocalizedTag::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.description) +} +inline ::std::string* LocalizedTag::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.description) + return description_; +} +inline ::std::string* LocalizedTag::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void LocalizedTag::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.description) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagAction> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagAction>() { + return ::bgs::protocol::club::v1::TagAction_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagType> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagType>() { + return ::bgs::protocol::club::v1::TagType_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_type.pb.cc b/src/server/proto/Client/api/common/v1/club_type.pb.cc new file mode 100644 index 00000000000..5ee6c0eef57 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_type.pb.cc @@ -0,0 +1,185 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_type.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_type.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* UniqueClubType_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UniqueClubType_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_type.proto"); + GOOGLE_CHECK(file != NULL); + UniqueClubType_descriptor_ = file->message_type(0); + static const int UniqueClubType_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, name_), + }; + UniqueClubType_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UniqueClubType_descriptor_, + UniqueClubType::default_instance_, + UniqueClubType_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UniqueClubType)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UniqueClubType_descriptor_, &UniqueClubType::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + delete UniqueClubType::default_instance_; + delete UniqueClubType_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_type.proto\022\024bgs.pro" + "tocol.club.v1\"/\n\016UniqueClubType\022\017\n\007progr" + "am\030\001 \001(\007\022\014\n\004name\030\002 \001(\tB\002H\002", 106); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_type.proto", &protobuf_RegisterTypes); + UniqueClubType::default_instance_ = new UniqueClubType(); + UniqueClubType::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int UniqueClubType::kProgramFieldNumber; +const int UniqueClubType::kNameFieldNumber; +#endif // !_MSC_VER + +UniqueClubType::UniqueClubType() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UniqueClubType) +} + +void UniqueClubType::InitAsDefaultInstance() { +} + +UniqueClubType::UniqueClubType(const UniqueClubType& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UniqueClubType) +} + +void UniqueClubType::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + program_ = 0u; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UniqueClubType::~UniqueClubType() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UniqueClubType) + SharedDtor(); +} + +void UniqueClubType::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void UniqueClubType::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UniqueClubType::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UniqueClubType_descriptor_; +} + +const UniqueClubType& UniqueClubType::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + return *default_instance_; +} + +UniqueClubType* UniqueClubType::default_instance_ = NULL; + +UniqueClubType* UniqueClubType::New() const { + return new UniqueClubType; +} + +void UniqueClubType::Swap(UniqueClubType* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UniqueClubType::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UniqueClubType_descriptor_; + metadata.reflection = UniqueClubType_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_type.pb.h b/src/server/proto/Client/api/common/v1/club_type.pb.h new file mode 100644 index 00000000000..9c9fd29dcf2 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_type.pb.h @@ -0,0 +1,247 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_type.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + +class UniqueClubType; + +// =================================================================== + +class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message { + public: + UniqueClubType(); + virtual ~UniqueClubType(); + + UniqueClubType(const UniqueClubType& from); + + inline UniqueClubType& operator=(const UniqueClubType& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UniqueClubType& default_instance(); + + void Swap(UniqueClubType* other); + + // implements Message ---------------------------------------------- + + UniqueClubType* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed32 program = 1; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 1; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UniqueClubType) + private: + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + ::google::protobuf::uint32 program_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + + void InitAsDefaultInstance(); + static UniqueClubType* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// UniqueClubType + +// optional fixed32 program = 1; +inline bool UniqueClubType::has_program() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UniqueClubType::set_has_program() { + _has_bits_[0] |= 0x00000001u; +} +inline void UniqueClubType::clear_has_program() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UniqueClubType::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 UniqueClubType::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.program) + return program_; +} +inline void UniqueClubType::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.program) +} + +// optional string name = 2; +inline bool UniqueClubType::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UniqueClubType::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void UniqueClubType::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UniqueClubType::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& UniqueClubType::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.name) + return *name_; +} +inline void UniqueClubType::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.name) +} +inline void UniqueClubType::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.UniqueClubType.name) +} +inline void UniqueClubType::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.UniqueClubType.name) +} +inline ::std::string* UniqueClubType::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UniqueClubType.name) + return name_; +} +inline ::std::string* UniqueClubType::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void UniqueClubType::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UniqueClubType.name) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/embed_types.pb.cc b/src/server/proto/Client/api/common/v1/embed_types.pb.cc new file mode 100644 index 00000000000..06f3a551551 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/embed_types.pb.cc @@ -0,0 +1,531 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/embed_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/embed_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* EmbedImage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedImage_reflection_ = NULL; +const ::google::protobuf::Descriptor* Provider_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Provider_reflection_ = NULL; +const ::google::protobuf::Descriptor* EmbedHTML_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedHTML_reflection_ = NULL; +const ::google::protobuf::Descriptor* EmbedInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedInfo_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/embed_types.proto"); + GOOGLE_CHECK(file != NULL); + EmbedImage_descriptor_ = file->message_type(0); + static const int EmbedImage_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, width_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, height_), + }; + EmbedImage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedImage_descriptor_, + EmbedImage::default_instance_, + EmbedImage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedImage)); + Provider_descriptor_ = file->message_type(1); + static const int Provider_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, name_), + }; + Provider_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Provider_descriptor_, + Provider::default_instance_, + Provider_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Provider)); + EmbedHTML_descriptor_ = file->message_type(2); + static const int EmbedHTML_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, width_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, height_), + }; + EmbedHTML_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedHTML_descriptor_, + EmbedHTML::default_instance_, + EmbedHTML_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedHTML)); + EmbedInfo_descriptor_ = file->message_type(3); + static const int EmbedInfo_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, title_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, original_url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, thumbnail_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, provider_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, html_), + }; + EmbedInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedInfo_descriptor_, + EmbedInfo::default_instance_, + EmbedInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedInfo)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedImage_descriptor_, &EmbedImage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Provider_descriptor_, &Provider::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedHTML_descriptor_, &EmbedHTML::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedInfo_descriptor_, &EmbedInfo::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + delete EmbedImage::default_instance_; + delete EmbedImage_reflection_; + delete Provider::default_instance_; + delete Provider_reflection_; + delete EmbedHTML::default_instance_; + delete EmbedHTML_reflection_; + delete EmbedInfo::default_instance_; + delete EmbedInfo_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/common/v1/embed_types.proto\022\014bgs.p" + "rotocol\"8\n\nEmbedImage\022\013\n\003url\030\001 \001(\t\022\r\n\005wi" + "dth\030\002 \001(\r\022\016\n\006height\030\003 \001(\r\"\030\n\010Provider\022\014\n" + "\004name\030\001 \001(\t\";\n\tEmbedHTML\022\017\n\007content\030\001 \001(" + "\t\022\r\n\005width\030\002 \001(\r\022\016\n\006height\030\003 \001(\r\"\321\001\n\tEmb" + "edInfo\022\r\n\005title\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\024\n\014o" + "riginal_url\030\003 \001(\t\022+\n\tthumbnail\030\004 \001(\0132\030.b" + "gs.protocol.EmbedImage\022(\n\010provider\030\005 \001(\013" + "2\026.bgs.protocol.Provider\022\023\n\013description\030" + "\006 \001(\t\022%\n\004html\030\010 \001(\0132\027.bgs.protocol.Embed" + "HTMLB\002H\002", 408); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/embed_types.proto", &protobuf_RegisterTypes); + EmbedImage::default_instance_ = new EmbedImage(); + Provider::default_instance_ = new Provider(); + EmbedHTML::default_instance_ = new EmbedHTML(); + EmbedInfo::default_instance_ = new EmbedInfo(); + EmbedImage::default_instance_->InitAsDefaultInstance(); + Provider::default_instance_->InitAsDefaultInstance(); + EmbedHTML::default_instance_->InitAsDefaultInstance(); + EmbedInfo::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int EmbedImage::kUrlFieldNumber; +const int EmbedImage::kWidthFieldNumber; +const int EmbedImage::kHeightFieldNumber; +#endif // !_MSC_VER + +EmbedImage::EmbedImage() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedImage) +} + +void EmbedImage::InitAsDefaultInstance() { +} + +EmbedImage::EmbedImage(const EmbedImage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedImage) +} + +void EmbedImage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + width_ = 0u; + height_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedImage::~EmbedImage() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedImage) + SharedDtor(); +} + +void EmbedImage::SharedDtor() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (this != default_instance_) { + } +} + +void EmbedImage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedImage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedImage_descriptor_; +} + +const EmbedImage& EmbedImage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedImage* EmbedImage::default_instance_ = NULL; + +EmbedImage* EmbedImage::New() const { + return new EmbedImage; +} + +void EmbedImage::Swap(EmbedImage* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedImage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedImage_descriptor_; + metadata.reflection = EmbedImage_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Provider::kNameFieldNumber; +#endif // !_MSC_VER + +Provider::Provider() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.Provider) +} + +void Provider::InitAsDefaultInstance() { +} + +Provider::Provider(const Provider& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.Provider) +} + +void Provider::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Provider::~Provider() { + // @@protoc_insertion_point(destructor:bgs.protocol.Provider) + SharedDtor(); +} + +void Provider::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void Provider::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Provider::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Provider_descriptor_; +} + +const Provider& Provider::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +Provider* Provider::default_instance_ = NULL; + +Provider* Provider::New() const { + return new Provider; +} + +void Provider::Swap(Provider* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Provider::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Provider_descriptor_; + metadata.reflection = Provider_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EmbedHTML::kContentFieldNumber; +const int EmbedHTML::kWidthFieldNumber; +const int EmbedHTML::kHeightFieldNumber; +#endif // !_MSC_VER + +EmbedHTML::EmbedHTML() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedHTML) +} + +void EmbedHTML::InitAsDefaultInstance() { +} + +EmbedHTML::EmbedHTML(const EmbedHTML& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedHTML) +} + +void EmbedHTML::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + width_ = 0u; + height_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedHTML::~EmbedHTML() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedHTML) + SharedDtor(); +} + +void EmbedHTML::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void EmbedHTML::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedHTML::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedHTML_descriptor_; +} + +const EmbedHTML& EmbedHTML::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedHTML* EmbedHTML::default_instance_ = NULL; + +EmbedHTML* EmbedHTML::New() const { + return new EmbedHTML; +} + +void EmbedHTML::Swap(EmbedHTML* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedHTML::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedHTML_descriptor_; + metadata.reflection = EmbedHTML_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EmbedInfo::kTitleFieldNumber; +const int EmbedInfo::kTypeFieldNumber; +const int EmbedInfo::kOriginalUrlFieldNumber; +const int EmbedInfo::kThumbnailFieldNumber; +const int EmbedInfo::kProviderFieldNumber; +const int EmbedInfo::kDescriptionFieldNumber; +const int EmbedInfo::kHtmlFieldNumber; +#endif // !_MSC_VER + +EmbedInfo::EmbedInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedInfo) +} + +void EmbedInfo::InitAsDefaultInstance() { + thumbnail_ = const_cast< ::bgs::protocol::EmbedImage*>(&::bgs::protocol::EmbedImage::default_instance()); + provider_ = const_cast< ::bgs::protocol::Provider*>(&::bgs::protocol::Provider::default_instance()); + html_ = const_cast< ::bgs::protocol::EmbedHTML*>(&::bgs::protocol::EmbedHTML::default_instance()); +} + +EmbedInfo::EmbedInfo(const EmbedInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedInfo) +} + +void EmbedInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + thumbnail_ = NULL; + provider_ = NULL; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + html_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedInfo::~EmbedInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedInfo) + SharedDtor(); +} + +void EmbedInfo::SharedDtor() { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete title_; + } + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete original_url_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (this != default_instance_) { + delete thumbnail_; + delete provider_; + delete html_; + } +} + +void EmbedInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedInfo_descriptor_; +} + +const EmbedInfo& EmbedInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedInfo* EmbedInfo::default_instance_ = NULL; + +EmbedInfo* EmbedInfo::New() const { + return new EmbedInfo; +} + +void EmbedInfo::Swap(EmbedInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedInfo_descriptor_; + metadata.reflection = EmbedInfo_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/embed_types.pb.h b/src/server/proto/Client/api/common/v1/embed_types.pb.h new file mode 100644 index 00000000000..bb4c37689f3 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/embed_types.pb.h @@ -0,0 +1,1233 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/embed_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + +class EmbedImage; +class Provider; +class EmbedHTML; +class EmbedInfo; + +// =================================================================== + +class TC_PROTO_API EmbedImage : public ::google::protobuf::Message { + public: + EmbedImage(); + virtual ~EmbedImage(); + + EmbedImage(const EmbedImage& from); + + inline EmbedImage& operator=(const EmbedImage& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedImage& default_instance(); + + void Swap(EmbedImage* other); + + // implements Message ---------------------------------------------- + + EmbedImage* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string url = 1; + inline bool has_url() const; + inline void clear_url(); + static const int kUrlFieldNumber = 1; + inline const ::std::string& url() const; + inline void set_url(const ::std::string& value); + inline void set_url(const char* value); + inline void set_url(const char* value, size_t size); + inline ::std::string* mutable_url(); + inline ::std::string* release_url(); + inline void set_allocated_url(::std::string* url); + + // optional uint32 width = 2; + inline bool has_width() const; + inline void clear_width(); + static const int kWidthFieldNumber = 2; + inline ::google::protobuf::uint32 width() const; + inline void set_width(::google::protobuf::uint32 value); + + // optional uint32 height = 3; + inline bool has_height() const; + inline void clear_height(); + static const int kHeightFieldNumber = 3; + inline ::google::protobuf::uint32 height() const; + inline void set_height(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedImage) + private: + inline void set_has_url(); + inline void clear_has_url(); + inline void set_has_width(); + inline void clear_has_width(); + inline void set_has_height(); + inline void clear_has_height(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* url_; + ::google::protobuf::uint32 width_; + ::google::protobuf::uint32 height_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedImage* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Provider : public ::google::protobuf::Message { + public: + Provider(); + virtual ~Provider(); + + Provider(const Provider& from); + + inline Provider& operator=(const Provider& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Provider& default_instance(); + + void Swap(Provider* other); + + // implements Message ---------------------------------------------- + + Provider* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.Provider) + private: + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Provider* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EmbedHTML : public ::google::protobuf::Message { + public: + EmbedHTML(); + virtual ~EmbedHTML(); + + EmbedHTML(const EmbedHTML& from); + + inline EmbedHTML& operator=(const EmbedHTML& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedHTML& default_instance(); + + void Swap(EmbedHTML* other); + + // implements Message ---------------------------------------------- + + EmbedHTML* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional uint32 width = 2; + inline bool has_width() const; + inline void clear_width(); + static const int kWidthFieldNumber = 2; + inline ::google::protobuf::uint32 width() const; + inline void set_width(::google::protobuf::uint32 value); + + // optional uint32 height = 3; + inline bool has_height() const; + inline void clear_height(); + static const int kHeightFieldNumber = 3; + inline ::google::protobuf::uint32 height() const; + inline void set_height(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedHTML) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_width(); + inline void clear_has_width(); + inline void set_has_height(); + inline void clear_has_height(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::google::protobuf::uint32 width_; + ::google::protobuf::uint32 height_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedHTML* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EmbedInfo : public ::google::protobuf::Message { + public: + EmbedInfo(); + virtual ~EmbedInfo(); + + EmbedInfo(const EmbedInfo& from); + + inline EmbedInfo& operator=(const EmbedInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedInfo& default_instance(); + + void Swap(EmbedInfo* other); + + // implements Message ---------------------------------------------- + + EmbedInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string title = 1; + inline bool has_title() const; + inline void clear_title(); + static const int kTitleFieldNumber = 1; + inline const ::std::string& title() const; + inline void set_title(const ::std::string& value); + inline void set_title(const char* value); + inline void set_title(const char* value, size_t size); + inline ::std::string* mutable_title(); + inline ::std::string* release_title(); + inline void set_allocated_title(::std::string* title); + + // optional string type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional string original_url = 3; + inline bool has_original_url() const; + inline void clear_original_url(); + static const int kOriginalUrlFieldNumber = 3; + inline const ::std::string& original_url() const; + inline void set_original_url(const ::std::string& value); + inline void set_original_url(const char* value); + inline void set_original_url(const char* value, size_t size); + inline ::std::string* mutable_original_url(); + inline ::std::string* release_original_url(); + inline void set_allocated_original_url(::std::string* original_url); + + // optional .bgs.protocol.EmbedImage thumbnail = 4; + inline bool has_thumbnail() const; + inline void clear_thumbnail(); + static const int kThumbnailFieldNumber = 4; + inline const ::bgs::protocol::EmbedImage& thumbnail() const; + inline ::bgs::protocol::EmbedImage* mutable_thumbnail(); + inline ::bgs::protocol::EmbedImage* release_thumbnail(); + inline void set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail); + + // optional .bgs.protocol.Provider provider = 5; + inline bool has_provider() const; + inline void clear_provider(); + static const int kProviderFieldNumber = 5; + inline const ::bgs::protocol::Provider& provider() const; + inline ::bgs::protocol::Provider* mutable_provider(); + inline ::bgs::protocol::Provider* release_provider(); + inline void set_allocated_provider(::bgs::protocol::Provider* provider); + + // optional string description = 6; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 6; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.EmbedHTML html = 8; + inline bool has_html() const; + inline void clear_html(); + static const int kHtmlFieldNumber = 8; + inline const ::bgs::protocol::EmbedHTML& html() const; + inline ::bgs::protocol::EmbedHTML* mutable_html(); + inline ::bgs::protocol::EmbedHTML* release_html(); + inline void set_allocated_html(::bgs::protocol::EmbedHTML* html); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedInfo) + private: + inline void set_has_title(); + inline void clear_has_title(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_original_url(); + inline void clear_has_original_url(); + inline void set_has_thumbnail(); + inline void clear_has_thumbnail(); + inline void set_has_provider(); + inline void clear_has_provider(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_html(); + inline void clear_has_html(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* title_; + ::std::string* type_; + ::std::string* original_url_; + ::bgs::protocol::EmbedImage* thumbnail_; + ::bgs::protocol::Provider* provider_; + ::std::string* description_; + ::bgs::protocol::EmbedHTML* html_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedInfo* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// EmbedImage + +// optional string url = 1; +inline bool EmbedImage::has_url() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedImage::set_has_url() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedImage::clear_has_url() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedImage::clear_url() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_->clear(); + } + clear_has_url(); +} +inline const ::std::string& EmbedImage::url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.url) + return *url_; +} +inline void EmbedImage::set_url(const ::std::string& value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.url) +} +inline void EmbedImage::set_url(const char* value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedImage.url) +} +inline void EmbedImage::set_url(const char* value, size_t size) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedImage.url) +} +inline ::std::string* EmbedImage::mutable_url() { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedImage.url) + return url_; +} +inline ::std::string* EmbedImage::release_url() { + clear_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = url_; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedImage::set_allocated_url(::std::string* url) { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (url) { + set_has_url(); + url_ = url; + } else { + clear_has_url(); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedImage.url) +} + +// optional uint32 width = 2; +inline bool EmbedImage::has_width() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedImage::set_has_width() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedImage::clear_has_width() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedImage::clear_width() { + width_ = 0u; + clear_has_width(); +} +inline ::google::protobuf::uint32 EmbedImage::width() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.width) + return width_; +} +inline void EmbedImage::set_width(::google::protobuf::uint32 value) { + set_has_width(); + width_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.width) +} + +// optional uint32 height = 3; +inline bool EmbedImage::has_height() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedImage::set_has_height() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedImage::clear_has_height() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedImage::clear_height() { + height_ = 0u; + clear_has_height(); +} +inline ::google::protobuf::uint32 EmbedImage::height() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.height) + return height_; +} +inline void EmbedImage::set_height(::google::protobuf::uint32 value) { + set_has_height(); + height_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.height) +} + +// ------------------------------------------------------------------- + +// Provider + +// optional string name = 1; +inline bool Provider::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Provider::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void Provider::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Provider::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Provider::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Provider.name) + return *name_; +} +inline void Provider::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Provider.name) +} +inline void Provider::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Provider.name) +} +inline void Provider::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Provider.name) +} +inline ::std::string* Provider::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Provider.name) + return name_; +} +inline ::std::string* Provider::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Provider::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Provider.name) +} + +// ------------------------------------------------------------------- + +// EmbedHTML + +// optional string content = 1; +inline bool EmbedHTML::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedHTML::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedHTML::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedHTML::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& EmbedHTML::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.content) + return *content_; +} +inline void EmbedHTML::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.content) +} +inline void EmbedHTML::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedHTML.content) +} +inline void EmbedHTML::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedHTML.content) +} +inline ::std::string* EmbedHTML::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedHTML.content) + return content_; +} +inline ::std::string* EmbedHTML::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedHTML::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedHTML.content) +} + +// optional uint32 width = 2; +inline bool EmbedHTML::has_width() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedHTML::set_has_width() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedHTML::clear_has_width() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedHTML::clear_width() { + width_ = 0u; + clear_has_width(); +} +inline ::google::protobuf::uint32 EmbedHTML::width() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.width) + return width_; +} +inline void EmbedHTML::set_width(::google::protobuf::uint32 value) { + set_has_width(); + width_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.width) +} + +// optional uint32 height = 3; +inline bool EmbedHTML::has_height() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedHTML::set_has_height() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedHTML::clear_has_height() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedHTML::clear_height() { + height_ = 0u; + clear_has_height(); +} +inline ::google::protobuf::uint32 EmbedHTML::height() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.height) + return height_; +} +inline void EmbedHTML::set_height(::google::protobuf::uint32 value) { + set_has_height(); + height_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.height) +} + +// ------------------------------------------------------------------- + +// EmbedInfo + +// optional string title = 1; +inline bool EmbedInfo::has_title() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedInfo::set_has_title() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedInfo::clear_has_title() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedInfo::clear_title() { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_->clear(); + } + clear_has_title(); +} +inline const ::std::string& EmbedInfo::title() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.title) + return *title_; +} +inline void EmbedInfo::set_title(const ::std::string& value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.title) +} +inline void EmbedInfo::set_title(const char* value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.title) +} +inline void EmbedInfo::set_title(const char* value, size_t size) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.title) +} +inline ::std::string* EmbedInfo::mutable_title() { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.title) + return title_; +} +inline ::std::string* EmbedInfo::release_title() { + clear_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = title_; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_title(::std::string* title) { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete title_; + } + if (title) { + set_has_title(); + title_ = title; + } else { + clear_has_title(); + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.title) +} + +// optional string type = 2; +inline bool EmbedInfo::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedInfo::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedInfo::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedInfo::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& EmbedInfo::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.type) + return *type_; +} +inline void EmbedInfo::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.type) +} +inline void EmbedInfo::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.type) +} +inline void EmbedInfo::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.type) +} +inline ::std::string* EmbedInfo::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.type) + return type_; +} +inline ::std::string* EmbedInfo::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.type) +} + +// optional string original_url = 3; +inline bool EmbedInfo::has_original_url() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedInfo::set_has_original_url() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedInfo::clear_has_original_url() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedInfo::clear_original_url() { + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_->clear(); + } + clear_has_original_url(); +} +inline const ::std::string& EmbedInfo::original_url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.original_url) + return *original_url_; +} +inline void EmbedInfo::set_original_url(const ::std::string& value) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.original_url) +} +inline void EmbedInfo::set_original_url(const char* value) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.original_url) +} +inline void EmbedInfo::set_original_url(const char* value, size_t size) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.original_url) +} +inline ::std::string* EmbedInfo::mutable_original_url() { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.original_url) + return original_url_; +} +inline ::std::string* EmbedInfo::release_original_url() { + clear_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = original_url_; + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_original_url(::std::string* original_url) { + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete original_url_; + } + if (original_url) { + set_has_original_url(); + original_url_ = original_url; + } else { + clear_has_original_url(); + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.original_url) +} + +// optional .bgs.protocol.EmbedImage thumbnail = 4; +inline bool EmbedInfo::has_thumbnail() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void EmbedInfo::set_has_thumbnail() { + _has_bits_[0] |= 0x00000008u; +} +inline void EmbedInfo::clear_has_thumbnail() { + _has_bits_[0] &= ~0x00000008u; +} +inline void EmbedInfo::clear_thumbnail() { + if (thumbnail_ != NULL) thumbnail_->::bgs::protocol::EmbedImage::Clear(); + clear_has_thumbnail(); +} +inline const ::bgs::protocol::EmbedImage& EmbedInfo::thumbnail() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.thumbnail) + return thumbnail_ != NULL ? *thumbnail_ : *default_instance_->thumbnail_; +} +inline ::bgs::protocol::EmbedImage* EmbedInfo::mutable_thumbnail() { + set_has_thumbnail(); + if (thumbnail_ == NULL) thumbnail_ = new ::bgs::protocol::EmbedImage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.thumbnail) + return thumbnail_; +} +inline ::bgs::protocol::EmbedImage* EmbedInfo::release_thumbnail() { + clear_has_thumbnail(); + ::bgs::protocol::EmbedImage* temp = thumbnail_; + thumbnail_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail) { + delete thumbnail_; + thumbnail_ = thumbnail; + if (thumbnail) { + set_has_thumbnail(); + } else { + clear_has_thumbnail(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.thumbnail) +} + +// optional .bgs.protocol.Provider provider = 5; +inline bool EmbedInfo::has_provider() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void EmbedInfo::set_has_provider() { + _has_bits_[0] |= 0x00000010u; +} +inline void EmbedInfo::clear_has_provider() { + _has_bits_[0] &= ~0x00000010u; +} +inline void EmbedInfo::clear_provider() { + if (provider_ != NULL) provider_->::bgs::protocol::Provider::Clear(); + clear_has_provider(); +} +inline const ::bgs::protocol::Provider& EmbedInfo::provider() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.provider) + return provider_ != NULL ? *provider_ : *default_instance_->provider_; +} +inline ::bgs::protocol::Provider* EmbedInfo::mutable_provider() { + set_has_provider(); + if (provider_ == NULL) provider_ = new ::bgs::protocol::Provider; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.provider) + return provider_; +} +inline ::bgs::protocol::Provider* EmbedInfo::release_provider() { + clear_has_provider(); + ::bgs::protocol::Provider* temp = provider_; + provider_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_provider(::bgs::protocol::Provider* provider) { + delete provider_; + provider_ = provider; + if (provider) { + set_has_provider(); + } else { + clear_has_provider(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.provider) +} + +// optional string description = 6; +inline bool EmbedInfo::has_description() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void EmbedInfo::set_has_description() { + _has_bits_[0] |= 0x00000020u; +} +inline void EmbedInfo::clear_has_description() { + _has_bits_[0] &= ~0x00000020u; +} +inline void EmbedInfo::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& EmbedInfo::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.description) + return *description_; +} +inline void EmbedInfo::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.description) +} +inline void EmbedInfo::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.description) +} +inline void EmbedInfo::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.description) +} +inline ::std::string* EmbedInfo::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.description) + return description_; +} +inline ::std::string* EmbedInfo::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.description) +} + +// optional .bgs.protocol.EmbedHTML html = 8; +inline bool EmbedInfo::has_html() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void EmbedInfo::set_has_html() { + _has_bits_[0] |= 0x00000040u; +} +inline void EmbedInfo::clear_has_html() { + _has_bits_[0] &= ~0x00000040u; +} +inline void EmbedInfo::clear_html() { + if (html_ != NULL) html_->::bgs::protocol::EmbedHTML::Clear(); + clear_has_html(); +} +inline const ::bgs::protocol::EmbedHTML& EmbedInfo::html() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.html) + return html_ != NULL ? *html_ : *default_instance_->html_; +} +inline ::bgs::protocol::EmbedHTML* EmbedInfo::mutable_html() { + set_has_html(); + if (html_ == NULL) html_ = new ::bgs::protocol::EmbedHTML; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.html) + return html_; +} +inline ::bgs::protocol::EmbedHTML* EmbedInfo::release_html() { + clear_has_html(); + ::bgs::protocol::EmbedHTML* temp = html_; + html_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_html(::bgs::protocol::EmbedHTML* html) { + delete html_; + html_ = html; + if (html) { + set_has_html(); + } else { + clear_has_html(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.html) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/event_view_types.pb.cc b/src/server/proto/Client/api/common/v1/event_view_types.pb.cc new file mode 100644 index 00000000000..f1822a3817e --- /dev/null +++ b/src/server/proto/Client/api/common/v1/event_view_types.pb.cc @@ -0,0 +1,303 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/event_view_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/event_view_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* GetEventOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetEventOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ViewMarker_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ViewMarker_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* EventOrder_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/event_view_types.proto"); + GOOGLE_CHECK(file != NULL); + GetEventOptions_descriptor_ = file->message_type(0); + static const int GetEventOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_from_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_until_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, max_events_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, order_), + }; + GetEventOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetEventOptions_descriptor_, + GetEventOptions::default_instance_, + GetEventOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetEventOptions)); + ViewMarker_descriptor_ = file->message_type(1); + static const int ViewMarker_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_read_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_message_time_), + }; + ViewMarker_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ViewMarker_descriptor_, + ViewMarker::default_instance_, + ViewMarker_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ViewMarker)); + EventOrder_descriptor_ = file->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetEventOptions_descriptor_, &GetEventOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ViewMarker_descriptor_, &ViewMarker::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + delete GetEventOptions::default_instance_; + delete GetEventOptions_reflection_; + delete ViewMarker::default_instance_; + delete ViewMarker_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/common/v1/event_view_types.proto\022\014" + "bgs.protocol\"w\n\017GetEventOptions\022\022\n\nfetch" + "_from\030\001 \001(\004\022\023\n\013fetch_until\030\002 \001(\004\022\022\n\nmax_" + "events\030\003 \001(\r\022\'\n\005order\030\004 \001(\0162\030.bgs.protoc" + "ol.EventOrder\"\?\n\nViewMarker\022\026\n\016last_read" + "_time\030\001 \001(\004\022\031\n\021last_message_time\030\002 \001(\004*7" + "\n\nEventOrder\022\024\n\020EVENT_DESCENDING\020\000\022\023\n\017EV" + "ENT_ASCENDING\020\001B\002H\002", 299); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/event_view_types.proto", &protobuf_RegisterTypes); + GetEventOptions::default_instance_ = new GetEventOptions(); + ViewMarker::default_instance_ = new ViewMarker(); + GetEventOptions::default_instance_->InitAsDefaultInstance(); + ViewMarker::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* EventOrder_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EventOrder_descriptor_; +} +bool EventOrder_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetEventOptions::kFetchFromFieldNumber; +const int GetEventOptions::kFetchUntilFieldNumber; +const int GetEventOptions::kMaxEventsFieldNumber; +const int GetEventOptions::kOrderFieldNumber; +#endif // !_MSC_VER + +GetEventOptions::GetEventOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.GetEventOptions) +} + +void GetEventOptions::InitAsDefaultInstance() { +} + +GetEventOptions::GetEventOptions(const GetEventOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.GetEventOptions) +} + +void GetEventOptions::SharedCtor() { + _cached_size_ = 0; + fetch_from_ = GOOGLE_ULONGLONG(0); + fetch_until_ = GOOGLE_ULONGLONG(0); + max_events_ = 0u; + order_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetEventOptions::~GetEventOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.GetEventOptions) + SharedDtor(); +} + +void GetEventOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetEventOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetEventOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetEventOptions_descriptor_; +} + +const GetEventOptions& GetEventOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + return *default_instance_; +} + +GetEventOptions* GetEventOptions::default_instance_ = NULL; + +GetEventOptions* GetEventOptions::New() const { + return new GetEventOptions; +} + +void GetEventOptions::Swap(GetEventOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetEventOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetEventOptions_descriptor_; + metadata.reflection = GetEventOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ViewMarker::kLastReadTimeFieldNumber; +const int ViewMarker::kLastMessageTimeFieldNumber; +#endif // !_MSC_VER + +ViewMarker::ViewMarker() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.ViewMarker) +} + +void ViewMarker::InitAsDefaultInstance() { +} + +ViewMarker::ViewMarker(const ViewMarker& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.ViewMarker) +} + +void ViewMarker::SharedCtor() { + _cached_size_ = 0; + last_read_time_ = GOOGLE_ULONGLONG(0); + last_message_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ViewMarker::~ViewMarker() { + // @@protoc_insertion_point(destructor:bgs.protocol.ViewMarker) + SharedDtor(); +} + +void ViewMarker::SharedDtor() { + if (this != default_instance_) { + } +} + +void ViewMarker::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ViewMarker::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ViewMarker_descriptor_; +} + +const ViewMarker& ViewMarker::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + return *default_instance_; +} + +ViewMarker* ViewMarker::default_instance_ = NULL; + +ViewMarker* ViewMarker::New() const { + return new ViewMarker; +} + +void ViewMarker::Swap(ViewMarker* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ViewMarker::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ViewMarker_descriptor_; + metadata.reflection = ViewMarker_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/event_view_types.pb.h b/src/server/proto/Client/api/common/v1/event_view_types.pb.h new file mode 100644 index 00000000000..3a4d438cae9 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/event_view_types.pb.h @@ -0,0 +1,409 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/event_view_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + +class GetEventOptions; +class ViewMarker; + +enum EventOrder { + EVENT_DESCENDING = 0, + EVENT_ASCENDING = 1 +}; +TC_PROTO_API bool EventOrder_IsValid(int value); +const EventOrder EventOrder_MIN = EVENT_DESCENDING; +const EventOrder EventOrder_MAX = EVENT_ASCENDING; +const int EventOrder_ARRAYSIZE = EventOrder_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* EventOrder_descriptor(); +inline const ::std::string& EventOrder_Name(EventOrder value) { + return ::google::protobuf::internal::NameOfEnum( + EventOrder_descriptor(), value); +} +inline bool EventOrder_Parse( + const ::std::string& name, EventOrder* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EventOrder_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API GetEventOptions : public ::google::protobuf::Message { + public: + GetEventOptions(); + virtual ~GetEventOptions(); + + GetEventOptions(const GetEventOptions& from); + + inline GetEventOptions& operator=(const GetEventOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetEventOptions& default_instance(); + + void Swap(GetEventOptions* other); + + // implements Message ---------------------------------------------- + + GetEventOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 fetch_from = 1; + inline bool has_fetch_from() const; + inline void clear_fetch_from(); + static const int kFetchFromFieldNumber = 1; + inline ::google::protobuf::uint64 fetch_from() const; + inline void set_fetch_from(::google::protobuf::uint64 value); + + // optional uint64 fetch_until = 2; + inline bool has_fetch_until() const; + inline void clear_fetch_until(); + static const int kFetchUntilFieldNumber = 2; + inline ::google::protobuf::uint64 fetch_until() const; + inline void set_fetch_until(::google::protobuf::uint64 value); + + // optional uint32 max_events = 3; + inline bool has_max_events() const; + inline void clear_max_events(); + static const int kMaxEventsFieldNumber = 3; + inline ::google::protobuf::uint32 max_events() const; + inline void set_max_events(::google::protobuf::uint32 value); + + // optional .bgs.protocol.EventOrder order = 4; + inline bool has_order() const; + inline void clear_order(); + static const int kOrderFieldNumber = 4; + inline ::bgs::protocol::EventOrder order() const; + inline void set_order(::bgs::protocol::EventOrder value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.GetEventOptions) + private: + inline void set_has_fetch_from(); + inline void clear_has_fetch_from(); + inline void set_has_fetch_until(); + inline void clear_has_fetch_until(); + inline void set_has_max_events(); + inline void clear_has_max_events(); + inline void set_has_order(); + inline void clear_has_order(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 fetch_from_; + ::google::protobuf::uint64 fetch_until_; + ::google::protobuf::uint32 max_events_; + int order_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static GetEventOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ViewMarker : public ::google::protobuf::Message { + public: + ViewMarker(); + virtual ~ViewMarker(); + + ViewMarker(const ViewMarker& from); + + inline ViewMarker& operator=(const ViewMarker& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ViewMarker& default_instance(); + + void Swap(ViewMarker* other); + + // implements Message ---------------------------------------------- + + ViewMarker* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 last_read_time = 1; + inline bool has_last_read_time() const; + inline void clear_last_read_time(); + static const int kLastReadTimeFieldNumber = 1; + inline ::google::protobuf::uint64 last_read_time() const; + inline void set_last_read_time(::google::protobuf::uint64 value); + + // optional uint64 last_message_time = 2; + inline bool has_last_message_time() const; + inline void clear_last_message_time(); + static const int kLastMessageTimeFieldNumber = 2; + inline ::google::protobuf::uint64 last_message_time() const; + inline void set_last_message_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.ViewMarker) + private: + inline void set_has_last_read_time(); + inline void clear_has_last_read_time(); + inline void set_has_last_message_time(); + inline void clear_has_last_message_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 last_read_time_; + ::google::protobuf::uint64 last_message_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ViewMarker* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// GetEventOptions + +// optional uint64 fetch_from = 1; +inline bool GetEventOptions::has_fetch_from() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetEventOptions::set_has_fetch_from() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetEventOptions::clear_has_fetch_from() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetEventOptions::clear_fetch_from() { + fetch_from_ = GOOGLE_ULONGLONG(0); + clear_has_fetch_from(); +} +inline ::google::protobuf::uint64 GetEventOptions::fetch_from() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_from) + return fetch_from_; +} +inline void GetEventOptions::set_fetch_from(::google::protobuf::uint64 value) { + set_has_fetch_from(); + fetch_from_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_from) +} + +// optional uint64 fetch_until = 2; +inline bool GetEventOptions::has_fetch_until() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetEventOptions::set_has_fetch_until() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetEventOptions::clear_has_fetch_until() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetEventOptions::clear_fetch_until() { + fetch_until_ = GOOGLE_ULONGLONG(0); + clear_has_fetch_until(); +} +inline ::google::protobuf::uint64 GetEventOptions::fetch_until() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_until) + return fetch_until_; +} +inline void GetEventOptions::set_fetch_until(::google::protobuf::uint64 value) { + set_has_fetch_until(); + fetch_until_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_until) +} + +// optional uint32 max_events = 3; +inline bool GetEventOptions::has_max_events() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetEventOptions::set_has_max_events() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetEventOptions::clear_has_max_events() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetEventOptions::clear_max_events() { + max_events_ = 0u; + clear_has_max_events(); +} +inline ::google::protobuf::uint32 GetEventOptions::max_events() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.max_events) + return max_events_; +} +inline void GetEventOptions::set_max_events(::google::protobuf::uint32 value) { + set_has_max_events(); + max_events_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.max_events) +} + +// optional .bgs.protocol.EventOrder order = 4; +inline bool GetEventOptions::has_order() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetEventOptions::set_has_order() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetEventOptions::clear_has_order() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetEventOptions::clear_order() { + order_ = 0; + clear_has_order(); +} +inline ::bgs::protocol::EventOrder GetEventOptions::order() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.order) + return static_cast< ::bgs::protocol::EventOrder >(order_); +} +inline void GetEventOptions::set_order(::bgs::protocol::EventOrder value) { + assert(::bgs::protocol::EventOrder_IsValid(value)); + set_has_order(); + order_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.order) +} + +// ------------------------------------------------------------------- + +// ViewMarker + +// optional uint64 last_read_time = 1; +inline bool ViewMarker::has_last_read_time() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ViewMarker::set_has_last_read_time() { + _has_bits_[0] |= 0x00000001u; +} +inline void ViewMarker::clear_has_last_read_time() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ViewMarker::clear_last_read_time() { + last_read_time_ = GOOGLE_ULONGLONG(0); + clear_has_last_read_time(); +} +inline ::google::protobuf::uint64 ViewMarker::last_read_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_read_time) + return last_read_time_; +} +inline void ViewMarker::set_last_read_time(::google::protobuf::uint64 value) { + set_has_last_read_time(); + last_read_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_read_time) +} + +// optional uint64 last_message_time = 2; +inline bool ViewMarker::has_last_message_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ViewMarker::set_has_last_message_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void ViewMarker::clear_has_last_message_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ViewMarker::clear_last_message_time() { + last_message_time_ = GOOGLE_ULONGLONG(0); + clear_has_last_message_time(); +} +inline ::google::protobuf::uint64 ViewMarker::last_message_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_message_time) + return last_message_time_; +} +inline void ViewMarker::set_last_message_time(::google::protobuf::uint64 value) { + set_has_last_message_time(); + last_message_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_message_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::EventOrder> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::EventOrder>() { + return ::bgs::protocol::EventOrder_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/invitation_types.pb.cc b/src/server/proto/Client/api/common/v1/invitation_types.pb.cc new file mode 100644 index 00000000000..30df8e39fe2 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/invitation_types.pb.cc @@ -0,0 +1,373 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/invitation_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/invitation_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* Invitation_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Invitation_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationParams_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationParams_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/invitation_types.proto"); + GOOGLE_CHECK(file != NULL); + Invitation_descriptor_ = file->message_type(0); + static const int Invitation_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitation_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, expiration_time_), + }; + Invitation_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Invitation_descriptor_, + Invitation::default_instance_, + Invitation_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Invitation)); + InvitationParams_descriptor_ = file->message_type(1); + static const int InvitationParams_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, invitation_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, expiration_time_), + }; + InvitationParams_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationParams_descriptor_, + InvitationParams::default_instance_, + InvitationParams_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationParams)); + InvitationRemovedReason_descriptor_ = file->enum_type(0); + SuggestionRemovedReason_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Invitation_descriptor_, &Invitation::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationParams_descriptor_, &InvitationParams::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + delete Invitation::default_instance_; + delete Invitation_reflection_; + delete InvitationParams::default_instance_; + delete InvitationParams_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/common/v1/invitation_types.proto\022\014" + "bgs.protocol\032\022entity_types.proto\032%global" + "_extensions/field_options.proto\"\213\002\n\nInvi" + "tation\022\n\n\002id\030\001 \002(\006\0220\n\020inviter_identity\030\002" + " \002(\0132\026.bgs.protocol.Identity\0220\n\020invitee_" + "identity\030\003 \002(\0132\026.bgs.protocol.Identity\022\034" + "\n\014inviter_name\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_" + "name\030\005 \001(\tB\006\202\371+\002\010\001\022\032\n\022invitation_message" + "\030\006 \001(\t\022\025\n\rcreation_time\030\007 \001(\004\022\027\n\017expirat" + "ion_time\030\010 \001(\004*\005\010d\020\220N\"R\n\020InvitationParam" + "s\022\036\n\022invitation_message\030\001 \001(\tB\002\030\001\022\027\n\017exp" + "iration_time\030\002 \001(\004*\005\010d\020\220N*\206\002\n\027Invitation" + "RemovedReason\022&\n\"INVITATION_REMOVED_REAS" + "ON_ACCEPTED\020\000\022&\n\"INVITATION_REMOVED_REAS" + "ON_DECLINED\020\001\022%\n!INVITATION_REMOVED_REAS" + "ON_REVOKED\020\002\022%\n!INVITATION_REMOVED_REASO" + "N_IGNORED\020\003\022%\n!INVITATION_REMOVED_REASON" + "_EXPIRED\020\004\022&\n\"INVITATION_REMOVED_REASON_" + "CANCELED\020\005*\270\001\n\027SuggestionRemovedReason\022&" + "\n\"SUGGESTION_REMOVED_REASON_APPROVED\020\000\022&" + "\n\"SUGGESTION_REMOVED_REASON_DECLINED\020\001\022%" + "\n!SUGGESTION_REMOVED_REASON_EXPIRED\020\002\022&\n" + "\"SUGGESTION_REMOVED_REASON_CANCELED\020\003B&\n" + "\014bgs.protocolB\024InvitationTypesProtoH\002", 957); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/invitation_types.proto", &protobuf_RegisterTypes); + Invitation::default_instance_ = new Invitation(); + InvitationParams::default_instance_ = new InvitationParams(); + Invitation::default_instance_->InitAsDefaultInstance(); + InvitationParams::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationRemovedReason_descriptor_; +} +bool InvitationRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionRemovedReason_descriptor_; +} +bool SuggestionRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int Invitation::kIdFieldNumber; +const int Invitation::kInviterIdentityFieldNumber; +const int Invitation::kInviteeIdentityFieldNumber; +const int Invitation::kInviterNameFieldNumber; +const int Invitation::kInviteeNameFieldNumber; +const int Invitation::kInvitationMessageFieldNumber; +const int Invitation::kCreationTimeFieldNumber; +const int Invitation::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +Invitation::Invitation() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.Invitation) +} + +void Invitation::InitAsDefaultInstance() { + inviter_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); + invitee_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); +} + +Invitation::Invitation(const Invitation& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.Invitation) +} + +void Invitation::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + inviter_identity_ = NULL; + invitee_identity_ = NULL; + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Invitation::~Invitation() { + // @@protoc_insertion_point(destructor:bgs.protocol.Invitation) + SharedDtor(); +} + +void Invitation::SharedDtor() { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete inviter_name_; + } + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitee_name_; + } + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (this != default_instance_) { + delete inviter_identity_; + delete invitee_identity_; + } +} + +void Invitation::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Invitation::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Invitation_descriptor_; +} + +const Invitation& Invitation::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + return *default_instance_; +} + +Invitation* Invitation::default_instance_ = NULL; + +Invitation* Invitation::New() const { + return new Invitation; +} + +void Invitation::Swap(Invitation* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Invitation::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Invitation_descriptor_; + metadata.reflection = Invitation_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationParams::kInvitationMessageFieldNumber; +const int InvitationParams::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +InvitationParams::InvitationParams() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.InvitationParams) +} + +void InvitationParams::InitAsDefaultInstance() { +} + +InvitationParams::InvitationParams(const InvitationParams& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.InvitationParams) +} + +void InvitationParams::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationParams::~InvitationParams() { + // @@protoc_insertion_point(destructor:bgs.protocol.InvitationParams) + SharedDtor(); +} + +void InvitationParams::SharedDtor() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (this != default_instance_) { + } +} + +void InvitationParams::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationParams::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationParams_descriptor_; +} + +const InvitationParams& InvitationParams::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + return *default_instance_; +} + +InvitationParams* InvitationParams::default_instance_ = NULL; + +InvitationParams* InvitationParams::New() const { + return new InvitationParams; +} + +void InvitationParams::Swap(InvitationParams* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationParams::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationParams_descriptor_; + metadata.reflection = InvitationParams_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/invitation_types.pb.h b/src/server/proto/Client/api/common/v1/invitation_types.pb.h new file mode 100644 index 00000000000..17d4f482679 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/invitation_types.pb.h @@ -0,0 +1,848 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/invitation_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "entity_types.pb.h" +#include "global_extensions/field_options.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + +class Invitation; +class InvitationParams; + +enum InvitationRemovedReason { + INVITATION_REMOVED_REASON_ACCEPTED = 0, + INVITATION_REMOVED_REASON_DECLINED = 1, + INVITATION_REMOVED_REASON_REVOKED = 2, + INVITATION_REMOVED_REASON_IGNORED = 3, + INVITATION_REMOVED_REASON_EXPIRED = 4, + INVITATION_REMOVED_REASON_CANCELED = 5 +}; +TC_PROTO_API bool InvitationRemovedReason_IsValid(int value); +const InvitationRemovedReason InvitationRemovedReason_MIN = INVITATION_REMOVED_REASON_ACCEPTED; +const InvitationRemovedReason InvitationRemovedReason_MAX = INVITATION_REMOVED_REASON_CANCELED; +const int InvitationRemovedReason_ARRAYSIZE = InvitationRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor(); +inline const ::std::string& InvitationRemovedReason_Name(InvitationRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + InvitationRemovedReason_descriptor(), value); +} +inline bool InvitationRemovedReason_Parse( + const ::std::string& name, InvitationRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + InvitationRemovedReason_descriptor(), name, value); +} +enum SuggestionRemovedReason { + SUGGESTION_REMOVED_REASON_APPROVED = 0, + SUGGESTION_REMOVED_REASON_DECLINED = 1, + SUGGESTION_REMOVED_REASON_EXPIRED = 2, + SUGGESTION_REMOVED_REASON_CANCELED = 3 +}; +TC_PROTO_API bool SuggestionRemovedReason_IsValid(int value); +const SuggestionRemovedReason SuggestionRemovedReason_MIN = SUGGESTION_REMOVED_REASON_APPROVED; +const SuggestionRemovedReason SuggestionRemovedReason_MAX = SUGGESTION_REMOVED_REASON_CANCELED; +const int SuggestionRemovedReason_ARRAYSIZE = SuggestionRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor(); +inline const ::std::string& SuggestionRemovedReason_Name(SuggestionRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + SuggestionRemovedReason_descriptor(), value); +} +inline bool SuggestionRemovedReason_Parse( + const ::std::string& name, SuggestionRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SuggestionRemovedReason_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Invitation : public ::google::protobuf::Message { + public: + Invitation(); + virtual ~Invitation(); + + Invitation(const Invitation& from); + + inline Invitation& operator=(const Invitation& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Invitation& default_instance(); + + void Swap(Invitation* other); + + // implements Message ---------------------------------------------- + + Invitation* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // required .bgs.protocol.Identity inviter_identity = 2; + inline bool has_inviter_identity() const; + inline void clear_inviter_identity(); + static const int kInviterIdentityFieldNumber = 2; + inline const ::bgs::protocol::Identity& inviter_identity() const; + inline ::bgs::protocol::Identity* mutable_inviter_identity(); + inline ::bgs::protocol::Identity* release_inviter_identity(); + inline void set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity); + + // required .bgs.protocol.Identity invitee_identity = 3; + inline bool has_invitee_identity() const; + inline void clear_invitee_identity(); + static const int kInviteeIdentityFieldNumber = 3; + inline const ::bgs::protocol::Identity& invitee_identity() const; + inline ::bgs::protocol::Identity* mutable_invitee_identity(); + inline ::bgs::protocol::Identity* release_invitee_identity(); + inline void set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity); + + // optional string inviter_name = 4; + inline bool has_inviter_name() const; + inline void clear_inviter_name(); + static const int kInviterNameFieldNumber = 4; + inline const ::std::string& inviter_name() const; + inline void set_inviter_name(const ::std::string& value); + inline void set_inviter_name(const char* value); + inline void set_inviter_name(const char* value, size_t size); + inline ::std::string* mutable_inviter_name(); + inline ::std::string* release_inviter_name(); + inline void set_allocated_inviter_name(::std::string* inviter_name); + + // optional string invitee_name = 5; + inline bool has_invitee_name() const; + inline void clear_invitee_name(); + static const int kInviteeNameFieldNumber = 5; + inline const ::std::string& invitee_name() const; + inline void set_invitee_name(const ::std::string& value); + inline void set_invitee_name(const char* value); + inline void set_invitee_name(const char* value, size_t size); + inline ::std::string* mutable_invitee_name(); + inline ::std::string* release_invitee_name(); + inline void set_allocated_invitee_name(::std::string* invitee_name); + + // optional string invitation_message = 6; + inline bool has_invitation_message() const; + inline void clear_invitation_message(); + static const int kInvitationMessageFieldNumber = 6; + inline const ::std::string& invitation_message() const; + inline void set_invitation_message(const ::std::string& value); + inline void set_invitation_message(const char* value); + inline void set_invitation_message(const char* value, size_t size); + inline ::std::string* mutable_invitation_message(); + inline ::std::string* release_invitation_message(); + inline void set_allocated_invitation_message(::std::string* invitation_message); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Invitation) + // @@protoc_insertion_point(class_scope:bgs.protocol.Invitation) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_inviter_identity(); + inline void clear_has_inviter_identity(); + inline void set_has_invitee_identity(); + inline void clear_has_invitee_identity(); + inline void set_has_inviter_name(); + inline void clear_has_inviter_name(); + inline void set_has_invitee_name(); + inline void clear_has_invitee_name(); + inline void set_has_invitation_message(); + inline void clear_has_invitation_message(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::Identity* inviter_identity_; + ::bgs::protocol::Identity* invitee_identity_; + ::std::string* inviter_name_; + ::std::string* invitee_name_; + ::std::string* invitation_message_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Invitation* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationParams : public ::google::protobuf::Message { + public: + InvitationParams(); + virtual ~InvitationParams(); + + InvitationParams(const InvitationParams& from); + + inline InvitationParams& operator=(const InvitationParams& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationParams& default_instance(); + + void Swap(InvitationParams* other); + + // implements Message ---------------------------------------------- + + InvitationParams* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string invitation_message = 1 [deprecated = true]; + inline bool has_invitation_message() const PROTOBUF_DEPRECATED; + inline void clear_invitation_message() PROTOBUF_DEPRECATED; + static const int kInvitationMessageFieldNumber = 1; + inline const ::std::string& invitation_message() const PROTOBUF_DEPRECATED; + inline void set_invitation_message(const ::std::string& value) PROTOBUF_DEPRECATED; + inline void set_invitation_message(const char* value) PROTOBUF_DEPRECATED; + inline void set_invitation_message(const char* value, size_t size) PROTOBUF_DEPRECATED; + inline ::std::string* mutable_invitation_message() PROTOBUF_DEPRECATED; + inline ::std::string* release_invitation_message() PROTOBUF_DEPRECATED; + inline void set_allocated_invitation_message(::std::string* invitation_message) PROTOBUF_DEPRECATED; + + // optional uint64 expiration_time = 2; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 2; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(InvitationParams) + // @@protoc_insertion_point(class_scope:bgs.protocol.InvitationParams) + private: + inline void set_has_invitation_message(); + inline void clear_has_invitation_message(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* invitation_message_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static InvitationParams* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Invitation + +// required fixed64 id = 1; +inline bool Invitation::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Invitation::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Invitation::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Invitation::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Invitation::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.id) + return id_; +} +inline void Invitation::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.id) +} + +// required .bgs.protocol.Identity inviter_identity = 2; +inline bool Invitation::has_inviter_identity() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Invitation::set_has_inviter_identity() { + _has_bits_[0] |= 0x00000002u; +} +inline void Invitation::clear_has_inviter_identity() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Invitation::clear_inviter_identity() { + if (inviter_identity_ != NULL) inviter_identity_->::bgs::protocol::Identity::Clear(); + clear_has_inviter_identity(); +} +inline const ::bgs::protocol::Identity& Invitation::inviter_identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_identity) + return inviter_identity_ != NULL ? *inviter_identity_ : *default_instance_->inviter_identity_; +} +inline ::bgs::protocol::Identity* Invitation::mutable_inviter_identity() { + set_has_inviter_identity(); + if (inviter_identity_ == NULL) inviter_identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_identity) + return inviter_identity_; +} +inline ::bgs::protocol::Identity* Invitation::release_inviter_identity() { + clear_has_inviter_identity(); + ::bgs::protocol::Identity* temp = inviter_identity_; + inviter_identity_ = NULL; + return temp; +} +inline void Invitation::set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity) { + delete inviter_identity_; + inviter_identity_ = inviter_identity; + if (inviter_identity) { + set_has_inviter_identity(); + } else { + clear_has_inviter_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_identity) +} + +// required .bgs.protocol.Identity invitee_identity = 3; +inline bool Invitation::has_invitee_identity() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Invitation::set_has_invitee_identity() { + _has_bits_[0] |= 0x00000004u; +} +inline void Invitation::clear_has_invitee_identity() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Invitation::clear_invitee_identity() { + if (invitee_identity_ != NULL) invitee_identity_->::bgs::protocol::Identity::Clear(); + clear_has_invitee_identity(); +} +inline const ::bgs::protocol::Identity& Invitation::invitee_identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_identity) + return invitee_identity_ != NULL ? *invitee_identity_ : *default_instance_->invitee_identity_; +} +inline ::bgs::protocol::Identity* Invitation::mutable_invitee_identity() { + set_has_invitee_identity(); + if (invitee_identity_ == NULL) invitee_identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_identity) + return invitee_identity_; +} +inline ::bgs::protocol::Identity* Invitation::release_invitee_identity() { + clear_has_invitee_identity(); + ::bgs::protocol::Identity* temp = invitee_identity_; + invitee_identity_ = NULL; + return temp; +} +inline void Invitation::set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity) { + delete invitee_identity_; + invitee_identity_ = invitee_identity; + if (invitee_identity) { + set_has_invitee_identity(); + } else { + clear_has_invitee_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_identity) +} + +// optional string inviter_name = 4; +inline bool Invitation::has_inviter_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Invitation::set_has_inviter_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Invitation::clear_has_inviter_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Invitation::clear_inviter_name() { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_->clear(); + } + clear_has_inviter_name(); +} +inline const ::std::string& Invitation::inviter_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_name) + return *inviter_name_; +} +inline void Invitation::set_inviter_name(const ::std::string& value) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.inviter_name) +} +inline void Invitation::set_inviter_name(const char* value) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.inviter_name) +} +inline void Invitation::set_inviter_name(const char* value, size_t size) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.inviter_name) +} +inline ::std::string* Invitation::mutable_inviter_name() { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_name) + return inviter_name_; +} +inline ::std::string* Invitation::release_inviter_name() { + clear_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = inviter_name_; + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_inviter_name(::std::string* inviter_name) { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete inviter_name_; + } + if (inviter_name) { + set_has_inviter_name(); + inviter_name_ = inviter_name; + } else { + clear_has_inviter_name(); + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_name) +} + +// optional string invitee_name = 5; +inline bool Invitation::has_invitee_name() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Invitation::set_has_invitee_name() { + _has_bits_[0] |= 0x00000010u; +} +inline void Invitation::clear_has_invitee_name() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Invitation::clear_invitee_name() { + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_->clear(); + } + clear_has_invitee_name(); +} +inline const ::std::string& Invitation::invitee_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_name) + return *invitee_name_; +} +inline void Invitation::set_invitee_name(const ::std::string& value) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitee_name) +} +inline void Invitation::set_invitee_name(const char* value) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitee_name) +} +inline void Invitation::set_invitee_name(const char* value, size_t size) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitee_name) +} +inline ::std::string* Invitation::mutable_invitee_name() { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_name) + return invitee_name_; +} +inline ::std::string* Invitation::release_invitee_name() { + clear_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitee_name_; + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_invitee_name(::std::string* invitee_name) { + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitee_name_; + } + if (invitee_name) { + set_has_invitee_name(); + invitee_name_ = invitee_name; + } else { + clear_has_invitee_name(); + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_name) +} + +// optional string invitation_message = 6; +inline bool Invitation::has_invitation_message() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Invitation::set_has_invitation_message() { + _has_bits_[0] |= 0x00000020u; +} +inline void Invitation::clear_has_invitation_message() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Invitation::clear_invitation_message() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_->clear(); + } + clear_has_invitation_message(); +} +inline const ::std::string& Invitation::invitation_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitation_message) + return *invitation_message_; +} +inline void Invitation::set_invitation_message(const ::std::string& value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitation_message) +} +inline void Invitation::set_invitation_message(const char* value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitation_message) +} +inline void Invitation::set_invitation_message(const char* value, size_t size) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitation_message) +} +inline ::std::string* Invitation::mutable_invitation_message() { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitation_message) + return invitation_message_; +} +inline ::std::string* Invitation::release_invitation_message() { + clear_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitation_message_; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_invitation_message(::std::string* invitation_message) { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (invitation_message) { + set_has_invitation_message(); + invitation_message_ = invitation_message; + } else { + clear_has_invitation_message(); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitation_message) +} + +// optional uint64 creation_time = 7; +inline bool Invitation::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Invitation::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void Invitation::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Invitation::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Invitation::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.creation_time) + return creation_time_; +} +inline void Invitation::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool Invitation::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Invitation::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void Invitation::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Invitation::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 Invitation::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.expiration_time) + return expiration_time_; +} +inline void Invitation::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.expiration_time) +} + +// ------------------------------------------------------------------- + +// InvitationParams + +// optional string invitation_message = 1 [deprecated = true]; +inline bool InvitationParams::has_invitation_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationParams::set_has_invitation_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationParams::clear_has_invitation_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationParams::clear_invitation_message() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_->clear(); + } + clear_has_invitation_message(); +} +inline const ::std::string& InvitationParams::invitation_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.invitation_message) + return *invitation_message_; +} +inline void InvitationParams::set_invitation_message(const ::std::string& value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.invitation_message) +} +inline void InvitationParams::set_invitation_message(const char* value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.InvitationParams.invitation_message) +} +inline void InvitationParams::set_invitation_message(const char* value, size_t size) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.InvitationParams.invitation_message) +} +inline ::std::string* InvitationParams::mutable_invitation_message() { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.InvitationParams.invitation_message) + return invitation_message_; +} +inline ::std::string* InvitationParams::release_invitation_message() { + clear_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitation_message_; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void InvitationParams::set_allocated_invitation_message(::std::string* invitation_message) { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (invitation_message) { + set_has_invitation_message(); + invitation_message_ = invitation_message; + } else { + clear_has_invitation_message(); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.InvitationParams.invitation_message) +} + +// optional uint64 expiration_time = 2; +inline bool InvitationParams::has_expiration_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationParams::set_has_expiration_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationParams::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationParams::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 InvitationParams::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.expiration_time) + return expiration_time_; +} +inline void InvitationParams::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.expiration_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::InvitationRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason>() { + return ::bgs::protocol::InvitationRemovedReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::SuggestionRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason>() { + return ::bgs::protocol::SuggestionRemovedReason_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/message_types.pb.cc b/src/server/proto/Client/api/common/v1/message_types.pb.cc new file mode 100644 index 00000000000..9acca966ec1 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/message_types.pb.cc @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/message_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/message_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* MessageId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MessageId_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/message_types.proto"); + GOOGLE_CHECK(file != NULL); + MessageId_descriptor_ = file->message_type(0); + static const int MessageId_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, epoch_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, position_), + }; + MessageId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MessageId_descriptor_, + MessageId::default_instance_, + MessageId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MessageId)); + TypingIndicator_descriptor_ = file->enum_type(0); + MessageOrigin_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MessageId_descriptor_, &MessageId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + delete MessageId::default_instance_; + delete MessageId_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/common/v1/message_types.proto\022\014bgs" + ".protocol\",\n\tMessageId\022\r\n\005epoch\030\001 \001(\004\022\020\n" + "\010position\030\002 \001(\004*4\n\017TypingIndicator\022\020\n\014TY" + "PING_START\020\000\022\017\n\013TYPING_STOP\020\001*E\n\rMessage" + "Origin\022\031\n\025MESSAGE_ORIGIN_PLAYER\020\000\022\031\n\025MES" + "SAGE_ORIGIN_SYSTEM\020\001B\002H\002", 224); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/message_types.proto", &protobuf_RegisterTypes); + MessageId::default_instance_ = new MessageId(); + MessageId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TypingIndicator_descriptor_; +} +bool TypingIndicator_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor() { + protobuf_AssignDescriptorsOnce(); + return MessageOrigin_descriptor_; +} +bool MessageOrigin_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int MessageId::kEpochFieldNumber; +const int MessageId::kPositionFieldNumber; +#endif // !_MSC_VER + +MessageId::MessageId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.MessageId) +} + +void MessageId::InitAsDefaultInstance() { +} + +MessageId::MessageId(const MessageId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.MessageId) +} + +void MessageId::SharedCtor() { + _cached_size_ = 0; + epoch_ = GOOGLE_ULONGLONG(0); + position_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MessageId::~MessageId() { + // @@protoc_insertion_point(destructor:bgs.protocol.MessageId) + SharedDtor(); +} + +void MessageId::SharedDtor() { + if (this != default_instance_) { + } +} + +void MessageId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MessageId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MessageId_descriptor_; +} + +const MessageId& MessageId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + return *default_instance_; +} + +MessageId* MessageId::default_instance_ = NULL; + +MessageId* MessageId::New() const { + return new MessageId; +} + +void MessageId::Swap(MessageId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MessageId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MessageId_descriptor_; + metadata.reflection = MessageId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/message_types.pb.h b/src/server/proto/Client/api/common/v1/message_types.pb.h new file mode 100644 index 00000000000..ad1be18e5fe --- /dev/null +++ b/src/server/proto/Client/api/common/v1/message_types.pb.h @@ -0,0 +1,235 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/message_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + +class MessageId; + +enum TypingIndicator { + TYPING_START = 0, + TYPING_STOP = 1 +}; +TC_PROTO_API bool TypingIndicator_IsValid(int value); +const TypingIndicator TypingIndicator_MIN = TYPING_START; +const TypingIndicator TypingIndicator_MAX = TYPING_STOP; +const int TypingIndicator_ARRAYSIZE = TypingIndicator_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor(); +inline const ::std::string& TypingIndicator_Name(TypingIndicator value) { + return ::google::protobuf::internal::NameOfEnum( + TypingIndicator_descriptor(), value); +} +inline bool TypingIndicator_Parse( + const ::std::string& name, TypingIndicator* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TypingIndicator_descriptor(), name, value); +} +enum MessageOrigin { + MESSAGE_ORIGIN_PLAYER = 0, + MESSAGE_ORIGIN_SYSTEM = 1 +}; +TC_PROTO_API bool MessageOrigin_IsValid(int value); +const MessageOrigin MessageOrigin_MIN = MESSAGE_ORIGIN_PLAYER; +const MessageOrigin MessageOrigin_MAX = MESSAGE_ORIGIN_SYSTEM; +const int MessageOrigin_ARRAYSIZE = MessageOrigin_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor(); +inline const ::std::string& MessageOrigin_Name(MessageOrigin value) { + return ::google::protobuf::internal::NameOfEnum( + MessageOrigin_descriptor(), value); +} +inline bool MessageOrigin_Parse( + const ::std::string& name, MessageOrigin* value) { + return ::google::protobuf::internal::ParseNamedEnum( + MessageOrigin_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API MessageId : public ::google::protobuf::Message { + public: + MessageId(); + virtual ~MessageId(); + + MessageId(const MessageId& from); + + inline MessageId& operator=(const MessageId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MessageId& default_instance(); + + void Swap(MessageId* other); + + // implements Message ---------------------------------------------- + + MessageId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 epoch = 1; + inline bool has_epoch() const; + inline void clear_epoch(); + static const int kEpochFieldNumber = 1; + inline ::google::protobuf::uint64 epoch() const; + inline void set_epoch(::google::protobuf::uint64 value); + + // optional uint64 position = 2; + inline bool has_position() const; + inline void clear_position(); + static const int kPositionFieldNumber = 2; + inline ::google::protobuf::uint64 position() const; + inline void set_position(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.MessageId) + private: + inline void set_has_epoch(); + inline void clear_has_epoch(); + inline void set_has_position(); + inline void clear_has_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 epoch_; + ::google::protobuf::uint64 position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MessageId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// MessageId + +// optional uint64 epoch = 1; +inline bool MessageId::has_epoch() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MessageId::set_has_epoch() { + _has_bits_[0] |= 0x00000001u; +} +inline void MessageId::clear_has_epoch() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MessageId::clear_epoch() { + epoch_ = GOOGLE_ULONGLONG(0); + clear_has_epoch(); +} +inline ::google::protobuf::uint64 MessageId::epoch() const { + // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.epoch) + return epoch_; +} +inline void MessageId::set_epoch(::google::protobuf::uint64 value) { + set_has_epoch(); + epoch_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.epoch) +} + +// optional uint64 position = 2; +inline bool MessageId::has_position() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MessageId::set_has_position() { + _has_bits_[0] |= 0x00000002u; +} +inline void MessageId::clear_has_position() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MessageId::clear_position() { + position_ = GOOGLE_ULONGLONG(0); + clear_has_position(); +} +inline ::google::protobuf::uint64 MessageId::position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.position) + return position_; +} +inline void MessageId::set_position(::google::protobuf::uint64 value) { + set_has_position(); + position_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.position) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::TypingIndicator> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::TypingIndicator>() { + return ::bgs::protocol::TypingIndicator_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::MessageOrigin> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::MessageOrigin>() { + return ::bgs::protocol::MessageOrigin_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/voice_types.pb.cc b/src/server/proto/Client/api/common/v1/voice_types.pb.cc new file mode 100644 index 00000000000..509e2af8563 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/voice_types.pb.cc @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/voice_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/voice_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace voice { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* VoiceCredentials_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + VoiceCredentials_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/voice_types.proto"); + GOOGLE_CHECK(file != NULL); + VoiceCredentials_descriptor_ = file->message_type(0); + static const int VoiceCredentials_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, voice_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, token_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, join_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, mute_reason_), + }; + VoiceCredentials_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + VoiceCredentials_descriptor_, + VoiceCredentials::default_instance_, + VoiceCredentials_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(VoiceCredentials)); + VoiceJoinType_descriptor_ = file->enum_type(0); + VoiceMuteReason_descriptor_ = file->enum_type(1); + VoiceProviderVersion_descriptor_ = file->enum_type(2); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + VoiceCredentials_descriptor_, &VoiceCredentials::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + delete VoiceCredentials::default_instance_; + delete VoiceCredentials_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/common/v1/voice_types.proto\022\025bgs.p" + "rotocol.voice.v1\032\017rpc_types.proto\"\234\001\n\020Vo" + "iceCredentials\022\030\n\020voice_account_id\030\001 \001(\t" + "\022\r\n\005token\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022&\n\tjoin_typ" + "e\030\004 \001(\rB\023\202\371+\017*\rVoiceJoinType\022*\n\013mute_rea" + "son\030\005 \001(\rB\025\202\371+\021*\017VoiceMuteReason*<\n\rVoic" + "eJoinType\022\025\n\021VOICE_JOIN_NORMAL\020\000\022\024\n\020VOIC" + "E_JOIN_MUTED\020\001*\243\001\n\017VoiceMuteReason\022\032\n\026VO" + "ICE_MUTE_REASON_NONE\020\000\0222\n.VOICE_MUTE_REA" + "SON_PARENTAL_CONTROL_LISTEN_ONLY\020\001\022\037\n\033VO" + "ICE_MUTE_REASON_REQUESTED\020\002\022\037\n\033VOICE_MUT" + "E_REASON_SQUELCHED\020\003*D\n\024VoiceProviderVer" + "sion\022\025\n\021VOICE_PROVIDER_V4\020\000\022\025\n\021VOICE_PRO" + "VIDER_V5\020\001B\002H\002", 534); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/voice_types.proto", &protobuf_RegisterTypes); + VoiceCredentials::default_instance_ = new VoiceCredentials(); + VoiceCredentials::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceJoinType_descriptor_; +} +bool VoiceJoinType_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceMuteReason_descriptor_; +} +bool VoiceMuteReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceProviderVersion_descriptor_; +} +bool VoiceProviderVersion_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int VoiceCredentials::kVoiceAccountIdFieldNumber; +const int VoiceCredentials::kTokenFieldNumber; +const int VoiceCredentials::kUrlFieldNumber; +const int VoiceCredentials::kJoinTypeFieldNumber; +const int VoiceCredentials::kMuteReasonFieldNumber; +#endif // !_MSC_VER + +VoiceCredentials::VoiceCredentials() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.voice.v1.VoiceCredentials) +} + +void VoiceCredentials::InitAsDefaultInstance() { +} + +VoiceCredentials::VoiceCredentials(const VoiceCredentials& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.voice.v1.VoiceCredentials) +} + +void VoiceCredentials::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + join_type_ = 0u; + mute_reason_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +VoiceCredentials::~VoiceCredentials() { + // @@protoc_insertion_point(destructor:bgs.protocol.voice.v1.VoiceCredentials) + SharedDtor(); +} + +void VoiceCredentials::SharedDtor() { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_account_id_; + } + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete token_; + } + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (this != default_instance_) { + } +} + +void VoiceCredentials::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* VoiceCredentials::descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceCredentials_descriptor_; +} + +const VoiceCredentials& VoiceCredentials::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + return *default_instance_; +} + +VoiceCredentials* VoiceCredentials::default_instance_ = NULL; + +VoiceCredentials* VoiceCredentials::New() const { + return new VoiceCredentials; +} + +void VoiceCredentials::Swap(VoiceCredentials* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata VoiceCredentials::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = VoiceCredentials_descriptor_; + metadata.reflection = VoiceCredentials_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace voice +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/voice_types.pb.h b/src/server/proto/Client/api/common/v1/voice_types.pb.h new file mode 100644 index 00000000000..ef87c112627 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/voice_types.pb.h @@ -0,0 +1,539 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/voice_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace voice { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + +class VoiceCredentials; + +enum VoiceJoinType { + VOICE_JOIN_NORMAL = 0, + VOICE_JOIN_MUTED = 1 +}; +TC_PROTO_API bool VoiceJoinType_IsValid(int value); +const VoiceJoinType VoiceJoinType_MIN = VOICE_JOIN_NORMAL; +const VoiceJoinType VoiceJoinType_MAX = VOICE_JOIN_MUTED; +const int VoiceJoinType_ARRAYSIZE = VoiceJoinType_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor(); +inline const ::std::string& VoiceJoinType_Name(VoiceJoinType value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceJoinType_descriptor(), value); +} +inline bool VoiceJoinType_Parse( + const ::std::string& name, VoiceJoinType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceJoinType_descriptor(), name, value); +} +enum VoiceMuteReason { + VOICE_MUTE_REASON_NONE = 0, + VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY = 1, + VOICE_MUTE_REASON_REQUESTED = 2, + VOICE_MUTE_REASON_SQUELCHED = 3 +}; +TC_PROTO_API bool VoiceMuteReason_IsValid(int value); +const VoiceMuteReason VoiceMuteReason_MIN = VOICE_MUTE_REASON_NONE; +const VoiceMuteReason VoiceMuteReason_MAX = VOICE_MUTE_REASON_SQUELCHED; +const int VoiceMuteReason_ARRAYSIZE = VoiceMuteReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor(); +inline const ::std::string& VoiceMuteReason_Name(VoiceMuteReason value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceMuteReason_descriptor(), value); +} +inline bool VoiceMuteReason_Parse( + const ::std::string& name, VoiceMuteReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceMuteReason_descriptor(), name, value); +} +enum VoiceProviderVersion { + VOICE_PROVIDER_V4 = 0, + VOICE_PROVIDER_V5 = 1 +}; +TC_PROTO_API bool VoiceProviderVersion_IsValid(int value); +const VoiceProviderVersion VoiceProviderVersion_MIN = VOICE_PROVIDER_V4; +const VoiceProviderVersion VoiceProviderVersion_MAX = VOICE_PROVIDER_V5; +const int VoiceProviderVersion_ARRAYSIZE = VoiceProviderVersion_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor(); +inline const ::std::string& VoiceProviderVersion_Name(VoiceProviderVersion value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceProviderVersion_descriptor(), value); +} +inline bool VoiceProviderVersion_Parse( + const ::std::string& name, VoiceProviderVersion* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceProviderVersion_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API VoiceCredentials : public ::google::protobuf::Message { + public: + VoiceCredentials(); + virtual ~VoiceCredentials(); + + VoiceCredentials(const VoiceCredentials& from); + + inline VoiceCredentials& operator=(const VoiceCredentials& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const VoiceCredentials& default_instance(); + + void Swap(VoiceCredentials* other); + + // implements Message ---------------------------------------------- + + VoiceCredentials* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string voice_account_id = 1; + inline bool has_voice_account_id() const; + inline void clear_voice_account_id(); + static const int kVoiceAccountIdFieldNumber = 1; + inline const ::std::string& voice_account_id() const; + inline void set_voice_account_id(const ::std::string& value); + inline void set_voice_account_id(const char* value); + inline void set_voice_account_id(const char* value, size_t size); + inline ::std::string* mutable_voice_account_id(); + inline ::std::string* release_voice_account_id(); + inline void set_allocated_voice_account_id(::std::string* voice_account_id); + + // optional string token = 2; + inline bool has_token() const; + inline void clear_token(); + static const int kTokenFieldNumber = 2; + inline const ::std::string& token() const; + inline void set_token(const ::std::string& value); + inline void set_token(const char* value); + inline void set_token(const char* value, size_t size); + inline ::std::string* mutable_token(); + inline ::std::string* release_token(); + inline void set_allocated_token(::std::string* token); + + // optional string url = 3; + inline bool has_url() const; + inline void clear_url(); + static const int kUrlFieldNumber = 3; + inline const ::std::string& url() const; + inline void set_url(const ::std::string& value); + inline void set_url(const char* value); + inline void set_url(const char* value, size_t size); + inline ::std::string* mutable_url(); + inline ::std::string* release_url(); + inline void set_allocated_url(::std::string* url); + + // optional uint32 join_type = 4; + inline bool has_join_type() const; + inline void clear_join_type(); + static const int kJoinTypeFieldNumber = 4; + inline ::google::protobuf::uint32 join_type() const; + inline void set_join_type(::google::protobuf::uint32 value); + + // optional uint32 mute_reason = 5; + inline bool has_mute_reason() const; + inline void clear_mute_reason(); + static const int kMuteReasonFieldNumber = 5; + inline ::google::protobuf::uint32 mute_reason() const; + inline void set_mute_reason(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.voice.v1.VoiceCredentials) + private: + inline void set_has_voice_account_id(); + inline void clear_has_voice_account_id(); + inline void set_has_token(); + inline void clear_has_token(); + inline void set_has_url(); + inline void clear_has_url(); + inline void set_has_join_type(); + inline void clear_has_join_type(); + inline void set_has_mute_reason(); + inline void clear_has_mute_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* voice_account_id_; + ::std::string* token_; + ::std::string* url_; + ::google::protobuf::uint32 join_type_; + ::google::protobuf::uint32 mute_reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static VoiceCredentials* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// VoiceCredentials + +// optional string voice_account_id = 1; +inline bool VoiceCredentials::has_voice_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void VoiceCredentials::set_has_voice_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void VoiceCredentials::clear_has_voice_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void VoiceCredentials::clear_voice_account_id() { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_->clear(); + } + clear_has_voice_account_id(); +} +inline const ::std::string& VoiceCredentials::voice_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) + return *voice_account_id_; +} +inline void VoiceCredentials::set_voice_account_id(const ::std::string& value) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline void VoiceCredentials::set_voice_account_id(const char* value) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline void VoiceCredentials::set_voice_account_id(const char* value, size_t size) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline ::std::string* VoiceCredentials::mutable_voice_account_id() { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) + return voice_account_id_; +} +inline ::std::string* VoiceCredentials::release_voice_account_id() { + clear_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = voice_account_id_; + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_voice_account_id(::std::string* voice_account_id) { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_account_id_; + } + if (voice_account_id) { + set_has_voice_account_id(); + voice_account_id_ = voice_account_id; + } else { + clear_has_voice_account_id(); + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} + +// optional string token = 2; +inline bool VoiceCredentials::has_token() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void VoiceCredentials::set_has_token() { + _has_bits_[0] |= 0x00000002u; +} +inline void VoiceCredentials::clear_has_token() { + _has_bits_[0] &= ~0x00000002u; +} +inline void VoiceCredentials::clear_token() { + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_->clear(); + } + clear_has_token(); +} +inline const ::std::string& VoiceCredentials::token() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.token) + return *token_; +} +inline void VoiceCredentials::set_token(const ::std::string& value) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline void VoiceCredentials::set_token(const char* value) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline void VoiceCredentials::set_token(const char* value, size_t size) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline ::std::string* VoiceCredentials::mutable_token() { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.token) + return token_; +} +inline ::std::string* VoiceCredentials::release_token() { + clear_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = token_; + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_token(::std::string* token) { + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete token_; + } + if (token) { + set_has_token(); + token_ = token; + } else { + clear_has_token(); + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.token) +} + +// optional string url = 3; +inline bool VoiceCredentials::has_url() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void VoiceCredentials::set_has_url() { + _has_bits_[0] |= 0x00000004u; +} +inline void VoiceCredentials::clear_has_url() { + _has_bits_[0] &= ~0x00000004u; +} +inline void VoiceCredentials::clear_url() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_->clear(); + } + clear_has_url(); +} +inline const ::std::string& VoiceCredentials::url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.url) + return *url_; +} +inline void VoiceCredentials::set_url(const ::std::string& value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline void VoiceCredentials::set_url(const char* value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline void VoiceCredentials::set_url(const char* value, size_t size) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline ::std::string* VoiceCredentials::mutable_url() { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.url) + return url_; +} +inline ::std::string* VoiceCredentials::release_url() { + clear_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = url_; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_url(::std::string* url) { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (url) { + set_has_url(); + url_ = url; + } else { + clear_has_url(); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.url) +} + +// optional uint32 join_type = 4; +inline bool VoiceCredentials::has_join_type() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void VoiceCredentials::set_has_join_type() { + _has_bits_[0] |= 0x00000008u; +} +inline void VoiceCredentials::clear_has_join_type() { + _has_bits_[0] &= ~0x00000008u; +} +inline void VoiceCredentials::clear_join_type() { + join_type_ = 0u; + clear_has_join_type(); +} +inline ::google::protobuf::uint32 VoiceCredentials::join_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.join_type) + return join_type_; +} +inline void VoiceCredentials::set_join_type(::google::protobuf::uint32 value) { + set_has_join_type(); + join_type_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.join_type) +} + +// optional uint32 mute_reason = 5; +inline bool VoiceCredentials::has_mute_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void VoiceCredentials::set_has_mute_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void VoiceCredentials::clear_has_mute_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void VoiceCredentials::clear_mute_reason() { + mute_reason_ = 0u; + clear_has_mute_reason(); +} +inline ::google::protobuf::uint32 VoiceCredentials::mute_reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.mute_reason) + return mute_reason_; +} +inline void VoiceCredentials::set_mute_reason(::google::protobuf::uint32 value) { + set_has_mute_reason(); + mute_reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.mute_reason) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace voice +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceJoinType> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceJoinType>() { + return ::bgs::protocol::voice::v1::VoiceJoinType_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceMuteReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceMuteReason>() { + return ::bgs::protocol::voice::v1::VoiceMuteReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceProviderVersion> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceProviderVersion>() { + return ::bgs::protocol::voice::v1::VoiceProviderVersion_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/attribute_types.pb.cc b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc new file mode 100644 index 00000000000..0ae2579ea56 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc @@ -0,0 +1,482 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/attribute_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/attribute_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* Variant_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Variant_reflection_ = NULL; +struct VariantOneofInstance { + bool bool_value_; + ::google::protobuf::int64 int_value_; + double float_value_; + const ::std::string* string_value_; + const ::std::string* blob_value_; + ::google::protobuf::uint64 uint_value_; +}* Variant_default_oneof_instance_ = NULL; +const ::google::protobuf::Descriptor* Attribute_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Attribute_reflection_ = NULL; +const ::google::protobuf::Descriptor* AttributeFilter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AttributeFilter_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/attribute_types.proto"); + GOOGLE_CHECK(file != NULL); + Variant_descriptor_ = file->message_type(0); + static const int Variant_offsets_[7] = { + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, bool_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, int_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, float_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, string_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, blob_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, uint_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, type_), + }; + Variant_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Variant_descriptor_, + Variant::default_instance_, + Variant_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _unknown_fields_), + -1, + Variant_default_oneof_instance_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _oneof_case_[0]), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Variant)); + Attribute_descriptor_ = file->message_type(1); + static const int Attribute_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, value_), + }; + Attribute_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Attribute_descriptor_, + Attribute::default_instance_, + Attribute_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Attribute)); + AttributeFilter_descriptor_ = file->message_type(2); + static const int AttributeFilter_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, op_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, attribute_), + }; + AttributeFilter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AttributeFilter_descriptor_, + AttributeFilter::default_instance_, + AttributeFilter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AttributeFilter)); + AttributeFilter_Operation_descriptor_ = AttributeFilter_descriptor_->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Variant_descriptor_, &Variant::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Attribute_descriptor_, &Attribute::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AttributeFilter_descriptor_, &AttributeFilter::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + delete Variant::default_instance_; + delete Variant_default_oneof_instance_; + delete Variant_reflection_; + delete Attribute::default_instance_; + delete Attribute_reflection_; + delete AttributeFilter::default_instance_; + delete AttributeFilter_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/common/v2/attribute_types.proto\022\017b" + "gs.protocol.v2\"\227\001\n\007Variant\022\024\n\nbool_value" + "\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\025\n\013float_v" + "alue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000\022\024\n\n" + "blob_value\030\005 \001(\014H\000\022\024\n\nuint_value\030\006 \001(\004H\000" + "B\006\n\004type\"B\n\tAttribute\022\014\n\004name\030\001 \001(\t\022\'\n\005v" + "alue\030\002 \001(\0132\030.bgs.protocol.v2.Variant\"\320\001\n" + "\017AttributeFilter\0226\n\002op\030\001 \001(\0162*.bgs.proto" + "col.v2.AttributeFilter.Operation\022-\n\tattr" + "ibute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"" + "V\n\tOperation\022\016\n\nMATCH_NONE\020\000\022\r\n\tMATCH_AN" + "Y\020\001\022\r\n\tMATCH_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPE" + "CIFIC\020\003B\002H\002", 491); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/attribute_types.proto", &protobuf_RegisterTypes); + Variant::default_instance_ = new Variant(); + Variant_default_oneof_instance_ = new VariantOneofInstance; + Attribute::default_instance_ = new Attribute(); + AttributeFilter::default_instance_ = new AttributeFilter(); + Variant::default_instance_->InitAsDefaultInstance(); + Attribute::default_instance_->InitAsDefaultInstance(); + AttributeFilter::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Variant::kBoolValueFieldNumber; +const int Variant::kIntValueFieldNumber; +const int Variant::kFloatValueFieldNumber; +const int Variant::kStringValueFieldNumber; +const int Variant::kBlobValueFieldNumber; +const int Variant::kUintValueFieldNumber; +#endif // !_MSC_VER + +Variant::Variant() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.Variant) +} + +void Variant::InitAsDefaultInstance() { + Variant_default_oneof_instance_->bool_value_ = false; + Variant_default_oneof_instance_->int_value_ = GOOGLE_LONGLONG(0); + Variant_default_oneof_instance_->float_value_ = 0; + Variant_default_oneof_instance_->string_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); + Variant_default_oneof_instance_->blob_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); + Variant_default_oneof_instance_->uint_value_ = GOOGLE_ULONGLONG(0); +} + +Variant::Variant(const Variant& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Variant) +} + +void Variant::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + clear_has_type(); +} + +Variant::~Variant() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.Variant) + SharedDtor(); +} + +void Variant::SharedDtor() { + if (has_type()) { + clear_type(); + } + if (this != default_instance_) { + } +} + +void Variant::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Variant::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Variant_descriptor_; +} + +const Variant& Variant::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +Variant* Variant::default_instance_ = NULL; + +Variant* Variant::New() const { + return new Variant; +} + +void Variant::clear_type() { + switch(type_case()) { + case kBoolValue: { + // No need to clear + break; + } + case kIntValue: { + // No need to clear + break; + } + case kFloatValue: { + // No need to clear + break; + } + case kStringValue: { + delete type_.string_value_; + break; + } + case kBlobValue: { + delete type_.blob_value_; + break; + } + case kUintValue: { + // No need to clear + break; + } + case TYPE_NOT_SET: { + break; + } + } + _oneof_case_[0] = TYPE_NOT_SET; +} + +void Variant::Swap(Variant* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Variant::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Variant_descriptor_; + metadata.reflection = Variant_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Attribute::kNameFieldNumber; +const int Attribute::kValueFieldNumber; +#endif // !_MSC_VER + +Attribute::Attribute() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.Attribute) +} + +void Attribute::InitAsDefaultInstance() { + value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance()); +} + +Attribute::Attribute(const Attribute& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Attribute) +} + +void Attribute::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Attribute::~Attribute() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.Attribute) + SharedDtor(); +} + +void Attribute::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + delete value_; + } +} + +void Attribute::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Attribute::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Attribute_descriptor_; +} + +const Attribute& Attribute::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +Attribute* Attribute::default_instance_ = NULL; + +Attribute* Attribute::New() const { + return new Attribute; +} + +void Attribute::Swap(Attribute* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Attribute::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Attribute_descriptor_; + metadata.reflection = Attribute_reflection_; + return metadata; +} + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor() { + protobuf_AssignDescriptorsOnce(); + return AttributeFilter_Operation_descriptor_; +} +bool AttributeFilter_Operation_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const AttributeFilter_Operation AttributeFilter::MATCH_NONE; +const AttributeFilter_Operation AttributeFilter::MATCH_ANY; +const AttributeFilter_Operation AttributeFilter::MATCH_ALL; +const AttributeFilter_Operation AttributeFilter::MATCH_ALL_MOST_SPECIFIC; +const AttributeFilter_Operation AttributeFilter::Operation_MIN; +const AttributeFilter_Operation AttributeFilter::Operation_MAX; +const int AttributeFilter::Operation_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int AttributeFilter::kOpFieldNumber; +const int AttributeFilter::kAttributeFieldNumber; +#endif // !_MSC_VER + +AttributeFilter::AttributeFilter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.AttributeFilter) +} + +void AttributeFilter::InitAsDefaultInstance() { +} + +AttributeFilter::AttributeFilter(const AttributeFilter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.AttributeFilter) +} + +void AttributeFilter::SharedCtor() { + _cached_size_ = 0; + op_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AttributeFilter::~AttributeFilter() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.AttributeFilter) + SharedDtor(); +} + +void AttributeFilter::SharedDtor() { + if (this != default_instance_) { + } +} + +void AttributeFilter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AttributeFilter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AttributeFilter_descriptor_; +} + +const AttributeFilter& AttributeFilter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +AttributeFilter* AttributeFilter::default_instance_ = NULL; + +AttributeFilter* AttributeFilter::New() const { + return new AttributeFilter; +} + +void AttributeFilter::Swap(AttributeFilter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AttributeFilter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AttributeFilter_descriptor_; + metadata.reflection = AttributeFilter_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/attribute_types.pb.h b/src/server/proto/Client/api/common/v2/attribute_types.pb.h new file mode 100644 index 00000000000..e9fdd54a2b3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.h @@ -0,0 +1,857 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/attribute_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + +class Variant; +class Attribute; +class AttributeFilter; + +enum AttributeFilter_Operation { + AttributeFilter_Operation_MATCH_NONE = 0, + AttributeFilter_Operation_MATCH_ANY = 1, + AttributeFilter_Operation_MATCH_ALL = 2, + AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC = 3 +}; +TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value); +const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN = AttributeFilter_Operation_MATCH_NONE; +const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; +const int AttributeFilter_Operation_Operation_ARRAYSIZE = AttributeFilter_Operation_Operation_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor(); +inline const ::std::string& AttributeFilter_Operation_Name(AttributeFilter_Operation value) { + return ::google::protobuf::internal::NameOfEnum( + AttributeFilter_Operation_descriptor(), value); +} +inline bool AttributeFilter_Operation_Parse( + const ::std::string& name, AttributeFilter_Operation* value) { + return ::google::protobuf::internal::ParseNamedEnum( + AttributeFilter_Operation_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Variant : public ::google::protobuf::Message { + public: + Variant(); + virtual ~Variant(); + + Variant(const Variant& from); + + inline Variant& operator=(const Variant& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Variant& default_instance(); + + enum TypeCase { + kBoolValue = 1, + kIntValue = 2, + kFloatValue = 3, + kStringValue = 4, + kBlobValue = 5, + kUintValue = 6, + TYPE_NOT_SET = 0, + }; + + void Swap(Variant* other); + + // implements Message ---------------------------------------------- + + Variant* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool bool_value = 1; + inline bool has_bool_value() const; + inline void clear_bool_value(); + static const int kBoolValueFieldNumber = 1; + inline bool bool_value() const; + inline void set_bool_value(bool value); + + // optional int64 int_value = 2; + inline bool has_int_value() const; + inline void clear_int_value(); + static const int kIntValueFieldNumber = 2; + inline ::google::protobuf::int64 int_value() const; + inline void set_int_value(::google::protobuf::int64 value); + + // optional double float_value = 3; + inline bool has_float_value() const; + inline void clear_float_value(); + static const int kFloatValueFieldNumber = 3; + inline double float_value() const; + inline void set_float_value(double value); + + // optional string string_value = 4; + inline bool has_string_value() const; + inline void clear_string_value(); + static const int kStringValueFieldNumber = 4; + inline const ::std::string& string_value() const; + inline void set_string_value(const ::std::string& value); + inline void set_string_value(const char* value); + inline void set_string_value(const char* value, size_t size); + inline ::std::string* mutable_string_value(); + inline ::std::string* release_string_value(); + inline void set_allocated_string_value(::std::string* string_value); + + // optional bytes blob_value = 5; + inline bool has_blob_value() const; + inline void clear_blob_value(); + static const int kBlobValueFieldNumber = 5; + inline const ::std::string& blob_value() const; + inline void set_blob_value(const ::std::string& value); + inline void set_blob_value(const char* value); + inline void set_blob_value(const void* value, size_t size); + inline ::std::string* mutable_blob_value(); + inline ::std::string* release_blob_value(); + inline void set_allocated_blob_value(::std::string* blob_value); + + // optional uint64 uint_value = 6; + inline bool has_uint_value() const; + inline void clear_uint_value(); + static const int kUintValueFieldNumber = 6; + inline ::google::protobuf::uint64 uint_value() const; + inline void set_uint_value(::google::protobuf::uint64 value); + + inline TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Variant) + private: + inline void set_has_bool_value(); + inline void set_has_int_value(); + inline void set_has_float_value(); + inline void set_has_string_value(); + inline void set_has_blob_value(); + inline void set_has_uint_value(); + + inline bool has_type(); + void clear_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + union TypeUnion { + bool bool_value_; + ::google::protobuf::int64 int_value_; + double float_value_; + ::std::string* string_value_; + ::std::string* blob_value_; + ::google::protobuf::uint64 uint_value_; + } type_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Variant* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Attribute : public ::google::protobuf::Message { + public: + Attribute(); + virtual ~Attribute(); + + Attribute(const Attribute& from); + + inline Attribute& operator=(const Attribute& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Attribute& default_instance(); + + void Swap(Attribute* other); + + // implements Message ---------------------------------------------- + + Attribute* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional .bgs.protocol.v2.Variant value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline const ::bgs::protocol::v2::Variant& value() const; + inline ::bgs::protocol::v2::Variant* mutable_value(); + inline ::bgs::protocol::v2::Variant* release_value(); + inline void set_allocated_value(::bgs::protocol::v2::Variant* value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Attribute) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_value(); + inline void clear_has_value(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + ::bgs::protocol::v2::Variant* value_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Attribute* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AttributeFilter : public ::google::protobuf::Message { + public: + AttributeFilter(); + virtual ~AttributeFilter(); + + AttributeFilter(const AttributeFilter& from); + + inline AttributeFilter& operator=(const AttributeFilter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AttributeFilter& default_instance(); + + void Swap(AttributeFilter* other); + + // implements Message ---------------------------------------------- + + AttributeFilter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + typedef AttributeFilter_Operation Operation; + static const Operation MATCH_NONE = AttributeFilter_Operation_MATCH_NONE; + static const Operation MATCH_ANY = AttributeFilter_Operation_MATCH_ANY; + static const Operation MATCH_ALL = AttributeFilter_Operation_MATCH_ALL; + static const Operation MATCH_ALL_MOST_SPECIFIC = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; + static inline bool Operation_IsValid(int value) { + return AttributeFilter_Operation_IsValid(value); + } + static const Operation Operation_MIN = + AttributeFilter_Operation_Operation_MIN; + static const Operation Operation_MAX = + AttributeFilter_Operation_Operation_MAX; + static const int Operation_ARRAYSIZE = + AttributeFilter_Operation_Operation_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + Operation_descriptor() { + return AttributeFilter_Operation_descriptor(); + } + static inline const ::std::string& Operation_Name(Operation value) { + return AttributeFilter_Operation_Name(value); + } + static inline bool Operation_Parse(const ::std::string& name, + Operation* value) { + return AttributeFilter_Operation_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; + inline bool has_op() const; + inline void clear_op(); + static const int kOpFieldNumber = 1; + inline ::bgs::protocol::v2::AttributeFilter_Operation op() const; + inline void set_op(::bgs::protocol::v2::AttributeFilter_Operation value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.AttributeFilter) + private: + inline void set_has_op(); + inline void clear_has_op(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int op_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static AttributeFilter* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Variant + +// optional bool bool_value = 1; +inline bool Variant::has_bool_value() const { + return type_case() == kBoolValue; +} +inline void Variant::set_has_bool_value() { + _oneof_case_[0] = kBoolValue; +} +inline void Variant::clear_bool_value() { + if (has_bool_value()) { + type_.bool_value_ = false; + clear_has_type(); + } +} +inline bool Variant::bool_value() const { + if (has_bool_value()) { + return type_.bool_value_; + } + return false; +} +inline void Variant::set_bool_value(bool value) { + if (!has_bool_value()) { + clear_type(); + set_has_bool_value(); + } + type_.bool_value_ = value; +} + +// optional int64 int_value = 2; +inline bool Variant::has_int_value() const { + return type_case() == kIntValue; +} +inline void Variant::set_has_int_value() { + _oneof_case_[0] = kIntValue; +} +inline void Variant::clear_int_value() { + if (has_int_value()) { + type_.int_value_ = GOOGLE_LONGLONG(0); + clear_has_type(); + } +} +inline ::google::protobuf::int64 Variant::int_value() const { + if (has_int_value()) { + return type_.int_value_; + } + return GOOGLE_LONGLONG(0); +} +inline void Variant::set_int_value(::google::protobuf::int64 value) { + if (!has_int_value()) { + clear_type(); + set_has_int_value(); + } + type_.int_value_ = value; +} + +// optional double float_value = 3; +inline bool Variant::has_float_value() const { + return type_case() == kFloatValue; +} +inline void Variant::set_has_float_value() { + _oneof_case_[0] = kFloatValue; +} +inline void Variant::clear_float_value() { + if (has_float_value()) { + type_.float_value_ = 0; + clear_has_type(); + } +} +inline double Variant::float_value() const { + if (has_float_value()) { + return type_.float_value_; + } + return 0; +} +inline void Variant::set_float_value(double value) { + if (!has_float_value()) { + clear_type(); + set_has_float_value(); + } + type_.float_value_ = value; +} + +// optional string string_value = 4; +inline bool Variant::has_string_value() const { + return type_case() == kStringValue; +} +inline void Variant::set_has_string_value() { + _oneof_case_[0] = kStringValue; +} +inline void Variant::clear_string_value() { + if (has_string_value()) { + delete type_.string_value_; + clear_has_type(); + } +} +inline const ::std::string& Variant::string_value() const { + if (has_string_value()) { + return *type_.string_value_; + } + return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void Variant::set_string_value(const ::std::string& value) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign(value); +} +inline void Variant::set_string_value(const char* value) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign(value); +} +inline void Variant::set_string_value(const char* value, size_t size) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign( + reinterpret_cast(value), size); +} +inline ::std::string* Variant::mutable_string_value() { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + return type_.string_value_; +} +inline ::std::string* Variant::release_string_value() { + if (has_string_value()) { + clear_has_type(); + ::std::string* temp = type_.string_value_; + type_.string_value_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Variant::set_allocated_string_value(::std::string* string_value) { + clear_type(); + if (string_value) { + set_has_string_value(); + type_.string_value_ = string_value; + } +} + +// optional bytes blob_value = 5; +inline bool Variant::has_blob_value() const { + return type_case() == kBlobValue; +} +inline void Variant::set_has_blob_value() { + _oneof_case_[0] = kBlobValue; +} +inline void Variant::clear_blob_value() { + if (has_blob_value()) { + delete type_.blob_value_; + clear_has_type(); + } +} +inline const ::std::string& Variant::blob_value() const { + if (has_blob_value()) { + return *type_.blob_value_; + } + return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void Variant::set_blob_value(const ::std::string& value) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign(value); +} +inline void Variant::set_blob_value(const char* value) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign(value); +} +inline void Variant::set_blob_value(const void* value, size_t size) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign( + reinterpret_cast(value), size); +} +inline ::std::string* Variant::mutable_blob_value() { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + return type_.blob_value_; +} +inline ::std::string* Variant::release_blob_value() { + if (has_blob_value()) { + clear_has_type(); + ::std::string* temp = type_.blob_value_; + type_.blob_value_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Variant::set_allocated_blob_value(::std::string* blob_value) { + clear_type(); + if (blob_value) { + set_has_blob_value(); + type_.blob_value_ = blob_value; + } +} + +// optional uint64 uint_value = 6; +inline bool Variant::has_uint_value() const { + return type_case() == kUintValue; +} +inline void Variant::set_has_uint_value() { + _oneof_case_[0] = kUintValue; +} +inline void Variant::clear_uint_value() { + if (has_uint_value()) { + type_.uint_value_ = GOOGLE_ULONGLONG(0); + clear_has_type(); + } +} +inline ::google::protobuf::uint64 Variant::uint_value() const { + if (has_uint_value()) { + return type_.uint_value_; + } + return GOOGLE_ULONGLONG(0); +} +inline void Variant::set_uint_value(::google::protobuf::uint64 value) { + if (!has_uint_value()) { + clear_type(); + set_has_uint_value(); + } + type_.uint_value_ = value; +} + +inline bool Variant::has_type() { + return type_case() != TYPE_NOT_SET; +} +inline void Variant::clear_has_type() { + _oneof_case_[0] = TYPE_NOT_SET; +} +inline Variant::TypeCase Variant::type_case() const { + return Variant::TypeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// Attribute + +// optional string name = 1; +inline bool Attribute::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Attribute::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void Attribute::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Attribute::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Attribute::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.name) + return *name_; +} +inline void Attribute::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.v2.Attribute.name) +} +inline void Attribute::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.v2.Attribute.name) +} +inline void Attribute::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.v2.Attribute.name) +} +inline ::std::string* Attribute::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.name) + return name_; +} +inline ::std::string* Attribute::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Attribute::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.name) +} + +// optional .bgs.protocol.v2.Variant value = 2; +inline bool Attribute::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Attribute::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Attribute::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Attribute::clear_value() { + if (value_ != NULL) value_->::bgs::protocol::v2::Variant::Clear(); + clear_has_value(); +} +inline const ::bgs::protocol::v2::Variant& Attribute::value() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.value) + return value_ != NULL ? *value_ : *default_instance_->value_; +} +inline ::bgs::protocol::v2::Variant* Attribute::mutable_value() { + set_has_value(); + if (value_ == NULL) value_ = new ::bgs::protocol::v2::Variant; + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.value) + return value_; +} +inline ::bgs::protocol::v2::Variant* Attribute::release_value() { + clear_has_value(); + ::bgs::protocol::v2::Variant* temp = value_; + value_ = NULL; + return temp; +} +inline void Attribute::set_allocated_value(::bgs::protocol::v2::Variant* value) { + delete value_; + value_ = value; + if (value) { + set_has_value(); + } else { + clear_has_value(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.value) +} + +// ------------------------------------------------------------------- + +// AttributeFilter + +// optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; +inline bool AttributeFilter::has_op() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AttributeFilter::set_has_op() { + _has_bits_[0] |= 0x00000001u; +} +inline void AttributeFilter::clear_has_op() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AttributeFilter::clear_op() { + op_ = 0; + clear_has_op(); +} +inline ::bgs::protocol::v2::AttributeFilter_Operation AttributeFilter::op() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.op) + return static_cast< ::bgs::protocol::v2::AttributeFilter_Operation >(op_); +} +inline void AttributeFilter::set_op(::bgs::protocol::v2::AttributeFilter_Operation value) { + assert(::bgs::protocol::v2::AttributeFilter_Operation_IsValid(value)); + set_has_op(); + op_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.v2.AttributeFilter.op) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int AttributeFilter::attribute_size() const { + return attribute_.size(); +} +inline void AttributeFilter::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& AttributeFilter::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* AttributeFilter::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* AttributeFilter::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +AttributeFilter::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +AttributeFilter::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.v2.AttributeFilter.attribute) + return &attribute_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::v2::AttributeFilter_Operation> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation>() { + return ::bgs::protocol::v2::AttributeFilter_Operation_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc b/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc new file mode 100644 index 00000000000..34b539bc71d --- /dev/null +++ b/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc @@ -0,0 +1,187 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/game_account_handle.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/game_account_handle.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace account { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* GameAccountHandle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GameAccountHandle_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/game_account_handle.proto"); + GOOGLE_CHECK(file != NULL); + GameAccountHandle_descriptor_ = file->message_type(0); + static const int GameAccountHandle_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, title_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, region_), + }; + GameAccountHandle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GameAccountHandle_descriptor_, + GameAccountHandle::default_instance_, + GameAccountHandle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GameAccountHandle)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GameAccountHandle_descriptor_, &GameAccountHandle::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + delete GameAccountHandle::default_instance_; + delete GameAccountHandle_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/common/v2/game_account_handle.prot" + "o\022\027bgs.protocol.account.v2\032\017rpc_types.pr" + "oto\"l\n\021GameAccountHandle\022\024\n\002id\030\001 \001(\004B\010\212\371" + "+\004\022\002\020\000\022\032\n\010title_id\030\002 \001(\rB\010\212\371+\004\022\002\020\000\022\035\n\006re" + "gion\030\003 \001(\rB\r\212\371+\t\022\007\n\005\010\001\020\377\001:\006\202\371+\002\010\001B\002H\002", 197); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/game_account_handle.proto", &protobuf_RegisterTypes); + GameAccountHandle::default_instance_ = new GameAccountHandle(); + GameAccountHandle::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int GameAccountHandle::kIdFieldNumber; +const int GameAccountHandle::kTitleIdFieldNumber; +const int GameAccountHandle::kRegionFieldNumber; +#endif // !_MSC_VER + +GameAccountHandle::GameAccountHandle() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.account.v2.GameAccountHandle) +} + +void GameAccountHandle::InitAsDefaultInstance() { +} + +GameAccountHandle::GameAccountHandle(const GameAccountHandle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v2.GameAccountHandle) +} + +void GameAccountHandle::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + title_id_ = 0u; + region_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GameAccountHandle::~GameAccountHandle() { + // @@protoc_insertion_point(destructor:bgs.protocol.account.v2.GameAccountHandle) + SharedDtor(); +} + +void GameAccountHandle::SharedDtor() { + if (this != default_instance_) { + } +} + +void GameAccountHandle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GameAccountHandle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GameAccountHandle_descriptor_; +} + +const GameAccountHandle& GameAccountHandle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + return *default_instance_; +} + +GameAccountHandle* GameAccountHandle::default_instance_ = NULL; + +GameAccountHandle* GameAccountHandle::New() const { + return new GameAccountHandle; +} + +void GameAccountHandle::Swap(GameAccountHandle* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GameAccountHandle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GameAccountHandle_descriptor_; + metadata.reflection = GameAccountHandle_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace account +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/game_account_handle.pb.h b/src/server/proto/Client/api/common/v2/game_account_handle.pb.h new file mode 100644 index 00000000000..f43900b5947 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/game_account_handle.pb.h @@ -0,0 +1,225 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/game_account_handle.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace account { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + +class GameAccountHandle; + +// =================================================================== + +class TC_PROTO_API GameAccountHandle : public ::google::protobuf::Message { + public: + GameAccountHandle(); + virtual ~GameAccountHandle(); + + GameAccountHandle(const GameAccountHandle& from); + + inline GameAccountHandle& operator=(const GameAccountHandle& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GameAccountHandle& default_instance(); + + void Swap(GameAccountHandle* other); + + // implements Message ---------------------------------------------- + + GameAccountHandle* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional uint32 title_id = 2; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 2; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional uint32 region = 3; + inline bool has_region() const; + inline void clear_region(); + static const int kRegionFieldNumber = 3; + inline ::google::protobuf::uint32 region() const; + inline void set_region(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.account.v2.GameAccountHandle) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_title_id(); + inline void clear_has_title_id(); + inline void set_has_region(); + inline void clear_has_region(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::google::protobuf::uint32 title_id_; + ::google::protobuf::uint32 region_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + + void InitAsDefaultInstance(); + static GameAccountHandle* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// GameAccountHandle + +// optional uint64 id = 1; +inline bool GameAccountHandle::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GameAccountHandle::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GameAccountHandle::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GameAccountHandle::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 GameAccountHandle::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.id) + return id_; +} +inline void GameAccountHandle::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.id) +} + +// optional uint32 title_id = 2; +inline bool GameAccountHandle::has_title_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GameAccountHandle::set_has_title_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GameAccountHandle::clear_has_title_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GameAccountHandle::clear_title_id() { + title_id_ = 0u; + clear_has_title_id(); +} +inline ::google::protobuf::uint32 GameAccountHandle::title_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.title_id) + return title_id_; +} +inline void GameAccountHandle::set_title_id(::google::protobuf::uint32 value) { + set_has_title_id(); + title_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.title_id) +} + +// optional uint32 region = 3; +inline bool GameAccountHandle::has_region() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GameAccountHandle::set_has_region() { + _has_bits_[0] |= 0x00000004u; +} +inline void GameAccountHandle::clear_has_region() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GameAccountHandle::clear_region() { + region_ = 0u; + clear_has_region(); +} +inline ::google::protobuf::uint32 GameAccountHandle::region() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.region) + return region_; +} +inline void GameAccountHandle::set_region(::google::protobuf::uint32 value) { + set_has_region(); + region_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.region) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace account +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/whisper_types.pb.cc b/src/server/proto/Client/api/common/v2/whisper_types.pb.cc new file mode 100644 index 00000000000..e94531a0ce3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/whisper_types.pb.cc @@ -0,0 +1,421 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/whisper_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/whisper_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* Whisper_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Whisper_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperView_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperOptions_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/whisper_types.proto"); + GOOGLE_CHECK(file != NULL); + Whisper_descriptor_ = file->message_type(0); + static const int Whisper_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, whisper_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, sender_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, receiver_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, title_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, embeds_), + }; + Whisper_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Whisper_descriptor_, + Whisper::default_instance_, + Whisper_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Whisper)); + WhisperView_descriptor_ = file->message_type(1); + static const int WhisperView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, view_marker_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, target_battle_tag_), + }; + WhisperView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperView_descriptor_, + WhisperView::default_instance_, + WhisperView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperView)); + SendWhisperOptions_descriptor_ = file->message_type(2); + static const int SendWhisperOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, content_), + }; + SendWhisperOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperOptions_descriptor_, + SendWhisperOptions::default_instance_, + SendWhisperOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperOptions)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Whisper_descriptor_, &Whisper::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperView_descriptor_, &WhisperView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperOptions_descriptor_, &SendWhisperOptions::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + delete Whisper::default_instance_; + delete Whisper_reflection_; + delete WhisperView::default_instance_; + delete WhisperView_reflection_; + delete SendWhisperOptions::default_instance_; + delete SendWhisperOptions_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/common/v2/whisper_types.proto\022\027bgs" + ".protocol.whisper.v2\032\037api/common/v1/embe" + "d_types.proto\032$api/common/v1/event_view_" + "types.proto\032!api/common/v1/message_types" + ".proto\032\017rpc_types.proto\"\272\001\n\007Whisper\022+\n\nw" + "hisper_id\030\001 \001(\0132\027.bgs.protocol.MessageId" + "\022\031\n\021sender_account_id\030\002 \001(\004\022\033\n\023receiver_" + "account_id\030\003 \001(\004\022\020\n\010title_id\030\004 \001(\r\022\017\n\007co" + "ntent\030\005 \001(\t\022\'\n\006embeds\030\006 \003(\0132\027.bgs.protoc" + "ol.EmbedInfo\"z\n\013WhisperView\022\031\n\021target_ac" + "count_id\030\001 \001(\004\022-\n\013view_marker\030\002 \001(\0132\030.bg" + "s.protocol.ViewMarker\022!\n\021target_battle_t" + "ag\030\003 \001(\tB\006\202\371+\002\010\001\"%\n\022SendWhisperOptions\022\017" + "\n\007content\030\001 \001(\tB\002H\002", 539); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/whisper_types.proto", &protobuf_RegisterTypes); + Whisper::default_instance_ = new Whisper(); + WhisperView::default_instance_ = new WhisperView(); + SendWhisperOptions::default_instance_ = new SendWhisperOptions(); + Whisper::default_instance_->InitAsDefaultInstance(); + WhisperView::default_instance_->InitAsDefaultInstance(); + SendWhisperOptions::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Whisper::kWhisperIdFieldNumber; +const int Whisper::kSenderAccountIdFieldNumber; +const int Whisper::kReceiverAccountIdFieldNumber; +const int Whisper::kTitleIdFieldNumber; +const int Whisper::kContentFieldNumber; +const int Whisper::kEmbedsFieldNumber; +#endif // !_MSC_VER + +Whisper::Whisper() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.Whisper) +} + +void Whisper::InitAsDefaultInstance() { + whisper_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +Whisper::Whisper(const Whisper& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.Whisper) +} + +void Whisper::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + whisper_id_ = NULL; + sender_account_id_ = GOOGLE_ULONGLONG(0); + receiver_account_id_ = GOOGLE_ULONGLONG(0); + title_id_ = 0u; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Whisper::~Whisper() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.Whisper) + SharedDtor(); +} + +void Whisper::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete whisper_id_; + } +} + +void Whisper::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Whisper::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Whisper_descriptor_; +} + +const Whisper& Whisper::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +Whisper* Whisper::default_instance_ = NULL; + +Whisper* Whisper::New() const { + return new Whisper; +} + +void Whisper::Swap(Whisper* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Whisper::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Whisper_descriptor_; + metadata.reflection = Whisper_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperView::kTargetAccountIdFieldNumber; +const int WhisperView::kViewMarkerFieldNumber; +const int WhisperView::kTargetBattleTagFieldNumber; +#endif // !_MSC_VER + +WhisperView::WhisperView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.WhisperView) +} + +void WhisperView::InitAsDefaultInstance() { + view_marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +WhisperView::WhisperView(const WhisperView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.WhisperView) +} + +void WhisperView::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + view_marker_ = NULL; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperView::~WhisperView() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.WhisperView) + SharedDtor(); +} + +void WhisperView::SharedDtor() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (this != default_instance_) { + delete view_marker_; + } +} + +void WhisperView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperView_descriptor_; +} + +const WhisperView& WhisperView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +WhisperView* WhisperView::default_instance_ = NULL; + +WhisperView* WhisperView::New() const { + return new WhisperView; +} + +void WhisperView::Swap(WhisperView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperView_descriptor_; + metadata.reflection = WhisperView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperOptions::kContentFieldNumber; +#endif // !_MSC_VER + +SendWhisperOptions::SendWhisperOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.SendWhisperOptions) +} + +void SendWhisperOptions::InitAsDefaultInstance() { +} + +SendWhisperOptions::SendWhisperOptions(const SendWhisperOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.SendWhisperOptions) +} + +void SendWhisperOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperOptions::~SendWhisperOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.SendWhisperOptions) + SharedDtor(); +} + +void SendWhisperOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void SendWhisperOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperOptions_descriptor_; +} + +const SendWhisperOptions& SendWhisperOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +SendWhisperOptions* SendWhisperOptions::default_instance_ = NULL; + +SendWhisperOptions* SendWhisperOptions::New() const { + return new SendWhisperOptions; +} + +void SendWhisperOptions::Swap(SendWhisperOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperOptions_descriptor_; + metadata.reflection = SendWhisperOptions_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/whisper_types.pb.h b/src/server/proto/Client/api/common/v2/whisper_types.pb.h new file mode 100644 index 00000000000..811cde0dbd3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/whisper_types.pb.h @@ -0,0 +1,806 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/whisper_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/embed_types.pb.h" +#include "api/common/v1/event_view_types.pb.h" +#include "api/common/v1/message_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + +class Whisper; +class WhisperView; +class SendWhisperOptions; + +// =================================================================== + +class TC_PROTO_API Whisper : public ::google::protobuf::Message { + public: + Whisper(); + virtual ~Whisper(); + + Whisper(const Whisper& from); + + inline Whisper& operator=(const Whisper& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Whisper& default_instance(); + + void Swap(Whisper* other); + + // implements Message ---------------------------------------------- + + Whisper* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.MessageId whisper_id = 1; + inline bool has_whisper_id() const; + inline void clear_whisper_id(); + static const int kWhisperIdFieldNumber = 1; + inline const ::bgs::protocol::MessageId& whisper_id() const; + inline ::bgs::protocol::MessageId* mutable_whisper_id(); + inline ::bgs::protocol::MessageId* release_whisper_id(); + inline void set_allocated_whisper_id(::bgs::protocol::MessageId* whisper_id); + + // optional uint64 sender_account_id = 2; + inline bool has_sender_account_id() const; + inline void clear_sender_account_id(); + static const int kSenderAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 sender_account_id() const; + inline void set_sender_account_id(::google::protobuf::uint64 value); + + // optional uint64 receiver_account_id = 3; + inline bool has_receiver_account_id() const; + inline void clear_receiver_account_id(); + static const int kReceiverAccountIdFieldNumber = 3; + inline ::google::protobuf::uint64 receiver_account_id() const; + inline void set_receiver_account_id(::google::protobuf::uint64 value); + + // optional uint32 title_id = 4; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 4; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional string content = 5; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 5; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // repeated .bgs.protocol.EmbedInfo embeds = 6; + inline int embeds_size() const; + inline void clear_embeds(); + static const int kEmbedsFieldNumber = 6; + inline const ::bgs::protocol::EmbedInfo& embeds(int index) const; + inline ::bgs::protocol::EmbedInfo* mutable_embeds(int index); + inline ::bgs::protocol::EmbedInfo* add_embeds(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& + embeds() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* + mutable_embeds(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.Whisper) + private: + inline void set_has_whisper_id(); + inline void clear_has_whisper_id(); + inline void set_has_sender_account_id(); + inline void clear_has_sender_account_id(); + inline void set_has_receiver_account_id(); + inline void clear_has_receiver_account_id(); + inline void set_has_title_id(); + inline void clear_has_title_id(); + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::MessageId* whisper_id_; + ::google::protobuf::uint64 sender_account_id_; + ::google::protobuf::uint64 receiver_account_id_; + ::std::string* content_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embeds_; + ::google::protobuf::uint32 title_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Whisper* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperView : public ::google::protobuf::Message { + public: + WhisperView(); + virtual ~WhisperView(); + + WhisperView(const WhisperView& from); + + inline WhisperView& operator=(const WhisperView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperView& default_instance(); + + void Swap(WhisperView* other); + + // implements Message ---------------------------------------------- + + WhisperView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker view_marker = 2; + inline bool has_view_marker() const; + inline void clear_view_marker(); + static const int kViewMarkerFieldNumber = 2; + inline const ::bgs::protocol::ViewMarker& view_marker() const; + inline ::bgs::protocol::ViewMarker* mutable_view_marker(); + inline ::bgs::protocol::ViewMarker* release_view_marker(); + inline void set_allocated_view_marker(::bgs::protocol::ViewMarker* view_marker); + + // optional string target_battle_tag = 3; + inline bool has_target_battle_tag() const; + inline void clear_target_battle_tag(); + static const int kTargetBattleTagFieldNumber = 3; + inline const ::std::string& target_battle_tag() const; + inline void set_target_battle_tag(const ::std::string& value); + inline void set_target_battle_tag(const char* value); + inline void set_target_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_target_battle_tag(); + inline ::std::string* release_target_battle_tag(); + inline void set_allocated_target_battle_tag(::std::string* target_battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.WhisperView) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_view_marker(); + inline void clear_has_view_marker(); + inline void set_has_target_battle_tag(); + inline void clear_has_target_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::ViewMarker* view_marker_; + ::std::string* target_battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static WhisperView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperOptions : public ::google::protobuf::Message { + public: + SendWhisperOptions(); + virtual ~SendWhisperOptions(); + + SendWhisperOptions(const SendWhisperOptions& from); + + inline SendWhisperOptions& operator=(const SendWhisperOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperOptions& default_instance(); + + void Swap(SendWhisperOptions* other); + + // implements Message ---------------------------------------------- + + SendWhisperOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.SendWhisperOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperOptions* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Whisper + +// optional .bgs.protocol.MessageId whisper_id = 1; +inline bool Whisper::has_whisper_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Whisper::set_has_whisper_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Whisper::clear_has_whisper_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Whisper::clear_whisper_id() { + if (whisper_id_ != NULL) whisper_id_->::bgs::protocol::MessageId::Clear(); + clear_has_whisper_id(); +} +inline const ::bgs::protocol::MessageId& Whisper::whisper_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.whisper_id) + return whisper_id_ != NULL ? *whisper_id_ : *default_instance_->whisper_id_; +} +inline ::bgs::protocol::MessageId* Whisper::mutable_whisper_id() { + set_has_whisper_id(); + if (whisper_id_ == NULL) whisper_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.whisper_id) + return whisper_id_; +} +inline ::bgs::protocol::MessageId* Whisper::release_whisper_id() { + clear_has_whisper_id(); + ::bgs::protocol::MessageId* temp = whisper_id_; + whisper_id_ = NULL; + return temp; +} +inline void Whisper::set_allocated_whisper_id(::bgs::protocol::MessageId* whisper_id) { + delete whisper_id_; + whisper_id_ = whisper_id; + if (whisper_id) { + set_has_whisper_id(); + } else { + clear_has_whisper_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.Whisper.whisper_id) +} + +// optional uint64 sender_account_id = 2; +inline bool Whisper::has_sender_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Whisper::set_has_sender_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void Whisper::clear_has_sender_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Whisper::clear_sender_account_id() { + sender_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_sender_account_id(); +} +inline ::google::protobuf::uint64 Whisper::sender_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.sender_account_id) + return sender_account_id_; +} +inline void Whisper::set_sender_account_id(::google::protobuf::uint64 value) { + set_has_sender_account_id(); + sender_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.sender_account_id) +} + +// optional uint64 receiver_account_id = 3; +inline bool Whisper::has_receiver_account_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Whisper::set_has_receiver_account_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void Whisper::clear_has_receiver_account_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Whisper::clear_receiver_account_id() { + receiver_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_receiver_account_id(); +} +inline ::google::protobuf::uint64 Whisper::receiver_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.receiver_account_id) + return receiver_account_id_; +} +inline void Whisper::set_receiver_account_id(::google::protobuf::uint64 value) { + set_has_receiver_account_id(); + receiver_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.receiver_account_id) +} + +// optional uint32 title_id = 4; +inline bool Whisper::has_title_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Whisper::set_has_title_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void Whisper::clear_has_title_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Whisper::clear_title_id() { + title_id_ = 0u; + clear_has_title_id(); +} +inline ::google::protobuf::uint32 Whisper::title_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.title_id) + return title_id_; +} +inline void Whisper::set_title_id(::google::protobuf::uint32 value) { + set_has_title_id(); + title_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.title_id) +} + +// optional string content = 5; +inline bool Whisper::has_content() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Whisper::set_has_content() { + _has_bits_[0] |= 0x00000010u; +} +inline void Whisper::clear_has_content() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Whisper::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& Whisper::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.content) + return *content_; +} +inline void Whisper::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.content) +} +inline void Whisper::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.Whisper.content) +} +inline void Whisper::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.Whisper.content) +} +inline ::std::string* Whisper::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.content) + return content_; +} +inline ::std::string* Whisper::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Whisper::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.Whisper.content) +} + +// repeated .bgs.protocol.EmbedInfo embeds = 6; +inline int Whisper::embeds_size() const { + return embeds_.size(); +} +inline void Whisper::clear_embeds() { + embeds_.Clear(); +} +inline const ::bgs::protocol::EmbedInfo& Whisper::embeds(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Get(index); +} +inline ::bgs::protocol::EmbedInfo* Whisper::mutable_embeds(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Mutable(index); +} +inline ::bgs::protocol::EmbedInfo* Whisper::add_embeds() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& +Whisper::embeds() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* +Whisper::mutable_embeds() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.Whisper.embeds) + return &embeds_; +} + +// ------------------------------------------------------------------- + +// WhisperView + +// optional uint64 target_account_id = 1; +inline bool WhisperView::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperView::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperView::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperView::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 WhisperView::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.target_account_id) + return target_account_id_; +} +inline void WhisperView::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.WhisperView.target_account_id) +} + +// optional .bgs.protocol.ViewMarker view_marker = 2; +inline bool WhisperView::has_view_marker() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperView::set_has_view_marker() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperView::clear_has_view_marker() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperView::clear_view_marker() { + if (view_marker_ != NULL) view_marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_view_marker(); +} +inline const ::bgs::protocol::ViewMarker& WhisperView::view_marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.view_marker) + return view_marker_ != NULL ? *view_marker_ : *default_instance_->view_marker_; +} +inline ::bgs::protocol::ViewMarker* WhisperView::mutable_view_marker() { + set_has_view_marker(); + if (view_marker_ == NULL) view_marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.WhisperView.view_marker) + return view_marker_; +} +inline ::bgs::protocol::ViewMarker* WhisperView::release_view_marker() { + clear_has_view_marker(); + ::bgs::protocol::ViewMarker* temp = view_marker_; + view_marker_ = NULL; + return temp; +} +inline void WhisperView::set_allocated_view_marker(::bgs::protocol::ViewMarker* view_marker) { + delete view_marker_; + view_marker_ = view_marker; + if (view_marker) { + set_has_view_marker(); + } else { + clear_has_view_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.WhisperView.view_marker) +} + +// optional string target_battle_tag = 3; +inline bool WhisperView::has_target_battle_tag() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperView::set_has_target_battle_tag() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperView::clear_has_target_battle_tag() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperView::clear_target_battle_tag() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_->clear(); + } + clear_has_target_battle_tag(); +} +inline const ::std::string& WhisperView::target_battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) + return *target_battle_tag_; +} +inline void WhisperView::set_target_battle_tag(const ::std::string& value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline void WhisperView::set_target_battle_tag(const char* value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline void WhisperView::set_target_battle_tag(const char* value, size_t size) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline ::std::string* WhisperView::mutable_target_battle_tag() { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) + return target_battle_tag_; +} +inline ::std::string* WhisperView::release_target_battle_tag() { + clear_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = target_battle_tag_; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void WhisperView::set_allocated_target_battle_tag(::std::string* target_battle_tag) { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (target_battle_tag) { + set_has_target_battle_tag(); + target_battle_tag_ = target_battle_tag; + } else { + clear_has_target_battle_tag(); + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} + +// ------------------------------------------------------------------- + +// SendWhisperOptions + +// optional string content = 1; +inline bool SendWhisperOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& SendWhisperOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.SendWhisperOptions.content) + return *content_; +} +inline void SendWhisperOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline void SendWhisperOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline void SendWhisperOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline ::std::string* SendWhisperOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.SendWhisperOptions.content) + return content_; +} +inline ::std::string* SendWhisperOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SendWhisperOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED -- cgit v1.2.3