4#ifndef PROTOBUF_presence_5fservice_2eproto__INCLUDED
5#define PROTOBUF_presence_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>
71 return _unknown_fields_;
75 return &_unknown_fields_;
78 static const ::google::protobuf::Descriptor*
descriptor();
99 inline bool has_agent_id()
const;
100 inline void clear_agent_id();
101 static const int kAgentIdFieldNumber = 1;
102 inline const ::bgs::protocol::EntityId& agent_id()
const;
103 inline ::bgs::protocol::EntityId* mutable_agent_id();
104 inline ::bgs::protocol::EntityId* release_agent_id();
108 inline bool has_entity_id()
const;
109 inline void clear_entity_id();
110 static const int kEntityIdFieldNumber = 2;
111 inline const ::bgs::protocol::EntityId& entity_id()
const;
112 inline ::bgs::protocol::EntityId* mutable_entity_id();
113 inline ::bgs::protocol::EntityId* release_entity_id();
117 inline bool has_object_id()
const;
118 inline void clear_object_id();
119 static const int kObjectIdFieldNumber = 3;
124 inline int program_size()
const;
125 inline void clear_program();
126 static const int kProgramFieldNumber = 4;
130 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
132 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
136 inline int key_size()
const;
137 inline void clear_key();
138 static const int kKeyFieldNumber = 6;
139 inline const ::bgs::protocol::presence::v1::FieldKey& key(
int index)
const;
140 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key(
int index);
141 inline ::bgs::protocol::presence::v1::FieldKey* add_key();
142 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
144 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
149 inline void set_has_agent_id();
150 inline void clear_has_agent_id();
151 inline void set_has_entity_id();
152 inline void clear_has_entity_id();
153 inline void set_has_object_id();
154 inline void clear_has_object_id();
163 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >
program_;
164 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >
key_;
187 return _unknown_fields_;
191 return &_unknown_fields_;
215 inline bool has_agent_id()
const;
216 inline void clear_agent_id();
217 static const int kAgentIdFieldNumber = 1;
218 inline const ::bgs::protocol::EntityId& agent_id()
const;
219 inline ::bgs::protocol::EntityId* mutable_agent_id();
220 inline ::bgs::protocol::EntityId* release_agent_id();
224 inline bool has_entity_id()
const;
225 inline void clear_entity_id();
226 static const int kEntityIdFieldNumber = 2;
227 inline const ::bgs::protocol::EntityId& entity_id()
const;
228 inline ::bgs::protocol::EntityId* mutable_entity_id();
229 inline ::bgs::protocol::EntityId* release_entity_id();
233 inline bool has_object_id()
const;
234 inline void clear_object_id();
235 static const int kObjectIdFieldNumber = 3;
241 inline void set_has_agent_id();
242 inline void clear_has_agent_id();
243 inline void set_has_entity_id();
244 inline void clear_has_entity_id();
245 inline void set_has_object_id();
246 inline void clear_has_object_id();
277 return _unknown_fields_;
281 return &_unknown_fields_;
305 inline bool has_entity_id()
const;
306 inline void clear_entity_id();
307 static const int kEntityIdFieldNumber = 1;
308 inline const ::bgs::protocol::EntityId& entity_id()
const;
309 inline ::bgs::protocol::EntityId* mutable_entity_id();
310 inline ::bgs::protocol::EntityId* release_entity_id();
314 inline int field_operation_size()
const;
315 inline void clear_field_operation();
316 static const int kFieldOperationFieldNumber = 2;
317 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(
int index)
const;
318 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(
int index);
319 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
320 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
321 field_operation()
const;
322 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
323 mutable_field_operation();
326 inline bool has_no_create()
const;
327 inline void clear_no_create();
328 static const int kNoCreateFieldNumber = 3;
329 inline bool no_create()
const;
330 inline void set_no_create(
bool value);
333 inline bool has_agent_id()
const;
334 inline void clear_agent_id();
335 static const int kAgentIdFieldNumber = 4;
336 inline const ::bgs::protocol::EntityId& agent_id()
const;
337 inline ::bgs::protocol::EntityId* mutable_agent_id();
338 inline ::bgs::protocol::EntityId* release_agent_id();
343 inline void set_has_entity_id();
344 inline void clear_has_entity_id();
345 inline void set_has_no_create();
346 inline void clear_has_no_create();
347 inline void set_has_agent_id();
348 inline void clear_has_agent_id();
355 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >
field_operation_;
380 return _unknown_fields_;
384 return &_unknown_fields_;
408 inline bool has_entity_id()
const;
409 inline void clear_entity_id();
410 static const int kEntityIdFieldNumber = 1;
411 inline const ::bgs::protocol::EntityId& entity_id()
const;
412 inline ::bgs::protocol::EntityId* mutable_entity_id();
413 inline ::bgs::protocol::EntityId* release_entity_id();
417 inline int key_size()
const;
418 inline void clear_key();
419 static const int kKeyFieldNumber = 2;
420 inline const ::bgs::protocol::presence::v1::FieldKey& key(
int index)
const;
421 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key(
int index);
422 inline ::bgs::protocol::presence::v1::FieldKey* add_key();
423 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
425 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
429 inline bool has_agent_id()
const;
430 inline void clear_agent_id();
431 static const int kAgentIdFieldNumber = 3;
432 inline const ::bgs::protocol::EntityId& agent_id()
const;
433 inline ::bgs::protocol::EntityId* mutable_agent_id();
434 inline ::bgs::protocol::EntityId* release_agent_id();
439 inline void set_has_entity_id();
440 inline void clear_has_entity_id();
441 inline void set_has_agent_id();
442 inline void clear_has_agent_id();
449 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >
key_;
473 return _unknown_fields_;
477 return &_unknown_fields_;
501 inline int field_size()
const;
502 inline void clear_field();
503 static const int kFieldFieldNumber = 2;
504 inline const ::bgs::protocol::presence::v1::Field& field(
int index)
const;
505 inline ::bgs::protocol::presence::v1::Field* mutable_field(
int index);
506 inline ::bgs::protocol::presence::v1::Field* add_field();
507 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >&
509 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >*
519 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >
field_;
542 return _unknown_fields_;
546 return &_unknown_fields_;
570 inline bool has_agent_id()
const;
571 inline void clear_agent_id();
572 static const int kAgentIdFieldNumber = 1;
573 inline const ::bgs::protocol::EntityId& agent_id()
const;
574 inline ::bgs::protocol::EntityId* mutable_agent_id();
575 inline ::bgs::protocol::EntityId* release_agent_id();
579 inline int entity_id_size()
const;
580 inline void clear_entity_id();
581 static const int kEntityIdFieldNumber = 2;
582 inline const ::bgs::protocol::EntityId& entity_id(
int index)
const;
583 inline ::bgs::protocol::EntityId* mutable_entity_id(
int index);
584 inline ::bgs::protocol::EntityId* add_entity_id();
585 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
587 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
591 inline int program_size()
const;
592 inline void clear_program();
593 static const int kProgramFieldNumber = 3;
597 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
599 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
603 inline int key_size()
const;
604 inline void clear_key();
605 static const int kKeyFieldNumber = 4;
606 inline const ::bgs::protocol::presence::v1::FieldKey& key(
int index)
const;
607 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key(
int index);
608 inline ::bgs::protocol::presence::v1::FieldKey* add_key();
609 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
611 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
615 inline bool has_object_id()
const;
616 inline void clear_object_id();
617 static const int kObjectIdFieldNumber = 5;
623 inline void set_has_agent_id();
624 inline void clear_has_agent_id();
625 inline void set_has_object_id();
626 inline void clear_has_object_id();
633 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >
entity_id_;
634 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >
program_;
635 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >
key_;
659 return _unknown_fields_;
663 return &_unknown_fields_;
687 inline bool has_entity_id()
const;
688 inline void clear_entity_id();
689 static const int kEntityIdFieldNumber = 1;
690 inline const ::bgs::protocol::EntityId& entity_id()
const;
691 inline ::bgs::protocol::EntityId* mutable_entity_id();
692 inline ::bgs::protocol::EntityId* release_entity_id();
696 inline bool has_result()
const;
697 inline void clear_result();
698 static const int kResultFieldNumber = 2;
704 inline void set_has_entity_id();
705 inline void clear_has_entity_id();
706 inline void set_has_result();
707 inline void clear_has_result();
737 return _unknown_fields_;
741 return &_unknown_fields_;
765 inline int subscribe_failed_size()
const;
766 inline void clear_subscribe_failed();
767 static const int kSubscribeFailedFieldNumber = 1;
768 inline const ::bgs::protocol::presence::v1::SubscribeResult& subscribe_failed(
int index)
const;
769 inline ::bgs::protocol::presence::v1::SubscribeResult* mutable_subscribe_failed(
int index);
770 inline ::bgs::protocol::presence::v1::SubscribeResult* add_subscribe_failed();
771 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >&
772 subscribe_failed()
const;
773 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >*
774 mutable_subscribe_failed();
783 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >
subscribe_failed_;
806 return _unknown_fields_;
810 return &_unknown_fields_;
834 inline bool has_agent_id()
const;
835 inline void clear_agent_id();
836 static const int kAgentIdFieldNumber = 1;
837 inline const ::bgs::protocol::EntityId& agent_id()
const;
838 inline ::bgs::protocol::EntityId* mutable_agent_id();
839 inline ::bgs::protocol::EntityId* release_agent_id();
843 inline int entity_id_size()
const;
844 inline void clear_entity_id();
845 static const int kEntityIdFieldNumber = 2;
846 inline const ::bgs::protocol::EntityId& entity_id(
int index)
const;
847 inline ::bgs::protocol::EntityId* mutable_entity_id(
int index);
848 inline ::bgs::protocol::EntityId* add_entity_id();
849 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
851 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
855 inline bool has_object_id()
const;
856 inline void clear_object_id();
857 static const int kObjectIdFieldNumber = 3;
863 inline void set_has_agent_id();
864 inline void clear_has_agent_id();
865 inline void set_has_object_id();
866 inline void clear_has_object_id();
873 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >
entity_id_;
896 typedef std::integral_constant<uint32, 0xD8F94B3Bu>
NameHash;
898 static google::protobuf::ServiceDescriptor
const*
descriptor();
1051inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1056inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1071 return key_.Get(index);
1075 return key_.Mutable(index);
1081inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1086inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1266inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1271inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1396 return key_.Get(index);
1400 return key_.Mutable(index);
1406inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1411inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1471 return field_.Get(index);
1475 return field_.Mutable(index);
1481inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >&
1486inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >*
1556inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
1561inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
1586inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1591inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1606 return key_.Get(index);
1610 return key_.Mutable(index);
1616inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1621inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1743inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >&
1748inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >*
1818inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
1823inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
int entity_id_size() const
void InitAsDefaultInstance()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > & key() const
inline ::bgs::protocol::presence::v1::FieldKey * add_key()
BatchSubscribeRequest & operator=(const BatchSubscribeRequest &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > * mutable_key()
inline ::google::protobuf::uint64 object_id() const
bool has_agent_id() const
void clear_has_object_id()
inline ::bgs::protocol::EntityId * mutable_agent_id()
int GetCachedSize() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > & entity_id() const
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::EntityId * release_agent_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const BatchSubscribeRequest & default_instance()
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
BatchSubscribeRequest(const BatchSubscribeRequest &from)
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
static BatchSubscribeRequest * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
void clear_has_agent_id()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & program() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > * mutable_entity_id()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > program_
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
bool has_object_id() const
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::EntityId & agent_id() const
BatchSubscribeRequest * New() const
virtual ~BatchSubscribeRequest()
void set_program(int index, ::google::protobuf::uint32 value)
void add_program(::google::protobuf::uint32 value)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_program()
void set_object_id(::google::protobuf::uint64 value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > entity_id_
inline ::bgs::protocol::EntityId * add_entity_id()
::bgs::protocol::EntityId * agent_id_
void Swap(BatchSubscribeRequest *other)
::google::protobuf::uint64 object_id_
void clear_subscribe_failed()
BatchSubscribeResponse(const BatchSubscribeResponse &from)
static const BatchSubscribeResponse & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > * mutable_subscribe_failed()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::presence::v1::SubscribeResult * add_subscribe_failed()
void Swap(BatchSubscribeResponse *other)
BatchSubscribeResponse * New() const
::google::protobuf::UnknownFieldSet _unknown_fields_
int GetCachedSize() const
static BatchSubscribeResponse * default_instance_
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
virtual ~BatchSubscribeResponse()
BatchSubscribeResponse & operator=(const BatchSubscribeResponse &from)
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
int subscribe_failed_size() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > & subscribe_failed() const
void InitAsDefaultInstance()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > subscribe_failed_
void InitAsDefaultInstance()
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(BatchUnsubscribeRequest *other)
BatchUnsubscribeRequest * New() const
void set_object_id(::google::protobuf::uint64 value)
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
static const BatchUnsubscribeRequest & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::EntityId * agent_id_
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
::google::protobuf::uint64 object_id_
inline ::bgs::protocol::EntityId * add_entity_id()
bool has_object_id() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > & entity_id() const
void clear_has_object_id()
BatchUnsubscribeRequest()
void SetCachedSize(int size) const
void clear_has_agent_id()
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
inline ::bgs::protocol::EntityId * release_agent_id()
static BatchUnsubscribeRequest * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
bool has_agent_id() const
inline ::bgs::protocol::EntityId * mutable_agent_id()
BatchUnsubscribeRequest & operator=(const BatchUnsubscribeRequest &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > * mutable_entity_id()
virtual ~BatchUnsubscribeRequest()
const ::bgs::protocol::EntityId & agent_id() const
int entity_id_size() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > entity_id_
inline ::google::protobuf::uint64 object_id() const
BatchUnsubscribeRequest(const BatchUnsubscribeRequest &from)
::google::protobuf::uint32 _has_bits_[1]
virtual uint32 HandleBatchSubscribe(::bgs::protocol::presence::v1::BatchSubscribeRequest const *request, ::bgs::protocol::presence::v1::BatchSubscribeResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
PresenceService & operator=(PresenceService const &)=delete
virtual uint32 HandleUnsubscribe(::bgs::protocol::presence::v1::UnsubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
PresenceService(PresenceService &&)=delete
void ParseAndHandleBatchSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0xD8F94B3Bu > NameHash
virtual uint32 HandleUpdate(::bgs::protocol::presence::v1::UpdateRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleBatchUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual uint32 HandleSubscribe(::bgs::protocol::presence::v1::SubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
PresenceService & operator=(PresenceService &&)=delete
virtual uint32 HandleBatchUnsubscribe(::bgs::protocol::presence::v1::BatchUnsubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
virtual ~PresenceService()
static google::protobuf::ServiceDescriptor const * descriptor()
virtual uint32 HandleQuery(::bgs::protocol::presence::v1::QueryRequest const *request, ::bgs::protocol::presence::v1::QueryResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
PresenceService(bool use_original_hash)
void ParseAndHandleQuery(uint32 token, uint32 methodId, MessageBuffer &buffer)
PresenceService(PresenceService const &)=delete
void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleUpdate(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0xFA0796FFu > OriginalHash
inline ::bgs::protocol::EntityId * mutable_entity_id()
inline ::bgs::protocol::EntityId * mutable_agent_id()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > & key() const
QueryRequest & operator=(const QueryRequest &from)
static QueryRequest * default_instance_
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
QueryRequest * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > * mutable_key()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const QueryRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_has_agent_id()
bool has_entity_id() const
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
void SetCachedSize(int size) const
QueryRequest(const QueryRequest &from)
void clear_has_entity_id()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
inline ::bgs::protocol::EntityId * release_agent_id()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 _has_bits_[1]
bool has_agent_id() const
::bgs::protocol::EntityId * agent_id_
const ::bgs::protocol::EntityId & entity_id() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
::bgs::protocol::EntityId * entity_id_
void InitAsDefaultInstance()
void Swap(QueryRequest *other)
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
inline ::bgs::protocol::presence::v1::FieldKey * add_key()
const ::bgs::protocol::EntityId & agent_id() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field > & field() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field > * mutable_field()
void Swap(QueryResponse *other)
QueryResponse * New() const
static QueryResponse * default_instance_
QueryResponse & operator=(const QueryResponse &from)
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::Field * add_field()
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
QueryResponse(const QueryResponse &from)
int GetCachedSize() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
void SetCachedSize(int size) const
static const QueryResponse & default_instance()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field > field_
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > program_
inline ::bgs::protocol::presence::v1::FieldKey * add_key()
::google::protobuf::UnknownFieldSet _unknown_fields_
static SubscribeRequest * default_instance_
inline ::bgs::protocol::EntityId * release_agent_id()
void set_object_id(::google::protobuf::uint64 value)
const ::bgs::protocol::EntityId & entity_id() const
static const ::google::protobuf::Descriptor * descriptor()
int GetCachedSize() const
bool has_entity_id() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & program() const
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint64 object_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const SubscribeRequest & default_instance()
void clear_has_entity_id()
SubscribeRequest(const SubscribeRequest &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
void clear_has_agent_id()
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_program()
bool has_agent_id() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > & key() const
::bgs::protocol::EntityId * agent_id_
void InitAsDefaultInstance()
bool has_object_id() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
SubscribeRequest & operator=(const SubscribeRequest &from)
void add_program(::google::protobuf::uint32 value)
inline ::bgs::protocol::EntityId * mutable_agent_id()
inline ::bgs::protocol::EntityId * mutable_entity_id()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
::bgs::protocol::EntityId * entity_id_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint64 object_id_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
void set_program(int index, ::google::protobuf::uint32 value)
void Swap(SubscribeRequest *other)
void clear_has_object_id()
SubscribeRequest * New() const
const ::bgs::protocol::EntityId & agent_id() const
virtual ~SubscribeRequest()
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > * mutable_key()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::uint32 result_
::google::protobuf::uint32 _has_bits_[1]
static const SubscribeResult & default_instance()
bool has_entity_id() const
inline ::bgs::protocol::EntityId * release_entity_id()
void Swap(SubscribeResult *other)
const ::bgs::protocol::EntityId & entity_id() const
virtual ~SubscribeResult()
inline ::bgs::protocol::EntityId * mutable_entity_id()
int GetCachedSize() const
void set_result(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
::bgs::protocol::EntityId * entity_id_
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
static SubscribeResult * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
SubscribeResult * New() const
SubscribeResult & operator=(const SubscribeResult &from)
inline ::google::protobuf::uint32 result() const
void clear_has_entity_id()
SubscribeResult(const SubscribeResult &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
bool has_entity_id() const
bool has_object_id() const
void SetCachedSize(int size) const
const ::bgs::protocol::EntityId & agent_id() const
UnsubscribeRequest(const UnsubscribeRequest &from)
void set_object_id(::google::protobuf::uint64 value)
UnsubscribeRequest & operator=(const UnsubscribeRequest &from)
void InitAsDefaultInstance()
virtual ~UnsubscribeRequest()
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::EntityId * release_entity_id()
int GetCachedSize() const
inline ::bgs::protocol::EntityId * mutable_entity_id()
UnsubscribeRequest * New() const
inline ::bgs::protocol::EntityId * release_agent_id()
inline ::google::protobuf::uint64 object_id() const
::bgs::protocol::EntityId * agent_id_
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
static const UnsubscribeRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_has_entity_id()
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static UnsubscribeRequest * default_instance_
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
void clear_has_object_id()
bool has_agent_id() const
::google::protobuf::uint64 object_id_
void Swap(UnsubscribeRequest *other)
inline ::bgs::protocol::EntityId * mutable_agent_id()
::bgs::protocol::EntityId * entity_id_
const ::bgs::protocol::EntityId & entity_id() const
void clear_has_agent_id()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
UpdateRequest(const UpdateRequest &from)
inline ::bgs::protocol::EntityId * mutable_entity_id()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
bool has_no_create() const
bool has_agent_id() const
void set_no_create(bool value)
static UpdateRequest * default_instance_
void clear_has_no_create()
void clear_has_agent_id()
::google::protobuf::Metadata GetMetadata() const
void SetCachedSize(int size) const
UpdateRequest * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::EntityId & entity_id() const
UpdateRequest & operator=(const UpdateRequest &from)
::bgs::protocol::EntityId * agent_id_
inline ::bgs::protocol::EntityId * mutable_agent_id()
inline ::bgs::protocol::EntityId * release_entity_id()
int field_operation_size() const
int GetCachedSize() const
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
friend void protobuf_AssignDesc_presence_5fservice_2eproto()
inline ::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
const ::bgs::protocol::EntityId & agent_id() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
bool has_entity_id() const
::google::protobuf::uint32 _has_bits_[1]
void Swap(UpdateRequest *other)
inline ::bgs::protocol::EntityId * release_agent_id()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
::bgs::protocol::EntityId * entity_id_
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_entity_id()
static const UpdateRequest & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
void clear_field_operation()
void InitAsDefaultInstance()
constexpr std::size_t size()
void protobuf_ShutdownFile_presence_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
void protobuf_AssignDesc_presence_5fservice_2eproto()