TrinityCore
club_membership_service.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_membership_service.proto
3
4#ifndef PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED
5#define PROTOBUF_club_5fmembership_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 "club_types.pb.h"
28#include "club_stream.pb.h"
29#include "ServiceBase.h"
30#include "MessageBuffer.h"
31#include <functional>
32#include <type_traits>
33// @@protoc_insertion_point(includes)
34
35namespace bgs {
36namespace protocol {
37namespace club {
38namespace v1 {
39namespace membership {
40
41// Internal implementation detail -- do not call these.
45
49class GetStateRequest;
56
57// ===================================================================
58
59class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message {
60 public:
63
65
67 CopyFrom(from);
68 return *this;
69 }
70
71 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
72 return _unknown_fields_;
73 }
74
75 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
76 return &_unknown_fields_;
77 }
78
79 static const ::google::protobuf::Descriptor* descriptor();
81
82 void Swap(SubscribeRequest* other);
83
84 // implements Message ----------------------------------------------
85
87 int GetCachedSize() const { return _cached_size_; }
88 private:
89 void SharedCtor();
90 void SharedDtor();
91 void SetCachedSize(int size) const;
92 public:
93 ::google::protobuf::Metadata GetMetadata() const;
94
95 // nested types ----------------------------------------------------
96
97 // accessors -------------------------------------------------------
98
99 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
100 inline bool has_agent_id() const;
101 inline void clear_agent_id();
102 static const int kAgentIdFieldNumber = 1;
103 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
104 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
105 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
106 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
107
108 // optional .bgs.protocol.club.v1.ClubMembershipSubscribeOptions options = 2;
109 inline bool has_options() const;
110 inline void clear_options();
111 static const int kOptionsFieldNumber = 2;
112 inline const ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions& options() const;
113 inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* mutable_options();
114 inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* release_options();
115 inline void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* options);
116
117 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.SubscribeRequest)
118 private:
119 inline void set_has_agent_id();
120 inline void clear_has_agent_id();
121 inline void set_has_options();
122 inline void clear_has_options();
123
124 ::google::protobuf::UnknownFieldSet _unknown_fields_;
125
127 mutable int _cached_size_;
133
136};
137// -------------------------------------------------------------------
138
139class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message {
140 public:
143
145
147 CopyFrom(from);
148 return *this;
149 }
150
151 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
152 return _unknown_fields_;
153 }
154
155 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
156 return &_unknown_fields_;
157 }
158
159 static const ::google::protobuf::Descriptor* descriptor();
161
163
164 // implements Message ----------------------------------------------
165
167 int GetCachedSize() const { return _cached_size_; }
168 private:
171 void SetCachedSize(int size) const;
172 public:
173 ::google::protobuf::Metadata GetMetadata() const;
174
175 // nested types ----------------------------------------------------
176
177 // accessors -------------------------------------------------------
178
179 // optional .bgs.protocol.club.v1.ClubMembershipState state = 1;
180 inline bool has_state() const;
181 inline void clear_state();
182 static const int kStateFieldNumber = 1;
183 inline const ::bgs::protocol::club::v1::ClubMembershipState& state() const;
184 inline ::bgs::protocol::club::v1::ClubMembershipState* mutable_state();
185 inline ::bgs::protocol::club::v1::ClubMembershipState* release_state();
186 inline void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state);
187
188 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.SubscribeResponse)
189 private:
190 inline void set_has_state();
191 inline void clear_has_state();
192
193 ::google::protobuf::UnknownFieldSet _unknown_fields_;
194
196 mutable int _cached_size_;
201
204};
205// -------------------------------------------------------------------
206
207class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message {
208 public:
211
213
215 CopyFrom(from);
216 return *this;
217 }
218
219 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
220 return _unknown_fields_;
221 }
222
223 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
224 return &_unknown_fields_;
225 }
226
227 static const ::google::protobuf::Descriptor* descriptor();
229
231
232 // implements Message ----------------------------------------------
233
235 int GetCachedSize() const { return _cached_size_; }
236 private:
239 void SetCachedSize(int size) const;
240 public:
241 ::google::protobuf::Metadata GetMetadata() const;
242
243 // nested types ----------------------------------------------------
244
245 // accessors -------------------------------------------------------
246
247 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
248 inline bool has_agent_id() const;
249 inline void clear_agent_id();
250 static const int kAgentIdFieldNumber = 1;
251 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
252 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
253 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
254 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
255
256 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.UnsubscribeRequest)
257 private:
258 inline void set_has_agent_id();
259 inline void clear_has_agent_id();
260
261 ::google::protobuf::UnknownFieldSet _unknown_fields_;
262
264 mutable int _cached_size_;
269
272};
273// -------------------------------------------------------------------
274
275class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message {
276 public:
279
281
283 CopyFrom(from);
284 return *this;
285 }
286
287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
288 return _unknown_fields_;
289 }
290
291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
292 return &_unknown_fields_;
293 }
294
295 static const ::google::protobuf::Descriptor* descriptor();
297
298 void Swap(GetStateRequest* other);
299
300 // implements Message ----------------------------------------------
301
303 int GetCachedSize() const { return _cached_size_; }
304 private:
307 void SetCachedSize(int size) const;
308 public:
309 ::google::protobuf::Metadata GetMetadata() const;
310
311 // nested types ----------------------------------------------------
312
313 // accessors -------------------------------------------------------
314
315 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
316 inline bool has_agent_id() const;
317 inline void clear_agent_id();
318 static const int kAgentIdFieldNumber = 1;
319 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
320 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
321 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
322 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
323
324 // optional .bgs.protocol.club.v1.ClubMembershipGetStateOptions options = 2;
325 inline bool has_options() const;
326 inline void clear_options();
327 static const int kOptionsFieldNumber = 2;
328 inline const ::bgs::protocol::club::v1::ClubMembershipGetStateOptions& options() const;
329 inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* mutable_options();
330 inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* release_options();
331 inline void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipGetStateOptions* options);
332
333 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStateRequest)
334 private:
335 inline void set_has_agent_id();
336 inline void clear_has_agent_id();
337 inline void set_has_options();
338 inline void clear_has_options();
339
340 ::google::protobuf::UnknownFieldSet _unknown_fields_;
341
343 mutable int _cached_size_;
349
352};
353// -------------------------------------------------------------------
354
355class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message {
356 public:
359
361
363 CopyFrom(from);
364 return *this;
365 }
366
367 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
368 return _unknown_fields_;
369 }
370
371 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
372 return &_unknown_fields_;
373 }
374
375 static const ::google::protobuf::Descriptor* descriptor();
377
378 void Swap(GetStateResponse* other);
379
380 // implements Message ----------------------------------------------
381
383 int GetCachedSize() const { return _cached_size_; }
384 private:
387 void SetCachedSize(int size) const;
388 public:
389 ::google::protobuf::Metadata GetMetadata() const;
390
391 // nested types ----------------------------------------------------
392
393 // accessors -------------------------------------------------------
394
395 // optional .bgs.protocol.club.v1.ClubMembershipState state = 1;
396 inline bool has_state() const;
397 inline void clear_state();
398 static const int kStateFieldNumber = 1;
399 inline const ::bgs::protocol::club::v1::ClubMembershipState& state() const;
400 inline ::bgs::protocol::club::v1::ClubMembershipState* mutable_state();
401 inline ::bgs::protocol::club::v1::ClubMembershipState* release_state();
402 inline void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state);
403
404 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStateResponse)
405 private:
406 inline void set_has_state();
407 inline void clear_has_state();
408
409 ::google::protobuf::UnknownFieldSet _unknown_fields_;
410
412 mutable int _cached_size_;
417
420};
421// -------------------------------------------------------------------
422
423class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf::Message {
424 public:
427
429
431 CopyFrom(from);
432 return *this;
433 }
434
435 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
436 return _unknown_fields_;
437 }
438
439 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
440 return &_unknown_fields_;
441 }
442
443 static const ::google::protobuf::Descriptor* descriptor();
445
447
448 // implements Message ----------------------------------------------
449
451 int GetCachedSize() const { return _cached_size_; }
452 private:
455 void SetCachedSize(int size) const;
456 public:
457 ::google::protobuf::Metadata GetMetadata() const;
458
459 // nested types ----------------------------------------------------
460
461 // accessors -------------------------------------------------------
462
463 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
464 inline bool has_agent_id() const;
465 inline void clear_agent_id();
466 static const int kAgentIdFieldNumber = 1;
467 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
468 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
469 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
470 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
471
472 // optional .bgs.protocol.club.v1.ClubSharedSettingsOptions options = 2;
473 inline bool has_options() const;
474 inline void clear_options();
475 static const int kOptionsFieldNumber = 2;
476 inline const ::bgs::protocol::club::v1::ClubSharedSettingsOptions& options() const;
477 inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* mutable_options();
478 inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* release_options();
479 inline void set_allocated_options(::bgs::protocol::club::v1::ClubSharedSettingsOptions* options);
480
481 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest)
482 private:
483 inline void set_has_agent_id();
484 inline void clear_has_agent_id();
485 inline void set_has_options();
486 inline void clear_has_options();
487
488 ::google::protobuf::UnknownFieldSet _unknown_fields_;
489
491 mutable int _cached_size_;
497
500};
501// -------------------------------------------------------------------
502
503class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message {
504 public:
507
509
511 CopyFrom(from);
512 return *this;
513 }
514
515 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
516 return _unknown_fields_;
517 }
518
519 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
520 return &_unknown_fields_;
521 }
522
523 static const ::google::protobuf::Descriptor* descriptor();
525
527
528 // implements Message ----------------------------------------------
529
531 int GetCachedSize() const { return _cached_size_; }
532 private:
535 void SetCachedSize(int size) const;
536 public:
537 ::google::protobuf::Metadata GetMetadata() const;
538
539 // nested types ----------------------------------------------------
540
541 // accessors -------------------------------------------------------
542
543 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
544 inline bool has_agent_id() const;
545 inline void clear_agent_id();
546 static const int kAgentIdFieldNumber = 1;
547 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
548 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
549 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
550 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
551
552 // optional .bgs.protocol.GetEventOptions options = 2;
553 inline bool has_options() const;
554 inline void clear_options();
555 static const int kOptionsFieldNumber = 2;
556 inline const ::bgs::protocol::GetEventOptions& options() const;
557 inline ::bgs::protocol::GetEventOptions* mutable_options();
558 inline ::bgs::protocol::GetEventOptions* release_options();
559 inline void set_allocated_options(::bgs::protocol::GetEventOptions* options);
560
561 // optional bool fetch_messages = 3;
562 inline bool has_fetch_messages() const;
563 inline void clear_fetch_messages();
564 static const int kFetchMessagesFieldNumber = 3;
565 inline bool fetch_messages() const;
566 inline void set_fetch_messages(bool value);
567
568 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStreamMentionsRequest)
569 private:
570 inline void set_has_agent_id();
571 inline void clear_has_agent_id();
572 inline void set_has_options();
573 inline void clear_has_options();
574 inline void set_has_fetch_messages();
575 inline void clear_has_fetch_messages();
576
577 ::google::protobuf::UnknownFieldSet _unknown_fields_;
578
580 mutable int _cached_size_;
587
590};
591// -------------------------------------------------------------------
592
593class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Message {
594 public:
597
599
601 CopyFrom(from);
602 return *this;
603 }
604
605 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
606 return _unknown_fields_;
607 }
608
609 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
610 return &_unknown_fields_;
611 }
612
613 static const ::google::protobuf::Descriptor* descriptor();
615
617
618 // implements Message ----------------------------------------------
619
621 int GetCachedSize() const { return _cached_size_; }
622 private:
625 void SetCachedSize(int size) const;
626 public:
627 ::google::protobuf::Metadata GetMetadata() const;
628
629 // nested types ----------------------------------------------------
630
631 // accessors -------------------------------------------------------
632
633 // repeated .bgs.protocol.club.v1.StreamMention mention = 1;
634 inline int mention_size() const;
635 inline void clear_mention();
636 static const int kMentionFieldNumber = 1;
637 inline const ::bgs::protocol::club::v1::StreamMention& mention(int index) const;
638 inline ::bgs::protocol::club::v1::StreamMention* mutable_mention(int index);
639 inline ::bgs::protocol::club::v1::StreamMention* add_mention();
640 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >&
641 mention() const;
642 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >*
643 mutable_mention();
644
645 // optional uint64 continuation = 2;
646 inline bool has_continuation() const;
647 inline void clear_continuation();
648 static const int kContinuationFieldNumber = 2;
649 inline ::google::protobuf::uint64 continuation() const;
650 inline void set_continuation(::google::protobuf::uint64 value);
651
652 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStreamMentionsResponse)
653 private:
654 inline void set_has_continuation();
655 inline void clear_has_continuation();
656
657 ::google::protobuf::UnknownFieldSet _unknown_fields_;
658
660 mutable int _cached_size_;
661 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > mention_;
666
669};
670// -------------------------------------------------------------------
671
672class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Message {
673 public:
676
678
680 CopyFrom(from);
681 return *this;
682 }
683
684 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
685 return _unknown_fields_;
686 }
687
688 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
689 return &_unknown_fields_;
690 }
691
692 static const ::google::protobuf::Descriptor* descriptor();
694
696
697 // implements Message ----------------------------------------------
698
700 int GetCachedSize() const { return _cached_size_; }
701 private:
704 void SetCachedSize(int size) const;
705 public:
706 ::google::protobuf::Metadata GetMetadata() const;
707
708 // nested types ----------------------------------------------------
709
710 // accessors -------------------------------------------------------
711
712 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
713 inline bool has_agent_id() const;
714 inline void clear_agent_id();
715 static const int kAgentIdFieldNumber = 1;
716 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
717 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
718 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
719 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
720
721 // repeated .bgs.protocol.TimeSeriesId mention_id = 2;
722 inline int mention_id_size() const;
723 inline void clear_mention_id();
724 static const int kMentionIdFieldNumber = 2;
725 inline const ::bgs::protocol::TimeSeriesId& mention_id(int index) const;
726 inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(int index);
727 inline ::bgs::protocol::TimeSeriesId* add_mention_id();
728 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >&
729 mention_id() const;
730 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >*
731 mutable_mention_id();
732
733 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest)
734 private:
735 inline void set_has_agent_id();
736 inline void clear_has_agent_id();
737
738 ::google::protobuf::UnknownFieldSet _unknown_fields_;
739
741 mutable int _cached_size_;
743 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > mention_id_;
747
750};
751// -------------------------------------------------------------------
752
753class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message {
754 public:
757
759
761 CopyFrom(from);
762 return *this;
763 }
764
765 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
766 return _unknown_fields_;
767 }
768
769 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
770 return &_unknown_fields_;
771 }
772
773 static const ::google::protobuf::Descriptor* descriptor();
775
777
778 // implements Message ----------------------------------------------
779
781 int GetCachedSize() const { return _cached_size_; }
782 private:
785 void SetCachedSize(int size) const;
786 public:
787 ::google::protobuf::Metadata GetMetadata() const;
788
789 // nested types ----------------------------------------------------
790
791 // accessors -------------------------------------------------------
792
793 // optional .bgs.protocol.account.v1.AccountId agent_id = 1;
794 inline bool has_agent_id() const;
795 inline void clear_agent_id();
796 static const int kAgentIdFieldNumber = 1;
797 inline const ::bgs::protocol::account::v1::AccountId& agent_id() const;
798 inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id();
799 inline ::bgs::protocol::account::v1::AccountId* release_agent_id();
800 inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id);
801
802 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest)
803 private:
804 inline void set_has_agent_id();
805 inline void clear_has_agent_id();
806
807 ::google::protobuf::UnknownFieldSet _unknown_fields_;
808
810 mutable int _cached_size_;
815
818};
819// ===================================================================
820
822{
823 public:
824
825 explicit ClubMembershipService(bool use_original_hash);
831
832 typedef std::integral_constant<uint32, 0x94B94786u> OriginalHash;
833 typedef std::integral_constant<uint32, 0xC1A60DF9u> NameHash;
834
835 static google::protobuf::ServiceDescriptor const* descriptor();
836
837 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
838
839 protected:
840 // server methods --------------------------------------------------
841 virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const* request, ::bgs::protocol::club::v1::membership::SubscribeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
842 virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::membership::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
843 virtual uint32 HandleGetState(::bgs::protocol::club::v1::membership::GetStateRequest const* request, ::bgs::protocol::club::v1::membership::GetStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
844 virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
846 virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
847 virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
848
849 private:
850 void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
851 void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
852 void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer);
857};
858
859// ===================================================================
860
861// ===================================================================
862
863// SubscribeRequest
864
865// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
867 return (_has_bits_[0] & 0x00000001u) != 0;
868}
870 _has_bits_[0] |= 0x00000001u;
871}
873 _has_bits_[0] &= ~0x00000001u;
874}
876 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
878}
879inline const ::bgs::protocol::account::v1::AccountId& SubscribeRequest::agent_id() const {
880 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id)
881 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
882}
883inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::mutable_agent_id() {
885 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
886 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id)
887 return agent_id_;
888}
889inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::release_agent_id() {
892 agent_id_ = NULL;
893 return temp;
894}
896 delete agent_id_;
898 if (agent_id) {
900 } else {
902 }
903 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id)
904}
905
906// optional .bgs.protocol.club.v1.ClubMembershipSubscribeOptions options = 2;
907inline bool SubscribeRequest::has_options() const {
908 return (_has_bits_[0] & 0x00000002u) != 0;
909}
911 _has_bits_[0] |= 0x00000002u;
912}
914 _has_bits_[0] &= ~0x00000002u;
915}
917 if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubMembershipSubscribeOptions::Clear();
919}
920inline const ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions& SubscribeRequest::options() const {
921 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeRequest.options)
922 return options_ != NULL ? *options_ : *default_instance_->options_;
923}
924inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* SubscribeRequest::mutable_options() {
926 if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions;
927 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeRequest.options)
928 return options_;
929}
930inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() {
933 options_ = NULL;
934 return temp;
935}
937 delete options_;
939 if (options) {
941 } else {
943 }
944 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.options)
945}
946
947// -------------------------------------------------------------------
948
949// SubscribeResponse
950
951// optional .bgs.protocol.club.v1.ClubMembershipState state = 1;
952inline bool SubscribeResponse::has_state() const {
953 return (_has_bits_[0] & 0x00000001u) != 0;
954}
956 _has_bits_[0] |= 0x00000001u;
957}
959 _has_bits_[0] &= ~0x00000001u;
960}
962 if (state_ != NULL) state_->::bgs::protocol::club::v1::ClubMembershipState::Clear();
964}
965inline const ::bgs::protocol::club::v1::ClubMembershipState& SubscribeResponse::state() const {
966 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeResponse.state)
967 return state_ != NULL ? *state_ : *default_instance_->state_;
968}
969inline ::bgs::protocol::club::v1::ClubMembershipState* SubscribeResponse::mutable_state() {
971 if (state_ == NULL) state_ = new ::bgs::protocol::club::v1::ClubMembershipState;
972 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeResponse.state)
973 return state_;
974}
975inline ::bgs::protocol::club::v1::ClubMembershipState* SubscribeResponse::release_state() {
978 state_ = NULL;
979 return temp;
980}
982 delete state_;
983 state_ = state;
984 if (state) {
986 } else {
988 }
989 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeResponse.state)
990}
991
992// -------------------------------------------------------------------
993
994// UnsubscribeRequest
995
996// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
998 return (_has_bits_[0] & 0x00000001u) != 0;
999}
1001 _has_bits_[0] |= 0x00000001u;
1002}
1004 _has_bits_[0] &= ~0x00000001u;
1005}
1007 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1009}
1010inline const ::bgs::protocol::account::v1::AccountId& UnsubscribeRequest::agent_id() const {
1011 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id)
1012 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1013}
1014inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::mutable_agent_id() {
1016 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1017 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id)
1018 return agent_id_;
1019}
1020inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::release_agent_id() {
1023 agent_id_ = NULL;
1024 return temp;
1025}
1027 delete agent_id_;
1029 if (agent_id) {
1031 } else {
1033 }
1034 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id)
1035}
1036
1037// -------------------------------------------------------------------
1038
1039// GetStateRequest
1040
1041// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
1043 return (_has_bits_[0] & 0x00000001u) != 0;
1044}
1046 _has_bits_[0] |= 0x00000001u;
1047}
1049 _has_bits_[0] &= ~0x00000001u;
1050}
1052 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1054}
1055inline const ::bgs::protocol::account::v1::AccountId& GetStateRequest::agent_id() const {
1056 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateRequest.agent_id)
1057 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1058}
1059inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::mutable_agent_id() {
1061 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1062 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateRequest.agent_id)
1063 return agent_id_;
1064}
1065inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::release_agent_id() {
1068 agent_id_ = NULL;
1069 return temp;
1070}
1072 delete agent_id_;
1074 if (agent_id) {
1076 } else {
1078 }
1079 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.agent_id)
1080}
1081
1082// optional .bgs.protocol.club.v1.ClubMembershipGetStateOptions options = 2;
1083inline bool GetStateRequest::has_options() const {
1084 return (_has_bits_[0] & 0x00000002u) != 0;
1085}
1087 _has_bits_[0] |= 0x00000002u;
1088}
1090 _has_bits_[0] &= ~0x00000002u;
1091}
1093 if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubMembershipGetStateOptions::Clear();
1095}
1096inline const ::bgs::protocol::club::v1::ClubMembershipGetStateOptions& GetStateRequest::options() const {
1097 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateRequest.options)
1098 return options_ != NULL ? *options_ : *default_instance_->options_;
1099}
1100inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* GetStateRequest::mutable_options() {
1102 if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubMembershipGetStateOptions;
1103 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateRequest.options)
1104 return options_;
1105}
1106inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* GetStateRequest::release_options() {
1109 options_ = NULL;
1110 return temp;
1111}
1113 delete options_;
1114 options_ = options;
1115 if (options) {
1117 } else {
1119 }
1120 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.options)
1121}
1122
1123// -------------------------------------------------------------------
1124
1125// GetStateResponse
1126
1127// optional .bgs.protocol.club.v1.ClubMembershipState state = 1;
1128inline bool GetStateResponse::has_state() const {
1129 return (_has_bits_[0] & 0x00000001u) != 0;
1130}
1132 _has_bits_[0] |= 0x00000001u;
1133}
1135 _has_bits_[0] &= ~0x00000001u;
1136}
1138 if (state_ != NULL) state_->::bgs::protocol::club::v1::ClubMembershipState::Clear();
1140}
1141inline const ::bgs::protocol::club::v1::ClubMembershipState& GetStateResponse::state() const {
1142 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateResponse.state)
1143 return state_ != NULL ? *state_ : *default_instance_->state_;
1144}
1145inline ::bgs::protocol::club::v1::ClubMembershipState* GetStateResponse::mutable_state() {
1146 set_has_state();
1147 if (state_ == NULL) state_ = new ::bgs::protocol::club::v1::ClubMembershipState;
1148 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateResponse.state)
1149 return state_;
1150}
1151inline ::bgs::protocol::club::v1::ClubMembershipState* GetStateResponse::release_state() {
1154 state_ = NULL;
1155 return temp;
1156}
1158 delete state_;
1159 state_ = state;
1160 if (state) {
1161 set_has_state();
1162 } else {
1164 }
1165 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateResponse.state)
1166}
1167
1168// -------------------------------------------------------------------
1169
1170// UpdateClubSharedSettingsRequest
1171
1172// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
1174 return (_has_bits_[0] & 0x00000001u) != 0;
1175}
1177 _has_bits_[0] |= 0x00000001u;
1178}
1180 _has_bits_[0] &= ~0x00000001u;
1181}
1183 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1185}
1186inline const ::bgs::protocol::account::v1::AccountId& UpdateClubSharedSettingsRequest::agent_id() const {
1187 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id)
1188 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1189}
1190inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::mutable_agent_id() {
1192 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1193 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id)
1194 return agent_id_;
1195}
1196inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::release_agent_id() {
1199 agent_id_ = NULL;
1200 return temp;
1201}
1203 delete agent_id_;
1205 if (agent_id) {
1207 } else {
1209 }
1210 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id)
1211}
1212
1213// optional .bgs.protocol.club.v1.ClubSharedSettingsOptions options = 2;
1215 return (_has_bits_[0] & 0x00000002u) != 0;
1216}
1218 _has_bits_[0] |= 0x00000002u;
1219}
1221 _has_bits_[0] &= ~0x00000002u;
1222}
1224 if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubSharedSettingsOptions::Clear();
1226}
1227inline const ::bgs::protocol::club::v1::ClubSharedSettingsOptions& UpdateClubSharedSettingsRequest::options() const {
1228 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options)
1229 return options_ != NULL ? *options_ : *default_instance_->options_;
1230}
1231inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::mutable_options() {
1233 if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubSharedSettingsOptions;
1234 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options)
1235 return options_;
1236}
1237inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() {
1240 options_ = NULL;
1241 return temp;
1242}
1244 delete options_;
1245 options_ = options;
1246 if (options) {
1248 } else {
1250 }
1251 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options)
1252}
1253
1254// -------------------------------------------------------------------
1255
1256// GetStreamMentionsRequest
1257
1258// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
1260 return (_has_bits_[0] & 0x00000001u) != 0;
1261}
1263 _has_bits_[0] |= 0x00000001u;
1264}
1266 _has_bits_[0] &= ~0x00000001u;
1267}
1269 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1271}
1272inline const ::bgs::protocol::account::v1::AccountId& GetStreamMentionsRequest::agent_id() const {
1273 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id)
1274 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1275}
1276inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::mutable_agent_id() {
1278 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1279 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id)
1280 return agent_id_;
1281}
1282inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::release_agent_id() {
1285 agent_id_ = NULL;
1286 return temp;
1287}
1289 delete agent_id_;
1291 if (agent_id) {
1293 } else {
1295 }
1296 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id)
1297}
1298
1299// optional .bgs.protocol.GetEventOptions options = 2;
1301 return (_has_bits_[0] & 0x00000002u) != 0;
1302}
1304 _has_bits_[0] |= 0x00000002u;
1305}
1307 _has_bits_[0] &= ~0x00000002u;
1308}
1310 if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear();
1312}
1313inline const ::bgs::protocol::GetEventOptions& GetStreamMentionsRequest::options() const {
1314 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options)
1315 return options_ != NULL ? *options_ : *default_instance_->options_;
1316}
1317inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::mutable_options() {
1319 if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions;
1320 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options)
1321 return options_;
1322}
1323inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::release_options() {
1326 options_ = NULL;
1327 return temp;
1328}
1330 delete options_;
1331 options_ = options;
1332 if (options) {
1334 } else {
1336 }
1337 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options)
1338}
1339
1340// optional bool fetch_messages = 3;
1342 return (_has_bits_[0] & 0x00000004u) != 0;
1343}
1345 _has_bits_[0] |= 0x00000004u;
1346}
1348 _has_bits_[0] &= ~0x00000004u;
1349}
1351 fetch_messages_ = false;
1353}
1355 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.fetch_messages)
1356 return fetch_messages_;
1357}
1360 fetch_messages_ = value;
1361 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.fetch_messages)
1362}
1363
1364// -------------------------------------------------------------------
1365
1366// GetStreamMentionsResponse
1367
1368// repeated .bgs.protocol.club.v1.StreamMention mention = 1;
1370 return mention_.size();
1371}
1373 mention_.Clear();
1374}
1375inline const ::bgs::protocol::club::v1::StreamMention& GetStreamMentionsResponse::mention(int index) const {
1376 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention)
1377 return mention_.Get(index);
1378}
1379inline ::bgs::protocol::club::v1::StreamMention* GetStreamMentionsResponse::mutable_mention(int index) {
1380 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention)
1381 return mention_.Mutable(index);
1382}
1383inline ::bgs::protocol::club::v1::StreamMention* GetStreamMentionsResponse::add_mention() {
1384 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention)
1385 return mention_.Add();
1386}
1387inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >&
1389 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention)
1390 return mention_;
1391}
1392inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >*
1394 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention)
1395 return &mention_;
1396}
1397
1398// optional uint64 continuation = 2;
1400 return (_has_bits_[0] & 0x00000002u) != 0;
1401}
1403 _has_bits_[0] |= 0x00000002u;
1404}
1406 _has_bits_[0] &= ~0x00000002u;
1407}
1409 continuation_ = GOOGLE_ULONGLONG(0);
1411}
1413 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.continuation)
1414 return continuation_;
1415}
1418 continuation_ = value;
1419 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.continuation)
1420}
1421
1422// -------------------------------------------------------------------
1423
1424// RemoveStreamMentionsRequest
1425
1426// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
1428 return (_has_bits_[0] & 0x00000001u) != 0;
1429}
1431 _has_bits_[0] |= 0x00000001u;
1432}
1434 _has_bits_[0] &= ~0x00000001u;
1435}
1437 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1439}
1440inline const ::bgs::protocol::account::v1::AccountId& RemoveStreamMentionsRequest::agent_id() const {
1441 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id)
1442 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1443}
1444inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::mutable_agent_id() {
1446 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1447 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id)
1448 return agent_id_;
1449}
1450inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::release_agent_id() {
1453 agent_id_ = NULL;
1454 return temp;
1455}
1457 delete agent_id_;
1459 if (agent_id) {
1461 } else {
1463 }
1464 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id)
1465}
1466
1467// repeated .bgs.protocol.TimeSeriesId mention_id = 2;
1469 return mention_id_.size();
1470}
1472 mention_id_.Clear();
1473}
1474inline const ::bgs::protocol::TimeSeriesId& RemoveStreamMentionsRequest::mention_id(int index) const {
1475 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id)
1476 return mention_id_.Get(index);
1477}
1478inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::mutable_mention_id(int index) {
1479 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id)
1480 return mention_id_.Mutable(index);
1481}
1482inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::add_mention_id() {
1483 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id)
1484 return mention_id_.Add();
1485}
1486inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >&
1488 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id)
1489 return mention_id_;
1490}
1491inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >*
1493 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id)
1494 return &mention_id_;
1495}
1496
1497// -------------------------------------------------------------------
1498
1499// AdvanceStreamMentionViewTimeRequest
1500
1501// optional .bgs.protocol.account.v1.AccountId agent_id = 1;
1503 return (_has_bits_[0] & 0x00000001u) != 0;
1504}
1506 _has_bits_[0] |= 0x00000001u;
1507}
1509 _has_bits_[0] &= ~0x00000001u;
1510}
1512 if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear();
1514}
1515inline const ::bgs::protocol::account::v1::AccountId& AdvanceStreamMentionViewTimeRequest::agent_id() const {
1516 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id)
1517 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1518}
1519inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id() {
1521 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId;
1522 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id)
1523 return agent_id_;
1524}
1525inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::release_agent_id() {
1528 agent_id_ = NULL;
1529 return temp;
1530}
1532 delete agent_id_;
1534 if (agent_id) {
1536 } else {
1538 }
1539 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id)
1540}
1541
1542// @@protoc_insertion_point(namespace_scope)
1543
1544} // namespace membership
1545} // namespace v1
1546} // namespace club
1547} // namespace protocol
1548} // namespace bgs
1549
1550#ifndef SWIG
1551namespace google {
1552namespace protobuf {
1553} // namespace google
1554} // namespace protobuf
1555#endif // SWIG
1556
1557// @@protoc_insertion_point(global_scope)
1558
1559#endif // PROTOBUF_club_5fmembership_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
static const ::google::protobuf::Descriptor * descriptor()
static const AdvanceStreamMentionViewTimeRequest & default_instance()
void Swap(AdvanceStreamMentionViewTimeRequest *other)
AdvanceStreamMentionViewTimeRequest & operator=(const AdvanceStreamMentionViewTimeRequest &from)
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest &from)
void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
static google::protobuf::ServiceDescriptor const * descriptor()
std::integral_constant< uint32, 0x94B94786u > OriginalHash
ClubMembershipService & operator=(ClubMembershipService const &)=delete
virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const *request, ::bgs::protocol::club::v1::membership::SubscribeResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetState(::bgs::protocol::club::v1::membership::GetStateRequest const *request, ::bgs::protocol::club::v1::membership::GetStateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
virtual uint32 HandleGetStreamMentions(::bgs::protocol::club::v1::membership::GetStreamMentionsRequest const *request, ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
ClubMembershipService(ClubMembershipService const &)=delete
ClubMembershipService(ClubMembershipService &&)=delete
virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::membership::UnsubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer &buffer)
ClubMembershipService & operator=(ClubMembershipService &&)=delete
static const GetStateRequest & default_instance()
inline ::bgs::protocol::account::v1::AccountId * mutable_agent_id()
inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions * release_options()
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::club::v1::ClubMembershipGetStateOptions & options() const
const ::bgs::protocol::account::v1::AccountId & agent_id() const
inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions * mutable_options()
inline ::bgs::protocol::account::v1::AccountId * release_agent_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
GetStateRequest & operator=(const GetStateRequest &from)
::bgs::protocol::club::v1::ClubMembershipGetStateOptions * options_
void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipGetStateOptions *options)
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
const ::bgs::protocol::club::v1::ClubMembershipState & state() const
static const ::google::protobuf::Descriptor * descriptor()
GetStateResponse & operator=(const GetStateResponse &from)
::google::protobuf::Metadata GetMetadata() const
void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState *state)
inline ::bgs::protocol::club::v1::ClubMembershipState * mutable_state()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::club::v1::ClubMembershipState * state_
static const GetStateResponse & default_instance()
inline ::bgs::protocol::club::v1::ClubMembershipState * release_state()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
void set_allocated_options(::bgs::protocol::GetEventOptions *options)
GetStreamMentionsRequest(const GetStreamMentionsRequest &from)
inline ::bgs::protocol::account::v1::AccountId * release_agent_id()
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
inline ::bgs::protocol::account::v1::AccountId * mutable_agent_id()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const GetStreamMentionsRequest & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
const ::bgs::protocol::account::v1::AccountId & agent_id() const
GetStreamMentionsRequest & operator=(const GetStreamMentionsRequest &from)
inline ::bgs::protocol::club::v1::StreamMention * add_mention()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
GetStreamMentionsResponse(const GetStreamMentionsResponse &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > & mention() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > mention_
static const GetStreamMentionsResponse & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > * mutable_mention()
GetStreamMentionsResponse & operator=(const GetStreamMentionsResponse &from)
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::account::v1::AccountId * release_agent_id()
static const RemoveStreamMentionsRequest & default_instance()
RemoveStreamMentionsRequest & operator=(const RemoveStreamMentionsRequest &from)
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
inline ::bgs::protocol::account::v1::AccountId * mutable_agent_id()
const ::bgs::protocol::account::v1::AccountId & agent_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > & mention_id() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > * mutable_mention_id()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > mention_id_
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest &from)
const ::bgs::protocol::account::v1::AccountId & agent_id() const
inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions * mutable_options()
inline ::bgs::protocol::account::v1::AccountId * mutable_agent_id()
SubscribeRequest & operator=(const SubscribeRequest &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipSubscribeOptions *options)
::google::protobuf::Metadata GetMetadata() const
static const SubscribeRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::club::v1::ClubMembershipSubscribeOptions * options_
inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions * release_options()
inline ::bgs::protocol::account::v1::AccountId * release_agent_id()
const ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions & options() const
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::ClubMembershipState * mutable_state()
::bgs::protocol::club::v1::ClubMembershipState * state_
const ::bgs::protocol::club::v1::ClubMembershipState & state() const
SubscribeResponse & operator=(const SubscribeResponse &from)
inline ::bgs::protocol::club::v1::ClubMembershipState * release_state()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState *state)
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
static const SubscribeResponse & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
UnsubscribeRequest & operator=(const UnsubscribeRequest &from)
const ::bgs::protocol::account::v1::AccountId & agent_id() const
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
UnsubscribeRequest(const UnsubscribeRequest &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountId * release_agent_id()
static const UnsubscribeRequest & default_instance()
inline ::bgs::protocol::account::v1::AccountId * mutable_agent_id()
friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
void set_allocated_options(::bgs::protocol::club::v1::ClubSharedSettingsOptions *options)
const ::bgs::protocol::club::v1::ClubSharedSettingsOptions & options() const
static const ::google::protobuf::Descriptor * descriptor()
UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
UpdateClubSharedSettingsRequest & operator=(const UpdateClubSharedSettingsRequest &from)
::bgs::protocol::club::v1::ClubSharedSettingsOptions * options_
const ::bgs::protocol::account::v1::AccountId & agent_id() const
inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions * release_options()
void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId *agent_id)
inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions * mutable_options()
static const UpdateClubSharedSettingsRequest & default_instance()
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto()
void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto()
Definition: Session.h:36