4#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
69 return _unknown_fields_;
73 return &_unknown_fields_;
76 static const ::google::protobuf::Descriptor*
descriptor();
101 ::google::protobuf::uint32 _has_bits_[1];
125 return _unknown_fields_;
129 return &_unknown_fields_;
153 inline bool has_state()
const;
154 inline void clear_state();
155 static const int kStateFieldNumber = 1;
156 inline const ::bgs::protocol::block_list::v1::client::BlockListState& state()
const;
157 inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state();
158 inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state();
163 inline void set_has_state();
164 inline void clear_has_state();
168 ::google::protobuf::uint32 _has_bits_[1];
193 return _unknown_fields_;
197 return &_unknown_fields_;
225 ::google::protobuf::uint32 _has_bits_[1];
249 return _unknown_fields_;
253 return &_unknown_fields_;
281 ::google::protobuf::uint32 _has_bits_[1];
305 return _unknown_fields_;
309 return &_unknown_fields_;
333 inline bool has_state()
const;
334 inline void clear_state();
335 static const int kStateFieldNumber = 1;
336 inline const ::bgs::protocol::block_list::v1::client::BlockListState& state()
const;
337 inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state();
338 inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state();
343 inline void set_has_state();
344 inline void clear_has_state();
348 ::google::protobuf::uint32 _has_bits_[1];
373 return _unknown_fields_;
377 return &_unknown_fields_;
401 inline bool has_options()
const;
402 inline void clear_options();
403 static const int kOptionsFieldNumber = 2;
404 inline const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions& options()
const;
405 inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* mutable_options();
406 inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* release_options();
411 inline void set_has_options();
412 inline void clear_has_options();
416 ::google::protobuf::uint32 _has_bits_[1];
441 return _unknown_fields_;
445 return &_unknown_fields_;
469 inline bool has_options()
const;
470 inline void clear_options();
471 static const int kOptionsFieldNumber = 2;
472 inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions& options()
const;
473 inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* mutable_options();
474 inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* release_options();
479 inline void set_has_options();
480 inline void clear_has_options();
484 ::google::protobuf::uint32 _has_bits_[1];
508 typedef std::integral_constant<uint32, 0xC78E3381u>
NameHash;
510 static google::protobuf::ServiceDescriptor
const*
descriptor();
553 if (
state_ != NULL)
state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear();
562 if (
state_ == NULL)
state_ = new ::bgs::protocol::block_list::v1::client::BlockListState;
606 if (
state_ != NULL)
state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear();
615 if (
state_ == NULL)
state_ = new ::bgs::protocol::block_list::v1::client::BlockListState;
651 if (
options_ != NULL)
options_->::bgs::protocol::block_list::v1::client::BlockPlayerOptions::Clear();
660 if (
options_ == NULL)
options_ = new ::bgs::protocol::block_list::v1::client::BlockPlayerOptions;
696 if (
options_ != NULL)
options_->::bgs::protocol::block_list::v1::client::UnblockPlayerOptions::Clear();
705 if (
options_ == NULL)
options_ = new ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions;
BlockListService & operator=(BlockListService &&)=delete
virtual uint32 HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const *request, ::bgs::protocol::block_list::v1::client::GetStateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
BlockListService(BlockListService const &)=delete
virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0x8E8F5FB0u > OriginalHash
BlockListService(bool use_original_hash)
virtual uint32 HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
static google::protobuf::ServiceDescriptor const * descriptor()
BlockListService(BlockListService &&)=delete
virtual uint32 HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual ~BlockListService()
std::integral_constant< uint32, 0xC78E3381u > NameHash
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
void ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer &buffer)
BlockListService & operator=(BlockListService const &)=delete
virtual uint32 HandleSubscribe(::bgs::protocol::block_list::v1::client::SubscribeRequest const *request, ::bgs::protocol::block_list::v1::client::SubscribeResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
BlockPlayerRequest(const BlockPlayerRequest &from)
BlockPlayerRequest * New() const
inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions * mutable_options()
int GetCachedSize() const
static BlockPlayerRequest * default_instance_
::bgs::protocol::block_list::v1::client::BlockPlayerOptions * options_
BlockPlayerRequest & operator=(const BlockPlayerRequest &from)
static const BlockPlayerRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions * release_options()
void Swap(BlockPlayerRequest *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void set_allocated_options(::bgs::protocol::block_list::v1::client::BlockPlayerOptions *options)
const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions & options() const
void SetCachedSize(int size) const
::google::protobuf::Metadata GetMetadata() const
void InitAsDefaultInstance()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
::google::protobuf::uint32 _has_bits_[1]
virtual ~BlockPlayerRequest()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
virtual ~GetStateRequest()
GetStateRequest & operator=(const GetStateRequest &from)
void Swap(GetStateRequest *other)
static const ::google::protobuf::Descriptor * descriptor()
GetStateRequest * New() const
void SetCachedSize(int size) const
int GetCachedSize() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
GetStateRequest(const GetStateRequest &from)
static const GetStateRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void InitAsDefaultInstance()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static GetStateRequest * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
inline ::bgs::protocol::block_list::v1::client::BlockListState * release_state()
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
GetStateResponse * New() const
::google::protobuf::Metadata GetMetadata() const
void SetCachedSize(int size) const
int GetCachedSize() const
inline ::bgs::protocol::block_list::v1::client::BlockListState * mutable_state()
::bgs::protocol::block_list::v1::client::BlockListState * state_
GetStateResponse(const GetStateResponse &from)
void Swap(GetStateResponse *other)
static GetStateResponse * default_instance_
virtual ~GetStateResponse()
static const GetStateResponse & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState *state)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::block_list::v1::client::BlockListState & state() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
GetStateResponse & operator=(const GetStateResponse &from)
void Swap(SubscribeRequest *other)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
int GetCachedSize() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
SubscribeRequest(const SubscribeRequest &from)
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
SubscribeRequest & operator=(const SubscribeRequest &from)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static const SubscribeRequest & default_instance()
virtual ~SubscribeRequest()
SubscribeRequest * New() const
static SubscribeRequest * default_instance_
void InitAsDefaultInstance()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
SubscribeResponse & operator=(const SubscribeResponse &from)
SubscribeResponse(const SubscribeResponse &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static SubscribeResponse * default_instance_
::google::protobuf::uint32 _has_bits_[1]
::bgs::protocol::block_list::v1::client::BlockListState * state_
inline ::bgs::protocol::block_list::v1::client::BlockListState * release_state()
static const SubscribeResponse & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::block_list::v1::client::BlockListState * mutable_state()
const ::bgs::protocol::block_list::v1::client::BlockListState & state() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void InitAsDefaultInstance()
int GetCachedSize() const
void Swap(SubscribeResponse *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
virtual ~SubscribeResponse()
SubscribeResponse * New() const
static const ::google::protobuf::Descriptor * descriptor()
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState *state)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void set_allocated_options(::bgs::protocol::block_list::v1::client::UnblockPlayerOptions *options)
UnblockPlayerRequest(const UnblockPlayerRequest &from)
static const UnblockPlayerRequest & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void SetCachedSize(int size) const
void Swap(UnblockPlayerRequest *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
int GetCachedSize() const
virtual ~UnblockPlayerRequest()
const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions & options() const
inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions * mutable_options()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
UnblockPlayerRequest & operator=(const UnblockPlayerRequest &from)
inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions * release_options()
UnblockPlayerRequest * New() const
::bgs::protocol::block_list::v1::client::UnblockPlayerOptions * options_
void InitAsDefaultInstance()
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static UnblockPlayerRequest * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void InitAsDefaultInstance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
UnsubscribeRequest & operator=(const UnsubscribeRequest &from)
virtual ~UnsubscribeRequest()
void SetCachedSize(int size) const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(UnsubscribeRequest *other)
UnsubscribeRequest(const UnsubscribeRequest &from)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static const UnsubscribeRequest & default_instance()
UnsubscribeRequest * New() const
int GetCachedSize() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
static UnsubscribeRequest * default_instance_
void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto()