4#ifndef PROTOBUF_presence_5flistener_2eproto__INCLUDED
5#define PROTOBUF_presence_5flistener_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>
64 return _unknown_fields_;
68 return &_unknown_fields_;
71 static const ::google::protobuf::Descriptor*
descriptor();
92 inline bool has_subscriber_id()
const;
93 inline void clear_subscriber_id();
94 static const int kSubscriberIdFieldNumber = 1;
95 inline const ::bgs::protocol::account::v1::AccountId& subscriber_id()
const;
96 inline ::bgs::protocol::account::v1::AccountId* mutable_subscriber_id();
97 inline ::bgs::protocol::account::v1::AccountId* release_subscriber_id();
101 inline int state_size()
const;
102 inline void clear_state();
103 static const int kStateFieldNumber = 2;
104 inline const ::bgs::protocol::presence::v1::PresenceState& state(
int index)
const;
105 inline ::bgs::protocol::presence::v1::PresenceState* mutable_state(
int index);
106 inline ::bgs::protocol::presence::v1::PresenceState* add_state();
107 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >&
109 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
113 inline bool has_subscriber_program()
const;
114 inline void clear_subscriber_program();
115 static const int kSubscriberProgramFieldNumber = 3;
121 inline void set_has_subscriber_id();
122 inline void clear_has_subscriber_id();
123 inline void set_has_subscriber_program();
124 inline void clear_has_subscriber_program();
131 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >
state_;
155 return _unknown_fields_;
159 return &_unknown_fields_;
183 inline bool has_subscriber_id()
const;
184 inline void clear_subscriber_id();
185 static const int kSubscriberIdFieldNumber = 1;
186 inline const ::bgs::protocol::account::v1::AccountId& subscriber_id()
const;
187 inline ::bgs::protocol::account::v1::AccountId* mutable_subscriber_id();
188 inline ::bgs::protocol::account::v1::AccountId* release_subscriber_id();
192 inline int state_size()
const;
193 inline void clear_state();
194 static const int kStateFieldNumber = 2;
195 inline const ::bgs::protocol::presence::v1::PresenceState& state(
int index)
const;
196 inline ::bgs::protocol::presence::v1::PresenceState* mutable_state(
int index);
197 inline ::bgs::protocol::presence::v1::PresenceState* add_state();
198 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >&
200 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
204 inline bool has_subscriber_program()
const;
205 inline void clear_subscriber_program();
206 static const int kSubscriberProgramFieldNumber = 3;
212 inline void set_has_subscriber_id();
213 inline void clear_has_subscriber_id();
214 inline void set_has_subscriber_program();
215 inline void clear_has_subscriber_program();
222 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >
state_;
245 typedef std::integral_constant<uint32, 0xE8836F50u>
NameHash;
247 static google::protobuf::ServiceDescriptor
const*
descriptor();
316 return state_.Mutable(index);
322inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >&
327inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
415 return state_.Mutable(index);
421inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >&
426inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
std::integral_constant< uint32, 0x890AB85Fu > OriginalHash
void OnSubscribe(::bgs::protocol::presence::v1::SubscribeNotification const *request, bool client=false, bool server=false)
static google::protobuf::ServiceDescriptor const * descriptor()
void OnStateChanged(::bgs::protocol::presence::v1::StateChangedNotification const *request, bool client=false, bool server=false)
virtual ~PresenceListener()
PresenceListener & operator=(PresenceListener const &)=delete
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
PresenceListener(PresenceListener const &)=delete
PresenceListener(bool use_original_hash)
PresenceListener(PresenceListener &&)=delete
PresenceListener & operator=(PresenceListener &&)=delete
std::integral_constant< uint32, 0xE8836F50u > NameHash
void clear_has_subscriber_id()
static StateChangedNotification * default_instance_
inline ::bgs::protocol::account::v1::AccountId * release_subscriber_id()
::google::protobuf::uint32 _has_bits_[1]
virtual ~StateChangedNotification()
friend void protobuf_AssignDesc_presence_5flistener_2eproto()
void SetCachedSize(int size) const
void InitAsDefaultInstance()
StateChangedNotification(const StateChangedNotification &from)
void Swap(StateChangedNotification *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::account::v1::AccountId & subscriber_id() const
static const StateChangedNotification & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
int GetCachedSize() const
StateChangedNotification & operator=(const StateChangedNotification &from)
::google::protobuf::uint32 subscriber_program_
bool has_subscriber_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > & state() const
friend void protobuf_ShutdownFile_presence_5flistener_2eproto()
void set_subscriber_program(::google::protobuf::uint32 value)
::google::protobuf::Metadata GetMetadata() const
void clear_subscriber_id()
void set_has_subscriber_id()
StateChangedNotification()
StateChangedNotification * New() const
bool has_subscriber_program() const
::bgs::protocol::account::v1::AccountId * subscriber_id_
friend void TC_PROTO_API protobuf_AddDesc_presence_5flistener_2eproto()
inline ::bgs::protocol::account::v1::AccountId * mutable_subscriber_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > * mutable_state()
inline ::google::protobuf::uint32 subscriber_program() const
inline ::bgs::protocol::presence::v1::PresenceState * add_state()
void clear_subscriber_program()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > state_
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_subscriber_id(::bgs::protocol::account::v1::AccountId *subscriber_id)
void clear_has_subscriber_program()
void set_has_subscriber_program()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 subscriber_program_
void clear_subscriber_id()
friend void protobuf_AssignDesc_presence_5flistener_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
void InitAsDefaultInstance()
void clear_has_subscriber_id()
void clear_subscriber_program()
void clear_has_subscriber_program()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > & state() const
int GetCachedSize() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > state_
friend void protobuf_ShutdownFile_presence_5flistener_2eproto()
inline ::bgs::protocol::account::v1::AccountId * mutable_subscriber_id()
::bgs::protocol::account::v1::AccountId * subscriber_id_
bool has_subscriber_program() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > * mutable_state()
void Swap(SubscribeNotification *other)
SubscribeNotification(const SubscribeNotification &from)
void set_allocated_subscriber_id(::bgs::protocol::account::v1::AccountId *subscriber_id)
inline ::bgs::protocol::account::v1::AccountId * release_subscriber_id()
friend void TC_PROTO_API protobuf_AddDesc_presence_5flistener_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const
inline ::google::protobuf::uint32 subscriber_program() const
const ::bgs::protocol::account::v1::AccountId & subscriber_id() const
SubscribeNotification * New() const
static SubscribeNotification * default_instance_
void set_has_subscriber_program()
void set_subscriber_program(::google::protobuf::uint32 value)
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::PresenceState * add_state()
SubscribeNotification & operator=(const SubscribeNotification &from)
::google::protobuf::uint32 _has_bits_[1]
bool has_subscriber_id() const
void set_has_subscriber_id()
virtual ~SubscribeNotification()
static const ::google::protobuf::Descriptor * descriptor()
static const SubscribeNotification & default_instance()
constexpr std::size_t size()
void TC_PROTO_API protobuf_AddDesc_presence_5flistener_2eproto()
void protobuf_ShutdownFile_presence_5flistener_2eproto()
void protobuf_AssignDesc_presence_5flistener_2eproto()