TrinityCore
presence_service.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: presence_service.proto
3
4#ifndef PROTOBUF_presence_5fservice_2eproto__INCLUDED
5#define PROTOBUF_presence_5fservice_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
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
14#error your headers.
15#endif
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.
20#endif
21
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>
27#include "entity_types.pb.h"
28#include "presence_types.pb.h"
29#include "rpc_types.pb.h"
30#include "ServiceBase.h"
31#include "MessageBuffer.h"
32#include <functional>
33#include <type_traits>
34// @@protoc_insertion_point(includes)
35
36namespace bgs {
37namespace protocol {
38namespace presence {
39namespace v1 {
40
41// Internal implementation detail -- do not call these.
45
48class UpdateRequest;
49class QueryRequest;
50class QueryResponse;
52class SubscribeResult;
55
56// ===================================================================
57
58class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message {
59 public:
62
64
66 CopyFrom(from);
67 return *this;
68 }
69
70 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
71 return _unknown_fields_;
72 }
73
74 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
75 return &_unknown_fields_;
76 }
77
78 static const ::google::protobuf::Descriptor* descriptor();
80
81 void Swap(SubscribeRequest* other);
82
83 // implements Message ----------------------------------------------
84
86 int GetCachedSize() const { return _cached_size_; }
87 private:
88 void SharedCtor();
89 void SharedDtor();
90 void SetCachedSize(int size) const;
91 public:
92 ::google::protobuf::Metadata GetMetadata() const;
93
94 // nested types ----------------------------------------------------
95
96 // accessors -------------------------------------------------------
97
98 // optional .bgs.protocol.EntityId agent_id = 1;
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();
105 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
106
107 // required .bgs.protocol.EntityId entity_id = 2;
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();
114 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
115
116 // required uint64 object_id = 3;
117 inline bool has_object_id() const;
118 inline void clear_object_id();
119 static const int kObjectIdFieldNumber = 3;
120 inline ::google::protobuf::uint64 object_id() const;
121 inline void set_object_id(::google::protobuf::uint64 value);
122
123 // repeated fixed32 program = 4;
124 inline int program_size() const;
125 inline void clear_program();
126 static const int kProgramFieldNumber = 4;
127 inline ::google::protobuf::uint32 program(int index) const;
128 inline void set_program(int index, ::google::protobuf::uint32 value);
129 inline void add_program(::google::protobuf::uint32 value);
130 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
131 program() const;
132 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
133 mutable_program();
134
135 // repeated .bgs.protocol.presence.v1.FieldKey key = 6;
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 >&
143 key() const;
144 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
145 mutable_key();
146
147 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.SubscribeRequest)
148 private:
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();
155
156 ::google::protobuf::UnknownFieldSet _unknown_fields_;
157
159 mutable int _cached_size_;
163 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > program_;
164 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_;
168
171};
172// -------------------------------------------------------------------
173
174class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message {
175 public:
178
180
182 CopyFrom(from);
183 return *this;
184 }
185
186 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
187 return _unknown_fields_;
188 }
189
190 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
191 return &_unknown_fields_;
192 }
193
194 static const ::google::protobuf::Descriptor* descriptor();
196
198
199 // implements Message ----------------------------------------------
200
202 int GetCachedSize() const { return _cached_size_; }
203 private:
206 void SetCachedSize(int size) const;
207 public:
208 ::google::protobuf::Metadata GetMetadata() const;
209
210 // nested types ----------------------------------------------------
211
212 // accessors -------------------------------------------------------
213
214 // optional .bgs.protocol.EntityId agent_id = 1;
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();
221 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
222
223 // required .bgs.protocol.EntityId entity_id = 2;
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();
230 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
231
232 // optional uint64 object_id = 3;
233 inline bool has_object_id() const;
234 inline void clear_object_id();
235 static const int kObjectIdFieldNumber = 3;
236 inline ::google::protobuf::uint64 object_id() const;
237 inline void set_object_id(::google::protobuf::uint64 value);
238
239 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.UnsubscribeRequest)
240 private:
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();
247
248 ::google::protobuf::UnknownFieldSet _unknown_fields_;
249
251 mutable int _cached_size_;
258
261};
262// -------------------------------------------------------------------
263
264class TC_PROTO_API UpdateRequest : public ::google::protobuf::Message {
265 public:
267 virtual ~UpdateRequest();
268
270
271 inline UpdateRequest& operator=(const UpdateRequest& from) {
272 CopyFrom(from);
273 return *this;
274 }
275
276 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
277 return _unknown_fields_;
278 }
279
280 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
281 return &_unknown_fields_;
282 }
283
284 static const ::google::protobuf::Descriptor* descriptor();
286
287 void Swap(UpdateRequest* other);
288
289 // implements Message ----------------------------------------------
290
292 int GetCachedSize() const { return _cached_size_; }
293 private:
296 void SetCachedSize(int size) const;
297 public:
298 ::google::protobuf::Metadata GetMetadata() const;
299
300 // nested types ----------------------------------------------------
301
302 // accessors -------------------------------------------------------
303
304 // required .bgs.protocol.EntityId entity_id = 1;
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();
311 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
312
313 // repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
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();
324
325 // optional bool no_create = 3;
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);
331
332 // optional .bgs.protocol.EntityId agent_id = 4;
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();
339 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
340
341 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.UpdateRequest)
342 private:
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();
349
350 ::google::protobuf::UnknownFieldSet _unknown_fields_;
351
353 mutable int _cached_size_;
355 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_;
361
364};
365// -------------------------------------------------------------------
366
367class TC_PROTO_API QueryRequest : public ::google::protobuf::Message {
368 public:
370 virtual ~QueryRequest();
371
373
374 inline QueryRequest& operator=(const QueryRequest& from) {
375 CopyFrom(from);
376 return *this;
377 }
378
379 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
380 return _unknown_fields_;
381 }
382
383 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
384 return &_unknown_fields_;
385 }
386
387 static const ::google::protobuf::Descriptor* descriptor();
389
390 void Swap(QueryRequest* other);
391
392 // implements Message ----------------------------------------------
393
395 int GetCachedSize() const { return _cached_size_; }
396 private:
399 void SetCachedSize(int size) const;
400 public:
401 ::google::protobuf::Metadata GetMetadata() const;
402
403 // nested types ----------------------------------------------------
404
405 // accessors -------------------------------------------------------
406
407 // required .bgs.protocol.EntityId entity_id = 1;
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();
414 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
415
416 // repeated .bgs.protocol.presence.v1.FieldKey key = 2;
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 >&
424 key() const;
425 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
426 mutable_key();
427
428 // optional .bgs.protocol.EntityId agent_id = 3;
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();
435 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
436
437 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.QueryRequest)
438 private:
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();
443
444 ::google::protobuf::UnknownFieldSet _unknown_fields_;
445
447 mutable int _cached_size_;
449 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_;
454
457};
458// -------------------------------------------------------------------
459
460class TC_PROTO_API QueryResponse : public ::google::protobuf::Message {
461 public:
463 virtual ~QueryResponse();
464
466
467 inline QueryResponse& operator=(const QueryResponse& from) {
468 CopyFrom(from);
469 return *this;
470 }
471
472 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
473 return _unknown_fields_;
474 }
475
476 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
477 return &_unknown_fields_;
478 }
479
480 static const ::google::protobuf::Descriptor* descriptor();
482
483 void Swap(QueryResponse* other);
484
485 // implements Message ----------------------------------------------
486
488 int GetCachedSize() const { return _cached_size_; }
489 private:
492 void SetCachedSize(int size) const;
493 public:
494 ::google::protobuf::Metadata GetMetadata() const;
495
496 // nested types ----------------------------------------------------
497
498 // accessors -------------------------------------------------------
499
500 // repeated .bgs.protocol.presence.v1.Field field = 2;
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 >&
508 field() const;
509 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >*
510 mutable_field();
511
512 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.QueryResponse)
513 private:
514
515 ::google::protobuf::UnknownFieldSet _unknown_fields_;
516
518 mutable int _cached_size_;
519 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field > field_;
523
526};
527// -------------------------------------------------------------------
528
529class TC_PROTO_API BatchSubscribeRequest : public ::google::protobuf::Message {
530 public:
533
535
537 CopyFrom(from);
538 return *this;
539 }
540
541 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
542 return _unknown_fields_;
543 }
544
545 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
546 return &_unknown_fields_;
547 }
548
549 static const ::google::protobuf::Descriptor* descriptor();
551
553
554 // implements Message ----------------------------------------------
555
557 int GetCachedSize() const { return _cached_size_; }
558 private:
561 void SetCachedSize(int size) const;
562 public:
563 ::google::protobuf::Metadata GetMetadata() const;
564
565 // nested types ----------------------------------------------------
566
567 // accessors -------------------------------------------------------
568
569 // optional .bgs.protocol.EntityId agent_id = 1;
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();
576 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
577
578 // repeated .bgs.protocol.EntityId entity_id = 2;
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 >&
586 entity_id() const;
587 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
588 mutable_entity_id();
589
590 // repeated fixed32 program = 3;
591 inline int program_size() const;
592 inline void clear_program();
593 static const int kProgramFieldNumber = 3;
594 inline ::google::protobuf::uint32 program(int index) const;
595 inline void set_program(int index, ::google::protobuf::uint32 value);
596 inline void add_program(::google::protobuf::uint32 value);
597 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
598 program() const;
599 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
600 mutable_program();
601
602 // repeated .bgs.protocol.presence.v1.FieldKey key = 4;
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 >&
610 key() const;
611 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
612 mutable_key();
613
614 // optional uint64 object_id = 5;
615 inline bool has_object_id() const;
616 inline void clear_object_id();
617 static const int kObjectIdFieldNumber = 5;
618 inline ::google::protobuf::uint64 object_id() const;
619 inline void set_object_id(::google::protobuf::uint64 value);
620
621 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.BatchSubscribeRequest)
622 private:
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();
627
628 ::google::protobuf::UnknownFieldSet _unknown_fields_;
629
631 mutable int _cached_size_;
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_;
640
643};
644// -------------------------------------------------------------------
645
646class TC_PROTO_API SubscribeResult : public ::google::protobuf::Message {
647 public:
650
652
654 CopyFrom(from);
655 return *this;
656 }
657
658 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
659 return _unknown_fields_;
660 }
661
662 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
663 return &_unknown_fields_;
664 }
665
666 static const ::google::protobuf::Descriptor* descriptor();
668
669 void Swap(SubscribeResult* other);
670
671 // implements Message ----------------------------------------------
672
674 int GetCachedSize() const { return _cached_size_; }
675 private:
678 void SetCachedSize(int size) const;
679 public:
680 ::google::protobuf::Metadata GetMetadata() const;
681
682 // nested types ----------------------------------------------------
683
684 // accessors -------------------------------------------------------
685
686 // optional .bgs.protocol.EntityId entity_id = 1;
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();
693 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
694
695 // optional uint32 result = 2;
696 inline bool has_result() const;
697 inline void clear_result();
698 static const int kResultFieldNumber = 2;
700 inline void set_result(::google::protobuf::uint32 value);
701
702 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.SubscribeResult)
703 private:
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();
708
709 ::google::protobuf::UnknownFieldSet _unknown_fields_;
710
712 mutable int _cached_size_;
718
721};
722// -------------------------------------------------------------------
723
724class TC_PROTO_API BatchSubscribeResponse : public ::google::protobuf::Message {
725 public:
728
730
732 CopyFrom(from);
733 return *this;
734 }
735
736 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
737 return _unknown_fields_;
738 }
739
740 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
741 return &_unknown_fields_;
742 }
743
744 static const ::google::protobuf::Descriptor* descriptor();
746
748
749 // implements Message ----------------------------------------------
750
752 int GetCachedSize() const { return _cached_size_; }
753 private:
756 void SetCachedSize(int size) const;
757 public:
758 ::google::protobuf::Metadata GetMetadata() const;
759
760 // nested types ----------------------------------------------------
761
762 // accessors -------------------------------------------------------
763
764 // repeated .bgs.protocol.presence.v1.SubscribeResult subscribe_failed = 1;
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();
775
776 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.BatchSubscribeResponse)
777 private:
778
779 ::google::protobuf::UnknownFieldSet _unknown_fields_;
780
782 mutable int _cached_size_;
783 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > subscribe_failed_;
787
790};
791// -------------------------------------------------------------------
792
793class TC_PROTO_API BatchUnsubscribeRequest : public ::google::protobuf::Message {
794 public:
797
799
801 CopyFrom(from);
802 return *this;
803 }
804
805 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
806 return _unknown_fields_;
807 }
808
809 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
810 return &_unknown_fields_;
811 }
812
813 static const ::google::protobuf::Descriptor* descriptor();
815
817
818 // implements Message ----------------------------------------------
819
821 int GetCachedSize() const { return _cached_size_; }
822 private:
825 void SetCachedSize(int size) const;
826 public:
827 ::google::protobuf::Metadata GetMetadata() const;
828
829 // nested types ----------------------------------------------------
830
831 // accessors -------------------------------------------------------
832
833 // optional .bgs.protocol.EntityId agent_id = 1;
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();
840 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
841
842 // repeated .bgs.protocol.EntityId entity_id = 2;
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 >&
850 entity_id() const;
851 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
852 mutable_entity_id();
853
854 // optional uint64 object_id = 3;
855 inline bool has_object_id() const;
856 inline void clear_object_id();
857 static const int kObjectIdFieldNumber = 3;
858 inline ::google::protobuf::uint64 object_id() const;
859 inline void set_object_id(::google::protobuf::uint64 value);
860
861 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.BatchUnsubscribeRequest)
862 private:
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();
867
868 ::google::protobuf::UnknownFieldSet _unknown_fields_;
869
871 mutable int _cached_size_;
873 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > entity_id_;
878
881};
882// ===================================================================
883
885{
886 public:
887
888 explicit PresenceService(bool use_original_hash);
894
895 typedef std::integral_constant<uint32, 0xFA0796FFu> OriginalHash;
896 typedef std::integral_constant<uint32, 0xD8F94B3Bu> NameHash;
897
898 static google::protobuf::ServiceDescriptor const* descriptor();
899
900 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
901
902 protected:
903 // server methods --------------------------------------------------
904 virtual uint32 HandleSubscribe(::bgs::protocol::presence::v1::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
905 virtual uint32 HandleUnsubscribe(::bgs::protocol::presence::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
906 virtual uint32 HandleUpdate(::bgs::protocol::presence::v1::UpdateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
907 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);
908 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);
909 virtual uint32 HandleBatchUnsubscribe(::bgs::protocol::presence::v1::BatchUnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
910
911 private:
912 void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
913 void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
914 void ParseAndHandleUpdate(uint32 token, uint32 methodId, MessageBuffer& buffer);
915 void ParseAndHandleQuery(uint32 token, uint32 methodId, MessageBuffer& buffer);
918};
919
920// ===================================================================
921
922// ===================================================================
923
924// SubscribeRequest
925
926// optional .bgs.protocol.EntityId agent_id = 1;
928 return (_has_bits_[0] & 0x00000001u) != 0;
929}
931 _has_bits_[0] |= 0x00000001u;
932}
934 _has_bits_[0] &= ~0x00000001u;
935}
937 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
939}
940inline const ::bgs::protocol::EntityId& SubscribeRequest::agent_id() const {
941 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeRequest.agent_id)
942 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
943}
944inline ::bgs::protocol::EntityId* SubscribeRequest::mutable_agent_id() {
946 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
947 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.SubscribeRequest.agent_id)
948 return agent_id_;
949}
950inline ::bgs::protocol::EntityId* SubscribeRequest::release_agent_id() {
953 agent_id_ = NULL;
954 return temp;
955}
957 delete agent_id_;
959 if (agent_id) {
961 } else {
963 }
964 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.SubscribeRequest.agent_id)
965}
966
967// required .bgs.protocol.EntityId entity_id = 2;
969 return (_has_bits_[0] & 0x00000002u) != 0;
970}
972 _has_bits_[0] |= 0x00000002u;
973}
975 _has_bits_[0] &= ~0x00000002u;
976}
978 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
980}
981inline const ::bgs::protocol::EntityId& SubscribeRequest::entity_id() const {
982 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeRequest.entity_id)
984}
985inline ::bgs::protocol::EntityId* SubscribeRequest::mutable_entity_id() {
987 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
988 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.SubscribeRequest.entity_id)
989 return entity_id_;
990}
991inline ::bgs::protocol::EntityId* SubscribeRequest::release_entity_id() {
994 entity_id_ = NULL;
995 return temp;
996}
998 delete entity_id_;
1000 if (entity_id) {
1002 } else {
1004 }
1005 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.SubscribeRequest.entity_id)
1006}
1007
1008// required uint64 object_id = 3;
1010 return (_has_bits_[0] & 0x00000004u) != 0;
1011}
1013 _has_bits_[0] |= 0x00000004u;
1014}
1016 _has_bits_[0] &= ~0x00000004u;
1017}
1019 object_id_ = GOOGLE_ULONGLONG(0);
1021}
1023 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeRequest.object_id)
1024 return object_id_;
1025}
1028 object_id_ = value;
1029 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.SubscribeRequest.object_id)
1030}
1031
1032// repeated fixed32 program = 4;
1034 return program_.size();
1035}
1037 program_.Clear();
1038}
1040 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeRequest.program)
1041 return program_.Get(index);
1042}
1044 program_.Set(index, value);
1045 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.SubscribeRequest.program)
1046}
1048 program_.Add(value);
1049 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.SubscribeRequest.program)
1050}
1051inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1053 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.SubscribeRequest.program)
1054 return program_;
1055}
1056inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1058 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.SubscribeRequest.program)
1059 return &program_;
1060}
1061
1062// repeated .bgs.protocol.presence.v1.FieldKey key = 6;
1063inline int SubscribeRequest::key_size() const {
1064 return key_.size();
1065}
1067 key_.Clear();
1068}
1069inline const ::bgs::protocol::presence::v1::FieldKey& SubscribeRequest::key(int index) const {
1070 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeRequest.key)
1071 return key_.Get(index);
1072}
1073inline ::bgs::protocol::presence::v1::FieldKey* SubscribeRequest::mutable_key(int index) {
1074 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.SubscribeRequest.key)
1075 return key_.Mutable(index);
1076}
1077inline ::bgs::protocol::presence::v1::FieldKey* SubscribeRequest::add_key() {
1078 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.SubscribeRequest.key)
1079 return key_.Add();
1080}
1081inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1083 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.SubscribeRequest.key)
1084 return key_;
1085}
1086inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1088 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.SubscribeRequest.key)
1089 return &key_;
1090}
1091
1092// -------------------------------------------------------------------
1093
1094// UnsubscribeRequest
1095
1096// optional .bgs.protocol.EntityId agent_id = 1;
1098 return (_has_bits_[0] & 0x00000001u) != 0;
1099}
1101 _has_bits_[0] |= 0x00000001u;
1102}
1104 _has_bits_[0] &= ~0x00000001u;
1105}
1107 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1109}
1110inline const ::bgs::protocol::EntityId& UnsubscribeRequest::agent_id() const {
1111 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UnsubscribeRequest.agent_id)
1112 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1113}
1114inline ::bgs::protocol::EntityId* UnsubscribeRequest::mutable_agent_id() {
1116 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1117 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UnsubscribeRequest.agent_id)
1118 return agent_id_;
1119}
1120inline ::bgs::protocol::EntityId* UnsubscribeRequest::release_agent_id() {
1123 agent_id_ = NULL;
1124 return temp;
1125}
1127 delete agent_id_;
1129 if (agent_id) {
1131 } else {
1133 }
1134 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UnsubscribeRequest.agent_id)
1135}
1136
1137// required .bgs.protocol.EntityId entity_id = 2;
1139 return (_has_bits_[0] & 0x00000002u) != 0;
1140}
1142 _has_bits_[0] |= 0x00000002u;
1143}
1145 _has_bits_[0] &= ~0x00000002u;
1146}
1148 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1150}
1151inline const ::bgs::protocol::EntityId& UnsubscribeRequest::entity_id() const {
1152 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UnsubscribeRequest.entity_id)
1153 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1154}
1155inline ::bgs::protocol::EntityId* UnsubscribeRequest::mutable_entity_id() {
1157 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1158 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UnsubscribeRequest.entity_id)
1159 return entity_id_;
1160}
1161inline ::bgs::protocol::EntityId* UnsubscribeRequest::release_entity_id() {
1164 entity_id_ = NULL;
1165 return temp;
1166}
1168 delete entity_id_;
1170 if (entity_id) {
1172 } else {
1174 }
1175 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UnsubscribeRequest.entity_id)
1176}
1177
1178// optional uint64 object_id = 3;
1180 return (_has_bits_[0] & 0x00000004u) != 0;
1181}
1183 _has_bits_[0] |= 0x00000004u;
1184}
1186 _has_bits_[0] &= ~0x00000004u;
1187}
1189 object_id_ = GOOGLE_ULONGLONG(0);
1191}
1193 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UnsubscribeRequest.object_id)
1194 return object_id_;
1195}
1198 object_id_ = value;
1199 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.UnsubscribeRequest.object_id)
1200}
1201
1202// -------------------------------------------------------------------
1203
1204// UpdateRequest
1205
1206// required .bgs.protocol.EntityId entity_id = 1;
1207inline bool UpdateRequest::has_entity_id() const {
1208 return (_has_bits_[0] & 0x00000001u) != 0;
1209}
1211 _has_bits_[0] |= 0x00000001u;
1212}
1214 _has_bits_[0] &= ~0x00000001u;
1215}
1217 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1219}
1220inline const ::bgs::protocol::EntityId& UpdateRequest::entity_id() const {
1221 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1222 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1223}
1224inline ::bgs::protocol::EntityId* UpdateRequest::mutable_entity_id() {
1226 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1227 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1228 return entity_id_;
1229}
1230inline ::bgs::protocol::EntityId* UpdateRequest::release_entity_id() {
1233 entity_id_ = NULL;
1234 return temp;
1235}
1237 delete entity_id_;
1239 if (entity_id) {
1241 } else {
1243 }
1244 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1245}
1246
1247// repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
1249 return field_operation_.size();
1250}
1252 field_operation_.Clear();
1253}
1254inline const ::bgs::protocol::presence::v1::FieldOperation& UpdateRequest::field_operation(int index) const {
1255 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1256 return field_operation_.Get(index);
1257}
1258inline ::bgs::protocol::presence::v1::FieldOperation* UpdateRequest::mutable_field_operation(int index) {
1259 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1260 return field_operation_.Mutable(index);
1261}
1262inline ::bgs::protocol::presence::v1::FieldOperation* UpdateRequest::add_field_operation() {
1263 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1264 return field_operation_.Add();
1265}
1266inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1268 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1269 return field_operation_;
1270}
1271inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1273 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1274 return &field_operation_;
1275}
1276
1277// optional bool no_create = 3;
1278inline bool UpdateRequest::has_no_create() const {
1279 return (_has_bits_[0] & 0x00000004u) != 0;
1280}
1282 _has_bits_[0] |= 0x00000004u;
1283}
1285 _has_bits_[0] &= ~0x00000004u;
1286}
1288 no_create_ = false;
1290}
1291inline bool UpdateRequest::no_create() const {
1292 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.no_create)
1293 return no_create_;
1294}
1295inline void UpdateRequest::set_no_create(bool value) {
1297 no_create_ = value;
1298 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.UpdateRequest.no_create)
1299}
1300
1301// optional .bgs.protocol.EntityId agent_id = 4;
1302inline bool UpdateRequest::has_agent_id() const {
1303 return (_has_bits_[0] & 0x00000008u) != 0;
1304}
1306 _has_bits_[0] |= 0x00000008u;
1307}
1309 _has_bits_[0] &= ~0x00000008u;
1310}
1312 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1314}
1315inline const ::bgs::protocol::EntityId& UpdateRequest::agent_id() const {
1316 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1317 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1318}
1319inline ::bgs::protocol::EntityId* UpdateRequest::mutable_agent_id() {
1321 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1322 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1323 return agent_id_;
1324}
1325inline ::bgs::protocol::EntityId* UpdateRequest::release_agent_id() {
1328 agent_id_ = NULL;
1329 return temp;
1330}
1332 delete agent_id_;
1334 if (agent_id) {
1336 } else {
1338 }
1339 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1340}
1341
1342// -------------------------------------------------------------------
1343
1344// QueryRequest
1345
1346// required .bgs.protocol.EntityId entity_id = 1;
1347inline bool QueryRequest::has_entity_id() const {
1348 return (_has_bits_[0] & 0x00000001u) != 0;
1349}
1351 _has_bits_[0] |= 0x00000001u;
1352}
1354 _has_bits_[0] &= ~0x00000001u;
1355}
1357 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1359}
1360inline const ::bgs::protocol::EntityId& QueryRequest::entity_id() const {
1361 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.entity_id)
1362 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1363}
1364inline ::bgs::protocol::EntityId* QueryRequest::mutable_entity_id() {
1366 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1367 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.entity_id)
1368 return entity_id_;
1369}
1370inline ::bgs::protocol::EntityId* QueryRequest::release_entity_id() {
1373 entity_id_ = NULL;
1374 return temp;
1375}
1377 delete entity_id_;
1379 if (entity_id) {
1381 } else {
1383 }
1384 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.QueryRequest.entity_id)
1385}
1386
1387// repeated .bgs.protocol.presence.v1.FieldKey key = 2;
1388inline int QueryRequest::key_size() const {
1389 return key_.size();
1390}
1392 key_.Clear();
1393}
1394inline const ::bgs::protocol::presence::v1::FieldKey& QueryRequest::key(int index) const {
1395 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.key)
1396 return key_.Get(index);
1397}
1398inline ::bgs::protocol::presence::v1::FieldKey* QueryRequest::mutable_key(int index) {
1399 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.key)
1400 return key_.Mutable(index);
1401}
1402inline ::bgs::protocol::presence::v1::FieldKey* QueryRequest::add_key() {
1403 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.QueryRequest.key)
1404 return key_.Add();
1405}
1406inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1408 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.QueryRequest.key)
1409 return key_;
1410}
1411inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1413 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.QueryRequest.key)
1414 return &key_;
1415}
1416
1417// optional .bgs.protocol.EntityId agent_id = 3;
1418inline bool QueryRequest::has_agent_id() const {
1419 return (_has_bits_[0] & 0x00000004u) != 0;
1420}
1422 _has_bits_[0] |= 0x00000004u;
1423}
1425 _has_bits_[0] &= ~0x00000004u;
1426}
1428 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1430}
1431inline const ::bgs::protocol::EntityId& QueryRequest::agent_id() const {
1432 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.agent_id)
1433 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1434}
1435inline ::bgs::protocol::EntityId* QueryRequest::mutable_agent_id() {
1437 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1438 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.agent_id)
1439 return agent_id_;
1440}
1441inline ::bgs::protocol::EntityId* QueryRequest::release_agent_id() {
1444 agent_id_ = NULL;
1445 return temp;
1446}
1448 delete agent_id_;
1450 if (agent_id) {
1452 } else {
1454 }
1455 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.QueryRequest.agent_id)
1456}
1457
1458// -------------------------------------------------------------------
1459
1460// QueryResponse
1461
1462// repeated .bgs.protocol.presence.v1.Field field = 2;
1463inline int QueryResponse::field_size() const {
1464 return field_.size();
1465}
1467 field_.Clear();
1468}
1469inline const ::bgs::protocol::presence::v1::Field& QueryResponse::field(int index) const {
1470 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryResponse.field)
1471 return field_.Get(index);
1472}
1473inline ::bgs::protocol::presence::v1::Field* QueryResponse::mutable_field(int index) {
1474 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryResponse.field)
1475 return field_.Mutable(index);
1476}
1477inline ::bgs::protocol::presence::v1::Field* QueryResponse::add_field() {
1478 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.QueryResponse.field)
1479 return field_.Add();
1480}
1481inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >&
1483 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.QueryResponse.field)
1484 return field_;
1485}
1486inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::Field >*
1488 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.QueryResponse.field)
1489 return &field_;
1490}
1491
1492// -------------------------------------------------------------------
1493
1494// BatchSubscribeRequest
1495
1496// optional .bgs.protocol.EntityId agent_id = 1;
1498 return (_has_bits_[0] & 0x00000001u) != 0;
1499}
1501 _has_bits_[0] |= 0x00000001u;
1502}
1504 _has_bits_[0] &= ~0x00000001u;
1505}
1507 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1509}
1510inline const ::bgs::protocol::EntityId& BatchSubscribeRequest::agent_id() const {
1511 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeRequest.agent_id)
1512 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1513}
1514inline ::bgs::protocol::EntityId* BatchSubscribeRequest::mutable_agent_id() {
1516 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1517 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchSubscribeRequest.agent_id)
1518 return agent_id_;
1519}
1520inline ::bgs::protocol::EntityId* BatchSubscribeRequest::release_agent_id() {
1523 agent_id_ = NULL;
1524 return temp;
1525}
1527 delete agent_id_;
1529 if (agent_id) {
1531 } else {
1533 }
1534 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.BatchSubscribeRequest.agent_id)
1535}
1536
1537// repeated .bgs.protocol.EntityId entity_id = 2;
1539 return entity_id_.size();
1540}
1542 entity_id_.Clear();
1543}
1544inline const ::bgs::protocol::EntityId& BatchSubscribeRequest::entity_id(int index) const {
1545 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeRequest.entity_id)
1546 return entity_id_.Get(index);
1547}
1548inline ::bgs::protocol::EntityId* BatchSubscribeRequest::mutable_entity_id(int index) {
1549 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchSubscribeRequest.entity_id)
1550 return entity_id_.Mutable(index);
1551}
1552inline ::bgs::protocol::EntityId* BatchSubscribeRequest::add_entity_id() {
1553 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.BatchSubscribeRequest.entity_id)
1554 return entity_id_.Add();
1555}
1556inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
1558 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.BatchSubscribeRequest.entity_id)
1559 return entity_id_;
1560}
1561inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
1563 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.BatchSubscribeRequest.entity_id)
1564 return &entity_id_;
1565}
1566
1567// repeated fixed32 program = 3;
1569 return program_.size();
1570}
1572 program_.Clear();
1573}
1575 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeRequest.program)
1576 return program_.Get(index);
1577}
1579 program_.Set(index, value);
1580 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.BatchSubscribeRequest.program)
1581}
1583 program_.Add(value);
1584 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.BatchSubscribeRequest.program)
1585}
1586inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1588 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.BatchSubscribeRequest.program)
1589 return program_;
1590}
1591inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1593 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.BatchSubscribeRequest.program)
1594 return &program_;
1595}
1596
1597// repeated .bgs.protocol.presence.v1.FieldKey key = 4;
1599 return key_.size();
1600}
1602 key_.Clear();
1603}
1604inline const ::bgs::protocol::presence::v1::FieldKey& BatchSubscribeRequest::key(int index) const {
1605 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeRequest.key)
1606 return key_.Get(index);
1607}
1608inline ::bgs::protocol::presence::v1::FieldKey* BatchSubscribeRequest::mutable_key(int index) {
1609 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchSubscribeRequest.key)
1610 return key_.Mutable(index);
1611}
1612inline ::bgs::protocol::presence::v1::FieldKey* BatchSubscribeRequest::add_key() {
1613 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.BatchSubscribeRequest.key)
1614 return key_.Add();
1615}
1616inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >&
1618 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.BatchSubscribeRequest.key)
1619 return key_;
1620}
1621inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey >*
1623 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.BatchSubscribeRequest.key)
1624 return &key_;
1625}
1626
1627// optional uint64 object_id = 5;
1629 return (_has_bits_[0] & 0x00000010u) != 0;
1630}
1632 _has_bits_[0] |= 0x00000010u;
1633}
1635 _has_bits_[0] &= ~0x00000010u;
1636}
1638 object_id_ = GOOGLE_ULONGLONG(0);
1640}
1642 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeRequest.object_id)
1643 return object_id_;
1644}
1647 object_id_ = value;
1648 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.BatchSubscribeRequest.object_id)
1649}
1650
1651// -------------------------------------------------------------------
1652
1653// SubscribeResult
1654
1655// optional .bgs.protocol.EntityId entity_id = 1;
1657 return (_has_bits_[0] & 0x00000001u) != 0;
1658}
1660 _has_bits_[0] |= 0x00000001u;
1661}
1663 _has_bits_[0] &= ~0x00000001u;
1664}
1666 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1668}
1669inline const ::bgs::protocol::EntityId& SubscribeResult::entity_id() const {
1670 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeResult.entity_id)
1671 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1672}
1673inline ::bgs::protocol::EntityId* SubscribeResult::mutable_entity_id() {
1675 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1676 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.SubscribeResult.entity_id)
1677 return entity_id_;
1678}
1679inline ::bgs::protocol::EntityId* SubscribeResult::release_entity_id() {
1682 entity_id_ = NULL;
1683 return temp;
1684}
1686 delete entity_id_;
1688 if (entity_id) {
1690 } else {
1692 }
1693 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.SubscribeResult.entity_id)
1694}
1695
1696// optional uint32 result = 2;
1697inline bool SubscribeResult::has_result() const {
1698 return (_has_bits_[0] & 0x00000002u) != 0;
1699}
1701 _has_bits_[0] |= 0x00000002u;
1702}
1704 _has_bits_[0] &= ~0x00000002u;
1705}
1707 result_ = 0u;
1709}
1711 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeResult.result)
1712 return result_;
1713}
1716 result_ = value;
1717 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.SubscribeResult.result)
1718}
1719
1720// -------------------------------------------------------------------
1721
1722// BatchSubscribeResponse
1723
1724// repeated .bgs.protocol.presence.v1.SubscribeResult subscribe_failed = 1;
1726 return subscribe_failed_.size();
1727}
1729 subscribe_failed_.Clear();
1730}
1731inline const ::bgs::protocol::presence::v1::SubscribeResult& BatchSubscribeResponse::subscribe_failed(int index) const {
1732 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchSubscribeResponse.subscribe_failed)
1733 return subscribe_failed_.Get(index);
1734}
1735inline ::bgs::protocol::presence::v1::SubscribeResult* BatchSubscribeResponse::mutable_subscribe_failed(int index) {
1736 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchSubscribeResponse.subscribe_failed)
1737 return subscribe_failed_.Mutable(index);
1738}
1739inline ::bgs::protocol::presence::v1::SubscribeResult* BatchSubscribeResponse::add_subscribe_failed() {
1740 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.BatchSubscribeResponse.subscribe_failed)
1741 return subscribe_failed_.Add();
1742}
1743inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >&
1745 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.BatchSubscribeResponse.subscribe_failed)
1746 return subscribe_failed_;
1747}
1748inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult >*
1750 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.BatchSubscribeResponse.subscribe_failed)
1751 return &subscribe_failed_;
1752}
1753
1754// -------------------------------------------------------------------
1755
1756// BatchUnsubscribeRequest
1757
1758// optional .bgs.protocol.EntityId agent_id = 1;
1760 return (_has_bits_[0] & 0x00000001u) != 0;
1761}
1763 _has_bits_[0] |= 0x00000001u;
1764}
1766 _has_bits_[0] &= ~0x00000001u;
1767}
1769 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1771}
1772inline const ::bgs::protocol::EntityId& BatchUnsubscribeRequest::agent_id() const {
1773 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchUnsubscribeRequest.agent_id)
1774 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1775}
1776inline ::bgs::protocol::EntityId* BatchUnsubscribeRequest::mutable_agent_id() {
1778 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1779 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchUnsubscribeRequest.agent_id)
1780 return agent_id_;
1781}
1782inline ::bgs::protocol::EntityId* BatchUnsubscribeRequest::release_agent_id() {
1785 agent_id_ = NULL;
1786 return temp;
1787}
1789 delete agent_id_;
1791 if (agent_id) {
1793 } else {
1795 }
1796 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.BatchUnsubscribeRequest.agent_id)
1797}
1798
1799// repeated .bgs.protocol.EntityId entity_id = 2;
1801 return entity_id_.size();
1802}
1804 entity_id_.Clear();
1805}
1806inline const ::bgs::protocol::EntityId& BatchUnsubscribeRequest::entity_id(int index) const {
1807 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchUnsubscribeRequest.entity_id)
1808 return entity_id_.Get(index);
1809}
1810inline ::bgs::protocol::EntityId* BatchUnsubscribeRequest::mutable_entity_id(int index) {
1811 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.BatchUnsubscribeRequest.entity_id)
1812 return entity_id_.Mutable(index);
1813}
1814inline ::bgs::protocol::EntityId* BatchUnsubscribeRequest::add_entity_id() {
1815 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.BatchUnsubscribeRequest.entity_id)
1816 return entity_id_.Add();
1817}
1818inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
1820 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.BatchUnsubscribeRequest.entity_id)
1821 return entity_id_;
1822}
1823inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
1825 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.BatchUnsubscribeRequest.entity_id)
1826 return &entity_id_;
1827}
1828
1829// optional uint64 object_id = 3;
1831 return (_has_bits_[0] & 0x00000004u) != 0;
1832}
1834 _has_bits_[0] |= 0x00000004u;
1835}
1837 _has_bits_[0] &= ~0x00000004u;
1838}
1840 object_id_ = GOOGLE_ULONGLONG(0);
1842}
1844 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.BatchUnsubscribeRequest.object_id)
1845 return object_id_;
1846}
1849 object_id_ = value;
1850 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.BatchUnsubscribeRequest.object_id)
1851}
1852
1853// @@protoc_insertion_point(namespace_scope)
1854
1855} // namespace v1
1856} // namespace presence
1857} // namespace protocol
1858} // namespace bgs
1859
1860#ifndef SWIG
1861namespace google {
1862namespace protobuf {
1863} // namespace google
1864} // namespace protobuf
1865#endif // SWIG
1866
1867// @@protoc_insertion_point(global_scope)
1868
1869#endif // PROTOBUF_presence_5fservice_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
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
inline ::bgs::protocol::EntityId * mutable_agent_id()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > & entity_id() const
inline ::bgs::protocol::EntityId * release_agent_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const BatchSubscribeRequest & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
BatchSubscribeRequest(const BatchSubscribeRequest &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
::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()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::EntityId & agent_id() const
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()
void Swap(BatchSubscribeRequest *other)
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)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
BatchSubscribeResponse & operator=(const BatchSubscribeResponse &from)
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > & subscribe_failed() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::SubscribeResult > subscribe_failed_
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(BatchUnsubscribeRequest *other)
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()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::EntityId * add_entity_id()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > & entity_id() const
inline ::bgs::protocol::EntityId * release_agent_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::bgs::protocol::EntityId * mutable_agent_id()
BatchUnsubscribeRequest & operator=(const BatchUnsubscribeRequest &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > * mutable_entity_id()
const ::bgs::protocol::EntityId & agent_id() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > entity_id_
inline ::google::protobuf::uint64 object_id() const
BatchUnsubscribeRequest(const BatchUnsubscribeRequest &from)
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
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)
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)
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() 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
friend void protobuf_ShutdownFile_presence_5fservice_2eproto()
QueryRequest(const QueryRequest &from)
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]
const ::bgs::protocol::EntityId & entity_id() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
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_
::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()
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)
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
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_
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()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & program() 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()
SubscribeRequest(const SubscribeRequest &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_program()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > & key() 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)
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
void set_program(int index, ::google::protobuf::uint32 value)
void Swap(SubscribeRequest *other)
const ::bgs::protocol::EntityId & agent_id() const
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > * mutable_key()
static const SubscribeResult & default_instance()
inline ::bgs::protocol::EntityId * release_entity_id()
const ::bgs::protocol::EntityId & entity_id() const
inline ::bgs::protocol::EntityId * mutable_entity_id()
void set_result(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
SubscribeResult & operator=(const SubscribeResult &from)
inline ::google::protobuf::uint32 result() const
SubscribeResult(const SubscribeResult &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::EntityId & agent_id() const
UnsubscribeRequest(const UnsubscribeRequest &from)
void set_object_id(::google::protobuf::uint64 value)
UnsubscribeRequest & operator=(const UnsubscribeRequest &from)
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::bgs::protocol::EntityId * mutable_entity_id()
inline ::bgs::protocol::EntityId * release_agent_id()
inline ::google::protobuf::uint64 object_id() const
::google::protobuf::Metadata GetMetadata() const
static const UnsubscribeRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
void Swap(UnsubscribeRequest *other)
inline ::bgs::protocol::EntityId * mutable_agent_id()
const ::bgs::protocol::EntityId & entity_id() const
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)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::EntityId & entity_id() const
UpdateRequest & operator=(const UpdateRequest &from)
inline ::bgs::protocol::EntityId * mutable_agent_id()
inline ::bgs::protocol::EntityId * release_entity_id()
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)
inline ::bgs::protocol::EntityId * release_agent_id()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
static const ::google::protobuf::Descriptor * descriptor()
static const UpdateRequest & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_presence_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_presence_5fservice_2eproto()
void protobuf_AssignDesc_presence_5fservice_2eproto()
Definition: Session.h:36