TrinityCore
account_service.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: account_service.proto
3
4#ifndef PROTOBUF_account_5fservice_2eproto__INCLUDED
5#define PROTOBUF_account_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 "account_types.pb.h"
28#include "entity_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 account {
39namespace v1 {
40
41// Internal implementation detail -- do not call these.
45
75
76// ===================================================================
77
78class TC_PROTO_API ResolveAccountRequest : public ::google::protobuf::Message {
79 public:
82
84
86 CopyFrom(from);
87 return *this;
88 }
89
90 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
91 return _unknown_fields_;
92 }
93
94 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
95 return &_unknown_fields_;
96 }
97
98 static const ::google::protobuf::Descriptor* descriptor();
100
102
103 // implements Message ----------------------------------------------
104
106 int GetCachedSize() const { return _cached_size_; }
107 private:
110 void SetCachedSize(int size) const;
111 public:
112 ::google::protobuf::Metadata GetMetadata() const;
113
114 // nested types ----------------------------------------------------
115
116 // accessors -------------------------------------------------------
117
118 // optional .bgs.protocol.account.v1.AccountReference ref = 1;
119 inline bool has_ref() const;
120 inline void clear_ref();
121 static const int kRefFieldNumber = 1;
122 inline const ::bgs::protocol::account::v1::AccountReference& ref() const;
123 inline ::bgs::protocol::account::v1::AccountReference* mutable_ref();
124 inline ::bgs::protocol::account::v1::AccountReference* release_ref();
125 inline void set_allocated_ref(::bgs::protocol::account::v1::AccountReference* ref);
126
127 // optional bool fetch_id = 12;
128 inline bool has_fetch_id() const;
129 inline void clear_fetch_id();
130 static const int kFetchIdFieldNumber = 12;
131 inline bool fetch_id() const;
132 inline void set_fetch_id(bool value);
133
134 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ResolveAccountRequest)
135 private:
136 inline void set_has_ref();
137 inline void clear_has_ref();
138 inline void set_has_fetch_id();
139 inline void clear_has_fetch_id();
140
141 ::google::protobuf::UnknownFieldSet _unknown_fields_;
142
144 mutable int _cached_size_;
150
153};
154// -------------------------------------------------------------------
155
156class TC_PROTO_API ResolveAccountResponse : public ::google::protobuf::Message {
157 public:
160
162
164 CopyFrom(from);
165 return *this;
166 }
167
168 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
169 return _unknown_fields_;
170 }
171
172 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
173 return &_unknown_fields_;
174 }
175
176 static const ::google::protobuf::Descriptor* descriptor();
178
180
181 // implements Message ----------------------------------------------
182
184 int GetCachedSize() const { return _cached_size_; }
185 private:
188 void SetCachedSize(int size) const;
189 public:
190 ::google::protobuf::Metadata GetMetadata() const;
191
192 // nested types ----------------------------------------------------
193
194 // accessors -------------------------------------------------------
195
196 // optional .bgs.protocol.account.v1.AccountId id = 12;
197 inline bool has_id() const;
198 inline void clear_id();
199 static const int kIdFieldNumber = 12;
200 inline const ::bgs::protocol::account::v1::AccountId& id() const;
201 inline ::bgs::protocol::account::v1::AccountId* mutable_id();
202 inline ::bgs::protocol::account::v1::AccountId* release_id();
203 inline void set_allocated_id(::bgs::protocol::account::v1::AccountId* id);
204
205 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ResolveAccountResponse)
206 private:
207 inline void set_has_id();
208 inline void clear_has_id();
209
210 ::google::protobuf::UnknownFieldSet _unknown_fields_;
211
213 mutable int _cached_size_;
218
221};
222// -------------------------------------------------------------------
223
224class TC_PROTO_API GameAccountFlagUpdateRequest : public ::google::protobuf::Message {
225 public:
228
230
232 CopyFrom(from);
233 return *this;
234 }
235
236 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
237 return _unknown_fields_;
238 }
239
240 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
241 return &_unknown_fields_;
242 }
243
244 static const ::google::protobuf::Descriptor* descriptor();
246
248
249 // implements Message ----------------------------------------------
250
252 int GetCachedSize() const { return _cached_size_; }
253 private:
256 void SetCachedSize(int size) const;
257 public:
258 ::google::protobuf::Metadata GetMetadata() const;
259
260 // nested types ----------------------------------------------------
261
262 // accessors -------------------------------------------------------
263
264 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
265 inline bool has_game_account() const;
266 inline void clear_game_account();
267 static const int kGameAccountFieldNumber = 1;
268 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
269 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
270 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
271 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
272
273 // optional uint64 flag = 2;
274 inline bool has_flag() const;
275 inline void clear_flag();
276 static const int kFlagFieldNumber = 2;
278 inline void set_flag(::google::protobuf::uint64 value);
279
280 // optional bool active = 3;
281 inline bool has_active() const;
282 inline void clear_active();
283 static const int kActiveFieldNumber = 3;
284 inline bool active() const;
285 inline void set_active(bool value);
286
287 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFlagUpdateRequest)
288 private:
289 inline void set_has_game_account();
290 inline void clear_has_game_account();
291 inline void set_has_flag();
292 inline void clear_has_flag();
293 inline void set_has_active();
294 inline void clear_has_active();
295
296 ::google::protobuf::UnknownFieldSet _unknown_fields_;
297
299 mutable int _cached_size_;
306
309};
310// -------------------------------------------------------------------
311
312class TC_PROTO_API SubscriptionUpdateRequest : public ::google::protobuf::Message {
313 public:
316
318
320 CopyFrom(from);
321 return *this;
322 }
323
324 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
325 return _unknown_fields_;
326 }
327
328 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
329 return &_unknown_fields_;
330 }
331
332 static const ::google::protobuf::Descriptor* descriptor();
334
336
337 // implements Message ----------------------------------------------
338
340 int GetCachedSize() const { return _cached_size_; }
341 private:
344 void SetCachedSize(int size) const;
345 public:
346 ::google::protobuf::Metadata GetMetadata() const;
347
348 // nested types ----------------------------------------------------
349
350 // accessors -------------------------------------------------------
351
352 // repeated .bgs.protocol.account.v1.SubscriberReference ref = 2;
353 inline int ref_size() const;
354 inline void clear_ref();
355 static const int kRefFieldNumber = 2;
356 inline const ::bgs::protocol::account::v1::SubscriberReference& ref(int index) const;
357 inline ::bgs::protocol::account::v1::SubscriberReference* mutable_ref(int index);
358 inline ::bgs::protocol::account::v1::SubscriberReference* add_ref();
359 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
360 ref() const;
361 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
362 mutable_ref();
363
364 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SubscriptionUpdateRequest)
365 private:
366
367 ::google::protobuf::UnknownFieldSet _unknown_fields_;
368
370 mutable int _cached_size_;
371 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > ref_;
375
378};
379// -------------------------------------------------------------------
380
381class TC_PROTO_API SubscriptionUpdateResponse : public ::google::protobuf::Message {
382 public:
385
387
389 CopyFrom(from);
390 return *this;
391 }
392
393 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
394 return _unknown_fields_;
395 }
396
397 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
398 return &_unknown_fields_;
399 }
400
401 static const ::google::protobuf::Descriptor* descriptor();
403
405
406 // implements Message ----------------------------------------------
407
409 int GetCachedSize() const { return _cached_size_; }
410 private:
413 void SetCachedSize(int size) const;
414 public:
415 ::google::protobuf::Metadata GetMetadata() const;
416
417 // nested types ----------------------------------------------------
418
419 // accessors -------------------------------------------------------
420
421 // repeated .bgs.protocol.account.v1.SubscriberReference ref = 1;
422 inline int ref_size() const;
423 inline void clear_ref();
424 static const int kRefFieldNumber = 1;
425 inline const ::bgs::protocol::account::v1::SubscriberReference& ref(int index) const;
426 inline ::bgs::protocol::account::v1::SubscriberReference* mutable_ref(int index);
427 inline ::bgs::protocol::account::v1::SubscriberReference* add_ref();
428 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
429 ref() const;
430 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
431 mutable_ref();
432
433 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SubscriptionUpdateResponse)
434 private:
435
436 ::google::protobuf::UnknownFieldSet _unknown_fields_;
437
439 mutable int _cached_size_;
440 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > ref_;
444
447};
448// -------------------------------------------------------------------
449
450class TC_PROTO_API GetAccountStateRequest : public ::google::protobuf::Message {
451 public:
454
456
458 CopyFrom(from);
459 return *this;
460 }
461
462 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
463 return _unknown_fields_;
464 }
465
466 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
467 return &_unknown_fields_;
468 }
469
470 static const ::google::protobuf::Descriptor* descriptor();
472
474
475 // implements Message ----------------------------------------------
476
478 int GetCachedSize() const { return _cached_size_; }
479 private:
482 void SetCachedSize(int size) const;
483 public:
484 ::google::protobuf::Metadata GetMetadata() const;
485
486 // nested types ----------------------------------------------------
487
488 // accessors -------------------------------------------------------
489
490 // optional .bgs.protocol.EntityId entity_id = 1;
491 inline bool has_entity_id() const;
492 inline void clear_entity_id();
493 static const int kEntityIdFieldNumber = 1;
494 inline const ::bgs::protocol::EntityId& entity_id() const;
495 inline ::bgs::protocol::EntityId* mutable_entity_id();
496 inline ::bgs::protocol::EntityId* release_entity_id();
497 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
498
499 // optional uint32 program = 2;
500 inline bool has_program() const;
501 inline void clear_program();
502 static const int kProgramFieldNumber = 2;
503 inline ::google::protobuf::uint32 program() const;
504 inline void set_program(::google::protobuf::uint32 value);
505
506 // optional uint32 region = 3;
507 inline bool has_region() const;
508 inline void clear_region();
509 static const int kRegionFieldNumber = 3;
511 inline void set_region(::google::protobuf::uint32 value);
512
513 // optional .bgs.protocol.account.v1.AccountFieldOptions options = 10;
514 inline bool has_options() const;
515 inline void clear_options();
516 static const int kOptionsFieldNumber = 10;
517 inline const ::bgs::protocol::account::v1::AccountFieldOptions& options() const;
518 inline ::bgs::protocol::account::v1::AccountFieldOptions* mutable_options();
519 inline ::bgs::protocol::account::v1::AccountFieldOptions* release_options();
520 inline void set_allocated_options(::bgs::protocol::account::v1::AccountFieldOptions* options);
521
522 // optional .bgs.protocol.account.v1.AccountFieldTags tags = 11;
523 inline bool has_tags() const;
524 inline void clear_tags();
525 static const int kTagsFieldNumber = 11;
526 inline const ::bgs::protocol::account::v1::AccountFieldTags& tags() const;
527 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_tags();
528 inline ::bgs::protocol::account::v1::AccountFieldTags* release_tags();
529 inline void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags* tags);
530
531 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountStateRequest)
532 private:
533 inline void set_has_entity_id();
534 inline void clear_has_entity_id();
535 inline void set_has_program();
536 inline void clear_has_program();
537 inline void set_has_region();
538 inline void clear_has_region();
539 inline void set_has_options();
540 inline void clear_has_options();
541 inline void set_has_tags();
542 inline void clear_has_tags();
543
544 ::google::protobuf::UnknownFieldSet _unknown_fields_;
545
547 mutable int _cached_size_;
556
559};
560// -------------------------------------------------------------------
561
562class TC_PROTO_API GetAccountStateResponse : public ::google::protobuf::Message {
563 public:
566
568
570 CopyFrom(from);
571 return *this;
572 }
573
574 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
575 return _unknown_fields_;
576 }
577
578 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
579 return &_unknown_fields_;
580 }
581
582 static const ::google::protobuf::Descriptor* descriptor();
584
586
587 // implements Message ----------------------------------------------
588
590 int GetCachedSize() const { return _cached_size_; }
591 private:
594 void SetCachedSize(int size) const;
595 public:
596 ::google::protobuf::Metadata GetMetadata() const;
597
598 // nested types ----------------------------------------------------
599
600 // accessors -------------------------------------------------------
601
602 // optional .bgs.protocol.account.v1.AccountState state = 1;
603 inline bool has_state() const;
604 inline void clear_state();
605 static const int kStateFieldNumber = 1;
606 inline const ::bgs::protocol::account::v1::AccountState& state() const;
607 inline ::bgs::protocol::account::v1::AccountState* mutable_state();
608 inline ::bgs::protocol::account::v1::AccountState* release_state();
609 inline void set_allocated_state(::bgs::protocol::account::v1::AccountState* state);
610
611 // optional .bgs.protocol.account.v1.AccountFieldTags tags = 2;
612 inline bool has_tags() const;
613 inline void clear_tags();
614 static const int kTagsFieldNumber = 2;
615 inline const ::bgs::protocol::account::v1::AccountFieldTags& tags() const;
616 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_tags();
617 inline ::bgs::protocol::account::v1::AccountFieldTags* release_tags();
618 inline void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags* tags);
619
620 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountStateResponse)
621 private:
622 inline void set_has_state();
623 inline void clear_has_state();
624 inline void set_has_tags();
625 inline void clear_has_tags();
626
627 ::google::protobuf::UnknownFieldSet _unknown_fields_;
628
630 mutable int _cached_size_;
636
639};
640// -------------------------------------------------------------------
641
642class TC_PROTO_API GetSignedAccountStateRequest : public ::google::protobuf::Message {
643 public:
646
648
650 CopyFrom(from);
651 return *this;
652 }
653
654 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
655 return _unknown_fields_;
656 }
657
658 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
659 return &_unknown_fields_;
660 }
661
662 static const ::google::protobuf::Descriptor* descriptor();
664
666
667 // implements Message ----------------------------------------------
668
670 int GetCachedSize() const { return _cached_size_; }
671 private:
674 void SetCachedSize(int size) const;
675 public:
676 ::google::protobuf::Metadata GetMetadata() const;
677
678 // nested types ----------------------------------------------------
679
680 // accessors -------------------------------------------------------
681
682 // optional .bgs.protocol.account.v1.AccountId account = 1;
683 inline bool has_account() const;
684 inline void clear_account();
685 static const int kAccountFieldNumber = 1;
686 inline const ::bgs::protocol::account::v1::AccountId& account() const;
687 inline ::bgs::protocol::account::v1::AccountId* mutable_account();
688 inline ::bgs::protocol::account::v1::AccountId* release_account();
689 inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
690
691 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetSignedAccountStateRequest)
692 private:
693 inline void set_has_account();
694 inline void clear_has_account();
695
696 ::google::protobuf::UnknownFieldSet _unknown_fields_;
697
699 mutable int _cached_size_;
704
707};
708// -------------------------------------------------------------------
709
710class TC_PROTO_API GetSignedAccountStateResponse : public ::google::protobuf::Message {
711 public:
714
716
718 CopyFrom(from);
719 return *this;
720 }
721
722 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
723 return _unknown_fields_;
724 }
725
726 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
727 return &_unknown_fields_;
728 }
729
730 static const ::google::protobuf::Descriptor* descriptor();
732
734
735 // implements Message ----------------------------------------------
736
738 int GetCachedSize() const { return _cached_size_; }
739 private:
742 void SetCachedSize(int size) const;
743 public:
744 ::google::protobuf::Metadata GetMetadata() const;
745
746 // nested types ----------------------------------------------------
747
748 // accessors -------------------------------------------------------
749
750 // optional string token = 1;
751 inline bool has_token() const;
752 inline void clear_token();
753 static const int kTokenFieldNumber = 1;
754 inline const ::std::string& token() const;
755 inline void set_token(const ::std::string& value);
756 inline void set_token(const char* value);
757 inline void set_token(const char* value, size_t size);
758 inline ::std::string* mutable_token();
759 inline ::std::string* release_token();
760 inline void set_allocated_token(::std::string* token);
761
762 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetSignedAccountStateResponse)
763 private:
764 inline void set_has_token();
765 inline void clear_has_token();
766
767 ::google::protobuf::UnknownFieldSet _unknown_fields_;
768
770 mutable int _cached_size_;
771 ::std::string* token_;
775
778};
779// -------------------------------------------------------------------
780
781class TC_PROTO_API GetGameAccountStateRequest : public ::google::protobuf::Message {
782 public:
785
787
789 CopyFrom(from);
790 return *this;
791 }
792
793 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
794 return _unknown_fields_;
795 }
796
797 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
798 return &_unknown_fields_;
799 }
800
801 static const ::google::protobuf::Descriptor* descriptor();
803
805
806 // implements Message ----------------------------------------------
807
809 int GetCachedSize() const { return _cached_size_; }
810 private:
813 void SetCachedSize(int size) const;
814 public:
815 ::google::protobuf::Metadata GetMetadata() const;
816
817 // nested types ----------------------------------------------------
818
819 // accessors -------------------------------------------------------
820
821 // optional .bgs.protocol.EntityId account_id = 1 [deprecated = true];
822 inline bool has_account_id() const PROTOBUF_DEPRECATED;
823 inline void clear_account_id() PROTOBUF_DEPRECATED;
824 static const int kAccountIdFieldNumber = 1;
825 inline const ::bgs::protocol::EntityId& account_id() const PROTOBUF_DEPRECATED;
826 inline ::bgs::protocol::EntityId* mutable_account_id() PROTOBUF_DEPRECATED;
827 inline ::bgs::protocol::EntityId* release_account_id() PROTOBUF_DEPRECATED;
828 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id) PROTOBUF_DEPRECATED;
829
830 // optional .bgs.protocol.EntityId game_account_id = 2;
831 inline bool has_game_account_id() const;
832 inline void clear_game_account_id();
833 static const int kGameAccountIdFieldNumber = 2;
834 inline const ::bgs::protocol::EntityId& game_account_id() const;
835 inline ::bgs::protocol::EntityId* mutable_game_account_id();
836 inline ::bgs::protocol::EntityId* release_game_account_id();
837 inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
838
839 // optional .bgs.protocol.account.v1.GameAccountFieldOptions options = 10;
840 inline bool has_options() const;
841 inline void clear_options();
842 static const int kOptionsFieldNumber = 10;
843 inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& options() const;
844 inline ::bgs::protocol::account::v1::GameAccountFieldOptions* mutable_options();
845 inline ::bgs::protocol::account::v1::GameAccountFieldOptions* release_options();
846 inline void set_allocated_options(::bgs::protocol::account::v1::GameAccountFieldOptions* options);
847
848 // optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 11;
849 inline bool has_tags() const;
850 inline void clear_tags();
851 static const int kTagsFieldNumber = 11;
852 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& tags() const;
853 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_tags();
854 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_tags();
855 inline void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags* tags);
856
857 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameAccountStateRequest)
858 private:
859 inline void set_has_account_id();
860 inline void clear_has_account_id();
861 inline void set_has_game_account_id();
862 inline void clear_has_game_account_id();
863 inline void set_has_options();
864 inline void clear_has_options();
865 inline void set_has_tags();
866 inline void clear_has_tags();
867
868 ::google::protobuf::UnknownFieldSet _unknown_fields_;
869
870 ::google::protobuf::uint32 _has_bits_[1];
871 mutable int _cached_size_;
872 ::bgs::protocol::EntityId* account_id_;
873 ::bgs::protocol::EntityId* game_account_id_;
874 ::bgs::protocol::account::v1::GameAccountFieldOptions* options_;
875 ::bgs::protocol::account::v1::GameAccountFieldTags* tags_;
879
880 void InitAsDefaultInstance();
881 static GetGameAccountStateRequest* default_instance_;
882};
883// -------------------------------------------------------------------
884
885class TC_PROTO_API GetGameAccountStateResponse : public ::google::protobuf::Message {
886 public:
889
891
893 CopyFrom(from);
894 return *this;
895 }
896
897 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
898 return _unknown_fields_;
899 }
900
901 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
902 return &_unknown_fields_;
903 }
904
905 static const ::google::protobuf::Descriptor* descriptor();
907
909
910 // implements Message ----------------------------------------------
911
913 int GetCachedSize() const { return _cached_size_; }
914 private:
917 void SetCachedSize(int size) const;
918 public:
919 ::google::protobuf::Metadata GetMetadata() const;
920
921 // nested types ----------------------------------------------------
922
923 // accessors -------------------------------------------------------
924
925 // optional .bgs.protocol.account.v1.GameAccountState state = 1;
926 inline bool has_state() const;
927 inline void clear_state();
928 static const int kStateFieldNumber = 1;
929 inline const ::bgs::protocol::account::v1::GameAccountState& state() const;
930 inline ::bgs::protocol::account::v1::GameAccountState* mutable_state();
931 inline ::bgs::protocol::account::v1::GameAccountState* release_state();
932 inline void set_allocated_state(::bgs::protocol::account::v1::GameAccountState* state);
933
934 // optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 2;
935 inline bool has_tags() const;
936 inline void clear_tags();
937 static const int kTagsFieldNumber = 2;
938 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& tags() const;
939 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_tags();
940 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_tags();
941 inline void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags* tags);
942
943 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameAccountStateResponse)
944 private:
945 inline void set_has_state();
946 inline void clear_has_state();
947 inline void set_has_tags();
948 inline void clear_has_tags();
949
950 ::google::protobuf::UnknownFieldSet _unknown_fields_;
951
953 mutable int _cached_size_;
959
962};
963// -------------------------------------------------------------------
964
965class TC_PROTO_API GetLicensesRequest : public ::google::protobuf::Message {
966 public:
969
971
973 CopyFrom(from);
974 return *this;
975 }
976
977 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
978 return _unknown_fields_;
979 }
980
981 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
982 return &_unknown_fields_;
983 }
984
985 static const ::google::protobuf::Descriptor* descriptor();
987
989
990 // implements Message ----------------------------------------------
991
993 int GetCachedSize() const { return _cached_size_; }
994 private:
997 void SetCachedSize(int size) const;
998 public:
999 ::google::protobuf::Metadata GetMetadata() const;
1000
1001 // nested types ----------------------------------------------------
1002
1003 // accessors -------------------------------------------------------
1004
1005 // optional .bgs.protocol.EntityId target_id = 1;
1006 inline bool has_target_id() const;
1007 inline void clear_target_id();
1008 static const int kTargetIdFieldNumber = 1;
1009 inline const ::bgs::protocol::EntityId& target_id() const;
1010 inline ::bgs::protocol::EntityId* mutable_target_id();
1011 inline ::bgs::protocol::EntityId* release_target_id();
1012 inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id);
1013
1014 // optional bool fetch_account_licenses = 2;
1015 inline bool has_fetch_account_licenses() const;
1016 inline void clear_fetch_account_licenses();
1017 static const int kFetchAccountLicensesFieldNumber = 2;
1018 inline bool fetch_account_licenses() const;
1019 inline void set_fetch_account_licenses(bool value);
1020
1021 // optional bool fetch_game_account_licenses = 3;
1022 inline bool has_fetch_game_account_licenses() const;
1023 inline void clear_fetch_game_account_licenses();
1024 static const int kFetchGameAccountLicensesFieldNumber = 3;
1025 inline bool fetch_game_account_licenses() const;
1026 inline void set_fetch_game_account_licenses(bool value);
1027
1028 // optional bool fetch_dynamic_account_licenses = 4;
1029 inline bool has_fetch_dynamic_account_licenses() const;
1030 inline void clear_fetch_dynamic_account_licenses();
1031 static const int kFetchDynamicAccountLicensesFieldNumber = 4;
1032 inline bool fetch_dynamic_account_licenses() const;
1033 inline void set_fetch_dynamic_account_licenses(bool value);
1034
1035 // optional fixed32 program = 5;
1036 inline bool has_program() const;
1037 inline void clear_program();
1038 static const int kProgramFieldNumber = 5;
1039 inline ::google::protobuf::uint32 program() const;
1040 inline void set_program(::google::protobuf::uint32 value);
1041
1042 // optional bool exclude_unknown_program = 6 [default = false];
1043 inline bool has_exclude_unknown_program() const;
1044 inline void clear_exclude_unknown_program();
1045 static const int kExcludeUnknownProgramFieldNumber = 6;
1046 inline bool exclude_unknown_program() const;
1047 inline void set_exclude_unknown_program(bool value);
1048
1049 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetLicensesRequest)
1050 private:
1051 inline void set_has_target_id();
1052 inline void clear_has_target_id();
1053 inline void set_has_fetch_account_licenses();
1054 inline void clear_has_fetch_account_licenses();
1055 inline void set_has_fetch_game_account_licenses();
1056 inline void clear_has_fetch_game_account_licenses();
1057 inline void set_has_fetch_dynamic_account_licenses();
1058 inline void clear_has_fetch_dynamic_account_licenses();
1059 inline void set_has_program();
1060 inline void clear_has_program();
1061 inline void set_has_exclude_unknown_program();
1062 inline void clear_has_exclude_unknown_program();
1063
1064 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1065
1067 mutable int _cached_size_;
1077
1080};
1081// -------------------------------------------------------------------
1082
1083class TC_PROTO_API GetLicensesResponse : public ::google::protobuf::Message {
1084 public:
1087
1089
1091 CopyFrom(from);
1092 return *this;
1093 }
1094
1095 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1096 return _unknown_fields_;
1097 }
1098
1099 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1100 return &_unknown_fields_;
1101 }
1102
1103 static const ::google::protobuf::Descriptor* descriptor();
1105
1107
1108 // implements Message ----------------------------------------------
1109
1111 int GetCachedSize() const { return _cached_size_; }
1112 private:
1115 void SetCachedSize(int size) const;
1116 public:
1117 ::google::protobuf::Metadata GetMetadata() const;
1118
1119 // nested types ----------------------------------------------------
1120
1121 // accessors -------------------------------------------------------
1122
1123 // repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
1124 inline int licenses_size() const;
1125 inline void clear_licenses();
1126 static const int kLicensesFieldNumber = 1;
1127 inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
1128 inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
1129 inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
1130 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
1131 licenses() const;
1132 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
1133 mutable_licenses();
1134
1135 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetLicensesResponse)
1136 private:
1137
1138 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1139
1141 mutable int _cached_size_;
1142 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
1146
1149};
1150// -------------------------------------------------------------------
1151
1152class TC_PROTO_API GetGameSessionInfoRequest : public ::google::protobuf::Message {
1153 public:
1156
1158
1160 CopyFrom(from);
1161 return *this;
1162 }
1163
1164 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1165 return _unknown_fields_;
1166 }
1167
1168 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1169 return &_unknown_fields_;
1170 }
1171
1172 static const ::google::protobuf::Descriptor* descriptor();
1174
1176
1177 // implements Message ----------------------------------------------
1178
1180 int GetCachedSize() const { return _cached_size_; }
1181 private:
1184 void SetCachedSize(int size) const;
1185 public:
1186 ::google::protobuf::Metadata GetMetadata() const;
1187
1188 // nested types ----------------------------------------------------
1189
1190 // accessors -------------------------------------------------------
1191
1192 // optional .bgs.protocol.EntityId entity_id = 1;
1193 inline bool has_entity_id() const;
1194 inline void clear_entity_id();
1195 static const int kEntityIdFieldNumber = 1;
1196 inline const ::bgs::protocol::EntityId& entity_id() const;
1197 inline ::bgs::protocol::EntityId* mutable_entity_id();
1198 inline ::bgs::protocol::EntityId* release_entity_id();
1199 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
1200
1201 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameSessionInfoRequest)
1202 private:
1203 inline void set_has_entity_id();
1204 inline void clear_has_entity_id();
1205
1206 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1207
1209 mutable int _cached_size_;
1214
1217};
1218// -------------------------------------------------------------------
1219
1220class TC_PROTO_API GetGameSessionInfoResponse : public ::google::protobuf::Message {
1221 public:
1224
1226
1228 CopyFrom(from);
1229 return *this;
1230 }
1231
1232 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1233 return _unknown_fields_;
1234 }
1235
1236 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1237 return &_unknown_fields_;
1238 }
1239
1240 static const ::google::protobuf::Descriptor* descriptor();
1242
1244
1245 // implements Message ----------------------------------------------
1246
1248 int GetCachedSize() const { return _cached_size_; }
1249 private:
1252 void SetCachedSize(int size) const;
1253 public:
1254 ::google::protobuf::Metadata GetMetadata() const;
1255
1256 // nested types ----------------------------------------------------
1257
1258 // accessors -------------------------------------------------------
1259
1260 // optional .bgs.protocol.account.v1.GameSessionInfo session_info = 2;
1261 inline bool has_session_info() const;
1262 inline void clear_session_info();
1263 static const int kSessionInfoFieldNumber = 2;
1264 inline const ::bgs::protocol::account::v1::GameSessionInfo& session_info() const;
1265 inline ::bgs::protocol::account::v1::GameSessionInfo* mutable_session_info();
1266 inline ::bgs::protocol::account::v1::GameSessionInfo* release_session_info();
1267 inline void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionInfo* session_info);
1268
1269 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameSessionInfoResponse)
1270 private:
1271 inline void set_has_session_info();
1272 inline void clear_has_session_info();
1273
1274 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1275
1277 mutable int _cached_size_;
1282
1285};
1286// -------------------------------------------------------------------
1287
1288class TC_PROTO_API GetGameTimeRemainingInfoRequest : public ::google::protobuf::Message {
1289 public:
1292
1294
1296 CopyFrom(from);
1297 return *this;
1298 }
1299
1300 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1301 return _unknown_fields_;
1302 }
1303
1304 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1305 return &_unknown_fields_;
1306 }
1307
1308 static const ::google::protobuf::Descriptor* descriptor();
1310
1312
1313 // implements Message ----------------------------------------------
1314
1316 int GetCachedSize() const { return _cached_size_; }
1317 private:
1320 void SetCachedSize(int size) const;
1321 public:
1322 ::google::protobuf::Metadata GetMetadata() const;
1323
1324 // nested types ----------------------------------------------------
1325
1326 // accessors -------------------------------------------------------
1327
1328 // optional .bgs.protocol.EntityId game_account_id = 1;
1329 inline bool has_game_account_id() const;
1330 inline void clear_game_account_id();
1331 static const int kGameAccountIdFieldNumber = 1;
1332 inline const ::bgs::protocol::EntityId& game_account_id() const;
1333 inline ::bgs::protocol::EntityId* mutable_game_account_id();
1334 inline ::bgs::protocol::EntityId* release_game_account_id();
1335 inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
1336
1337 // optional .bgs.protocol.EntityId account_id = 2;
1338 inline bool has_account_id() const;
1339 inline void clear_account_id();
1340 static const int kAccountIdFieldNumber = 2;
1341 inline const ::bgs::protocol::EntityId& account_id() const;
1342 inline ::bgs::protocol::EntityId* mutable_account_id();
1343 inline ::bgs::protocol::EntityId* release_account_id();
1344 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
1345
1346 // optional string benefactor_id = 3;
1347 inline bool has_benefactor_id() const;
1348 inline void clear_benefactor_id();
1349 static const int kBenefactorIdFieldNumber = 3;
1350 inline const ::std::string& benefactor_id() const;
1351 inline void set_benefactor_id(const ::std::string& value);
1352 inline void set_benefactor_id(const char* value);
1353 inline void set_benefactor_id(const char* value, size_t size);
1354 inline ::std::string* mutable_benefactor_id();
1355 inline ::std::string* release_benefactor_id();
1356 inline void set_allocated_benefactor_id(::std::string* benefactor_id);
1357
1358 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest)
1359 private:
1360 inline void set_has_game_account_id();
1361 inline void clear_has_game_account_id();
1362 inline void set_has_account_id();
1363 inline void clear_has_account_id();
1364 inline void set_has_benefactor_id();
1365 inline void clear_has_benefactor_id();
1366
1367 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1368
1370 mutable int _cached_size_;
1373 ::std::string* benefactor_id_;
1377
1380};
1381// -------------------------------------------------------------------
1382
1383class TC_PROTO_API GetGameTimeRemainingInfoResponse : public ::google::protobuf::Message {
1384 public:
1387
1389
1391 CopyFrom(from);
1392 return *this;
1393 }
1394
1395 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1396 return _unknown_fields_;
1397 }
1398
1399 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1400 return &_unknown_fields_;
1401 }
1402
1403 static const ::google::protobuf::Descriptor* descriptor();
1405
1407
1408 // implements Message ----------------------------------------------
1409
1411 int GetCachedSize() const { return _cached_size_; }
1412 private:
1415 void SetCachedSize(int size) const;
1416 public:
1417 ::google::protobuf::Metadata GetMetadata() const;
1418
1419 // nested types ----------------------------------------------------
1420
1421 // accessors -------------------------------------------------------
1422
1423 // optional .bgs.protocol.account.v1.GameTimeRemainingInfo game_time_remaining_info = 1;
1424 inline bool has_game_time_remaining_info() const;
1425 inline void clear_game_time_remaining_info();
1426 static const int kGameTimeRemainingInfoFieldNumber = 1;
1427 inline const ::bgs::protocol::account::v1::GameTimeRemainingInfo& game_time_remaining_info() const;
1428 inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* mutable_game_time_remaining_info();
1429 inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* release_game_time_remaining_info();
1430 inline void set_allocated_game_time_remaining_info(::bgs::protocol::account::v1::GameTimeRemainingInfo* game_time_remaining_info);
1431
1432 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameTimeRemainingInfoResponse)
1433 private:
1434 inline void set_has_game_time_remaining_info();
1435 inline void clear_has_game_time_remaining_info();
1436
1437 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1438
1440 mutable int _cached_size_;
1445
1448};
1449// -------------------------------------------------------------------
1450
1451class TC_PROTO_API GetCAISInfoRequest : public ::google::protobuf::Message {
1452 public:
1455
1457
1459 CopyFrom(from);
1460 return *this;
1461 }
1462
1463 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1464 return _unknown_fields_;
1465 }
1466
1467 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1468 return &_unknown_fields_;
1469 }
1470
1471 static const ::google::protobuf::Descriptor* descriptor();
1473
1475
1476 // implements Message ----------------------------------------------
1477
1479 int GetCachedSize() const { return _cached_size_; }
1480 private:
1483 void SetCachedSize(int size) const;
1484 public:
1485 ::google::protobuf::Metadata GetMetadata() const;
1486
1487 // nested types ----------------------------------------------------
1488
1489 // accessors -------------------------------------------------------
1490
1491 // optional .bgs.protocol.EntityId entity_id = 1;
1492 inline bool has_entity_id() const;
1493 inline void clear_entity_id();
1494 static const int kEntityIdFieldNumber = 1;
1495 inline const ::bgs::protocol::EntityId& entity_id() const;
1496 inline ::bgs::protocol::EntityId* mutable_entity_id();
1497 inline ::bgs::protocol::EntityId* release_entity_id();
1498 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
1499
1500 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetCAISInfoRequest)
1501 private:
1502 inline void set_has_entity_id();
1503 inline void clear_has_entity_id();
1504
1505 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1506
1508 mutable int _cached_size_;
1513
1516};
1517// -------------------------------------------------------------------
1518
1519class TC_PROTO_API GetCAISInfoResponse : public ::google::protobuf::Message {
1520 public:
1523
1525
1527 CopyFrom(from);
1528 return *this;
1529 }
1530
1531 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1532 return _unknown_fields_;
1533 }
1534
1535 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1536 return &_unknown_fields_;
1537 }
1538
1539 static const ::google::protobuf::Descriptor* descriptor();
1541
1543
1544 // implements Message ----------------------------------------------
1545
1547 int GetCachedSize() const { return _cached_size_; }
1548 private:
1551 void SetCachedSize(int size) const;
1552 public:
1553 ::google::protobuf::Metadata GetMetadata() const;
1554
1555 // nested types ----------------------------------------------------
1556
1557 // accessors -------------------------------------------------------
1558
1559 // optional .bgs.protocol.account.v1.CAIS cais_info = 1;
1560 inline bool has_cais_info() const;
1561 inline void clear_cais_info();
1562 static const int kCaisInfoFieldNumber = 1;
1563 inline const ::bgs::protocol::account::v1::CAIS& cais_info() const;
1564 inline ::bgs::protocol::account::v1::CAIS* mutable_cais_info();
1565 inline ::bgs::protocol::account::v1::CAIS* release_cais_info();
1566 inline void set_allocated_cais_info(::bgs::protocol::account::v1::CAIS* cais_info);
1567
1568 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetCAISInfoResponse)
1569 private:
1570 inline void set_has_cais_info();
1571 inline void clear_has_cais_info();
1572
1573 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1574
1576 mutable int _cached_size_;
1581
1584};
1585// -------------------------------------------------------------------
1586
1587class TC_PROTO_API GetAuthorizedDataRequest : public ::google::protobuf::Message {
1588 public:
1591
1593
1595 CopyFrom(from);
1596 return *this;
1597 }
1598
1599 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1600 return _unknown_fields_;
1601 }
1602
1603 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1604 return &_unknown_fields_;
1605 }
1606
1607 static const ::google::protobuf::Descriptor* descriptor();
1609
1611
1612 // implements Message ----------------------------------------------
1613
1615 int GetCachedSize() const { return _cached_size_; }
1616 private:
1619 void SetCachedSize(int size) const;
1620 public:
1621 ::google::protobuf::Metadata GetMetadata() const;
1622
1623 // nested types ----------------------------------------------------
1624
1625 // accessors -------------------------------------------------------
1626
1627 // optional .bgs.protocol.EntityId entity_id = 1;
1628 inline bool has_entity_id() const;
1629 inline void clear_entity_id();
1630 static const int kEntityIdFieldNumber = 1;
1631 inline const ::bgs::protocol::EntityId& entity_id() const;
1632 inline ::bgs::protocol::EntityId* mutable_entity_id();
1633 inline ::bgs::protocol::EntityId* release_entity_id();
1634 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
1635
1636 // repeated string tag = 2;
1637 inline int tag_size() const;
1638 inline void clear_tag();
1639 static const int kTagFieldNumber = 2;
1640 inline const ::std::string& tag(int index) const;
1641 inline ::std::string* mutable_tag(int index);
1642 inline void set_tag(int index, const ::std::string& value);
1643 inline void set_tag(int index, const char* value);
1644 inline void set_tag(int index, const char* value, size_t size);
1645 inline ::std::string* add_tag();
1646 inline void add_tag(const ::std::string& value);
1647 inline void add_tag(const char* value);
1648 inline void add_tag(const char* value, size_t size);
1649 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& tag() const;
1650 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tag();
1651
1652 // optional bool privileged_network = 3;
1653 inline bool has_privileged_network() const;
1654 inline void clear_privileged_network();
1655 static const int kPrivilegedNetworkFieldNumber = 3;
1656 inline bool privileged_network() const;
1657 inline void set_privileged_network(bool value);
1658
1659 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAuthorizedDataRequest)
1660 private:
1661 inline void set_has_entity_id();
1662 inline void clear_has_entity_id();
1663 inline void set_has_privileged_network();
1664 inline void clear_has_privileged_network();
1665
1666 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1667
1669 mutable int _cached_size_;
1671 ::google::protobuf::RepeatedPtrField< ::std::string> tag_;
1676
1679};
1680// -------------------------------------------------------------------
1681
1682class TC_PROTO_API GetAuthorizedDataResponse : public ::google::protobuf::Message {
1683 public:
1686
1688
1690 CopyFrom(from);
1691 return *this;
1692 }
1693
1694 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1695 return _unknown_fields_;
1696 }
1697
1698 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1699 return &_unknown_fields_;
1700 }
1701
1702 static const ::google::protobuf::Descriptor* descriptor();
1704
1706
1707 // implements Message ----------------------------------------------
1708
1710 int GetCachedSize() const { return _cached_size_; }
1711 private:
1714 void SetCachedSize(int size) const;
1715 public:
1716 ::google::protobuf::Metadata GetMetadata() const;
1717
1718 // nested types ----------------------------------------------------
1719
1720 // accessors -------------------------------------------------------
1721
1722 // repeated .bgs.protocol.account.v1.AuthorizedData data = 1;
1723 inline int data_size() const;
1724 inline void clear_data();
1725 static const int kDataFieldNumber = 1;
1726 inline const ::bgs::protocol::account::v1::AuthorizedData& data(int index) const;
1727 inline ::bgs::protocol::account::v1::AuthorizedData* mutable_data(int index);
1728 inline ::bgs::protocol::account::v1::AuthorizedData* add_data();
1729 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >&
1730 data() const;
1731 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >*
1732 mutable_data();
1733
1734 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAuthorizedDataResponse)
1735 private:
1736
1737 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1738
1740 mutable int _cached_size_;
1741 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData > data_;
1745
1748};
1749// -------------------------------------------------------------------
1750
1751class TC_PROTO_API GetAccountInfoRequest : public ::google::protobuf::Message {
1752 public:
1755
1757
1759 CopyFrom(from);
1760 return *this;
1761 }
1762
1763 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1764 return _unknown_fields_;
1765 }
1766
1767 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1768 return &_unknown_fields_;
1769 }
1770
1771 static const ::google::protobuf::Descriptor* descriptor();
1773
1775
1776 // implements Message ----------------------------------------------
1777
1779 int GetCachedSize() const { return _cached_size_; }
1780 private:
1783 void SetCachedSize(int size) const;
1784 public:
1785 ::google::protobuf::Metadata GetMetadata() const;
1786
1787 // nested types ----------------------------------------------------
1788
1789 // accessors -------------------------------------------------------
1790
1791 // optional .bgs.protocol.EntityId account_id = 1;
1792 inline bool has_account_id() const;
1793 inline void clear_account_id();
1794 static const int kAccountIdFieldNumber = 1;
1795 inline const ::bgs::protocol::EntityId& account_id() const;
1796 inline ::bgs::protocol::EntityId* mutable_account_id();
1797 inline ::bgs::protocol::EntityId* release_account_id();
1798 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
1799
1800 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountInfoRequest)
1801 private:
1802 inline void set_has_account_id();
1803 inline void clear_has_account_id();
1804
1805 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1806
1808 mutable int _cached_size_;
1813
1816};
1817// -------------------------------------------------------------------
1818
1819class TC_PROTO_API GetAccountInfoResponse : public ::google::protobuf::Message {
1820 public:
1823
1825
1827 CopyFrom(from);
1828 return *this;
1829 }
1830
1831 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1832 return _unknown_fields_;
1833 }
1834
1835 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1836 return &_unknown_fields_;
1837 }
1838
1839 static const ::google::protobuf::Descriptor* descriptor();
1841
1843
1844 // implements Message ----------------------------------------------
1845
1847 int GetCachedSize() const { return _cached_size_; }
1848 private:
1851 void SetCachedSize(int size) const;
1852 public:
1853 ::google::protobuf::Metadata GetMetadata() const;
1854
1855 // nested types ----------------------------------------------------
1856
1857 // accessors -------------------------------------------------------
1858
1859 // optional .bgs.protocol.account.v1.AccountInfo account_info = 1;
1860 inline bool has_account_info() const;
1861 inline void clear_account_info();
1862 static const int kAccountInfoFieldNumber = 1;
1863 inline const ::bgs::protocol::account::v1::AccountInfo& account_info() const;
1864 inline ::bgs::protocol::account::v1::AccountInfo* mutable_account_info();
1865 inline ::bgs::protocol::account::v1::AccountInfo* release_account_info();
1866 inline void set_allocated_account_info(::bgs::protocol::account::v1::AccountInfo* account_info);
1867
1868 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountInfoResponse)
1869 private:
1870 inline void set_has_account_info();
1871 inline void clear_has_account_info();
1872
1873 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1874
1876 mutable int _cached_size_;
1881
1884};
1885// -------------------------------------------------------------------
1886
1887class TC_PROTO_API GetAccountPlatformRestrictionsRequest : public ::google::protobuf::Message {
1888 public:
1891
1893
1895 CopyFrom(from);
1896 return *this;
1897 }
1898
1899 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1900 return _unknown_fields_;
1901 }
1902
1903 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1904 return &_unknown_fields_;
1905 }
1906
1907 static const ::google::protobuf::Descriptor* descriptor();
1909
1911
1912 // implements Message ----------------------------------------------
1913
1915 int GetCachedSize() const { return _cached_size_; }
1916 private:
1919 void SetCachedSize(int size) const;
1920 public:
1921 ::google::protobuf::Metadata GetMetadata() const;
1922
1923 // nested types ----------------------------------------------------
1924
1925 // accessors -------------------------------------------------------
1926
1927 // optional .bgs.protocol.EntityId account_id = 1;
1928 inline bool has_account_id() const;
1929 inline void clear_account_id();
1930 static const int kAccountIdFieldNumber = 1;
1931 inline const ::bgs::protocol::EntityId& account_id() const;
1932 inline ::bgs::protocol::EntityId* mutable_account_id();
1933 inline ::bgs::protocol::EntityId* release_account_id();
1934 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
1935
1936 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest)
1937 private:
1938 inline void set_has_account_id();
1939 inline void clear_has_account_id();
1940
1941 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1942
1944 mutable int _cached_size_;
1949
1952};
1953// -------------------------------------------------------------------
1954
1955class TC_PROTO_API GetAccountPlatformRestrictionsResponse : public ::google::protobuf::Message {
1956 public:
1959
1961
1963 CopyFrom(from);
1964 return *this;
1965 }
1966
1967 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1968 return _unknown_fields_;
1969 }
1970
1971 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1972 return &_unknown_fields_;
1973 }
1974
1975 static const ::google::protobuf::Descriptor* descriptor();
1977
1979
1980 // implements Message ----------------------------------------------
1981
1983 int GetCachedSize() const { return _cached_size_; }
1984 private:
1987 void SetCachedSize(int size) const;
1988 public:
1989 ::google::protobuf::Metadata GetMetadata() const;
1990
1991 // nested types ----------------------------------------------------
1992
1993 // accessors -------------------------------------------------------
1994
1995 // optional .bgs.protocol.account.v1.AccountPlatformRestrictionInfo restriction_info = 1;
1996 inline bool has_restriction_info() const;
1997 inline void clear_restriction_info();
1998 static const int kRestrictionInfoFieldNumber = 1;
1999 inline const ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo& restriction_info() const;
2000 inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* mutable_restriction_info();
2001 inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* release_restriction_info();
2002 inline void set_allocated_restriction_info(::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* restriction_info);
2003
2004 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse)
2005 private:
2006 inline void set_has_restriction_info();
2007 inline void clear_has_restriction_info();
2008
2009 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2010
2012 mutable int _cached_size_;
2017
2020};
2021// -------------------------------------------------------------------
2022
2023class TC_PROTO_API AccountStateNotification : public ::google::protobuf::Message {
2024 public:
2027
2029
2031 CopyFrom(from);
2032 return *this;
2033 }
2034
2035 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2036 return _unknown_fields_;
2037 }
2038
2039 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2040 return &_unknown_fields_;
2041 }
2042
2043 static const ::google::protobuf::Descriptor* descriptor();
2045
2047
2048 // implements Message ----------------------------------------------
2049
2051 int GetCachedSize() const { return _cached_size_; }
2052 private:
2055 void SetCachedSize(int size) const;
2056 public:
2057 ::google::protobuf::Metadata GetMetadata() const;
2058
2059 // nested types ----------------------------------------------------
2060
2061 // accessors -------------------------------------------------------
2062
2063 // optional .bgs.protocol.account.v1.AccountState account_state = 1;
2064 inline bool has_account_state() const;
2065 inline void clear_account_state();
2066 static const int kAccountStateFieldNumber = 1;
2067 inline const ::bgs::protocol::account::v1::AccountState& account_state() const;
2068 inline ::bgs::protocol::account::v1::AccountState* mutable_account_state();
2069 inline ::bgs::protocol::account::v1::AccountState* release_account_state();
2070 inline void set_allocated_account_state(::bgs::protocol::account::v1::AccountState* account_state);
2071
2072 // optional uint64 subscriber_id = 2 [deprecated = true];
2073 inline bool has_subscriber_id() const PROTOBUF_DEPRECATED;
2074 inline void clear_subscriber_id() PROTOBUF_DEPRECATED;
2075 static const int kSubscriberIdFieldNumber = 2;
2076 inline ::google::protobuf::uint64 subscriber_id() const PROTOBUF_DEPRECATED;
2077 inline void set_subscriber_id(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED;
2078
2079 // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
2080 inline bool has_account_tags() const;
2081 inline void clear_account_tags();
2082 static const int kAccountTagsFieldNumber = 3;
2083 inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
2084 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
2085 inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
2086 inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
2087
2088 // optional bool subscription_completed = 4;
2089 inline bool has_subscription_completed() const;
2090 inline void clear_subscription_completed();
2091 static const int kSubscriptionCompletedFieldNumber = 4;
2092 inline bool subscription_completed() const;
2093 inline void set_subscription_completed(bool value);
2094
2095 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountStateNotification)
2096 private:
2097 inline void set_has_account_state();
2098 inline void clear_has_account_state();
2099 inline void set_has_subscriber_id();
2100 inline void clear_has_subscriber_id();
2101 inline void set_has_account_tags();
2102 inline void clear_has_account_tags();
2103 inline void set_has_subscription_completed();
2104 inline void clear_has_subscription_completed();
2105
2106 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2107
2108 ::google::protobuf::uint32 _has_bits_[1];
2109 mutable int _cached_size_;
2110 ::bgs::protocol::account::v1::AccountState* account_state_;
2111 ::google::protobuf::uint64 subscriber_id_;
2112 ::bgs::protocol::account::v1::AccountFieldTags* account_tags_;
2113 bool subscription_completed_;
2117
2118 void InitAsDefaultInstance();
2119 static AccountStateNotification* default_instance_;
2120};
2121// -------------------------------------------------------------------
2122
2123class TC_PROTO_API GameAccountStateNotification : public ::google::protobuf::Message {
2124 public:
2127
2129
2131 CopyFrom(from);
2132 return *this;
2133 }
2134
2135 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2136 return _unknown_fields_;
2137 }
2138
2139 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2140 return &_unknown_fields_;
2141 }
2142
2143 static const ::google::protobuf::Descriptor* descriptor();
2145
2147
2148 // implements Message ----------------------------------------------
2149
2151 int GetCachedSize() const { return _cached_size_; }
2152 private:
2155 void SetCachedSize(int size) const;
2156 public:
2157 ::google::protobuf::Metadata GetMetadata() const;
2158
2159 // nested types ----------------------------------------------------
2160
2161 // accessors -------------------------------------------------------
2162
2163 // optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
2164 inline bool has_game_account_state() const;
2165 inline void clear_game_account_state();
2166 static const int kGameAccountStateFieldNumber = 1;
2167 inline const ::bgs::protocol::account::v1::GameAccountState& game_account_state() const;
2168 inline ::bgs::protocol::account::v1::GameAccountState* mutable_game_account_state();
2169 inline ::bgs::protocol::account::v1::GameAccountState* release_game_account_state();
2170 inline void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState* game_account_state);
2171
2172 // optional uint64 subscriber_id = 2 [deprecated = true];
2173 inline bool has_subscriber_id() const PROTOBUF_DEPRECATED;
2174 inline void clear_subscriber_id() PROTOBUF_DEPRECATED;
2175 static const int kSubscriberIdFieldNumber = 2;
2176 inline ::google::protobuf::uint64 subscriber_id() const PROTOBUF_DEPRECATED;
2177 inline void set_subscriber_id(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED;
2178
2179 // optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 3;
2180 inline bool has_game_account_tags() const;
2181 inline void clear_game_account_tags();
2182 static const int kGameAccountTagsFieldNumber = 3;
2183 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& game_account_tags() const;
2184 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_game_account_tags();
2185 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_game_account_tags();
2186 inline void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags);
2187
2188 // optional bool subscription_completed = 4;
2189 inline bool has_subscription_completed() const;
2190 inline void clear_subscription_completed();
2191 static const int kSubscriptionCompletedFieldNumber = 4;
2192 inline bool subscription_completed() const;
2193 inline void set_subscription_completed(bool value);
2194
2195 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountStateNotification)
2196 private:
2197 inline void set_has_game_account_state();
2198 inline void clear_has_game_account_state();
2199 inline void set_has_subscriber_id();
2200 inline void clear_has_subscriber_id();
2201 inline void set_has_game_account_tags();
2202 inline void clear_has_game_account_tags();
2203 inline void set_has_subscription_completed();
2204 inline void clear_has_subscription_completed();
2205
2206 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2207
2208 ::google::protobuf::uint32 _has_bits_[1];
2209 mutable int _cached_size_;
2210 ::bgs::protocol::account::v1::GameAccountState* game_account_state_;
2211 ::google::protobuf::uint64 subscriber_id_;
2212 ::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags_;
2213 bool subscription_completed_;
2217
2218 void InitAsDefaultInstance();
2219 static GameAccountStateNotification* default_instance_;
2220};
2221// -------------------------------------------------------------------
2222
2223class TC_PROTO_API GameAccountNotification : public ::google::protobuf::Message {
2224 public:
2227
2229
2231 CopyFrom(from);
2232 return *this;
2233 }
2234
2235 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2236 return _unknown_fields_;
2237 }
2238
2239 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2240 return &_unknown_fields_;
2241 }
2242
2243 static const ::google::protobuf::Descriptor* descriptor();
2245
2247
2248 // implements Message ----------------------------------------------
2249
2251 int GetCachedSize() const { return _cached_size_; }
2252 private:
2255 void SetCachedSize(int size) const;
2256 public:
2257 ::google::protobuf::Metadata GetMetadata() const;
2258
2259 // nested types ----------------------------------------------------
2260
2261 // accessors -------------------------------------------------------
2262
2263 // repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 1;
2264 inline int game_accounts_size() const;
2265 inline void clear_game_accounts();
2266 static const int kGameAccountsFieldNumber = 1;
2267 inline const ::bgs::protocol::account::v1::GameAccountList& game_accounts(int index) const;
2268 inline ::bgs::protocol::account::v1::GameAccountList* mutable_game_accounts(int index);
2269 inline ::bgs::protocol::account::v1::GameAccountList* add_game_accounts();
2270 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
2271 game_accounts() const;
2272 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
2273 mutable_game_accounts();
2274
2275 // optional uint64 subscriber_id = 2;
2276 inline bool has_subscriber_id() const;
2277 inline void clear_subscriber_id();
2278 static const int kSubscriberIdFieldNumber = 2;
2279 inline ::google::protobuf::uint64 subscriber_id() const;
2280 inline void set_subscriber_id(::google::protobuf::uint64 value);
2281
2282 // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
2283 inline bool has_account_tags() const;
2284 inline void clear_account_tags();
2285 static const int kAccountTagsFieldNumber = 3;
2286 inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
2287 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
2288 inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
2289 inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
2290
2291 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountNotification)
2292 private:
2293 inline void set_has_subscriber_id();
2294 inline void clear_has_subscriber_id();
2295 inline void set_has_account_tags();
2296 inline void clear_has_account_tags();
2297
2298 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2299
2301 mutable int _cached_size_;
2302 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_;
2308
2311};
2312// -------------------------------------------------------------------
2313
2314class TC_PROTO_API GameAccountSessionNotification : public ::google::protobuf::Message {
2315 public:
2318
2320
2322 CopyFrom(from);
2323 return *this;
2324 }
2325
2326 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2327 return _unknown_fields_;
2328 }
2329
2330 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2331 return &_unknown_fields_;
2332 }
2333
2334 static const ::google::protobuf::Descriptor* descriptor();
2336
2338
2339 // implements Message ----------------------------------------------
2340
2342 int GetCachedSize() const { return _cached_size_; }
2343 private:
2346 void SetCachedSize(int size) const;
2347 public:
2348 ::google::protobuf::Metadata GetMetadata() const;
2349
2350 // nested types ----------------------------------------------------
2351
2352 // accessors -------------------------------------------------------
2353
2354 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
2355 inline bool has_game_account() const;
2356 inline void clear_game_account();
2357 static const int kGameAccountFieldNumber = 1;
2358 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
2359 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
2360 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
2361 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
2362
2363 // optional .bgs.protocol.account.v1.GameSessionUpdateInfo session_info = 2;
2364 inline bool has_session_info() const;
2365 inline void clear_session_info();
2366 static const int kSessionInfoFieldNumber = 2;
2367 inline const ::bgs::protocol::account::v1::GameSessionUpdateInfo& session_info() const;
2368 inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* mutable_session_info();
2369 inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* release_session_info();
2370 inline void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionUpdateInfo* session_info);
2371
2372 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountSessionNotification)
2373 private:
2374 inline void set_has_game_account();
2375 inline void clear_has_game_account();
2376 inline void set_has_session_info();
2377 inline void clear_has_session_info();
2378
2379 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2380
2382 mutable int _cached_size_;
2388
2391};
2392// ===================================================================
2393
2395{
2396 public:
2397
2398 explicit AccountService(bool use_original_hash);
2404
2405 typedef std::integral_constant<uint32, 0x62DA0891u> OriginalHash;
2406 typedef std::integral_constant<uint32, 0x1E4DC42Fu> NameHash;
2407
2408 static google::protobuf::ServiceDescriptor const* descriptor();
2409
2410 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
2411
2412 protected:
2413 // server methods --------------------------------------------------
2414 virtual uint32 HandleResolveAccount(::bgs::protocol::account::v1::ResolveAccountRequest const* request, ::bgs::protocol::account::v1::ResolveAccountResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2415 virtual uint32 HandleSubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const* request, ::bgs::protocol::account::v1::SubscriptionUpdateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2416 virtual uint32 HandleUnsubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2417 virtual uint32 HandleGetAccountState(::bgs::protocol::account::v1::GetAccountStateRequest const* request, ::bgs::protocol::account::v1::GetAccountStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2418 virtual uint32 HandleGetGameAccountState(::bgs::protocol::account::v1::GetGameAccountStateRequest const* request, ::bgs::protocol::account::v1::GetGameAccountStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2419 virtual uint32 HandleGetLicenses(::bgs::protocol::account::v1::GetLicensesRequest const* request, ::bgs::protocol::account::v1::GetLicensesResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2421 virtual uint32 HandleGetGameSessionInfo(::bgs::protocol::account::v1::GetGameSessionInfoRequest const* request, ::bgs::protocol::account::v1::GetGameSessionInfoResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2422 virtual uint32 HandleGetCAISInfo(::bgs::protocol::account::v1::GetCAISInfoRequest const* request, ::bgs::protocol::account::v1::GetCAISInfoResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2423 virtual uint32 HandleGetAuthorizedData(::bgs::protocol::account::v1::GetAuthorizedDataRequest const* request, ::bgs::protocol::account::v1::GetAuthorizedDataResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2424 virtual uint32 HandleGetSignedAccountState(::bgs::protocol::account::v1::GetSignedAccountStateRequest const* request, ::bgs::protocol::account::v1::GetSignedAccountStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2425 virtual uint32 HandleGetAccountInfo(::bgs::protocol::account::v1::GetAccountInfoRequest const* request, ::bgs::protocol::account::v1::GetAccountInfoResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
2427
2428 private:
2430 void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
2442};
2443
2444// -------------------------------------------------------------------
2445
2447{
2448 public:
2449
2450 explicit AccountListener(bool use_original_hash);
2456
2457 typedef std::integral_constant<uint32, 0x54DFDA17u> OriginalHash;
2458 typedef std::integral_constant<uint32, 0x7807483Cu> NameHash;
2459
2460 static google::protobuf::ServiceDescriptor const* descriptor();
2461
2462 // client methods --------------------------------------------------
2463 void OnAccountStateUpdated(::bgs::protocol::account::v1::AccountStateNotification const* request, bool client = false, bool server = false);
2464 void OnGameAccountStateUpdated(::bgs::protocol::account::v1::GameAccountStateNotification const* request, bool client = false, bool server = false);
2465 void OnGameAccountsUpdated(::bgs::protocol::account::v1::GameAccountNotification const* request, bool client = false, bool server = false);
2466 void OnGameSessionUpdated(::bgs::protocol::account::v1::GameAccountSessionNotification const* request, bool client = false, bool server = false);
2467
2468 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
2469};
2470
2471// ===================================================================
2472
2473// ===================================================================
2474
2475// ResolveAccountRequest
2476
2477// optional .bgs.protocol.account.v1.AccountReference ref = 1;
2479 return (_has_bits_[0] & 0x00000001u) != 0;
2480}
2482 _has_bits_[0] |= 0x00000001u;
2483}
2485 _has_bits_[0] &= ~0x00000001u;
2486}
2488 if (ref_ != NULL) ref_->::bgs::protocol::account::v1::AccountReference::Clear();
2489 clear_has_ref();
2490}
2491inline const ::bgs::protocol::account::v1::AccountReference& ResolveAccountRequest::ref() const {
2492 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ResolveAccountRequest.ref)
2493 return ref_ != NULL ? *ref_ : *default_instance_->ref_;
2494}
2495inline ::bgs::protocol::account::v1::AccountReference* ResolveAccountRequest::mutable_ref() {
2496 set_has_ref();
2497 if (ref_ == NULL) ref_ = new ::bgs::protocol::account::v1::AccountReference;
2498 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.ResolveAccountRequest.ref)
2499 return ref_;
2500}
2501inline ::bgs::protocol::account::v1::AccountReference* ResolveAccountRequest::release_ref() {
2502 clear_has_ref();
2504 ref_ = NULL;
2505 return temp;
2506}
2508 delete ref_;
2509 ref_ = ref;
2510 if (ref) {
2511 set_has_ref();
2512 } else {
2513 clear_has_ref();
2514 }
2515 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.ResolveAccountRequest.ref)
2516}
2517
2518// optional bool fetch_id = 12;
2520 return (_has_bits_[0] & 0x00000002u) != 0;
2521}
2523 _has_bits_[0] |= 0x00000002u;
2524}
2526 _has_bits_[0] &= ~0x00000002u;
2527}
2529 fetch_id_ = false;
2530 clear_has_fetch_id();
2531}
2533 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ResolveAccountRequest.fetch_id)
2534 return fetch_id_;
2535}
2537 set_has_fetch_id();
2538 fetch_id_ = value;
2539 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ResolveAccountRequest.fetch_id)
2540}
2541
2542// -------------------------------------------------------------------
2543
2544// ResolveAccountResponse
2545
2546// optional .bgs.protocol.account.v1.AccountId id = 12;
2548 return (_has_bits_[0] & 0x00000001u) != 0;
2549}
2551 _has_bits_[0] |= 0x00000001u;
2552}
2554 _has_bits_[0] &= ~0x00000001u;
2555}
2557 if (id_ != NULL) id_->::bgs::protocol::account::v1::AccountId::Clear();
2558 clear_has_id();
2559}
2560inline const ::bgs::protocol::account::v1::AccountId& ResolveAccountResponse::id() const {
2561 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ResolveAccountResponse.id)
2562 return id_ != NULL ? *id_ : *default_instance_->id_;
2563}
2564inline ::bgs::protocol::account::v1::AccountId* ResolveAccountResponse::mutable_id() {
2565 set_has_id();
2566 if (id_ == NULL) id_ = new ::bgs::protocol::account::v1::AccountId;
2567 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.ResolveAccountResponse.id)
2568 return id_;
2569}
2570inline ::bgs::protocol::account::v1::AccountId* ResolveAccountResponse::release_id() {
2571 clear_has_id();
2573 id_ = NULL;
2574 return temp;
2575}
2577 delete id_;
2578 id_ = id;
2579 if (id) {
2580 set_has_id();
2581 } else {
2582 clear_has_id();
2583 }
2584 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.ResolveAccountResponse.id)
2585}
2586
2587// -------------------------------------------------------------------
2588
2589// GameAccountFlagUpdateRequest
2590
2591// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
2593 return (_has_bits_[0] & 0x00000001u) != 0;
2594}
2596 _has_bits_[0] |= 0x00000001u;
2597}
2599 _has_bits_[0] &= ~0x00000001u;
2600}
2602 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
2603 clear_has_game_account();
2604}
2605inline const ::bgs::protocol::account::v1::GameAccountHandle& GameAccountFlagUpdateRequest::game_account() const {
2606 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
2607 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
2608}
2609inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountFlagUpdateRequest::mutable_game_account() {
2610 set_has_game_account();
2611 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
2612 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
2613 return game_account_;
2614}
2615inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountFlagUpdateRequest::release_game_account() {
2616 clear_has_game_account();
2618 game_account_ = NULL;
2619 return temp;
2620}
2622 delete game_account_;
2623 game_account_ = game_account;
2624 if (game_account) {
2625 set_has_game_account();
2626 } else {
2627 clear_has_game_account();
2628 }
2629 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
2630}
2631
2632// optional uint64 flag = 2;
2634 return (_has_bits_[0] & 0x00000002u) != 0;
2635}
2637 _has_bits_[0] |= 0x00000002u;
2638}
2640 _has_bits_[0] &= ~0x00000002u;
2641}
2643 flag_ = GOOGLE_ULONGLONG(0);
2644 clear_has_flag();
2645}
2647 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.flag)
2648 return flag_;
2649}
2651 set_has_flag();
2652 flag_ = value;
2653 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.flag)
2654}
2655
2656// optional bool active = 3;
2658 return (_has_bits_[0] & 0x00000004u) != 0;
2659}
2661 _has_bits_[0] |= 0x00000004u;
2662}
2664 _has_bits_[0] &= ~0x00000004u;
2665}
2667 active_ = false;
2668 clear_has_active();
2669}
2671 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.active)
2672 return active_;
2673}
2675 set_has_active();
2676 active_ = value;
2677 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.active)
2678}
2679
2680// -------------------------------------------------------------------
2681
2682// SubscriptionUpdateRequest
2683
2684// repeated .bgs.protocol.account.v1.SubscriberReference ref = 2;
2686 return ref_.size();
2687}
2689 ref_.Clear();
2690}
2691inline const ::bgs::protocol::account::v1::SubscriberReference& SubscriptionUpdateRequest::ref(int index) const {
2692 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
2693 return ref_.Get(index);
2694}
2695inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateRequest::mutable_ref(int index) {
2696 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
2697 return ref_.Mutable(index);
2698}
2699inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateRequest::add_ref() {
2700 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
2701 return ref_.Add();
2702}
2703inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
2705 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
2706 return ref_;
2707}
2708inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
2710 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
2711 return &ref_;
2712}
2713
2714// -------------------------------------------------------------------
2715
2716// SubscriptionUpdateResponse
2717
2718// repeated .bgs.protocol.account.v1.SubscriberReference ref = 1;
2720 return ref_.size();
2721}
2723 ref_.Clear();
2724}
2725inline const ::bgs::protocol::account::v1::SubscriberReference& SubscriptionUpdateResponse::ref(int index) const {
2726 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriptionUpdateResponse.ref)
2727 return ref_.Get(index);
2728}
2729inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateResponse::mutable_ref(int index) {
2730 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriptionUpdateResponse.ref)
2731 return ref_.Mutable(index);
2732}
2733inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateResponse::add_ref() {
2734 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.SubscriptionUpdateResponse.ref)
2735 return ref_.Add();
2736}
2737inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
2739 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.SubscriptionUpdateResponse.ref)
2740 return ref_;
2741}
2742inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
2744 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.SubscriptionUpdateResponse.ref)
2745 return &ref_;
2746}
2747
2748// -------------------------------------------------------------------
2749
2750// GetAccountStateRequest
2751
2752// optional .bgs.protocol.EntityId entity_id = 1;
2754 return (_has_bits_[0] & 0x00000001u) != 0;
2755}
2757 _has_bits_[0] |= 0x00000001u;
2758}
2760 _has_bits_[0] &= ~0x00000001u;
2761}
2763 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
2764 clear_has_entity_id();
2765}
2766inline const ::bgs::protocol::EntityId& GetAccountStateRequest::entity_id() const {
2767 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateRequest.entity_id)
2768 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
2769}
2770inline ::bgs::protocol::EntityId* GetAccountStateRequest::mutable_entity_id() {
2771 set_has_entity_id();
2772 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
2773 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountStateRequest.entity_id)
2774 return entity_id_;
2775}
2776inline ::bgs::protocol::EntityId* GetAccountStateRequest::release_entity_id() {
2777 clear_has_entity_id();
2778 ::bgs::protocol::EntityId* temp = entity_id_;
2779 entity_id_ = NULL;
2780 return temp;
2781}
2783 delete entity_id_;
2784 entity_id_ = entity_id;
2785 if (entity_id) {
2786 set_has_entity_id();
2787 } else {
2788 clear_has_entity_id();
2789 }
2790 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountStateRequest.entity_id)
2791}
2792
2793// optional uint32 program = 2;
2795 return (_has_bits_[0] & 0x00000002u) != 0;
2796}
2798 _has_bits_[0] |= 0x00000002u;
2799}
2801 _has_bits_[0] &= ~0x00000002u;
2802}
2804 program_ = 0u;
2805 clear_has_program();
2806}
2808 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateRequest.program)
2809 return program_;
2810}
2812 set_has_program();
2813 program_ = value;
2814 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountStateRequest.program)
2815}
2816
2817// optional uint32 region = 3;
2819 return (_has_bits_[0] & 0x00000004u) != 0;
2820}
2822 _has_bits_[0] |= 0x00000004u;
2823}
2825 _has_bits_[0] &= ~0x00000004u;
2826}
2828 region_ = 0u;
2829 clear_has_region();
2830}
2832 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateRequest.region)
2833 return region_;
2834}
2836 set_has_region();
2837 region_ = value;
2838 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountStateRequest.region)
2839}
2840
2841// optional .bgs.protocol.account.v1.AccountFieldOptions options = 10;
2843 return (_has_bits_[0] & 0x00000008u) != 0;
2844}
2846 _has_bits_[0] |= 0x00000008u;
2847}
2849 _has_bits_[0] &= ~0x00000008u;
2850}
2852 if (options_ != NULL) options_->::bgs::protocol::account::v1::AccountFieldOptions::Clear();
2853 clear_has_options();
2854}
2855inline const ::bgs::protocol::account::v1::AccountFieldOptions& GetAccountStateRequest::options() const {
2856 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateRequest.options)
2857 return options_ != NULL ? *options_ : *default_instance_->options_;
2858}
2859inline ::bgs::protocol::account::v1::AccountFieldOptions* GetAccountStateRequest::mutable_options() {
2860 set_has_options();
2861 if (options_ == NULL) options_ = new ::bgs::protocol::account::v1::AccountFieldOptions;
2862 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountStateRequest.options)
2863 return options_;
2864}
2865inline ::bgs::protocol::account::v1::AccountFieldOptions* GetAccountStateRequest::release_options() {
2866 clear_has_options();
2868 options_ = NULL;
2869 return temp;
2870}
2872 delete options_;
2873 options_ = options;
2874 if (options) {
2875 set_has_options();
2876 } else {
2877 clear_has_options();
2878 }
2879 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountStateRequest.options)
2880}
2881
2882// optional .bgs.protocol.account.v1.AccountFieldTags tags = 11;
2884 return (_has_bits_[0] & 0x00000010u) != 0;
2885}
2887 _has_bits_[0] |= 0x00000010u;
2888}
2890 _has_bits_[0] &= ~0x00000010u;
2891}
2893 if (tags_ != NULL) tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
2894 clear_has_tags();
2895}
2896inline const ::bgs::protocol::account::v1::AccountFieldTags& GetAccountStateRequest::tags() const {
2897 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateRequest.tags)
2898 return tags_ != NULL ? *tags_ : *default_instance_->tags_;
2899}
2900inline ::bgs::protocol::account::v1::AccountFieldTags* GetAccountStateRequest::mutable_tags() {
2901 set_has_tags();
2902 if (tags_ == NULL) tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
2903 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountStateRequest.tags)
2904 return tags_;
2905}
2906inline ::bgs::protocol::account::v1::AccountFieldTags* GetAccountStateRequest::release_tags() {
2907 clear_has_tags();
2909 tags_ = NULL;
2910 return temp;
2911}
2913 delete tags_;
2914 tags_ = tags;
2915 if (tags) {
2916 set_has_tags();
2917 } else {
2918 clear_has_tags();
2919 }
2920 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountStateRequest.tags)
2921}
2922
2923// -------------------------------------------------------------------
2924
2925// GetAccountStateResponse
2926
2927// optional .bgs.protocol.account.v1.AccountState state = 1;
2929 return (_has_bits_[0] & 0x00000001u) != 0;
2930}
2932 _has_bits_[0] |= 0x00000001u;
2933}
2935 _has_bits_[0] &= ~0x00000001u;
2936}
2938 if (state_ != NULL) state_->::bgs::protocol::account::v1::AccountState::Clear();
2939 clear_has_state();
2940}
2941inline const ::bgs::protocol::account::v1::AccountState& GetAccountStateResponse::state() const {
2942 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateResponse.state)
2943 return state_ != NULL ? *state_ : *default_instance_->state_;
2944}
2945inline ::bgs::protocol::account::v1::AccountState* GetAccountStateResponse::mutable_state() {
2946 set_has_state();
2947 if (state_ == NULL) state_ = new ::bgs::protocol::account::v1::AccountState;
2948 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountStateResponse.state)
2949 return state_;
2950}
2951inline ::bgs::protocol::account::v1::AccountState* GetAccountStateResponse::release_state() {
2952 clear_has_state();
2954 state_ = NULL;
2955 return temp;
2956}
2958 delete state_;
2959 state_ = state;
2960 if (state) {
2961 set_has_state();
2962 } else {
2963 clear_has_state();
2964 }
2965 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountStateResponse.state)
2966}
2967
2968// optional .bgs.protocol.account.v1.AccountFieldTags tags = 2;
2970 return (_has_bits_[0] & 0x00000002u) != 0;
2971}
2973 _has_bits_[0] |= 0x00000002u;
2974}
2976 _has_bits_[0] &= ~0x00000002u;
2977}
2979 if (tags_ != NULL) tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
2980 clear_has_tags();
2981}
2982inline const ::bgs::protocol::account::v1::AccountFieldTags& GetAccountStateResponse::tags() const {
2983 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountStateResponse.tags)
2984 return tags_ != NULL ? *tags_ : *default_instance_->tags_;
2985}
2986inline ::bgs::protocol::account::v1::AccountFieldTags* GetAccountStateResponse::mutable_tags() {
2987 set_has_tags();
2988 if (tags_ == NULL) tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
2989 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountStateResponse.tags)
2990 return tags_;
2991}
2992inline ::bgs::protocol::account::v1::AccountFieldTags* GetAccountStateResponse::release_tags() {
2993 clear_has_tags();
2995 tags_ = NULL;
2996 return temp;
2997}
2999 delete tags_;
3000 tags_ = tags;
3001 if (tags) {
3002 set_has_tags();
3003 } else {
3004 clear_has_tags();
3005 }
3006 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountStateResponse.tags)
3007}
3008
3009// -------------------------------------------------------------------
3010
3011// GetSignedAccountStateRequest
3012
3013// optional .bgs.protocol.account.v1.AccountId account = 1;
3015 return (_has_bits_[0] & 0x00000001u) != 0;
3016}
3018 _has_bits_[0] |= 0x00000001u;
3019}
3021 _has_bits_[0] &= ~0x00000001u;
3022}
3024 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
3025 clear_has_account();
3026}
3027inline const ::bgs::protocol::account::v1::AccountId& GetSignedAccountStateRequest::account() const {
3028 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetSignedAccountStateRequest.account)
3029 return account_ != NULL ? *account_ : *default_instance_->account_;
3030}
3031inline ::bgs::protocol::account::v1::AccountId* GetSignedAccountStateRequest::mutable_account() {
3032 set_has_account();
3033 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
3034 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetSignedAccountStateRequest.account)
3035 return account_;
3036}
3037inline ::bgs::protocol::account::v1::AccountId* GetSignedAccountStateRequest::release_account() {
3038 clear_has_account();
3040 account_ = NULL;
3041 return temp;
3042}
3044 delete account_;
3045 account_ = account;
3046 if (account) {
3047 set_has_account();
3048 } else {
3049 clear_has_account();
3050 }
3051 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetSignedAccountStateRequest.account)
3052}
3053
3054// -------------------------------------------------------------------
3055
3056// GetSignedAccountStateResponse
3057
3058// optional string token = 1;
3060 return (_has_bits_[0] & 0x00000001u) != 0;
3061}
3063 _has_bits_[0] |= 0x00000001u;
3064}
3066 _has_bits_[0] &= ~0x00000001u;
3067}
3069 if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3070 token_->clear();
3071 }
3072 clear_has_token();
3073}
3074inline const ::std::string& GetSignedAccountStateResponse::token() const {
3075 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3076 return *token_;
3077}
3078inline void GetSignedAccountStateResponse::set_token(const ::std::string& value) {
3079 set_has_token();
3080 if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3081 token_ = new ::std::string;
3082 }
3083 token_->assign(value);
3084 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3085}
3086inline void GetSignedAccountStateResponse::set_token(const char* value) {
3087 set_has_token();
3088 if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3089 token_ = new ::std::string;
3090 }
3091 token_->assign(value);
3092 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3093}
3094inline void GetSignedAccountStateResponse::set_token(const char* value, size_t size) {
3095 set_has_token();
3096 if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3097 token_ = new ::std::string;
3098 }
3099 token_->assign(reinterpret_cast<const char*>(value), size);
3100 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3101}
3103 set_has_token();
3104 if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3105 token_ = new ::std::string;
3106 }
3107 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3108 return token_;
3109}
3111 clear_has_token();
3112 if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3113 return NULL;
3114 } else {
3115 ::std::string* temp = token_;
3116 token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3117 return temp;
3118 }
3119}
3121 if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3122 delete token_;
3123 }
3124 if (token) {
3125 set_has_token();
3126 token_ = token;
3127 } else {
3128 clear_has_token();
3129 token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3130 }
3131 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetSignedAccountStateResponse.token)
3132}
3133
3134// -------------------------------------------------------------------
3135
3136// GetGameAccountStateRequest
3137
3138// optional .bgs.protocol.EntityId account_id = 1 [deprecated = true];
3140 return (_has_bits_[0] & 0x00000001u) != 0;
3141}
3143 _has_bits_[0] |= 0x00000001u;
3144}
3146 _has_bits_[0] &= ~0x00000001u;
3147}
3149 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
3150 clear_has_account_id();
3151}
3152inline const ::bgs::protocol::EntityId& GetGameAccountStateRequest::account_id() const {
3153 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateRequest.account_id)
3154 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
3155}
3156inline ::bgs::protocol::EntityId* GetGameAccountStateRequest::mutable_account_id() {
3157 set_has_account_id();
3158 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
3159 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateRequest.account_id)
3160 return account_id_;
3161}
3162inline ::bgs::protocol::EntityId* GetGameAccountStateRequest::release_account_id() {
3163 clear_has_account_id();
3164 ::bgs::protocol::EntityId* temp = account_id_;
3165 account_id_ = NULL;
3166 return temp;
3167}
3169 delete account_id_;
3170 account_id_ = account_id;
3171 if (account_id) {
3172 set_has_account_id();
3173 } else {
3174 clear_has_account_id();
3175 }
3176 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateRequest.account_id)
3177}
3178
3179// optional .bgs.protocol.EntityId game_account_id = 2;
3181 return (_has_bits_[0] & 0x00000002u) != 0;
3182}
3184 _has_bits_[0] |= 0x00000002u;
3185}
3187 _has_bits_[0] &= ~0x00000002u;
3188}
3190 if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
3191 clear_has_game_account_id();
3192}
3193inline const ::bgs::protocol::EntityId& GetGameAccountStateRequest::game_account_id() const {
3194 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateRequest.game_account_id)
3195 return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_;
3196}
3197inline ::bgs::protocol::EntityId* GetGameAccountStateRequest::mutable_game_account_id() {
3198 set_has_game_account_id();
3199 if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
3200 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateRequest.game_account_id)
3201 return game_account_id_;
3202}
3203inline ::bgs::protocol::EntityId* GetGameAccountStateRequest::release_game_account_id() {
3204 clear_has_game_account_id();
3205 ::bgs::protocol::EntityId* temp = game_account_id_;
3206 game_account_id_ = NULL;
3207 return temp;
3208}
3210 delete game_account_id_;
3211 game_account_id_ = game_account_id;
3212 if (game_account_id) {
3213 set_has_game_account_id();
3214 } else {
3215 clear_has_game_account_id();
3216 }
3217 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateRequest.game_account_id)
3218}
3219
3220// optional .bgs.protocol.account.v1.GameAccountFieldOptions options = 10;
3222 return (_has_bits_[0] & 0x00000004u) != 0;
3223}
3225 _has_bits_[0] |= 0x00000004u;
3226}
3228 _has_bits_[0] &= ~0x00000004u;
3229}
3231 if (options_ != NULL) options_->::bgs::protocol::account::v1::GameAccountFieldOptions::Clear();
3232 clear_has_options();
3233}
3234inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& GetGameAccountStateRequest::options() const {
3235 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateRequest.options)
3236 return options_ != NULL ? *options_ : *default_instance_->options_;
3237}
3238inline ::bgs::protocol::account::v1::GameAccountFieldOptions* GetGameAccountStateRequest::mutable_options() {
3239 set_has_options();
3240 if (options_ == NULL) options_ = new ::bgs::protocol::account::v1::GameAccountFieldOptions;
3241 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateRequest.options)
3242 return options_;
3243}
3244inline ::bgs::protocol::account::v1::GameAccountFieldOptions* GetGameAccountStateRequest::release_options() {
3245 clear_has_options();
3247 options_ = NULL;
3248 return temp;
3249}
3251 delete options_;
3252 options_ = options;
3253 if (options) {
3254 set_has_options();
3255 } else {
3256 clear_has_options();
3257 }
3258 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateRequest.options)
3259}
3260
3261// optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 11;
3263 return (_has_bits_[0] & 0x00000008u) != 0;
3264}
3266 _has_bits_[0] |= 0x00000008u;
3267}
3269 _has_bits_[0] &= ~0x00000008u;
3270}
3272 if (tags_ != NULL) tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
3273 clear_has_tags();
3274}
3275inline const ::bgs::protocol::account::v1::GameAccountFieldTags& GetGameAccountStateRequest::tags() const {
3276 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateRequest.tags)
3277 return tags_ != NULL ? *tags_ : *default_instance_->tags_;
3278}
3279inline ::bgs::protocol::account::v1::GameAccountFieldTags* GetGameAccountStateRequest::mutable_tags() {
3280 set_has_tags();
3281 if (tags_ == NULL) tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
3282 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateRequest.tags)
3283 return tags_;
3284}
3285inline ::bgs::protocol::account::v1::GameAccountFieldTags* GetGameAccountStateRequest::release_tags() {
3286 clear_has_tags();
3288 tags_ = NULL;
3289 return temp;
3290}
3292 delete tags_;
3293 tags_ = tags;
3294 if (tags) {
3295 set_has_tags();
3296 } else {
3297 clear_has_tags();
3298 }
3299 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateRequest.tags)
3300}
3301
3302// -------------------------------------------------------------------
3303
3304// GetGameAccountStateResponse
3305
3306// optional .bgs.protocol.account.v1.GameAccountState state = 1;
3308 return (_has_bits_[0] & 0x00000001u) != 0;
3309}
3311 _has_bits_[0] |= 0x00000001u;
3312}
3314 _has_bits_[0] &= ~0x00000001u;
3315}
3317 if (state_ != NULL) state_->::bgs::protocol::account::v1::GameAccountState::Clear();
3318 clear_has_state();
3319}
3320inline const ::bgs::protocol::account::v1::GameAccountState& GetGameAccountStateResponse::state() const {
3321 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateResponse.state)
3322 return state_ != NULL ? *state_ : *default_instance_->state_;
3323}
3324inline ::bgs::protocol::account::v1::GameAccountState* GetGameAccountStateResponse::mutable_state() {
3325 set_has_state();
3326 if (state_ == NULL) state_ = new ::bgs::protocol::account::v1::GameAccountState;
3327 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateResponse.state)
3328 return state_;
3329}
3330inline ::bgs::protocol::account::v1::GameAccountState* GetGameAccountStateResponse::release_state() {
3331 clear_has_state();
3333 state_ = NULL;
3334 return temp;
3335}
3337 delete state_;
3338 state_ = state;
3339 if (state) {
3340 set_has_state();
3341 } else {
3342 clear_has_state();
3343 }
3344 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateResponse.state)
3345}
3346
3347// optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 2;
3349 return (_has_bits_[0] & 0x00000002u) != 0;
3350}
3352 _has_bits_[0] |= 0x00000002u;
3353}
3355 _has_bits_[0] &= ~0x00000002u;
3356}
3358 if (tags_ != NULL) tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
3359 clear_has_tags();
3360}
3361inline const ::bgs::protocol::account::v1::GameAccountFieldTags& GetGameAccountStateResponse::tags() const {
3362 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameAccountStateResponse.tags)
3363 return tags_ != NULL ? *tags_ : *default_instance_->tags_;
3364}
3365inline ::bgs::protocol::account::v1::GameAccountFieldTags* GetGameAccountStateResponse::mutable_tags() {
3366 set_has_tags();
3367 if (tags_ == NULL) tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
3368 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameAccountStateResponse.tags)
3369 return tags_;
3370}
3371inline ::bgs::protocol::account::v1::GameAccountFieldTags* GetGameAccountStateResponse::release_tags() {
3372 clear_has_tags();
3374 tags_ = NULL;
3375 return temp;
3376}
3378 delete tags_;
3379 tags_ = tags;
3380 if (tags) {
3381 set_has_tags();
3382 } else {
3383 clear_has_tags();
3384 }
3385 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameAccountStateResponse.tags)
3386}
3387
3388// -------------------------------------------------------------------
3389
3390// GetLicensesRequest
3391
3392// optional .bgs.protocol.EntityId target_id = 1;
3394 return (_has_bits_[0] & 0x00000001u) != 0;
3395}
3397 _has_bits_[0] |= 0x00000001u;
3398}
3400 _has_bits_[0] &= ~0x00000001u;
3401}
3403 if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
3404 clear_has_target_id();
3405}
3406inline const ::bgs::protocol::EntityId& GetLicensesRequest::target_id() const {
3407 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.target_id)
3408 return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_;
3409}
3410inline ::bgs::protocol::EntityId* GetLicensesRequest::mutable_target_id() {
3411 set_has_target_id();
3412 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
3413 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetLicensesRequest.target_id)
3414 return target_id_;
3415}
3416inline ::bgs::protocol::EntityId* GetLicensesRequest::release_target_id() {
3417 clear_has_target_id();
3418 ::bgs::protocol::EntityId* temp = target_id_;
3419 target_id_ = NULL;
3420 return temp;
3421}
3423 delete target_id_;
3424 target_id_ = target_id;
3425 if (target_id) {
3426 set_has_target_id();
3427 } else {
3428 clear_has_target_id();
3429 }
3430 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetLicensesRequest.target_id)
3431}
3432
3433// optional bool fetch_account_licenses = 2;
3435 return (_has_bits_[0] & 0x00000002u) != 0;
3436}
3438 _has_bits_[0] |= 0x00000002u;
3439}
3441 _has_bits_[0] &= ~0x00000002u;
3442}
3444 fetch_account_licenses_ = false;
3445 clear_has_fetch_account_licenses();
3446}
3448 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.fetch_account_licenses)
3449 return fetch_account_licenses_;
3450}
3452 set_has_fetch_account_licenses();
3453 fetch_account_licenses_ = value;
3454 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetLicensesRequest.fetch_account_licenses)
3455}
3456
3457// optional bool fetch_game_account_licenses = 3;
3459 return (_has_bits_[0] & 0x00000004u) != 0;
3460}
3462 _has_bits_[0] |= 0x00000004u;
3463}
3465 _has_bits_[0] &= ~0x00000004u;
3466}
3468 fetch_game_account_licenses_ = false;
3469 clear_has_fetch_game_account_licenses();
3470}
3472 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.fetch_game_account_licenses)
3473 return fetch_game_account_licenses_;
3474}
3476 set_has_fetch_game_account_licenses();
3477 fetch_game_account_licenses_ = value;
3478 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetLicensesRequest.fetch_game_account_licenses)
3479}
3480
3481// optional bool fetch_dynamic_account_licenses = 4;
3483 return (_has_bits_[0] & 0x00000008u) != 0;
3484}
3486 _has_bits_[0] |= 0x00000008u;
3487}
3489 _has_bits_[0] &= ~0x00000008u;
3490}
3492 fetch_dynamic_account_licenses_ = false;
3493 clear_has_fetch_dynamic_account_licenses();
3494}
3496 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.fetch_dynamic_account_licenses)
3497 return fetch_dynamic_account_licenses_;
3498}
3500 set_has_fetch_dynamic_account_licenses();
3501 fetch_dynamic_account_licenses_ = value;
3502 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetLicensesRequest.fetch_dynamic_account_licenses)
3503}
3504
3505// optional fixed32 program = 5;
3507 return (_has_bits_[0] & 0x00000010u) != 0;
3508}
3510 _has_bits_[0] |= 0x00000010u;
3511}
3513 _has_bits_[0] &= ~0x00000010u;
3514}
3516 program_ = 0u;
3517 clear_has_program();
3518}
3520 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.program)
3521 return program_;
3522}
3524 set_has_program();
3525 program_ = value;
3526 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetLicensesRequest.program)
3527}
3528
3529// optional bool exclude_unknown_program = 6 [default = false];
3531 return (_has_bits_[0] & 0x00000020u) != 0;
3532}
3534 _has_bits_[0] |= 0x00000020u;
3535}
3537 _has_bits_[0] &= ~0x00000020u;
3538}
3540 exclude_unknown_program_ = false;
3541 clear_has_exclude_unknown_program();
3542}
3544 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesRequest.exclude_unknown_program)
3545 return exclude_unknown_program_;
3546}
3548 set_has_exclude_unknown_program();
3549 exclude_unknown_program_ = value;
3550 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetLicensesRequest.exclude_unknown_program)
3551}
3552
3553// -------------------------------------------------------------------
3554
3555// GetLicensesResponse
3556
3557// repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
3559 return licenses_.size();
3560}
3562 licenses_.Clear();
3563}
3564inline const ::bgs::protocol::account::v1::AccountLicense& GetLicensesResponse::licenses(int index) const {
3565 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetLicensesResponse.licenses)
3566 return licenses_.Get(index);
3567}
3568inline ::bgs::protocol::account::v1::AccountLicense* GetLicensesResponse::mutable_licenses(int index) {
3569 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetLicensesResponse.licenses)
3570 return licenses_.Mutable(index);
3571}
3572inline ::bgs::protocol::account::v1::AccountLicense* GetLicensesResponse::add_licenses() {
3573 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GetLicensesResponse.licenses)
3574 return licenses_.Add();
3575}
3576inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
3578 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GetLicensesResponse.licenses)
3579 return licenses_;
3580}
3581inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
3583 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GetLicensesResponse.licenses)
3584 return &licenses_;
3585}
3586
3587// -------------------------------------------------------------------
3588
3589// GetGameSessionInfoRequest
3590
3591// optional .bgs.protocol.EntityId entity_id = 1;
3593 return (_has_bits_[0] & 0x00000001u) != 0;
3594}
3596 _has_bits_[0] |= 0x00000001u;
3597}
3599 _has_bits_[0] &= ~0x00000001u;
3600}
3602 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
3603 clear_has_entity_id();
3604}
3605inline const ::bgs::protocol::EntityId& GetGameSessionInfoRequest::entity_id() const {
3606 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameSessionInfoRequest.entity_id)
3607 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
3608}
3609inline ::bgs::protocol::EntityId* GetGameSessionInfoRequest::mutable_entity_id() {
3610 set_has_entity_id();
3611 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
3612 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameSessionInfoRequest.entity_id)
3613 return entity_id_;
3614}
3615inline ::bgs::protocol::EntityId* GetGameSessionInfoRequest::release_entity_id() {
3616 clear_has_entity_id();
3617 ::bgs::protocol::EntityId* temp = entity_id_;
3618 entity_id_ = NULL;
3619 return temp;
3620}
3622 delete entity_id_;
3623 entity_id_ = entity_id;
3624 if (entity_id) {
3625 set_has_entity_id();
3626 } else {
3627 clear_has_entity_id();
3628 }
3629 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameSessionInfoRequest.entity_id)
3630}
3631
3632// -------------------------------------------------------------------
3633
3634// GetGameSessionInfoResponse
3635
3636// optional .bgs.protocol.account.v1.GameSessionInfo session_info = 2;
3638 return (_has_bits_[0] & 0x00000001u) != 0;
3639}
3641 _has_bits_[0] |= 0x00000001u;
3642}
3644 _has_bits_[0] &= ~0x00000001u;
3645}
3647 if (session_info_ != NULL) session_info_->::bgs::protocol::account::v1::GameSessionInfo::Clear();
3648 clear_has_session_info();
3649}
3650inline const ::bgs::protocol::account::v1::GameSessionInfo& GetGameSessionInfoResponse::session_info() const {
3651 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameSessionInfoResponse.session_info)
3652 return session_info_ != NULL ? *session_info_ : *default_instance_->session_info_;
3653}
3654inline ::bgs::protocol::account::v1::GameSessionInfo* GetGameSessionInfoResponse::mutable_session_info() {
3655 set_has_session_info();
3656 if (session_info_ == NULL) session_info_ = new ::bgs::protocol::account::v1::GameSessionInfo;
3657 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameSessionInfoResponse.session_info)
3658 return session_info_;
3659}
3660inline ::bgs::protocol::account::v1::GameSessionInfo* GetGameSessionInfoResponse::release_session_info() {
3661 clear_has_session_info();
3663 session_info_ = NULL;
3664 return temp;
3665}
3667 delete session_info_;
3668 session_info_ = session_info;
3669 if (session_info) {
3670 set_has_session_info();
3671 } else {
3672 clear_has_session_info();
3673 }
3674 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameSessionInfoResponse.session_info)
3675}
3676
3677// -------------------------------------------------------------------
3678
3679// GetGameTimeRemainingInfoRequest
3680
3681// optional .bgs.protocol.EntityId game_account_id = 1;
3683 return (_has_bits_[0] & 0x00000001u) != 0;
3684}
3686 _has_bits_[0] |= 0x00000001u;
3687}
3689 _has_bits_[0] &= ~0x00000001u;
3690}
3692 if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
3693 clear_has_game_account_id();
3694}
3695inline const ::bgs::protocol::EntityId& GetGameTimeRemainingInfoRequest::game_account_id() const {
3696 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.game_account_id)
3697 return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_;
3698}
3700 set_has_game_account_id();
3701 if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
3702 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.game_account_id)
3703 return game_account_id_;
3704}
3706 clear_has_game_account_id();
3707 ::bgs::protocol::EntityId* temp = game_account_id_;
3708 game_account_id_ = NULL;
3709 return temp;
3710}
3712 delete game_account_id_;
3713 game_account_id_ = game_account_id;
3714 if (game_account_id) {
3715 set_has_game_account_id();
3716 } else {
3717 clear_has_game_account_id();
3718 }
3719 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.game_account_id)
3720}
3721
3722// optional .bgs.protocol.EntityId account_id = 2;
3724 return (_has_bits_[0] & 0x00000002u) != 0;
3725}
3727 _has_bits_[0] |= 0x00000002u;
3728}
3730 _has_bits_[0] &= ~0x00000002u;
3731}
3733 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
3734 clear_has_account_id();
3735}
3736inline const ::bgs::protocol::EntityId& GetGameTimeRemainingInfoRequest::account_id() const {
3737 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.account_id)
3738 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
3739}
3740inline ::bgs::protocol::EntityId* GetGameTimeRemainingInfoRequest::mutable_account_id() {
3741 set_has_account_id();
3742 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
3743 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.account_id)
3744 return account_id_;
3745}
3746inline ::bgs::protocol::EntityId* GetGameTimeRemainingInfoRequest::release_account_id() {
3747 clear_has_account_id();
3748 ::bgs::protocol::EntityId* temp = account_id_;
3749 account_id_ = NULL;
3750 return temp;
3751}
3753 delete account_id_;
3754 account_id_ = account_id;
3755 if (account_id) {
3756 set_has_account_id();
3757 } else {
3758 clear_has_account_id();
3759 }
3760 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.account_id)
3761}
3762
3763// optional string benefactor_id = 3;
3765 return (_has_bits_[0] & 0x00000004u) != 0;
3766}
3768 _has_bits_[0] |= 0x00000004u;
3769}
3771 _has_bits_[0] &= ~0x00000004u;
3772}
3774 if (benefactor_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3775 benefactor_id_->clear();
3776 }
3777 clear_has_benefactor_id();
3778}
3779inline const ::std::string& GetGameTimeRemainingInfoRequest::benefactor_id() const {
3780 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3781 return *benefactor_id_;
3782}
3783inline void GetGameTimeRemainingInfoRequest::set_benefactor_id(const ::std::string& value) {
3784 set_has_benefactor_id();
3785 if (benefactor_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3786 benefactor_id_ = new ::std::string;
3787 }
3788 benefactor_id_->assign(value);
3789 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3790}
3792 set_has_benefactor_id();
3793 if (benefactor_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3794 benefactor_id_ = new ::std::string;
3795 }
3796 benefactor_id_->assign(value);
3797 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3798}
3799inline void GetGameTimeRemainingInfoRequest::set_benefactor_id(const char* value, size_t size) {
3800 set_has_benefactor_id();
3801 if (benefactor_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3802 benefactor_id_ = new ::std::string;
3803 }
3804 benefactor_id_->assign(reinterpret_cast<const char*>(value), size);
3805 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3806}
3808 set_has_benefactor_id();
3809 if (benefactor_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3810 benefactor_id_ = new ::std::string;
3811 }
3812 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3813 return benefactor_id_;
3814}
3816 clear_has_benefactor_id();
3817 if (benefactor_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3818 return NULL;
3819 } else {
3820 ::std::string* temp = benefactor_id_;
3821 benefactor_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3822 return temp;
3823 }
3824}
3825inline void GetGameTimeRemainingInfoRequest::set_allocated_benefactor_id(::std::string* benefactor_id) {
3826 if (benefactor_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3827 delete benefactor_id_;
3828 }
3829 if (benefactor_id) {
3830 set_has_benefactor_id();
3831 benefactor_id_ = benefactor_id;
3832 } else {
3833 clear_has_benefactor_id();
3834 benefactor_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3835 }
3836 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest.benefactor_id)
3837}
3838
3839// -------------------------------------------------------------------
3840
3841// GetGameTimeRemainingInfoResponse
3842
3843// optional .bgs.protocol.account.v1.GameTimeRemainingInfo game_time_remaining_info = 1;
3845 return (_has_bits_[0] & 0x00000001u) != 0;
3846}
3848 _has_bits_[0] |= 0x00000001u;
3849}
3851 _has_bits_[0] &= ~0x00000001u;
3852}
3854 if (game_time_remaining_info_ != NULL) game_time_remaining_info_->::bgs::protocol::account::v1::GameTimeRemainingInfo::Clear();
3855 clear_has_game_time_remaining_info();
3856}
3857inline const ::bgs::protocol::account::v1::GameTimeRemainingInfo& GetGameTimeRemainingInfoResponse::game_time_remaining_info() const {
3858 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetGameTimeRemainingInfoResponse.game_time_remaining_info)
3859 return game_time_remaining_info_ != NULL ? *game_time_remaining_info_ : *default_instance_->game_time_remaining_info_;
3860}
3861inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* GetGameTimeRemainingInfoResponse::mutable_game_time_remaining_info() {
3862 set_has_game_time_remaining_info();
3863 if (game_time_remaining_info_ == NULL) game_time_remaining_info_ = new ::bgs::protocol::account::v1::GameTimeRemainingInfo;
3864 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetGameTimeRemainingInfoResponse.game_time_remaining_info)
3865 return game_time_remaining_info_;
3866}
3867inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* GetGameTimeRemainingInfoResponse::release_game_time_remaining_info() {
3868 clear_has_game_time_remaining_info();
3869 ::bgs::protocol::account::v1::GameTimeRemainingInfo* temp = game_time_remaining_info_;
3870 game_time_remaining_info_ = NULL;
3871 return temp;
3872}
3874 delete game_time_remaining_info_;
3875 game_time_remaining_info_ = game_time_remaining_info;
3876 if (game_time_remaining_info) {
3877 set_has_game_time_remaining_info();
3878 } else {
3879 clear_has_game_time_remaining_info();
3880 }
3881 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetGameTimeRemainingInfoResponse.game_time_remaining_info)
3882}
3883
3884// -------------------------------------------------------------------
3885
3886// GetCAISInfoRequest
3887
3888// optional .bgs.protocol.EntityId entity_id = 1;
3890 return (_has_bits_[0] & 0x00000001u) != 0;
3891}
3893 _has_bits_[0] |= 0x00000001u;
3894}
3896 _has_bits_[0] &= ~0x00000001u;
3897}
3899 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
3900 clear_has_entity_id();
3901}
3902inline const ::bgs::protocol::EntityId& GetCAISInfoRequest::entity_id() const {
3903 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetCAISInfoRequest.entity_id)
3904 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
3905}
3906inline ::bgs::protocol::EntityId* GetCAISInfoRequest::mutable_entity_id() {
3907 set_has_entity_id();
3908 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
3909 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetCAISInfoRequest.entity_id)
3910 return entity_id_;
3911}
3912inline ::bgs::protocol::EntityId* GetCAISInfoRequest::release_entity_id() {
3913 clear_has_entity_id();
3914 ::bgs::protocol::EntityId* temp = entity_id_;
3915 entity_id_ = NULL;
3916 return temp;
3917}
3919 delete entity_id_;
3920 entity_id_ = entity_id;
3921 if (entity_id) {
3922 set_has_entity_id();
3923 } else {
3924 clear_has_entity_id();
3925 }
3926 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetCAISInfoRequest.entity_id)
3927}
3928
3929// -------------------------------------------------------------------
3930
3931// GetCAISInfoResponse
3932
3933// optional .bgs.protocol.account.v1.CAIS cais_info = 1;
3935 return (_has_bits_[0] & 0x00000001u) != 0;
3936}
3938 _has_bits_[0] |= 0x00000001u;
3939}
3941 _has_bits_[0] &= ~0x00000001u;
3942}
3944 if (cais_info_ != NULL) cais_info_->::bgs::protocol::account::v1::CAIS::Clear();
3945 clear_has_cais_info();
3946}
3947inline const ::bgs::protocol::account::v1::CAIS& GetCAISInfoResponse::cais_info() const {
3948 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetCAISInfoResponse.cais_info)
3949 return cais_info_ != NULL ? *cais_info_ : *default_instance_->cais_info_;
3950}
3951inline ::bgs::protocol::account::v1::CAIS* GetCAISInfoResponse::mutable_cais_info() {
3952 set_has_cais_info();
3953 if (cais_info_ == NULL) cais_info_ = new ::bgs::protocol::account::v1::CAIS;
3954 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetCAISInfoResponse.cais_info)
3955 return cais_info_;
3956}
3957inline ::bgs::protocol::account::v1::CAIS* GetCAISInfoResponse::release_cais_info() {
3958 clear_has_cais_info();
3959 ::bgs::protocol::account::v1::CAIS* temp = cais_info_;
3960 cais_info_ = NULL;
3961 return temp;
3962}
3964 delete cais_info_;
3965 cais_info_ = cais_info;
3966 if (cais_info) {
3967 set_has_cais_info();
3968 } else {
3969 clear_has_cais_info();
3970 }
3971 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetCAISInfoResponse.cais_info)
3972}
3973
3974// -------------------------------------------------------------------
3975
3976// GetAuthorizedDataRequest
3977
3978// optional .bgs.protocol.EntityId entity_id = 1;
3980 return (_has_bits_[0] & 0x00000001u) != 0;
3981}
3983 _has_bits_[0] |= 0x00000001u;
3984}
3986 _has_bits_[0] &= ~0x00000001u;
3987}
3989 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
3990 clear_has_entity_id();
3991}
3992inline const ::bgs::protocol::EntityId& GetAuthorizedDataRequest::entity_id() const {
3993 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAuthorizedDataRequest.entity_id)
3994 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
3995}
3996inline ::bgs::protocol::EntityId* GetAuthorizedDataRequest::mutable_entity_id() {
3997 set_has_entity_id();
3998 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
3999 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAuthorizedDataRequest.entity_id)
4000 return entity_id_;
4001}
4002inline ::bgs::protocol::EntityId* GetAuthorizedDataRequest::release_entity_id() {
4003 clear_has_entity_id();
4004 ::bgs::protocol::EntityId* temp = entity_id_;
4005 entity_id_ = NULL;
4006 return temp;
4007}
4009 delete entity_id_;
4010 entity_id_ = entity_id;
4011 if (entity_id) {
4012 set_has_entity_id();
4013 } else {
4014 clear_has_entity_id();
4015 }
4016 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAuthorizedDataRequest.entity_id)
4017}
4018
4019// repeated string tag = 2;
4021 return tag_.size();
4022}
4024 tag_.Clear();
4025}
4026inline const ::std::string& GetAuthorizedDataRequest::tag(int index) const {
4027 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4028 return tag_.Get(index);
4029}
4030inline ::std::string* GetAuthorizedDataRequest::mutable_tag(int index) {
4031 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4032 return tag_.Mutable(index);
4033}
4034inline void GetAuthorizedDataRequest::set_tag(int index, const ::std::string& value) {
4035 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4036 tag_.Mutable(index)->assign(value);
4037}
4038inline void GetAuthorizedDataRequest::set_tag(int index, const char* value) {
4039 tag_.Mutable(index)->assign(value);
4040 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4041}
4042inline void GetAuthorizedDataRequest::set_tag(int index, const char* value, size_t size) {
4043 tag_.Mutable(index)->assign(
4044 reinterpret_cast<const char*>(value), size);
4045 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4046}
4047inline ::std::string* GetAuthorizedDataRequest::add_tag() {
4048 return tag_.Add();
4049}
4050inline void GetAuthorizedDataRequest::add_tag(const ::std::string& value) {
4051 tag_.Add()->assign(value);
4052 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4053}
4054inline void GetAuthorizedDataRequest::add_tag(const char* value) {
4055 tag_.Add()->assign(value);
4056 // @@protoc_insertion_point(field_add_char:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4057}
4058inline void GetAuthorizedDataRequest::add_tag(const char* value, size_t size) {
4059 tag_.Add()->assign(reinterpret_cast<const char*>(value), size);
4060 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4061}
4062inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4064 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4065 return tag_;
4066}
4067inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4069 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GetAuthorizedDataRequest.tag)
4070 return &tag_;
4071}
4072
4073// optional bool privileged_network = 3;
4075 return (_has_bits_[0] & 0x00000004u) != 0;
4076}
4078 _has_bits_[0] |= 0x00000004u;
4079}
4081 _has_bits_[0] &= ~0x00000004u;
4082}
4084 privileged_network_ = false;
4085 clear_has_privileged_network();
4086}
4088 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAuthorizedDataRequest.privileged_network)
4089 return privileged_network_;
4090}
4092 set_has_privileged_network();
4093 privileged_network_ = value;
4094 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAuthorizedDataRequest.privileged_network)
4095}
4096
4097// -------------------------------------------------------------------
4098
4099// GetAuthorizedDataResponse
4100
4101// repeated .bgs.protocol.account.v1.AuthorizedData data = 1;
4103 return data_.size();
4104}
4106 data_.Clear();
4107}
4108inline const ::bgs::protocol::account::v1::AuthorizedData& GetAuthorizedDataResponse::data(int index) const {
4109 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAuthorizedDataResponse.data)
4110 return data_.Get(index);
4111}
4112inline ::bgs::protocol::account::v1::AuthorizedData* GetAuthorizedDataResponse::mutable_data(int index) {
4113 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAuthorizedDataResponse.data)
4114 return data_.Mutable(index);
4115}
4116inline ::bgs::protocol::account::v1::AuthorizedData* GetAuthorizedDataResponse::add_data() {
4117 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GetAuthorizedDataResponse.data)
4118 return data_.Add();
4119}
4120inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >&
4122 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GetAuthorizedDataResponse.data)
4123 return data_;
4124}
4125inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >*
4127 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GetAuthorizedDataResponse.data)
4128 return &data_;
4129}
4130
4131// -------------------------------------------------------------------
4132
4133// GetAccountInfoRequest
4134
4135// optional .bgs.protocol.EntityId account_id = 1;
4137 return (_has_bits_[0] & 0x00000001u) != 0;
4138}
4140 _has_bits_[0] |= 0x00000001u;
4141}
4143 _has_bits_[0] &= ~0x00000001u;
4144}
4146 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
4147 clear_has_account_id();
4148}
4149inline const ::bgs::protocol::EntityId& GetAccountInfoRequest::account_id() const {
4150 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
4151 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
4152}
4153inline ::bgs::protocol::EntityId* GetAccountInfoRequest::mutable_account_id() {
4154 set_has_account_id();
4155 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
4156 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
4157 return account_id_;
4158}
4159inline ::bgs::protocol::EntityId* GetAccountInfoRequest::release_account_id() {
4160 clear_has_account_id();
4161 ::bgs::protocol::EntityId* temp = account_id_;
4162 account_id_ = NULL;
4163 return temp;
4164}
4166 delete account_id_;
4167 account_id_ = account_id;
4168 if (account_id) {
4169 set_has_account_id();
4170 } else {
4171 clear_has_account_id();
4172 }
4173 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
4174}
4175
4176// -------------------------------------------------------------------
4177
4178// GetAccountInfoResponse
4179
4180// optional .bgs.protocol.account.v1.AccountInfo account_info = 1;
4182 return (_has_bits_[0] & 0x00000001u) != 0;
4183}
4185 _has_bits_[0] |= 0x00000001u;
4186}
4188 _has_bits_[0] &= ~0x00000001u;
4189}
4191 if (account_info_ != NULL) account_info_->::bgs::protocol::account::v1::AccountInfo::Clear();
4192 clear_has_account_info();
4193}
4194inline const ::bgs::protocol::account::v1::AccountInfo& GetAccountInfoResponse::account_info() const {
4195 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
4196 return account_info_ != NULL ? *account_info_ : *default_instance_->account_info_;
4197}
4198inline ::bgs::protocol::account::v1::AccountInfo* GetAccountInfoResponse::mutable_account_info() {
4199 set_has_account_info();
4200 if (account_info_ == NULL) account_info_ = new ::bgs::protocol::account::v1::AccountInfo;
4201 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
4202 return account_info_;
4203}
4204inline ::bgs::protocol::account::v1::AccountInfo* GetAccountInfoResponse::release_account_info() {
4205 clear_has_account_info();
4206 ::bgs::protocol::account::v1::AccountInfo* temp = account_info_;
4207 account_info_ = NULL;
4208 return temp;
4209}
4211 delete account_info_;
4212 account_info_ = account_info;
4213 if (account_info) {
4214 set_has_account_info();
4215 } else {
4216 clear_has_account_info();
4217 }
4218 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
4219}
4220
4221// -------------------------------------------------------------------
4222
4223// GetAccountPlatformRestrictionsRequest
4224
4225// optional .bgs.protocol.EntityId account_id = 1;
4227 return (_has_bits_[0] & 0x00000001u) != 0;
4228}
4230 _has_bits_[0] |= 0x00000001u;
4231}
4233 _has_bits_[0] &= ~0x00000001u;
4234}
4236 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
4237 clear_has_account_id();
4238}
4239inline const ::bgs::protocol::EntityId& GetAccountPlatformRestrictionsRequest::account_id() const {
4240 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
4241 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
4242}
4244 set_has_account_id();
4245 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
4246 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
4247 return account_id_;
4248}
4250 clear_has_account_id();
4251 ::bgs::protocol::EntityId* temp = account_id_;
4252 account_id_ = NULL;
4253 return temp;
4254}
4256 delete account_id_;
4257 account_id_ = account_id;
4258 if (account_id) {
4259 set_has_account_id();
4260 } else {
4261 clear_has_account_id();
4262 }
4263 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
4264}
4265
4266// -------------------------------------------------------------------
4267
4268// GetAccountPlatformRestrictionsResponse
4269
4270// optional .bgs.protocol.account.v1.AccountPlatformRestrictionInfo restriction_info = 1;
4272 return (_has_bits_[0] & 0x00000001u) != 0;
4273}
4275 _has_bits_[0] |= 0x00000001u;
4276}
4278 _has_bits_[0] &= ~0x00000001u;
4279}
4281 if (restriction_info_ != NULL) restriction_info_->::bgs::protocol::account::v1::AccountPlatformRestrictionInfo::Clear();
4282 clear_has_restriction_info();
4283}
4284inline const ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo& GetAccountPlatformRestrictionsResponse::restriction_info() const {
4285 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
4286 return restriction_info_ != NULL ? *restriction_info_ : *default_instance_->restriction_info_;
4287}
4288inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* GetAccountPlatformRestrictionsResponse::mutable_restriction_info() {
4289 set_has_restriction_info();
4290 if (restriction_info_ == NULL) restriction_info_ = new ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo;
4291 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
4292 return restriction_info_;
4293}
4294inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* GetAccountPlatformRestrictionsResponse::release_restriction_info() {
4295 clear_has_restriction_info();
4297 restriction_info_ = NULL;
4298 return temp;
4299}
4301 delete restriction_info_;
4302 restriction_info_ = restriction_info;
4303 if (restriction_info) {
4304 set_has_restriction_info();
4305 } else {
4306 clear_has_restriction_info();
4307 }
4308 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
4309}
4310
4311// -------------------------------------------------------------------
4312
4313// AccountStateNotification
4314
4315// optional .bgs.protocol.account.v1.AccountState account_state = 1;
4317 return (_has_bits_[0] & 0x00000001u) != 0;
4318}
4320 _has_bits_[0] |= 0x00000001u;
4321}
4323 _has_bits_[0] &= ~0x00000001u;
4324}
4326 if (account_state_ != NULL) account_state_->::bgs::protocol::account::v1::AccountState::Clear();
4327 clear_has_account_state();
4328}
4329inline const ::bgs::protocol::account::v1::AccountState& AccountStateNotification::account_state() const {
4330 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateNotification.account_state)
4331 return account_state_ != NULL ? *account_state_ : *default_instance_->account_state_;
4332}
4333inline ::bgs::protocol::account::v1::AccountState* AccountStateNotification::mutable_account_state() {
4334 set_has_account_state();
4335 if (account_state_ == NULL) account_state_ = new ::bgs::protocol::account::v1::AccountState;
4336 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateNotification.account_state)
4337 return account_state_;
4338}
4339inline ::bgs::protocol::account::v1::AccountState* AccountStateNotification::release_account_state() {
4340 clear_has_account_state();
4341 ::bgs::protocol::account::v1::AccountState* temp = account_state_;
4342 account_state_ = NULL;
4343 return temp;
4344}
4346 delete account_state_;
4347 account_state_ = account_state;
4348 if (account_state) {
4349 set_has_account_state();
4350 } else {
4351 clear_has_account_state();
4352 }
4353 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateNotification.account_state)
4354}
4355
4356// optional uint64 subscriber_id = 2 [deprecated = true];
4358 return (_has_bits_[0] & 0x00000002u) != 0;
4359}
4361 _has_bits_[0] |= 0x00000002u;
4362}
4364 _has_bits_[0] &= ~0x00000002u;
4365}
4367 subscriber_id_ = GOOGLE_ULONGLONG(0);
4368 clear_has_subscriber_id();
4369}
4371 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateNotification.subscriber_id)
4372 return subscriber_id_;
4373}
4375 set_has_subscriber_id();
4376 subscriber_id_ = value;
4377 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountStateNotification.subscriber_id)
4378}
4379
4380// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
4382 return (_has_bits_[0] & 0x00000004u) != 0;
4383}
4385 _has_bits_[0] |= 0x00000004u;
4386}
4388 _has_bits_[0] &= ~0x00000004u;
4389}
4391 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
4392 clear_has_account_tags();
4393}
4394inline const ::bgs::protocol::account::v1::AccountFieldTags& AccountStateNotification::account_tags() const {
4395 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateNotification.account_tags)
4396 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
4397}
4398inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateNotification::mutable_account_tags() {
4399 set_has_account_tags();
4400 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
4401 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateNotification.account_tags)
4402 return account_tags_;
4403}
4404inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateNotification::release_account_tags() {
4405 clear_has_account_tags();
4407 account_tags_ = NULL;
4408 return temp;
4409}
4411 delete account_tags_;
4412 account_tags_ = account_tags;
4413 if (account_tags) {
4414 set_has_account_tags();
4415 } else {
4416 clear_has_account_tags();
4417 }
4418 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateNotification.account_tags)
4419}
4420
4421// optional bool subscription_completed = 4;
4423 return (_has_bits_[0] & 0x00000008u) != 0;
4424}
4426 _has_bits_[0] |= 0x00000008u;
4427}
4429 _has_bits_[0] &= ~0x00000008u;
4430}
4432 subscription_completed_ = false;
4433 clear_has_subscription_completed();
4434}
4436 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateNotification.subscription_completed)
4437 return subscription_completed_;
4438}
4440 set_has_subscription_completed();
4441 subscription_completed_ = value;
4442 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountStateNotification.subscription_completed)
4443}
4444
4445// -------------------------------------------------------------------
4446
4447// GameAccountStateNotification
4448
4449// optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
4451 return (_has_bits_[0] & 0x00000001u) != 0;
4452}
4454 _has_bits_[0] |= 0x00000001u;
4455}
4457 _has_bits_[0] &= ~0x00000001u;
4458}
4460 if (game_account_state_ != NULL) game_account_state_->::bgs::protocol::account::v1::GameAccountState::Clear();
4461 clear_has_game_account_state();
4462}
4463inline const ::bgs::protocol::account::v1::GameAccountState& GameAccountStateNotification::game_account_state() const {
4464 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateNotification.game_account_state)
4465 return game_account_state_ != NULL ? *game_account_state_ : *default_instance_->game_account_state_;
4466}
4467inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateNotification::mutable_game_account_state() {
4468 set_has_game_account_state();
4469 if (game_account_state_ == NULL) game_account_state_ = new ::bgs::protocol::account::v1::GameAccountState;
4470 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateNotification.game_account_state)
4471 return game_account_state_;
4472}
4473inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateNotification::release_game_account_state() {
4474 clear_has_game_account_state();
4475 ::bgs::protocol::account::v1::GameAccountState* temp = game_account_state_;
4476 game_account_state_ = NULL;
4477 return temp;
4478}
4480 delete game_account_state_;
4481 game_account_state_ = game_account_state;
4482 if (game_account_state) {
4483 set_has_game_account_state();
4484 } else {
4485 clear_has_game_account_state();
4486 }
4487 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateNotification.game_account_state)
4488}
4489
4490// optional uint64 subscriber_id = 2 [deprecated = true];
4492 return (_has_bits_[0] & 0x00000002u) != 0;
4493}
4495 _has_bits_[0] |= 0x00000002u;
4496}
4498 _has_bits_[0] &= ~0x00000002u;
4499}
4501 subscriber_id_ = GOOGLE_ULONGLONG(0);
4502 clear_has_subscriber_id();
4503}
4505 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateNotification.subscriber_id)
4506 return subscriber_id_;
4507}
4509 set_has_subscriber_id();
4510 subscriber_id_ = value;
4511 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountStateNotification.subscriber_id)
4512}
4513
4514// optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 3;
4516 return (_has_bits_[0] & 0x00000004u) != 0;
4517}
4519 _has_bits_[0] |= 0x00000004u;
4520}
4522 _has_bits_[0] &= ~0x00000004u;
4523}
4525 if (game_account_tags_ != NULL) game_account_tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
4526 clear_has_game_account_tags();
4527}
4528inline const ::bgs::protocol::account::v1::GameAccountFieldTags& GameAccountStateNotification::game_account_tags() const {
4529 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateNotification.game_account_tags)
4530 return game_account_tags_ != NULL ? *game_account_tags_ : *default_instance_->game_account_tags_;
4531}
4532inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateNotification::mutable_game_account_tags() {
4533 set_has_game_account_tags();
4534 if (game_account_tags_ == NULL) game_account_tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
4535 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateNotification.game_account_tags)
4536 return game_account_tags_;
4537}
4538inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateNotification::release_game_account_tags() {
4539 clear_has_game_account_tags();
4540 ::bgs::protocol::account::v1::GameAccountFieldTags* temp = game_account_tags_;
4541 game_account_tags_ = NULL;
4542 return temp;
4543}
4545 delete game_account_tags_;
4546 game_account_tags_ = game_account_tags;
4547 if (game_account_tags) {
4548 set_has_game_account_tags();
4549 } else {
4550 clear_has_game_account_tags();
4551 }
4552 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateNotification.game_account_tags)
4553}
4554
4555// optional bool subscription_completed = 4;
4557 return (_has_bits_[0] & 0x00000008u) != 0;
4558}
4560 _has_bits_[0] |= 0x00000008u;
4561}
4563 _has_bits_[0] &= ~0x00000008u;
4564}
4566 subscription_completed_ = false;
4567 clear_has_subscription_completed();
4568}
4570 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateNotification.subscription_completed)
4571 return subscription_completed_;
4572}
4574 set_has_subscription_completed();
4575 subscription_completed_ = value;
4576 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountStateNotification.subscription_completed)
4577}
4578
4579// -------------------------------------------------------------------
4580
4581// GameAccountNotification
4582
4583// repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 1;
4585 return game_accounts_.size();
4586}
4588 game_accounts_.Clear();
4589}
4590inline const ::bgs::protocol::account::v1::GameAccountList& GameAccountNotification::game_accounts(int index) const {
4591 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountNotification.game_accounts)
4592 return game_accounts_.Get(index);
4593}
4594inline ::bgs::protocol::account::v1::GameAccountList* GameAccountNotification::mutable_game_accounts(int index) {
4595 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountNotification.game_accounts)
4596 return game_accounts_.Mutable(index);
4597}
4598inline ::bgs::protocol::account::v1::GameAccountList* GameAccountNotification::add_game_accounts() {
4599 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GameAccountNotification.game_accounts)
4600 return game_accounts_.Add();
4601}
4602inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
4604 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GameAccountNotification.game_accounts)
4605 return game_accounts_;
4606}
4607inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
4609 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GameAccountNotification.game_accounts)
4610 return &game_accounts_;
4611}
4612
4613// optional uint64 subscriber_id = 2;
4615 return (_has_bits_[0] & 0x00000002u) != 0;
4616}
4618 _has_bits_[0] |= 0x00000002u;
4619}
4621 _has_bits_[0] &= ~0x00000002u;
4622}
4624 subscriber_id_ = GOOGLE_ULONGLONG(0);
4625 clear_has_subscriber_id();
4626}
4628 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountNotification.subscriber_id)
4629 return subscriber_id_;
4630}
4632 set_has_subscriber_id();
4633 subscriber_id_ = value;
4634 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountNotification.subscriber_id)
4635}
4636
4637// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
4639 return (_has_bits_[0] & 0x00000004u) != 0;
4640}
4642 _has_bits_[0] |= 0x00000004u;
4643}
4645 _has_bits_[0] &= ~0x00000004u;
4646}
4648 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
4649 clear_has_account_tags();
4650}
4651inline const ::bgs::protocol::account::v1::AccountFieldTags& GameAccountNotification::account_tags() const {
4652 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountNotification.account_tags)
4653 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
4654}
4655inline ::bgs::protocol::account::v1::AccountFieldTags* GameAccountNotification::mutable_account_tags() {
4656 set_has_account_tags();
4657 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
4658 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountNotification.account_tags)
4659 return account_tags_;
4660}
4661inline ::bgs::protocol::account::v1::AccountFieldTags* GameAccountNotification::release_account_tags() {
4662 clear_has_account_tags();
4664 account_tags_ = NULL;
4665 return temp;
4666}
4668 delete account_tags_;
4669 account_tags_ = account_tags;
4670 if (account_tags) {
4671 set_has_account_tags();
4672 } else {
4673 clear_has_account_tags();
4674 }
4675 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountNotification.account_tags)
4676}
4677
4678// -------------------------------------------------------------------
4679
4680// GameAccountSessionNotification
4681
4682// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
4684 return (_has_bits_[0] & 0x00000001u) != 0;
4685}
4687 _has_bits_[0] |= 0x00000001u;
4688}
4690 _has_bits_[0] &= ~0x00000001u;
4691}
4693 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4694 clear_has_game_account();
4695}
4696inline const ::bgs::protocol::account::v1::GameAccountHandle& GameAccountSessionNotification::game_account() const {
4697 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountSessionNotification.game_account)
4698 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
4699}
4700inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountSessionNotification::mutable_game_account() {
4701 set_has_game_account();
4702 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4703 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountSessionNotification.game_account)
4704 return game_account_;
4705}
4706inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountSessionNotification::release_game_account() {
4707 clear_has_game_account();
4709 game_account_ = NULL;
4710 return temp;
4711}
4713 delete game_account_;
4714 game_account_ = game_account;
4715 if (game_account) {
4716 set_has_game_account();
4717 } else {
4718 clear_has_game_account();
4719 }
4720 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountSessionNotification.game_account)
4721}
4722
4723// optional .bgs.protocol.account.v1.GameSessionUpdateInfo session_info = 2;
4725 return (_has_bits_[0] & 0x00000002u) != 0;
4726}
4728 _has_bits_[0] |= 0x00000002u;
4729}
4731 _has_bits_[0] &= ~0x00000002u;
4732}
4734 if (session_info_ != NULL) session_info_->::bgs::protocol::account::v1::GameSessionUpdateInfo::Clear();
4735 clear_has_session_info();
4736}
4737inline const ::bgs::protocol::account::v1::GameSessionUpdateInfo& GameAccountSessionNotification::session_info() const {
4738 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountSessionNotification.session_info)
4739 return session_info_ != NULL ? *session_info_ : *default_instance_->session_info_;
4740}
4741inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* GameAccountSessionNotification::mutable_session_info() {
4742 set_has_session_info();
4743 if (session_info_ == NULL) session_info_ = new ::bgs::protocol::account::v1::GameSessionUpdateInfo;
4744 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountSessionNotification.session_info)
4745 return session_info_;
4746}
4747inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* GameAccountSessionNotification::release_session_info() {
4748 clear_has_session_info();
4750 session_info_ = NULL;
4751 return temp;
4752}
4754 delete session_info_;
4755 session_info_ = session_info;
4756 if (session_info) {
4757 set_has_session_info();
4758 } else {
4759 clear_has_session_info();
4760 }
4761 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountSessionNotification.session_info)
4762}
4763
4764// @@protoc_insertion_point(namespace_scope)
4765
4766} // namespace v1
4767} // namespace account
4768} // namespace protocol
4769} // namespace bgs
4770
4771#ifndef SWIG
4772namespace google {
4773namespace protobuf {
4774} // namespace google
4775} // namespace protobuf
4776#endif // SWIG
4777
4778// @@protoc_insertion_point(global_scope)
4779
4780#endif // PROTOBUF_account_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
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
std::integral_constant< uint32, 0x54DFDA17u > OriginalHash
AccountListener & operator=(AccountListener &&)=delete
std::integral_constant< uint32, 0x7807483Cu > NameHash
void OnGameAccountStateUpdated(::bgs::protocol::account::v1::GameAccountStateNotification const *request, bool client=false, bool server=false)
void OnGameSessionUpdated(::bgs::protocol::account::v1::GameAccountSessionNotification const *request, bool client=false, bool server=false)
AccountListener & operator=(AccountListener const &)=delete
void OnAccountStateUpdated(::bgs::protocol::account::v1::AccountStateNotification const *request, bool client=false, bool server=false)
void OnGameAccountsUpdated(::bgs::protocol::account::v1::GameAccountNotification const *request, bool client=false, bool server=false)
AccountListener(AccountListener const &)=delete
AccountListener(AccountListener &&)=delete
static google::protobuf::ServiceDescriptor const * descriptor()
virtual uint32 HandleGetGameSessionInfo(::bgs::protocol::account::v1::GetGameSessionInfoRequest const *request, ::bgs::protocol::account::v1::GetGameSessionInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetAuthorizedData(::bgs::protocol::account::v1::GetAuthorizedDataRequest const *request, ::bgs::protocol::account::v1::GetAuthorizedDataResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetSignedAccountState(uint32 token, uint32 methodId, MessageBuffer &buffer)
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
AccountService(AccountService const &)=delete
virtual uint32 HandleGetCAISInfo(::bgs::protocol::account::v1::GetCAISInfoRequest const *request, ::bgs::protocol::account::v1::GetCAISInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetSignedAccountState(::bgs::protocol::account::v1::GetSignedAccountStateRequest const *request, ::bgs::protocol::account::v1::GetSignedAccountStateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetAccountInfo(::bgs::protocol::account::v1::GetAccountInfoRequest const *request, ::bgs::protocol::account::v1::GetAccountInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetGameTimeRemainingInfo(::bgs::protocol::account::v1::GetGameTimeRemainingInfoRequest const *request, ::bgs::protocol::account::v1::GetGameTimeRemainingInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetGameAccountState(::bgs::protocol::account::v1::GetGameAccountStateRequest const *request, ::bgs::protocol::account::v1::GetGameAccountStateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleGetLicenses(::bgs::protocol::account::v1::GetLicensesRequest const *request, ::bgs::protocol::account::v1::GetLicensesResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleUnsubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleSubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const *request, ::bgs::protocol::account::v1::SubscriptionUpdateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetGameAccountState(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleGetAccountPlatformRestrictions(uint32 token, uint32 methodId, MessageBuffer &buffer)
AccountService(AccountService &&)=delete
AccountService & operator=(AccountService const &)=delete
void ParseAndHandleGetCAISInfo(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleResolveAccount(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleGetGameSessionInfo(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleGetAccountInfo(uint32 token, uint32 methodId, MessageBuffer &buffer)
AccountService & operator=(AccountService &&)=delete
void ParseAndHandleGetAccountState(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual uint32 HandleResolveAccount(::bgs::protocol::account::v1::ResolveAccountRequest const *request, ::bgs::protocol::account::v1::ResolveAccountResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetGameTimeRemainingInfo(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0x1E4DC42Fu > NameHash
void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleGetAuthorizedData(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0x62DA0891u > OriginalHash
virtual uint32 HandleGetAccountState(::bgs::protocol::account::v1::GetAccountStateRequest const *request, ::bgs::protocol::account::v1::GetAccountStateResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
static google::protobuf::ServiceDescriptor const * descriptor()
virtual uint32 HandleGetAccountPlatformRestrictions(::bgs::protocol::account::v1::GetAccountPlatformRestrictionsRequest const *request, ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleGetLicenses(uint32 token, uint32 methodId, MessageBuffer &buffer)
inline ::bgs::protocol::account::v1::AccountState * release_account_state()
inline ::bgs::protocol::account::v1::AccountState * mutable_account_state()
static const ::google::protobuf::Descriptor * descriptor()
static const AccountStateNotification & default_instance()
void set_subscriber_id(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED
const ::bgs::protocol::account::v1::AccountState & account_state() const
void Swap(AccountStateNotification *other)
inline ::google::protobuf::uint64 subscriber_id() const PROTOBUF_DEPRECATED
const ::bgs::protocol::account::v1::AccountFieldTags & account_tags() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountFieldTags * release_account_tags()
AccountStateNotification * New() const
void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags *account_tags)
void set_allocated_account_state(::bgs::protocol::account::v1::AccountState *account_state)
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_account_tags()
::google::protobuf::Metadata GetMetadata() const
AccountStateNotification & operator=(const AccountStateNotification &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
AccountStateNotification(const AccountStateNotification &from)
inline ::bgs::protocol::account::v1::GameAccountHandle * release_game_account()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
::bgs::protocol::account::v1::GameAccountHandle * game_account_
inline ::google::protobuf::uint64 flag() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle *game_account)
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account()
GameAccountFlagUpdateRequest * New() const
GameAccountFlagUpdateRequest & operator=(const GameAccountFlagUpdateRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const GameAccountFlagUpdateRequest & default_instance()
::google::protobuf::Metadata GetMetadata() const
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const
static const ::google::protobuf::Descriptor * descriptor()
void Swap(GameAccountFlagUpdateRequest *other)
GameAccountFlagUpdateRequest(const GameAccountFlagUpdateRequest &from)
static GameAccountFlagUpdateRequest * default_instance_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > & game_accounts() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(GameAccountNotification *other)
const ::bgs::protocol::account::v1::AccountFieldTags & account_tags() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > * mutable_game_accounts()
static const GameAccountNotification & default_instance()
void set_subscriber_id(::google::protobuf::uint64 value)
GameAccountNotification(const GameAccountNotification &from)
inline ::bgs::protocol::account::v1::AccountFieldTags * release_account_tags()
void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags *account_tags)
GameAccountNotification & operator=(const GameAccountNotification &from)
inline ::bgs::protocol::account::v1::GameAccountList * add_game_accounts()
inline ::google::protobuf::uint64 subscriber_id() const
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_account_tags()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::account::v1::AccountFieldTags * account_tags_
GameAccountSessionNotification(const GameAccountSessionNotification &from)
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const
static GameAccountSessionNotification * default_instance_
void Swap(GameAccountSessionNotification *other)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
const ::bgs::protocol::account::v1::GameSessionUpdateInfo & session_info() const
static const GameAccountSessionNotification & default_instance()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_game_account()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::GameSessionUpdateInfo * release_session_info()
::bgs::protocol::account::v1::GameAccountHandle * game_account_
::google::protobuf::Metadata GetMetadata() const
GameAccountSessionNotification & operator=(const GameAccountSessionNotification &from)
void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle *game_account)
::bgs::protocol::account::v1::GameSessionUpdateInfo * session_info_
inline ::bgs::protocol::account::v1::GameSessionUpdateInfo * mutable_session_info()
GameAccountSessionNotification * New() const
void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionUpdateInfo *session_info)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
void set_subscriber_id(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED
void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState *game_account_state)
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags *game_account_tags)
const ::bgs::protocol::account::v1::GameAccountState & game_account_state() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
const ::bgs::protocol::account::v1::GameAccountFieldTags & game_account_tags() const
GameAccountStateNotification(const GameAccountStateNotification &from)
inline ::bgs::protocol::account::v1::GameAccountFieldTags * release_game_account_tags()
GameAccountStateNotification & operator=(const GameAccountStateNotification &from)
static const GameAccountStateNotification & default_instance()
inline ::google::protobuf::uint64 subscriber_id() const PROTOBUF_DEPRECATED
inline ::bgs::protocol::account::v1::GameAccountState * mutable_game_account_state()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * mutable_game_account_tags()
inline ::bgs::protocol::account::v1::GameAccountState * release_game_account_state()
GameAccountStateNotification * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(GameAccountStateNotification *other)
inline ::bgs::protocol::EntityId * mutable_account_id()
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
GetAccountInfoRequest(const GetAccountInfoRequest &from)
GetAccountInfoRequest & operator=(const GetAccountInfoRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(GetAccountInfoRequest *other)
const ::bgs::protocol::EntityId & account_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::EntityId * release_account_id()
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
static const GetAccountInfoRequest & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::AccountInfo * mutable_account_info()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
GetAccountInfoResponse & operator=(const GetAccountInfoResponse &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::account::v1::AccountInfo * account_info_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(GetAccountInfoResponse *other)
static const GetAccountInfoResponse & default_instance()
void set_allocated_account_info(::bgs::protocol::account::v1::AccountInfo *account_info)
GetAccountInfoResponse(const GetAccountInfoResponse &from)
inline ::bgs::protocol::account::v1::AccountInfo * release_account_info()
const ::bgs::protocol::account::v1::AccountInfo & account_info() const
::google::protobuf::Metadata GetMetadata() const
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetAccountPlatformRestrictionsRequest(const GetAccountPlatformRestrictionsRequest &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const GetAccountPlatformRestrictionsRequest & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
static GetAccountPlatformRestrictionsRequest * default_instance_
GetAccountPlatformRestrictionsRequest * New() const
void Swap(GetAccountPlatformRestrictionsRequest *other)
GetAccountPlatformRestrictionsRequest & operator=(const GetAccountPlatformRestrictionsRequest &from)
static const GetAccountPlatformRestrictionsResponse & default_instance()
::bgs::protocol::account::v1::AccountPlatformRestrictionInfo * restriction_info_
void set_allocated_restriction_info(::bgs::protocol::account::v1::AccountPlatformRestrictionInfo *restriction_info)
GetAccountPlatformRestrictionsResponse & operator=(const GetAccountPlatformRestrictionsResponse &from)
const ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo & restriction_info() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
static GetAccountPlatformRestrictionsResponse * default_instance_
GetAccountPlatformRestrictionsResponse * New() const
GetAccountPlatformRestrictionsResponse(const GetAccountPlatformRestrictionsResponse &from)
inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo * mutable_restriction_info()
void Swap(GetAccountPlatformRestrictionsResponse *other)
inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo * release_restriction_info()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_tags()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::EntityId * mutable_entity_id()
void set_region(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::AccountFieldTags * release_tags()
const ::bgs::protocol::account::v1::AccountFieldOptions & options() const
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
const ::bgs::protocol::account::v1::AccountFieldTags & tags() const
void set_program(::google::protobuf::uint32 value)
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::account::v1::AccountFieldTags * tags_
inline ::google::protobuf::uint32 program() const
static const GetAccountStateRequest & default_instance()
void set_allocated_options(::bgs::protocol::account::v1::AccountFieldOptions *options)
::bgs::protocol::account::v1::AccountFieldOptions * options_
inline ::google::protobuf::uint32 region() const
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::EntityId & entity_id() const
GetAccountStateRequest & operator=(const GetAccountStateRequest &from)
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::bgs::protocol::account::v1::AccountFieldOptions * mutable_options()
void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags *tags)
GetAccountStateRequest(const GetAccountStateRequest &from)
inline ::bgs::protocol::account::v1::AccountFieldOptions * release_options()
void Swap(GetAccountStateRequest *other)
inline ::bgs::protocol::account::v1::AccountFieldTags * release_tags()
GetAccountStateResponse & operator=(const GetAccountStateResponse &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::account::v1::AccountFieldTags * tags_
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
const ::bgs::protocol::account::v1::AccountFieldTags & tags() const
static const ::google::protobuf::Descriptor * descriptor()
static const GetAccountStateResponse & default_instance()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetAccountStateResponse(const GetAccountStateResponse &from)
void set_allocated_state(::bgs::protocol::account::v1::AccountState *state)
void Swap(GetAccountStateResponse *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_tags()
const ::bgs::protocol::account::v1::AccountState & state() const
::bgs::protocol::account::v1::AccountState * state_
inline ::bgs::protocol::account::v1::AccountState * release_state()
inline ::bgs::protocol::account::v1::AccountState * mutable_state()
void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags *tags)
inline ::bgs::protocol::EntityId * mutable_entity_id()
static const GetAuthorizedDataRequest & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::std::string > tag_
GetAuthorizedDataRequest(const GetAuthorizedDataRequest &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetAuthorizedDataRequest & operator=(const GetAuthorizedDataRequest &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
void set_tag(int index, const ::std::string &value)
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_tag()
void Swap(GetAuthorizedDataRequest *other)
GetAuthorizedDataRequest * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::std::string > & tag() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::EntityId * release_entity_id()
const ::bgs::protocol::EntityId & entity_id() const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData > data_
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const GetAuthorizedDataResponse & default_instance()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData > & data() const
inline ::bgs::protocol::account::v1::AuthorizedData * add_data()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetAuthorizedDataResponse & operator=(const GetAuthorizedDataResponse &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(GetAuthorizedDataResponse *other)
GetAuthorizedDataResponse(const GetAuthorizedDataResponse &from)
GetAuthorizedDataResponse * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData > * mutable_data()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
void Swap(GetCAISInfoRequest *other)
static const GetCAISInfoRequest & default_instance()
GetCAISInfoRequest(const GetCAISInfoRequest &from)
const ::bgs::protocol::EntityId & entity_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::EntityId * release_entity_id()
GetCAISInfoRequest & operator=(const GetCAISInfoRequest &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
inline ::bgs::protocol::EntityId * mutable_entity_id()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::CAIS * release_cais_info()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
void Swap(GetCAISInfoResponse *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
GetCAISInfoResponse(const GetCAISInfoResponse &from)
::bgs::protocol::account::v1::CAIS * cais_info_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::CAIS * mutable_cais_info()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_cais_info(::bgs::protocol::account::v1::CAIS *cais_info)
static const GetCAISInfoResponse & default_instance()
GetCAISInfoResponse & operator=(const GetCAISInfoResponse &from)
const ::bgs::protocol::account::v1::CAIS & cais_info() const
inline ::bgs::protocol::EntityId * mutable_game_account_id()
const ::bgs::protocol::EntityId & game_account_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetGameAccountStateRequest(const GetGameAccountStateRequest &from)
inline ::bgs::protocol::EntityId * release_game_account_id()
const ::bgs::protocol::account::v1::GameAccountFieldTags & tags() const
GetGameAccountStateRequest & operator=(const GetGameAccountStateRequest &from)
const ::bgs::protocol::account::v1::GameAccountFieldOptions & options() const
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags *tags)
inline ::bgs::protocol::account::v1::GameAccountFieldOptions * release_options()
void Swap(GetGameAccountStateRequest *other)
const ::bgs::protocol::EntityId & account_id() const PROTOBUF_DEPRECATED
inline ::bgs::protocol::EntityId * release_account_id() PROTOBUF_DEPRECATED
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::GameAccountFieldOptions * mutable_options()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * release_tags()
static const GetGameAccountStateRequest & default_instance()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * mutable_tags()
void set_allocated_options(::bgs::protocol::account::v1::GameAccountFieldOptions *options)
GetGameAccountStateRequest * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::EntityId * mutable_account_id() PROTOBUF_DEPRECATED
void set_allocated_account_id(::bgs::protocol::EntityId *account_id) PROTOBUF_DEPRECATED
inline ::bgs::protocol::account::v1::GameAccountState * release_state()
void set_allocated_state(::bgs::protocol::account::v1::GameAccountState *state)
const ::bgs::protocol::account::v1::GameAccountFieldTags & tags() const
::bgs::protocol::account::v1::GameAccountFieldTags * tags_
::bgs::protocol::account::v1::GameAccountState * state_
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const GetGameAccountStateResponse & default_instance()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * mutable_tags()
void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags *tags)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * release_tags()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::GameAccountState * mutable_state()
GetGameAccountStateResponse & operator=(const GetGameAccountStateResponse &from)
GetGameAccountStateResponse(const GetGameAccountStateResponse &from)
GetGameAccountStateResponse * New() const
void Swap(GetGameAccountStateResponse *other)
static GetGameAccountStateResponse * default_instance_
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::account::v1::GameAccountState & state() const
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const GetGameSessionInfoRequest & default_instance()
inline ::bgs::protocol::EntityId * mutable_entity_id()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::EntityId & entity_id() const
GetGameSessionInfoRequest * New() const
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::EntityId * release_entity_id()
GetGameSessionInfoRequest(const GetGameSessionInfoRequest &from)
void Swap(GetGameSessionInfoRequest *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetGameSessionInfoRequest & operator=(const GetGameSessionInfoRequest &from)
inline ::bgs::protocol::account::v1::GameSessionInfo * release_session_info()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const GetGameSessionInfoResponse & default_instance()
inline ::bgs::protocol::account::v1::GameSessionInfo * mutable_session_info()
static const ::google::protobuf::Descriptor * descriptor()
void Swap(GetGameSessionInfoResponse *other)
::google::protobuf::Metadata GetMetadata() const
GetGameSessionInfoResponse * New() const
::bgs::protocol::account::v1::GameSessionInfo * session_info_
GetGameSessionInfoResponse & operator=(const GetGameSessionInfoResponse &from)
const ::bgs::protocol::account::v1::GameSessionInfo & session_info() const
void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionInfo *session_info)
GetGameSessionInfoResponse(const GetGameSessionInfoResponse &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
void Swap(GetGameTimeRemainingInfoRequest *other)
const ::bgs::protocol::EntityId & game_account_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetGameTimeRemainingInfoRequest & operator=(const GetGameTimeRemainingInfoRequest &from)
const ::bgs::protocol::EntityId & account_id() const
GetGameTimeRemainingInfoRequest(const GetGameTimeRemainingInfoRequest &from)
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
::google::protobuf::Metadata GetMetadata() const
GetGameTimeRemainingInfoRequest * New() const
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
static GetGameTimeRemainingInfoRequest * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
static const GetGameTimeRemainingInfoRequest & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::account::v1::GameTimeRemainingInfo & game_time_remaining_info() const
void Swap(GetGameTimeRemainingInfoResponse *other)
static GetGameTimeRemainingInfoResponse * default_instance_
GetGameTimeRemainingInfoResponse * New() const
GetGameTimeRemainingInfoResponse(const GetGameTimeRemainingInfoResponse &from)
::bgs::protocol::account::v1::GameTimeRemainingInfo * game_time_remaining_info_
inline ::bgs::protocol::account::v1::GameTimeRemainingInfo * release_game_time_remaining_info()
void set_allocated_game_time_remaining_info(::bgs::protocol::account::v1::GameTimeRemainingInfo *game_time_remaining_info)
GetGameTimeRemainingInfoResponse & operator=(const GetGameTimeRemainingInfoResponse &from)
inline ::bgs::protocol::account::v1::GameTimeRemainingInfo * mutable_game_time_remaining_info()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const GetGameTimeRemainingInfoResponse & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(GetLicensesRequest *other)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const GetLicensesRequest & default_instance()
GetLicensesRequest & operator=(const GetLicensesRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 program() const
const ::bgs::protocol::EntityId & target_id() const
GetLicensesRequest(const GetLicensesRequest &from)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::EntityId * release_target_id()
inline ::bgs::protocol::EntityId * mutable_target_id()
void set_allocated_target_id(::bgs::protocol::EntityId *target_id)
void set_program(::google::protobuf::uint32 value)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_
GetLicensesResponse(const GetLicensesResponse &from)
void Swap(GetLicensesResponse *other)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > & licenses() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > * mutable_licenses()
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountLicense * add_licenses()
static const GetLicensesResponse & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
GetLicensesResponse & operator=(const GetLicensesResponse &from)
inline ::bgs::protocol::account::v1::AccountId * release_account()
::google::protobuf::Metadata GetMetadata() const
static const GetSignedAccountStateRequest & default_instance()
::bgs::protocol::account::v1::AccountId * account_
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
GetSignedAccountStateRequest * New() const
const ::bgs::protocol::account::v1::AccountId & account() const
inline ::bgs::protocol::account::v1::AccountId * mutable_account()
void Swap(GetSignedAccountStateRequest *other)
GetSignedAccountStateRequest(const GetSignedAccountStateRequest &from)
void set_allocated_account(::bgs::protocol::account::v1::AccountId *account)
GetSignedAccountStateRequest & operator=(const GetSignedAccountStateRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static GetSignedAccountStateRequest * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
void Swap(GetSignedAccountStateResponse *other)
static GetSignedAccountStateResponse * default_instance_
GetSignedAccountStateResponse(const GetSignedAccountStateResponse &from)
static const GetSignedAccountStateResponse & default_instance()
GetSignedAccountStateResponse & operator=(const GetSignedAccountStateResponse &from)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GetSignedAccountStateResponse * New() const
ResolveAccountRequest(const ResolveAccountRequest &from)
void Swap(ResolveAccountRequest *other)
inline ::bgs::protocol::account::v1::AccountReference * release_ref()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::account::v1::AccountReference * ref_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_ref(::bgs::protocol::account::v1::AccountReference *ref)
ResolveAccountRequest & operator=(const ResolveAccountRequest &from)
static const ResolveAccountRequest & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::AccountReference * mutable_ref()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::account::v1::AccountReference & ref() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
static const ResolveAccountResponse & default_instance()
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_id(::bgs::protocol::account::v1::AccountId *id)
inline ::bgs::protocol::account::v1::AccountId * mutable_id()
const ::bgs::protocol::account::v1::AccountId & id() const
ResolveAccountResponse & operator=(const ResolveAccountResponse &from)
inline ::bgs::protocol::account::v1::AccountId * release_id()
::bgs::protocol::account::v1::AccountId * id_
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(ResolveAccountResponse *other)
ResolveAccountResponse(const ResolveAccountResponse &from)
SubscriptionUpdateRequest(const SubscriptionUpdateRequest &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > ref_
inline ::bgs::protocol::account::v1::SubscriberReference * add_ref()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > & ref() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > * mutable_ref()
SubscriptionUpdateRequest * New() const
static const SubscriptionUpdateRequest & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
void Swap(SubscriptionUpdateRequest *other)
::google::protobuf::Metadata GetMetadata() const
SubscriptionUpdateRequest & operator=(const SubscriptionUpdateRequest &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static SubscriptionUpdateRequest * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
SubscriptionUpdateResponse & operator=(const SubscriptionUpdateResponse &from)
void Swap(SubscriptionUpdateResponse *other)
static const ::google::protobuf::Descriptor * descriptor()
SubscriptionUpdateResponse(const SubscriptionUpdateResponse &from)
SubscriptionUpdateResponse * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > ref_
inline ::bgs::protocol::account::v1::SubscriberReference * add_ref()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > & ref() const
::google::protobuf::Metadata GetMetadata() const
static const SubscriptionUpdateResponse & default_instance()
static SubscriptionUpdateResponse * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference > * mutable_ref()
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_account_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto()
void protobuf_AssignDesc_account_5fservice_2eproto()
Definition: Session.h:36