TrinityCore
account_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: account_types.proto
3
4#ifndef PROTOBUF_account_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_account_5ftypes_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/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
28#include "entity_types.pb.h"
31#include "Define.h" // for TC_PROTO_API
32// @@protoc_insertion_point(includes)
33
34namespace bgs {
35namespace protocol {
36namespace account {
37namespace v1 {
38
39// Internal implementation detail -- do not call these.
43
44class AccountId;
45class AccountLicense;
48class Identity;
49class ProgramTag;
50class RegionTag;
56class OptIns;
58class PrivacyInfo;
61class GameLevelInfo;
62class GameTimeInfo;
64class GameStatus;
65class RAFInfo;
66class GameSessionInfo;
69class CAIS;
70class GameAccountList;
71class SecurityStatus;
72class AccountState;
76class AuthorizedData;
77class IgrId;
78class IgrAddress;
80class AccountInfo;
83
88};
93
94TC_PROTO_API const ::google::protobuf::EnumDescriptor* PrivacyInfo_GameInfoPrivacy_descriptor();
96 return ::google::protobuf::internal::NameOfEnum(
98}
100 const ::std::string& name, PrivacyInfo_GameInfoPrivacy* value) {
101 return ::google::protobuf::internal::ParseNamedEnum<PrivacyInfo_GameInfoPrivacy>(
103}
112 IDENT_UNKNOWN = 7
118
119TC_PROTO_API const ::google::protobuf::EnumDescriptor* IdentityVerificationStatus_descriptor();
121 return ::google::protobuf::internal::NameOfEnum(
123}
125 const ::std::string& name, IdentityVerificationStatus* value) {
126 return ::google::protobuf::internal::ParseNamedEnum<IdentityVerificationStatus>(
128}
129// ===================================================================
130
131class TC_PROTO_API AccountId : public ::google::protobuf::Message {
132 public:
134 virtual ~AccountId();
135
136 AccountId(const AccountId& from);
137
138 inline AccountId& operator=(const AccountId& from) {
139 CopyFrom(from);
140 return *this;
141 }
142
143 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
144 return _unknown_fields_;
145 }
146
147 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
148 return &_unknown_fields_;
149 }
150
151 static const ::google::protobuf::Descriptor* descriptor();
153
154 void Swap(AccountId* other);
155
156 // implements Message ----------------------------------------------
157
158 AccountId* New() const;
159 int GetCachedSize() const { return _cached_size_; }
160 private:
163 void SetCachedSize(int size) const;
164 public:
165 ::google::protobuf::Metadata GetMetadata() const;
166
167 // nested types ----------------------------------------------------
168
169 // accessors -------------------------------------------------------
170
171 // required fixed32 id = 1;
172 inline bool has_id() const;
173 inline void clear_id();
174 static const int kIdFieldNumber = 1;
176 inline void set_id(::google::protobuf::uint32 value);
177
178 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountId)
179 private:
180 inline void set_has_id();
181 inline void clear_has_id();
182
183 ::google::protobuf::UnknownFieldSet _unknown_fields_;
184
186 mutable int _cached_size_;
191
194};
195// -------------------------------------------------------------------
196
197class TC_PROTO_API AccountLicense : public ::google::protobuf::Message {
198 public:
201
203
205 CopyFrom(from);
206 return *this;
207 }
208
209 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
210 return _unknown_fields_;
211 }
212
213 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
214 return &_unknown_fields_;
215 }
216
217 static const ::google::protobuf::Descriptor* descriptor();
219
220 void Swap(AccountLicense* other);
221
222 // implements Message ----------------------------------------------
223
225 int GetCachedSize() const { return _cached_size_; }
226 private:
229 void SetCachedSize(int size) const;
230 public:
231 ::google::protobuf::Metadata GetMetadata() const;
232
233 // nested types ----------------------------------------------------
234
235 // accessors -------------------------------------------------------
236
237 // required uint32 id = 1;
238 inline bool has_id() const;
239 inline void clear_id();
240 static const int kIdFieldNumber = 1;
242 inline void set_id(::google::protobuf::uint32 value);
243
244 // optional uint64 expires = 2;
245 inline bool has_expires() const;
246 inline void clear_expires();
247 static const int kExpiresFieldNumber = 2;
248 inline ::google::protobuf::uint64 expires() const;
249 inline void set_expires(::google::protobuf::uint64 value);
250
251 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountLicense)
252 private:
253 inline void set_has_id();
254 inline void clear_has_id();
255 inline void set_has_expires();
256 inline void clear_has_expires();
257
258 ::google::protobuf::UnknownFieldSet _unknown_fields_;
259
261 mutable int _cached_size_;
267
270};
271// -------------------------------------------------------------------
272
273class TC_PROTO_API GameAccountHandle : public ::google::protobuf::Message {
274 public:
277
279
281 CopyFrom(from);
282 return *this;
283 }
284
285 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
286 return _unknown_fields_;
287 }
288
289 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
290 return &_unknown_fields_;
291 }
292
293 static const ::google::protobuf::Descriptor* descriptor();
295
297
298 // implements Message ----------------------------------------------
299
301 int GetCachedSize() const { return _cached_size_; }
302 private:
305 void SetCachedSize(int size) const;
306 public:
307 ::google::protobuf::Metadata GetMetadata() const;
308
309 // nested types ----------------------------------------------------
310
311 // accessors -------------------------------------------------------
312
313 // required fixed32 id = 1;
314 inline bool has_id() const;
315 inline void clear_id();
316 static const int kIdFieldNumber = 1;
318 inline void set_id(::google::protobuf::uint32 value);
319
320 // required fixed32 program = 2;
321 inline bool has_program() const;
322 inline void clear_program();
323 static const int kProgramFieldNumber = 2;
324 inline ::google::protobuf::uint32 program() const;
325 inline void set_program(::google::protobuf::uint32 value);
326
327 // required uint32 region = 3;
328 inline bool has_region() const;
329 inline void clear_region();
330 static const int kRegionFieldNumber = 3;
332 inline void set_region(::google::protobuf::uint32 value);
333
334 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountHandle)
335 private:
336 inline void set_has_id();
337 inline void clear_has_id();
338 inline void set_has_program();
339 inline void clear_has_program();
340 inline void set_has_region();
341 inline void clear_has_region();
342
343 ::google::protobuf::UnknownFieldSet _unknown_fields_;
344
346 mutable int _cached_size_;
353
356};
357// -------------------------------------------------------------------
358
359class TC_PROTO_API AccountReference : public ::google::protobuf::Message {
360 public:
363
365
367 CopyFrom(from);
368 return *this;
369 }
370
371 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
372 return _unknown_fields_;
373 }
374
375 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
376 return &_unknown_fields_;
377 }
378
379 static const ::google::protobuf::Descriptor* descriptor();
381
382 void Swap(AccountReference* other);
383
384 // implements Message ----------------------------------------------
385
387 int GetCachedSize() const { return _cached_size_; }
388 private:
391 void SetCachedSize(int size) const;
392 public:
393 ::google::protobuf::Metadata GetMetadata() const;
394
395 // nested types ----------------------------------------------------
396
397 // accessors -------------------------------------------------------
398
399 // optional fixed32 id = 1;
400 inline bool has_id() const;
401 inline void clear_id();
402 static const int kIdFieldNumber = 1;
404 inline void set_id(::google::protobuf::uint32 value);
405
406 // optional string email = 2;
407 inline bool has_email() const;
408 inline void clear_email();
409 static const int kEmailFieldNumber = 2;
410 inline const ::std::string& email() const;
411 inline void set_email(const ::std::string& value);
412 inline void set_email(const char* value);
413 inline void set_email(const char* value, size_t size);
414 inline ::std::string* mutable_email();
415 inline ::std::string* release_email();
416 inline void set_allocated_email(::std::string* email);
417
418 // optional .bgs.protocol.account.v1.GameAccountHandle handle = 3;
419 inline bool has_handle() const;
420 inline void clear_handle();
421 static const int kHandleFieldNumber = 3;
422 inline const ::bgs::protocol::account::v1::GameAccountHandle& handle() const;
423 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_handle();
424 inline ::bgs::protocol::account::v1::GameAccountHandle* release_handle();
425 inline void set_allocated_handle(::bgs::protocol::account::v1::GameAccountHandle* handle);
426
427 // optional string battle_tag = 4;
428 inline bool has_battle_tag() const;
429 inline void clear_battle_tag();
430 static const int kBattleTagFieldNumber = 4;
431 inline const ::std::string& battle_tag() const;
432 inline void set_battle_tag(const ::std::string& value);
433 inline void set_battle_tag(const char* value);
434 inline void set_battle_tag(const char* value, size_t size);
435 inline ::std::string* mutable_battle_tag();
436 inline ::std::string* release_battle_tag();
437 inline void set_allocated_battle_tag(::std::string* battle_tag);
438
439 // optional string phone_number = 5;
440 inline bool has_phone_number() const;
441 inline void clear_phone_number();
442 static const int kPhoneNumberFieldNumber = 5;
443 inline const ::std::string& phone_number() const;
444 inline void set_phone_number(const ::std::string& value);
445 inline void set_phone_number(const char* value);
446 inline void set_phone_number(const char* value, size_t size);
447 inline ::std::string* mutable_phone_number();
448 inline ::std::string* release_phone_number();
449 inline void set_allocated_phone_number(::std::string* phone_number);
450
451 // optional uint32 region = 10 [default = 0];
452 inline bool has_region() const;
453 inline void clear_region();
454 static const int kRegionFieldNumber = 10;
456 inline void set_region(::google::protobuf::uint32 value);
457
458 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountReference)
459 private:
460 inline void set_has_id();
461 inline void clear_has_id();
462 inline void set_has_email();
463 inline void clear_has_email();
464 inline void set_has_handle();
465 inline void clear_has_handle();
466 inline void set_has_battle_tag();
467 inline void clear_has_battle_tag();
468 inline void set_has_phone_number();
469 inline void clear_has_phone_number();
470 inline void set_has_region();
471 inline void clear_has_region();
472
473 ::google::protobuf::UnknownFieldSet _unknown_fields_;
474
476 mutable int _cached_size_;
477 ::std::string* email_;
481 ::std::string* battle_tag_;
482 ::std::string* phone_number_;
486
489};
490// -------------------------------------------------------------------
491
492class TC_PROTO_API Identity : public ::google::protobuf::Message {
493 public:
495 virtual ~Identity();
496
497 Identity(const Identity& from);
498
499 inline Identity& operator=(const Identity& from) {
500 CopyFrom(from);
501 return *this;
502 }
503
504 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
505 return _unknown_fields_;
506 }
507
508 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
509 return &_unknown_fields_;
510 }
511
512 static const ::google::protobuf::Descriptor* descriptor();
513 static const Identity& default_instance();
514
515 void Swap(Identity* other);
516
517 // implements Message ----------------------------------------------
518
519 Identity* New() const;
520 int GetCachedSize() const { return _cached_size_; }
521 private:
524 void SetCachedSize(int size) const;
525 public:
526 ::google::protobuf::Metadata GetMetadata() const;
527
528 // nested types ----------------------------------------------------
529
530 // accessors -------------------------------------------------------
531
532 // optional .bgs.protocol.account.v1.AccountId account = 1;
533 inline bool has_account() const;
534 inline void clear_account();
535 static const int kAccountFieldNumber = 1;
536 inline const ::bgs::protocol::account::v1::AccountId& account() const;
537 inline ::bgs::protocol::account::v1::AccountId* mutable_account();
538 inline ::bgs::protocol::account::v1::AccountId* release_account();
539 inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
540
541 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
542 inline bool has_game_account() const;
543 inline void clear_game_account();
544 static const int kGameAccountFieldNumber = 2;
545 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
546 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
547 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
548 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
549
550 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.Identity)
551 private:
552 inline void set_has_account();
553 inline void clear_has_account();
554 inline void set_has_game_account();
555 inline void clear_has_game_account();
556
557 ::google::protobuf::UnknownFieldSet _unknown_fields_;
558
560 mutable int _cached_size_;
566
569};
570// -------------------------------------------------------------------
571
572class TC_PROTO_API ProgramTag : public ::google::protobuf::Message {
573 public:
575 virtual ~ProgramTag();
576
577 ProgramTag(const ProgramTag& from);
578
579 inline ProgramTag& operator=(const ProgramTag& from) {
580 CopyFrom(from);
581 return *this;
582 }
583
584 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
585 return _unknown_fields_;
586 }
587
588 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
589 return &_unknown_fields_;
590 }
591
592 static const ::google::protobuf::Descriptor* descriptor();
594
595 void Swap(ProgramTag* other);
596
597 // implements Message ----------------------------------------------
598
599 ProgramTag* New() const;
600 int GetCachedSize() const { return _cached_size_; }
601 private:
604 void SetCachedSize(int size) const;
605 public:
606 ::google::protobuf::Metadata GetMetadata() const;
607
608 // nested types ----------------------------------------------------
609
610 // accessors -------------------------------------------------------
611
612 // optional fixed32 program = 1;
613 inline bool has_program() const;
614 inline void clear_program();
615 static const int kProgramFieldNumber = 1;
616 inline ::google::protobuf::uint32 program() const;
617 inline void set_program(::google::protobuf::uint32 value);
618
619 // optional fixed32 tag = 2;
620 inline bool has_tag() const;
621 inline void clear_tag();
622 static const int kTagFieldNumber = 2;
624 inline void set_tag(::google::protobuf::uint32 value);
625
626 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ProgramTag)
627 private:
628 inline void set_has_program();
629 inline void clear_has_program();
630 inline void set_has_tag();
631 inline void clear_has_tag();
632
633 ::google::protobuf::UnknownFieldSet _unknown_fields_;
634
636 mutable int _cached_size_;
642
645};
646// -------------------------------------------------------------------
647
648class TC_PROTO_API RegionTag : public ::google::protobuf::Message {
649 public:
651 virtual ~RegionTag();
652
653 RegionTag(const RegionTag& from);
654
655 inline RegionTag& operator=(const RegionTag& from) {
656 CopyFrom(from);
657 return *this;
658 }
659
660 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
661 return _unknown_fields_;
662 }
663
664 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
665 return &_unknown_fields_;
666 }
667
668 static const ::google::protobuf::Descriptor* descriptor();
670
671 void Swap(RegionTag* other);
672
673 // implements Message ----------------------------------------------
674
675 RegionTag* New() const;
676 int GetCachedSize() const { return _cached_size_; }
677 private:
680 void SetCachedSize(int size) const;
681 public:
682 ::google::protobuf::Metadata GetMetadata() const;
683
684 // nested types ----------------------------------------------------
685
686 // accessors -------------------------------------------------------
687
688 // optional fixed32 region = 1;
689 inline bool has_region() const;
690 inline void clear_region();
691 static const int kRegionFieldNumber = 1;
693 inline void set_region(::google::protobuf::uint32 value);
694
695 // optional fixed32 tag = 2;
696 inline bool has_tag() const;
697 inline void clear_tag();
698 static const int kTagFieldNumber = 2;
700 inline void set_tag(::google::protobuf::uint32 value);
701
702 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RegionTag)
703 private:
704 inline void set_has_region();
705 inline void clear_has_region();
706 inline void set_has_tag();
707 inline void clear_has_tag();
708
709 ::google::protobuf::UnknownFieldSet _unknown_fields_;
710
712 mutable int _cached_size_;
718
721};
722// -------------------------------------------------------------------
723
724class TC_PROTO_API AccountFieldTags : public ::google::protobuf::Message {
725 public:
728
730
732 CopyFrom(from);
733 return *this;
734 }
735
736 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
737 return _unknown_fields_;
738 }
739
740 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
741 return &_unknown_fields_;
742 }
743
744 static const ::google::protobuf::Descriptor* descriptor();
746
747 void Swap(AccountFieldTags* other);
748
749 // implements Message ----------------------------------------------
750
752 int GetCachedSize() const { return _cached_size_; }
753 private:
756 void SetCachedSize(int size) const;
757 public:
758 ::google::protobuf::Metadata GetMetadata() const;
759
760 // nested types ----------------------------------------------------
761
762 // accessors -------------------------------------------------------
763
764 // optional fixed32 account_level_info_tag = 2;
765 inline bool has_account_level_info_tag() const;
766 inline void clear_account_level_info_tag();
767 static const int kAccountLevelInfoTagFieldNumber = 2;
768 inline ::google::protobuf::uint32 account_level_info_tag() const;
769 inline void set_account_level_info_tag(::google::protobuf::uint32 value);
770
771 // optional fixed32 privacy_info_tag = 3;
772 inline bool has_privacy_info_tag() const;
773 inline void clear_privacy_info_tag();
774 static const int kPrivacyInfoTagFieldNumber = 3;
775 inline ::google::protobuf::uint32 privacy_info_tag() const;
776 inline void set_privacy_info_tag(::google::protobuf::uint32 value);
777
778 // optional fixed32 parental_control_info_tag = 4;
779 inline bool has_parental_control_info_tag() const;
780 inline void clear_parental_control_info_tag();
781 static const int kParentalControlInfoTagFieldNumber = 4;
782 inline ::google::protobuf::uint32 parental_control_info_tag() const;
783 inline void set_parental_control_info_tag(::google::protobuf::uint32 value);
784
785 // repeated .bgs.protocol.account.v1.ProgramTag game_level_info_tags = 7;
786 inline int game_level_info_tags_size() const;
787 inline void clear_game_level_info_tags();
788 static const int kGameLevelInfoTagsFieldNumber = 7;
789 inline const ::bgs::protocol::account::v1::ProgramTag& game_level_info_tags(int index) const;
790 inline ::bgs::protocol::account::v1::ProgramTag* mutable_game_level_info_tags(int index);
791 inline ::bgs::protocol::account::v1::ProgramTag* add_game_level_info_tags();
792 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
793 game_level_info_tags() const;
794 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
795 mutable_game_level_info_tags();
796
797 // repeated .bgs.protocol.account.v1.ProgramTag game_status_tags = 9;
798 inline int game_status_tags_size() const;
799 inline void clear_game_status_tags();
800 static const int kGameStatusTagsFieldNumber = 9;
801 inline const ::bgs::protocol::account::v1::ProgramTag& game_status_tags(int index) const;
802 inline ::bgs::protocol::account::v1::ProgramTag* mutable_game_status_tags(int index);
803 inline ::bgs::protocol::account::v1::ProgramTag* add_game_status_tags();
804 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
805 game_status_tags() const;
806 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
807 mutable_game_status_tags();
808
809 // repeated .bgs.protocol.account.v1.RegionTag game_account_tags = 11;
810 inline int game_account_tags_size() const;
811 inline void clear_game_account_tags();
812 static const int kGameAccountTagsFieldNumber = 11;
813 inline const ::bgs::protocol::account::v1::RegionTag& game_account_tags(int index) const;
814 inline ::bgs::protocol::account::v1::RegionTag* mutable_game_account_tags(int index);
815 inline ::bgs::protocol::account::v1::RegionTag* add_game_account_tags();
816 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >&
817 game_account_tags() const;
818 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >*
819 mutable_game_account_tags();
820
821 // optional fixed32 security_status_tag = 12;
822 inline bool has_security_status_tag() const;
823 inline void clear_security_status_tag();
824 static const int kSecurityStatusTagFieldNumber = 12;
825 inline ::google::protobuf::uint32 security_status_tag() const;
826 inline void set_security_status_tag(::google::protobuf::uint32 value);
827
828 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountFieldTags)
829 private:
830 inline void set_has_account_level_info_tag();
831 inline void clear_has_account_level_info_tag();
832 inline void set_has_privacy_info_tag();
833 inline void clear_has_privacy_info_tag();
834 inline void set_has_parental_control_info_tag();
835 inline void clear_has_parental_control_info_tag();
836 inline void set_has_security_status_tag();
837 inline void clear_has_security_status_tag();
838
839 ::google::protobuf::UnknownFieldSet _unknown_fields_;
840
842 mutable int _cached_size_;
845 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > game_level_info_tags_;
846 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > game_status_tags_;
849 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag > game_account_tags_;
853
856};
857// -------------------------------------------------------------------
858
859class TC_PROTO_API GameAccountFieldTags : public ::google::protobuf::Message {
860 public:
863
865
867 CopyFrom(from);
868 return *this;
869 }
870
871 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
872 return _unknown_fields_;
873 }
874
875 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
876 return &_unknown_fields_;
877 }
878
879 static const ::google::protobuf::Descriptor* descriptor();
881
883
884 // implements Message ----------------------------------------------
885
887 int GetCachedSize() const { return _cached_size_; }
888 private:
891 void SetCachedSize(int size) const;
892 public:
893 ::google::protobuf::Metadata GetMetadata() const;
894
895 // nested types ----------------------------------------------------
896
897 // accessors -------------------------------------------------------
898
899 // optional fixed32 game_level_info_tag = 2;
900 inline bool has_game_level_info_tag() const;
901 inline void clear_game_level_info_tag();
902 static const int kGameLevelInfoTagFieldNumber = 2;
903 inline ::google::protobuf::uint32 game_level_info_tag() const;
904 inline void set_game_level_info_tag(::google::protobuf::uint32 value);
905
906 // optional fixed32 game_time_info_tag = 3;
907 inline bool has_game_time_info_tag() const;
908 inline void clear_game_time_info_tag();
909 static const int kGameTimeInfoTagFieldNumber = 3;
910 inline ::google::protobuf::uint32 game_time_info_tag() const;
911 inline void set_game_time_info_tag(::google::protobuf::uint32 value);
912
913 // optional fixed32 game_status_tag = 4;
914 inline bool has_game_status_tag() const;
915 inline void clear_game_status_tag();
916 static const int kGameStatusTagFieldNumber = 4;
917 inline ::google::protobuf::uint32 game_status_tag() const;
918 inline void set_game_status_tag(::google::protobuf::uint32 value);
919
920 // optional fixed32 raf_info_tag = 5;
921 inline bool has_raf_info_tag() const;
922 inline void clear_raf_info_tag();
923 static const int kRafInfoTagFieldNumber = 5;
924 inline ::google::protobuf::uint32 raf_info_tag() const;
925 inline void set_raf_info_tag(::google::protobuf::uint32 value);
926
927 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFieldTags)
928 private:
929 inline void set_has_game_level_info_tag();
930 inline void clear_has_game_level_info_tag();
931 inline void set_has_game_time_info_tag();
932 inline void clear_has_game_time_info_tag();
933 inline void set_has_game_status_tag();
934 inline void clear_has_game_status_tag();
935 inline void set_has_raf_info_tag();
936 inline void clear_has_raf_info_tag();
937
938 ::google::protobuf::UnknownFieldSet _unknown_fields_;
939
941 mutable int _cached_size_;
949
952};
953// -------------------------------------------------------------------
954
955class TC_PROTO_API AccountFieldOptions : public ::google::protobuf::Message {
956 public:
959
961
963 CopyFrom(from);
964 return *this;
965 }
966
967 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
968 return _unknown_fields_;
969 }
970
971 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
972 return &_unknown_fields_;
973 }
974
975 static const ::google::protobuf::Descriptor* descriptor();
977
979
980 // implements Message ----------------------------------------------
981
983 int GetCachedSize() const { return _cached_size_; }
984 private:
987 void SetCachedSize(int size) const;
988 public:
989 ::google::protobuf::Metadata GetMetadata() const;
990
991 // nested types ----------------------------------------------------
992
993 // accessors -------------------------------------------------------
994
995 // optional bool all_fields = 1;
996 inline bool has_all_fields() const;
997 inline void clear_all_fields();
998 static const int kAllFieldsFieldNumber = 1;
999 inline bool all_fields() const;
1000 inline void set_all_fields(bool value);
1001
1002 // optional bool field_account_level_info = 2;
1003 inline bool has_field_account_level_info() const;
1004 inline void clear_field_account_level_info();
1005 static const int kFieldAccountLevelInfoFieldNumber = 2;
1006 inline bool field_account_level_info() const;
1007 inline void set_field_account_level_info(bool value);
1008
1009 // optional bool field_privacy_info = 3;
1010 inline bool has_field_privacy_info() const;
1011 inline void clear_field_privacy_info();
1012 static const int kFieldPrivacyInfoFieldNumber = 3;
1013 inline bool field_privacy_info() const;
1014 inline void set_field_privacy_info(bool value);
1015
1016 // optional bool field_parental_control_info = 4;
1017 inline bool has_field_parental_control_info() const;
1018 inline void clear_field_parental_control_info();
1019 static const int kFieldParentalControlInfoFieldNumber = 4;
1020 inline bool field_parental_control_info() const;
1021 inline void set_field_parental_control_info(bool value);
1022
1023 // optional bool field_game_level_info = 6;
1024 inline bool has_field_game_level_info() const;
1025 inline void clear_field_game_level_info();
1026 static const int kFieldGameLevelInfoFieldNumber = 6;
1027 inline bool field_game_level_info() const;
1028 inline void set_field_game_level_info(bool value);
1029
1030 // optional bool field_game_status = 7;
1031 inline bool has_field_game_status() const;
1032 inline void clear_field_game_status();
1033 static const int kFieldGameStatusFieldNumber = 7;
1034 inline bool field_game_status() const;
1035 inline void set_field_game_status(bool value);
1036
1037 // optional bool field_game_accounts = 8;
1038 inline bool has_field_game_accounts() const;
1039 inline void clear_field_game_accounts();
1040 static const int kFieldGameAccountsFieldNumber = 8;
1041 inline bool field_game_accounts() const;
1042 inline void set_field_game_accounts(bool value);
1043
1044 // optional bool field_security_status = 9;
1045 inline bool has_field_security_status() const;
1046 inline void clear_field_security_status();
1047 static const int kFieldSecurityStatusFieldNumber = 9;
1048 inline bool field_security_status() const;
1049 inline void set_field_security_status(bool value);
1050
1051 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountFieldOptions)
1052 private:
1053 inline void set_has_all_fields();
1054 inline void clear_has_all_fields();
1055 inline void set_has_field_account_level_info();
1056 inline void clear_has_field_account_level_info();
1057 inline void set_has_field_privacy_info();
1058 inline void clear_has_field_privacy_info();
1059 inline void set_has_field_parental_control_info();
1060 inline void clear_has_field_parental_control_info();
1061 inline void set_has_field_game_level_info();
1062 inline void clear_has_field_game_level_info();
1063 inline void set_has_field_game_status();
1064 inline void clear_has_field_game_status();
1065 inline void set_has_field_game_accounts();
1066 inline void clear_has_field_game_accounts();
1067 inline void set_has_field_security_status();
1068 inline void clear_has_field_security_status();
1069
1070 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1071
1073 mutable int _cached_size_;
1085
1088};
1089// -------------------------------------------------------------------
1090
1091class TC_PROTO_API GameAccountFieldOptions : public ::google::protobuf::Message {
1092 public:
1095
1097
1099 CopyFrom(from);
1100 return *this;
1101 }
1102
1103 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1104 return _unknown_fields_;
1105 }
1106
1107 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1108 return &_unknown_fields_;
1109 }
1110
1111 static const ::google::protobuf::Descriptor* descriptor();
1113
1115
1116 // implements Message ----------------------------------------------
1117
1119 int GetCachedSize() const { return _cached_size_; }
1120 private:
1123 void SetCachedSize(int size) const;
1124 public:
1125 ::google::protobuf::Metadata GetMetadata() const;
1126
1127 // nested types ----------------------------------------------------
1128
1129 // accessors -------------------------------------------------------
1130
1131 // optional bool all_fields = 1;
1132 inline bool has_all_fields() const;
1133 inline void clear_all_fields();
1134 static const int kAllFieldsFieldNumber = 1;
1135 inline bool all_fields() const;
1136 inline void set_all_fields(bool value);
1137
1138 // optional bool field_game_level_info = 2;
1139 inline bool has_field_game_level_info() const;
1140 inline void clear_field_game_level_info();
1141 static const int kFieldGameLevelInfoFieldNumber = 2;
1142 inline bool field_game_level_info() const;
1143 inline void set_field_game_level_info(bool value);
1144
1145 // optional bool field_game_time_info = 3;
1146 inline bool has_field_game_time_info() const;
1147 inline void clear_field_game_time_info();
1148 static const int kFieldGameTimeInfoFieldNumber = 3;
1149 inline bool field_game_time_info() const;
1150 inline void set_field_game_time_info(bool value);
1151
1152 // optional bool field_game_status = 4;
1153 inline bool has_field_game_status() const;
1154 inline void clear_field_game_status();
1155 static const int kFieldGameStatusFieldNumber = 4;
1156 inline bool field_game_status() const;
1157 inline void set_field_game_status(bool value);
1158
1159 // optional bool field_raf_info = 5;
1160 inline bool has_field_raf_info() const;
1161 inline void clear_field_raf_info();
1162 static const int kFieldRafInfoFieldNumber = 5;
1163 inline bool field_raf_info() const;
1164 inline void set_field_raf_info(bool value);
1165
1166 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFieldOptions)
1167 private:
1168 inline void set_has_all_fields();
1169 inline void clear_has_all_fields();
1170 inline void set_has_field_game_level_info();
1171 inline void clear_has_field_game_level_info();
1172 inline void set_has_field_game_time_info();
1173 inline void clear_has_field_game_time_info();
1174 inline void set_has_field_game_status();
1175 inline void clear_has_field_game_status();
1176 inline void set_has_field_raf_info();
1177 inline void clear_has_field_raf_info();
1178
1179 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1180
1182 mutable int _cached_size_;
1191
1194};
1195// -------------------------------------------------------------------
1196
1197class TC_PROTO_API SubscriberReference : public ::google::protobuf::Message {
1198 public:
1201
1203
1205 CopyFrom(from);
1206 return *this;
1207 }
1208
1209 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1210 return _unknown_fields_;
1211 }
1212
1213 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1214 return &_unknown_fields_;
1215 }
1216
1217 static const ::google::protobuf::Descriptor* descriptor();
1219
1221
1222 // implements Message ----------------------------------------------
1223
1225 int GetCachedSize() const { return _cached_size_; }
1226 private:
1229 void SetCachedSize(int size) const;
1230 public:
1231 ::google::protobuf::Metadata GetMetadata() const;
1232
1233 // nested types ----------------------------------------------------
1234
1235 // accessors -------------------------------------------------------
1236
1237 // optional uint64 object_id = 1 [default = 0];
1238 inline bool has_object_id() const;
1239 inline void clear_object_id();
1240 static const int kObjectIdFieldNumber = 1;
1241 inline ::google::protobuf::uint64 object_id() const;
1242 inline void set_object_id(::google::protobuf::uint64 value);
1243
1244 // optional .bgs.protocol.EntityId entity_id = 2;
1245 inline bool has_entity_id() const;
1246 inline void clear_entity_id();
1247 static const int kEntityIdFieldNumber = 2;
1248 inline const ::bgs::protocol::EntityId& entity_id() const;
1249 inline ::bgs::protocol::EntityId* mutable_entity_id();
1250 inline ::bgs::protocol::EntityId* release_entity_id();
1251 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
1252
1253 // optional .bgs.protocol.account.v1.AccountFieldOptions account_options = 3;
1254 inline bool has_account_options() const;
1255 inline void clear_account_options();
1256 static const int kAccountOptionsFieldNumber = 3;
1257 inline const ::bgs::protocol::account::v1::AccountFieldOptions& account_options() const;
1258 inline ::bgs::protocol::account::v1::AccountFieldOptions* mutable_account_options();
1259 inline ::bgs::protocol::account::v1::AccountFieldOptions* release_account_options();
1260 inline void set_allocated_account_options(::bgs::protocol::account::v1::AccountFieldOptions* account_options);
1261
1262 // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 4;
1263 inline bool has_account_tags() const;
1264 inline void clear_account_tags();
1265 static const int kAccountTagsFieldNumber = 4;
1266 inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
1267 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
1268 inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
1269 inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
1270
1271 // optional .bgs.protocol.account.v1.GameAccountFieldOptions game_account_options = 5;
1272 inline bool has_game_account_options() const;
1273 inline void clear_game_account_options();
1274 static const int kGameAccountOptionsFieldNumber = 5;
1275 inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& game_account_options() const;
1276 inline ::bgs::protocol::account::v1::GameAccountFieldOptions* mutable_game_account_options();
1277 inline ::bgs::protocol::account::v1::GameAccountFieldOptions* release_game_account_options();
1278 inline void set_allocated_game_account_options(::bgs::protocol::account::v1::GameAccountFieldOptions* game_account_options);
1279
1280 // optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 6;
1281 inline bool has_game_account_tags() const;
1282 inline void clear_game_account_tags();
1283 static const int kGameAccountTagsFieldNumber = 6;
1284 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& game_account_tags() const;
1285 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_game_account_tags();
1286 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_game_account_tags();
1287 inline void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags);
1288
1289 // optional uint64 subscriber_id = 7 [default = 0];
1290 inline bool has_subscriber_id() const;
1291 inline void clear_subscriber_id();
1292 static const int kSubscriberIdFieldNumber = 7;
1293 inline ::google::protobuf::uint64 subscriber_id() const;
1294 inline void set_subscriber_id(::google::protobuf::uint64 value);
1295
1296 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SubscriberReference)
1297 private:
1298 inline void set_has_object_id();
1299 inline void clear_has_object_id();
1300 inline void set_has_entity_id();
1301 inline void clear_has_entity_id();
1302 inline void set_has_account_options();
1303 inline void clear_has_account_options();
1304 inline void set_has_account_tags();
1305 inline void clear_has_account_tags();
1306 inline void set_has_game_account_options();
1307 inline void clear_has_game_account_options();
1308 inline void set_has_game_account_tags();
1309 inline void clear_has_game_account_tags();
1310 inline void set_has_subscriber_id();
1311 inline void clear_has_subscriber_id();
1312
1313 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1314
1316 mutable int _cached_size_;
1327
1330};
1331// -------------------------------------------------------------------
1332
1333class TC_PROTO_API OptIns : public ::google::protobuf::Message {
1334 public:
1336 virtual ~OptIns();
1337
1338 OptIns(const OptIns& from);
1339
1340 inline OptIns& operator=(const OptIns& from) {
1341 CopyFrom(from);
1342 return *this;
1343 }
1344
1345 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1346 return _unknown_fields_;
1347 }
1348
1349 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1350 return &_unknown_fields_;
1351 }
1352
1353 static const ::google::protobuf::Descriptor* descriptor();
1354 static const OptIns& default_instance();
1355
1356 void Swap(OptIns* other);
1357
1358 // implements Message ----------------------------------------------
1359
1360 OptIns* New() const;
1361 int GetCachedSize() const { return _cached_size_; }
1362 private:
1365 void SetCachedSize(int size) const;
1366 public:
1367 ::google::protobuf::Metadata GetMetadata() const;
1368
1369 // nested types ----------------------------------------------------
1370
1371 // accessors -------------------------------------------------------
1372
1373 // repeated uint64 ids = 1 [packed = true];
1374 inline int ids_size() const;
1375 inline void clear_ids();
1376 static const int kIdsFieldNumber = 1;
1377 inline ::google::protobuf::uint64 ids(int index) const;
1378 inline void set_ids(int index, ::google::protobuf::uint64 value);
1379 inline void add_ids(::google::protobuf::uint64 value);
1380 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1381 ids() const;
1382 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1383 mutable_ids();
1384
1385 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.OptIns)
1386 private:
1387
1388 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1389
1391 mutable int _cached_size_;
1392 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > ids_;
1396
1399};
1400// -------------------------------------------------------------------
1401
1402class TC_PROTO_API AccountLevelInfo : public ::google::protobuf::Message {
1403 public:
1406
1408
1410 CopyFrom(from);
1411 return *this;
1412 }
1413
1414 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1415 return _unknown_fields_;
1416 }
1417
1418 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1419 return &_unknown_fields_;
1420 }
1421
1422 static const ::google::protobuf::Descriptor* descriptor();
1424
1426
1427 // implements Message ----------------------------------------------
1428
1430 int GetCachedSize() const { return _cached_size_; }
1431 private:
1434 void SetCachedSize(int size) const;
1435 public:
1436 ::google::protobuf::Metadata GetMetadata() const;
1437
1438 // nested types ----------------------------------------------------
1439
1440 // accessors -------------------------------------------------------
1441
1442 // repeated .bgs.protocol.account.v1.AccountLicense licenses = 3;
1443 inline int licenses_size() const;
1444 inline void clear_licenses();
1445 static const int kLicensesFieldNumber = 3;
1446 inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
1447 inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
1448 inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
1449 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
1450 licenses() const;
1451 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
1452 mutable_licenses();
1453
1454 // optional fixed32 default_currency = 4;
1455 inline bool has_default_currency() const;
1456 inline void clear_default_currency();
1457 static const int kDefaultCurrencyFieldNumber = 4;
1458 inline ::google::protobuf::uint32 default_currency() const;
1459 inline void set_default_currency(::google::protobuf::uint32 value);
1460
1461 // optional string country = 5;
1462 inline bool has_country() const;
1463 inline void clear_country();
1464 static const int kCountryFieldNumber = 5;
1465 inline const ::std::string& country() const;
1466 inline void set_country(const ::std::string& value);
1467 inline void set_country(const char* value);
1468 inline void set_country(const char* value, size_t size);
1469 inline ::std::string* mutable_country();
1470 inline ::std::string* release_country();
1471 inline void set_allocated_country(::std::string* country);
1472
1473 // optional uint32 preferred_region = 6;
1474 inline bool has_preferred_region() const;
1475 inline void clear_preferred_region();
1476 static const int kPreferredRegionFieldNumber = 6;
1477 inline ::google::protobuf::uint32 preferred_region() const;
1478 inline void set_preferred_region(::google::protobuf::uint32 value);
1479
1480 // optional string full_name = 7;
1481 inline bool has_full_name() const;
1482 inline void clear_full_name();
1483 static const int kFullNameFieldNumber = 7;
1484 inline const ::std::string& full_name() const;
1485 inline void set_full_name(const ::std::string& value);
1486 inline void set_full_name(const char* value);
1487 inline void set_full_name(const char* value, size_t size);
1488 inline ::std::string* mutable_full_name();
1489 inline ::std::string* release_full_name();
1490 inline void set_allocated_full_name(::std::string* full_name);
1491
1492 // optional string battle_tag = 8;
1493 inline bool has_battle_tag() const;
1494 inline void clear_battle_tag();
1495 static const int kBattleTagFieldNumber = 8;
1496 inline const ::std::string& battle_tag() const;
1497 inline void set_battle_tag(const ::std::string& value);
1498 inline void set_battle_tag(const char* value);
1499 inline void set_battle_tag(const char* value, size_t size);
1500 inline ::std::string* mutable_battle_tag();
1501 inline ::std::string* release_battle_tag();
1502 inline void set_allocated_battle_tag(::std::string* battle_tag);
1503
1504 // optional bool muted = 9;
1505 inline bool has_muted() const;
1506 inline void clear_muted();
1507 static const int kMutedFieldNumber = 9;
1508 inline bool muted() const;
1509 inline void set_muted(bool value);
1510
1511 // optional bool manual_review = 10;
1512 inline bool has_manual_review() const;
1513 inline void clear_manual_review();
1514 static const int kManualReviewFieldNumber = 10;
1515 inline bool manual_review() const;
1516 inline void set_manual_review(bool value);
1517
1518 // optional bool account_paid_any = 11;
1519 inline bool has_account_paid_any() const;
1520 inline void clear_account_paid_any();
1521 static const int kAccountPaidAnyFieldNumber = 11;
1522 inline bool account_paid_any() const;
1523 inline void set_account_paid_any(bool value);
1524
1525 // optional .bgs.protocol.account.v1.IdentityVerificationStatus identity_check_status = 12;
1526 inline bool has_identity_check_status() const;
1527 inline void clear_identity_check_status();
1528 static const int kIdentityCheckStatusFieldNumber = 12;
1530 inline void set_identity_check_status(::bgs::protocol::account::v1::IdentityVerificationStatus value);
1531
1532 // optional string email = 13;
1533 inline bool has_email() const;
1534 inline void clear_email();
1535 static const int kEmailFieldNumber = 13;
1536 inline const ::std::string& email() const;
1537 inline void set_email(const ::std::string& value);
1538 inline void set_email(const char* value);
1539 inline void set_email(const char* value, size_t size);
1540 inline ::std::string* mutable_email();
1541 inline ::std::string* release_email();
1542 inline void set_allocated_email(::std::string* email);
1543
1544 // optional bool headless_account = 14;
1545 inline bool has_headless_account() const;
1546 inline void clear_headless_account();
1547 static const int kHeadlessAccountFieldNumber = 14;
1548 inline bool headless_account() const;
1549 inline void set_headless_account(bool value);
1550
1551 // optional bool test_account = 15;
1552 inline bool has_test_account() const;
1553 inline void clear_test_account();
1554 static const int kTestAccountFieldNumber = 15;
1555 inline bool test_account() const;
1556 inline void set_test_account(bool value);
1557
1558 // optional bool is_sms_protected = 17;
1559 inline bool has_is_sms_protected() const;
1560 inline void clear_is_sms_protected();
1561 static const int kIsSmsProtectedFieldNumber = 17;
1562 inline bool is_sms_protected() const;
1563 inline void set_is_sms_protected(bool value);
1564
1565 // optional uint32 ratings_board_minimum_age = 18;
1566 inline bool has_ratings_board_minimum_age() const;
1567 inline void clear_ratings_board_minimum_age();
1568 static const int kRatingsBoardMinimumAgeFieldNumber = 18;
1569 inline ::google::protobuf::uint32 ratings_board_minimum_age() const;
1570 inline void set_ratings_board_minimum_age(::google::protobuf::uint32 value);
1571
1572 // optional string phone_number = 19;
1573 inline bool has_phone_number() const;
1574 inline void clear_phone_number();
1575 static const int kPhoneNumberFieldNumber = 19;
1576 inline const ::std::string& phone_number() const;
1577 inline void set_phone_number(const ::std::string& value);
1578 inline void set_phone_number(const char* value);
1579 inline void set_phone_number(const char* value, size_t size);
1580 inline ::std::string* mutable_phone_number();
1581 inline ::std::string* release_phone_number();
1582 inline void set_allocated_phone_number(::std::string* phone_number);
1583
1584 // optional string birthdate = 20;
1585 inline bool has_birthdate() const;
1586 inline void clear_birthdate();
1587 static const int kBirthdateFieldNumber = 20;
1588 inline const ::std::string& birthdate() const;
1589 inline void set_birthdate(const ::std::string& value);
1590 inline void set_birthdate(const char* value);
1591 inline void set_birthdate(const char* value, size_t size);
1592 inline ::std::string* mutable_birthdate();
1593 inline ::std::string* release_birthdate();
1594 inline void set_allocated_birthdate(::std::string* birthdate);
1595
1596 // optional bool legal_country_feature_restrictions_applied = 21;
1597 inline bool has_legal_country_feature_restrictions_applied() const;
1598 inline void clear_legal_country_feature_restrictions_applied();
1599 static const int kLegalCountryFeatureRestrictionsAppliedFieldNumber = 21;
1600 inline bool legal_country_feature_restrictions_applied() const;
1601 inline void set_legal_country_feature_restrictions_applied(bool value);
1602
1603 // optional .bgs.protocol.account.v1.OptIns opt_ins = 22;
1604 inline bool has_opt_ins() const;
1605 inline void clear_opt_ins();
1606 static const int kOptInsFieldNumber = 22;
1607 inline const ::bgs::protocol::account::v1::OptIns& opt_ins() const;
1608 inline ::bgs::protocol::account::v1::OptIns* mutable_opt_ins();
1609 inline ::bgs::protocol::account::v1::OptIns* release_opt_ins();
1610 inline void set_allocated_opt_ins(::bgs::protocol::account::v1::OptIns* opt_ins);
1611
1612 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountLevelInfo)
1613 private:
1614 inline void set_has_default_currency();
1615 inline void clear_has_default_currency();
1616 inline void set_has_country();
1617 inline void clear_has_country();
1618 inline void set_has_preferred_region();
1619 inline void clear_has_preferred_region();
1620 inline void set_has_full_name();
1621 inline void clear_has_full_name();
1622 inline void set_has_battle_tag();
1623 inline void clear_has_battle_tag();
1624 inline void set_has_muted();
1625 inline void clear_has_muted();
1626 inline void set_has_manual_review();
1627 inline void clear_has_manual_review();
1628 inline void set_has_account_paid_any();
1629 inline void clear_has_account_paid_any();
1630 inline void set_has_identity_check_status();
1631 inline void clear_has_identity_check_status();
1632 inline void set_has_email();
1633 inline void clear_has_email();
1634 inline void set_has_headless_account();
1635 inline void clear_has_headless_account();
1636 inline void set_has_test_account();
1637 inline void clear_has_test_account();
1638 inline void set_has_is_sms_protected();
1639 inline void clear_has_is_sms_protected();
1640 inline void set_has_ratings_board_minimum_age();
1641 inline void clear_has_ratings_board_minimum_age();
1642 inline void set_has_phone_number();
1643 inline void clear_has_phone_number();
1644 inline void set_has_birthdate();
1645 inline void clear_has_birthdate();
1646 inline void set_has_legal_country_feature_restrictions_applied();
1647 inline void clear_has_legal_country_feature_restrictions_applied();
1648 inline void set_has_opt_ins();
1649 inline void clear_has_opt_ins();
1650
1651 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1652
1654 mutable int _cached_size_;
1655 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
1656 ::std::string* country_;
1659 ::std::string* full_name_;
1660 ::std::string* battle_tag_;
1666 ::std::string* email_;
1671 ::std::string* phone_number_;
1672 ::std::string* birthdate_;
1677
1680};
1681// -------------------------------------------------------------------
1682
1683class TC_PROTO_API PrivacyInfo : public ::google::protobuf::Message {
1684 public:
1686 virtual ~PrivacyInfo();
1687
1689
1690 inline PrivacyInfo& operator=(const PrivacyInfo& from) {
1691 CopyFrom(from);
1692 return *this;
1693 }
1694
1695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1696 return _unknown_fields_;
1697 }
1698
1699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1700 return &_unknown_fields_;
1701 }
1702
1703 static const ::google::protobuf::Descriptor* descriptor();
1705
1706 void Swap(PrivacyInfo* other);
1707
1708 // implements Message ----------------------------------------------
1709
1711 int GetCachedSize() const { return _cached_size_; }
1712 private:
1715 void SetCachedSize(int size) const;
1716 public:
1717 ::google::protobuf::Metadata GetMetadata() const;
1718
1719 // nested types ----------------------------------------------------
1720
1725 static inline bool GameInfoPrivacy_IsValid(int value) {
1727 }
1728 static const GameInfoPrivacy GameInfoPrivacy_MIN =
1730 static const GameInfoPrivacy GameInfoPrivacy_MAX =
1732 static const int GameInfoPrivacy_ARRAYSIZE =
1734 static inline const ::google::protobuf::EnumDescriptor*
1737 }
1738 static inline const ::std::string& GameInfoPrivacy_Name(GameInfoPrivacy value) {
1740 }
1741 static inline bool GameInfoPrivacy_Parse(const ::std::string& name,
1742 GameInfoPrivacy* value) {
1743 return PrivacyInfo_GameInfoPrivacy_Parse(name, value);
1744 }
1745
1746 // accessors -------------------------------------------------------
1747
1748 // optional bool is_using_rid = 3;
1749 inline bool has_is_using_rid() const;
1750 inline void clear_is_using_rid();
1751 static const int kIsUsingRidFieldNumber = 3;
1752 inline bool is_using_rid() const;
1753 inline void set_is_using_rid(bool value);
1754
1755 // optional bool is_visible_for_view_friends = 4;
1756 inline bool has_is_visible_for_view_friends() const;
1757 inline void clear_is_visible_for_view_friends();
1758 static const int kIsVisibleForViewFriendsFieldNumber = 4;
1759 inline bool is_visible_for_view_friends() const;
1760 inline void set_is_visible_for_view_friends(bool value);
1761
1762 // optional bool is_hidden_from_friend_finder = 5;
1763 inline bool has_is_hidden_from_friend_finder() const;
1764 inline void clear_is_hidden_from_friend_finder();
1765 static const int kIsHiddenFromFriendFinderFieldNumber = 5;
1766 inline bool is_hidden_from_friend_finder() const;
1767 inline void set_is_hidden_from_friend_finder(bool value);
1768
1769 // optional .bgs.protocol.account.v1.PrivacyInfo.GameInfoPrivacy game_info_privacy = 6 [default = PRIVACY_FRIENDS];
1770 inline bool has_game_info_privacy() const;
1771 inline void clear_game_info_privacy();
1772 static const int kGameInfoPrivacyFieldNumber = 6;
1774 inline void set_game_info_privacy(::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy value);
1775
1776 // optional bool only_allow_friend_whispers = 7;
1777 inline bool has_only_allow_friend_whispers() const;
1778 inline void clear_only_allow_friend_whispers();
1779 static const int kOnlyAllowFriendWhispersFieldNumber = 7;
1780 inline bool only_allow_friend_whispers() const;
1781 inline void set_only_allow_friend_whispers(bool value);
1782
1783 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.PrivacyInfo)
1784 private:
1785 inline void set_has_is_using_rid();
1786 inline void clear_has_is_using_rid();
1787 inline void set_has_is_visible_for_view_friends();
1788 inline void clear_has_is_visible_for_view_friends();
1789 inline void set_has_is_hidden_from_friend_finder();
1790 inline void clear_has_is_hidden_from_friend_finder();
1791 inline void set_has_game_info_privacy();
1792 inline void clear_has_game_info_privacy();
1793 inline void set_has_only_allow_friend_whispers();
1794 inline void clear_has_only_allow_friend_whispers();
1795
1796 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1797
1799 mutable int _cached_size_;
1808
1811};
1812// -------------------------------------------------------------------
1813
1814class TC_PROTO_API ParentalControlInfo : public ::google::protobuf::Message {
1815 public:
1818
1820
1822 CopyFrom(from);
1823 return *this;
1824 }
1825
1826 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1827 return _unknown_fields_;
1828 }
1829
1830 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1831 return &_unknown_fields_;
1832 }
1833
1834 static const ::google::protobuf::Descriptor* descriptor();
1836
1838
1839 // implements Message ----------------------------------------------
1840
1842 int GetCachedSize() const { return _cached_size_; }
1843 private:
1846 void SetCachedSize(int size) const;
1847 public:
1848 ::google::protobuf::Metadata GetMetadata() const;
1849
1850 // nested types ----------------------------------------------------
1851
1852 // accessors -------------------------------------------------------
1853
1854 // optional string timezone = 3;
1855 inline bool has_timezone() const;
1856 inline void clear_timezone();
1857 static const int kTimezoneFieldNumber = 3;
1858 inline const ::std::string& timezone() const;
1859 inline void set_timezone(const ::std::string& value);
1860 inline void set_timezone(const char* value);
1861 inline void set_timezone(const char* value, size_t size);
1862 inline ::std::string* mutable_timezone();
1863 inline ::std::string* release_timezone();
1864 inline void set_allocated_timezone(::std::string* timezone);
1865
1866 // optional uint32 minutes_per_day = 4;
1867 inline bool has_minutes_per_day() const;
1868 inline void clear_minutes_per_day();
1869 static const int kMinutesPerDayFieldNumber = 4;
1870 inline ::google::protobuf::uint32 minutes_per_day() const;
1871 inline void set_minutes_per_day(::google::protobuf::uint32 value);
1872
1873 // optional uint32 minutes_per_week = 5;
1874 inline bool has_minutes_per_week() const;
1875 inline void clear_minutes_per_week();
1876 static const int kMinutesPerWeekFieldNumber = 5;
1877 inline ::google::protobuf::uint32 minutes_per_week() const;
1878 inline void set_minutes_per_week(::google::protobuf::uint32 value);
1879
1880 // optional bool can_receive_voice = 6;
1881 inline bool has_can_receive_voice() const;
1882 inline void clear_can_receive_voice();
1883 static const int kCanReceiveVoiceFieldNumber = 6;
1884 inline bool can_receive_voice() const;
1885 inline void set_can_receive_voice(bool value);
1886
1887 // optional bool can_send_voice = 7;
1888 inline bool has_can_send_voice() const;
1889 inline void clear_can_send_voice();
1890 static const int kCanSendVoiceFieldNumber = 7;
1891 inline bool can_send_voice() const;
1892 inline void set_can_send_voice(bool value);
1893
1894 // repeated bool play_schedule = 8;
1895 inline int play_schedule_size() const;
1896 inline void clear_play_schedule();
1897 static const int kPlayScheduleFieldNumber = 8;
1898 inline bool play_schedule(int index) const;
1899 inline void set_play_schedule(int index, bool value);
1900 inline void add_play_schedule(bool value);
1901 inline const ::google::protobuf::RepeatedField< bool >&
1902 play_schedule() const;
1903 inline ::google::protobuf::RepeatedField< bool >*
1904 mutable_play_schedule();
1905
1906 // optional bool can_join_group = 9;
1907 inline bool has_can_join_group() const;
1908 inline void clear_can_join_group();
1909 static const int kCanJoinGroupFieldNumber = 9;
1910 inline bool can_join_group() const;
1911 inline void set_can_join_group(bool value);
1912
1913 // optional bool can_use_profile = 10;
1914 inline bool has_can_use_profile() const;
1915 inline void clear_can_use_profile();
1916 static const int kCanUseProfileFieldNumber = 10;
1917 inline bool can_use_profile() const;
1918 inline void set_can_use_profile(bool value);
1919
1920 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ParentalControlInfo)
1921 private:
1922 inline void set_has_timezone();
1923 inline void clear_has_timezone();
1924 inline void set_has_minutes_per_day();
1925 inline void clear_has_minutes_per_day();
1926 inline void set_has_minutes_per_week();
1927 inline void clear_has_minutes_per_week();
1928 inline void set_has_can_receive_voice();
1929 inline void clear_has_can_receive_voice();
1930 inline void set_has_can_send_voice();
1931 inline void clear_has_can_send_voice();
1932 inline void set_has_can_join_group();
1933 inline void clear_has_can_join_group();
1934 inline void set_has_can_use_profile();
1935 inline void clear_has_can_use_profile();
1936
1937 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1938
1940 mutable int _cached_size_;
1941 ::std::string* timezone_;
1944 ::google::protobuf::RepeatedField< bool > play_schedule_;
1952
1955};
1956// -------------------------------------------------------------------
1957
1958class TC_PROTO_API PlayScheduleRestriction : public ::google::protobuf::Message {
1959 public:
1962
1964
1966 CopyFrom(from);
1967 return *this;
1968 }
1969
1970 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1971 return _unknown_fields_;
1972 }
1973
1974 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1975 return &_unknown_fields_;
1976 }
1977
1978 static const ::google::protobuf::Descriptor* descriptor();
1980
1982
1983 // implements Message ----------------------------------------------
1984
1986 int GetCachedSize() const { return _cached_size_; }
1987 private:
1990 void SetCachedSize(int size) const;
1991 public:
1992 ::google::protobuf::Metadata GetMetadata() const;
1993
1994 // nested types ----------------------------------------------------
1995
1996 // accessors -------------------------------------------------------
1997
1998 // repeated bool play_schedule = 1;
1999 inline int play_schedule_size() const;
2000 inline void clear_play_schedule();
2001 static const int kPlayScheduleFieldNumber = 1;
2002 inline bool play_schedule(int index) const;
2003 inline void set_play_schedule(int index, bool value);
2004 inline void add_play_schedule(bool value);
2005 inline const ::google::protobuf::RepeatedField< bool >&
2006 play_schedule() const;
2007 inline ::google::protobuf::RepeatedField< bool >*
2008 mutable_play_schedule();
2009
2010 // optional string timezone = 2;
2011 inline bool has_timezone() const;
2012 inline void clear_timezone();
2013 static const int kTimezoneFieldNumber = 2;
2014 inline const ::std::string& timezone() const;
2015 inline void set_timezone(const ::std::string& value);
2016 inline void set_timezone(const char* value);
2017 inline void set_timezone(const char* value, size_t size);
2018 inline ::std::string* mutable_timezone();
2019 inline ::std::string* release_timezone();
2020 inline void set_allocated_timezone(::std::string* timezone);
2021
2022 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.PlayScheduleRestriction)
2023 private:
2024 inline void set_has_timezone();
2025 inline void clear_has_timezone();
2026
2027 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2028
2030 mutable int _cached_size_;
2031 ::google::protobuf::RepeatedField< bool > play_schedule_;
2032 ::std::string* timezone_;
2036
2039};
2040// -------------------------------------------------------------------
2041
2042class TC_PROTO_API GameLevelInfo : public ::google::protobuf::Message {
2043 public:
2046
2048
2050 CopyFrom(from);
2051 return *this;
2052 }
2053
2054 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2055 return _unknown_fields_;
2056 }
2057
2058 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2059 return &_unknown_fields_;
2060 }
2061
2062 static const ::google::protobuf::Descriptor* descriptor();
2064
2065 void Swap(GameLevelInfo* other);
2066
2067 // implements Message ----------------------------------------------
2068
2070 int GetCachedSize() const { return _cached_size_; }
2071 private:
2074 void SetCachedSize(int size) const;
2075 public:
2076 ::google::protobuf::Metadata GetMetadata() const;
2077
2078 // nested types ----------------------------------------------------
2079
2080 // accessors -------------------------------------------------------
2081
2082 // optional bool is_trial = 4;
2083 inline bool has_is_trial() const;
2084 inline void clear_is_trial();
2085 static const int kIsTrialFieldNumber = 4;
2086 inline bool is_trial() const;
2087 inline void set_is_trial(bool value);
2088
2089 // optional bool is_lifetime = 5;
2090 inline bool has_is_lifetime() const;
2091 inline void clear_is_lifetime();
2092 static const int kIsLifetimeFieldNumber = 5;
2093 inline bool is_lifetime() const;
2094 inline void set_is_lifetime(bool value);
2095
2096 // optional bool is_restricted = 6;
2097 inline bool has_is_restricted() const;
2098 inline void clear_is_restricted();
2099 static const int kIsRestrictedFieldNumber = 6;
2100 inline bool is_restricted() const;
2101 inline void set_is_restricted(bool value);
2102
2103 // optional bool is_beta = 7;
2104 inline bool has_is_beta() const;
2105 inline void clear_is_beta();
2106 static const int kIsBetaFieldNumber = 7;
2107 inline bool is_beta() const;
2108 inline void set_is_beta(bool value);
2109
2110 // optional string name = 8;
2111 inline bool has_name() const;
2112 inline void clear_name();
2113 static const int kNameFieldNumber = 8;
2114 inline const ::std::string& name() const;
2115 inline void set_name(const ::std::string& value);
2116 inline void set_name(const char* value);
2117 inline void set_name(const char* value, size_t size);
2118 inline ::std::string* mutable_name();
2119 inline ::std::string* release_name();
2120 inline void set_allocated_name(::std::string* name);
2121
2122 // optional fixed32 program = 9;
2123 inline bool has_program() const;
2124 inline void clear_program();
2125 static const int kProgramFieldNumber = 9;
2126 inline ::google::protobuf::uint32 program() const;
2127 inline void set_program(::google::protobuf::uint32 value);
2128
2129 // repeated .bgs.protocol.account.v1.AccountLicense licenses = 10;
2130 inline int licenses_size() const;
2131 inline void clear_licenses();
2132 static const int kLicensesFieldNumber = 10;
2133 inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
2134 inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
2135 inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
2136 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
2137 licenses() const;
2138 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
2139 mutable_licenses();
2140
2141 // optional uint32 realm_permissions = 11;
2142 inline bool has_realm_permissions() const;
2143 inline void clear_realm_permissions();
2144 static const int kRealmPermissionsFieldNumber = 11;
2145 inline ::google::protobuf::uint32 realm_permissions() const;
2146 inline void set_realm_permissions(::google::protobuf::uint32 value);
2147
2148 // optional uint64 last_logout_time_ms = 12 [deprecated = true];
2149 inline bool has_last_logout_time_ms() const PROTOBUF_DEPRECATED;
2150 inline void clear_last_logout_time_ms() PROTOBUF_DEPRECATED;
2151 static const int kLastLogoutTimeMsFieldNumber = 12;
2152 inline ::google::protobuf::uint64 last_logout_time_ms() const PROTOBUF_DEPRECATED;
2153 inline void set_last_logout_time_ms(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED;
2154
2155 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameLevelInfo)
2156 private:
2157 inline void set_has_is_trial();
2158 inline void clear_has_is_trial();
2159 inline void set_has_is_lifetime();
2160 inline void clear_has_is_lifetime();
2161 inline void set_has_is_restricted();
2162 inline void clear_has_is_restricted();
2163 inline void set_has_is_beta();
2164 inline void clear_has_is_beta();
2165 inline void set_has_name();
2166 inline void clear_has_name();
2167 inline void set_has_program();
2168 inline void clear_has_program();
2169 inline void set_has_realm_permissions();
2170 inline void clear_has_realm_permissions();
2171 inline void set_has_last_logout_time_ms();
2172 inline void clear_has_last_logout_time_ms();
2173
2174 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2175
2176 ::google::protobuf::uint32 _has_bits_[1];
2177 mutable int _cached_size_;
2178 bool is_trial_;
2179 bool is_lifetime_;
2180 bool is_restricted_;
2181 bool is_beta_;
2182 ::google::protobuf::uint32 program_;
2183 ::std::string* name_;
2184 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
2185 ::google::protobuf::uint64 last_logout_time_ms_;
2186 ::google::protobuf::uint32 realm_permissions_;
2190
2191 void InitAsDefaultInstance();
2192 static GameLevelInfo* default_instance_;
2193};
2194// -------------------------------------------------------------------
2195
2196class TC_PROTO_API GameTimeInfo : public ::google::protobuf::Message {
2197 public:
2199 virtual ~GameTimeInfo();
2200
2202
2203 inline GameTimeInfo& operator=(const GameTimeInfo& from) {
2204 CopyFrom(from);
2205 return *this;
2206 }
2207
2208 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2209 return _unknown_fields_;
2210 }
2211
2212 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2213 return &_unknown_fields_;
2214 }
2215
2216 static const ::google::protobuf::Descriptor* descriptor();
2218
2219 void Swap(GameTimeInfo* other);
2220
2221 // implements Message ----------------------------------------------
2222
2224 int GetCachedSize() const { return _cached_size_; }
2225 private:
2228 void SetCachedSize(int size) const;
2229 public:
2230 ::google::protobuf::Metadata GetMetadata() const;
2231
2232 // nested types ----------------------------------------------------
2233
2234 // accessors -------------------------------------------------------
2235
2236 // optional bool is_unlimited_play_time = 3;
2237 inline bool has_is_unlimited_play_time() const;
2238 inline void clear_is_unlimited_play_time();
2239 static const int kIsUnlimitedPlayTimeFieldNumber = 3;
2240 inline bool is_unlimited_play_time() const;
2241 inline void set_is_unlimited_play_time(bool value);
2242
2243 // optional uint64 play_time_expires = 5;
2244 inline bool has_play_time_expires() const;
2245 inline void clear_play_time_expires();
2246 static const int kPlayTimeExpiresFieldNumber = 5;
2247 inline ::google::protobuf::uint64 play_time_expires() const;
2248 inline void set_play_time_expires(::google::protobuf::uint64 value);
2249
2250 // optional bool is_subscription = 6;
2251 inline bool has_is_subscription() const;
2252 inline void clear_is_subscription();
2253 static const int kIsSubscriptionFieldNumber = 6;
2254 inline bool is_subscription() const;
2255 inline void set_is_subscription(bool value);
2256
2257 // optional bool is_recurring_subscription = 7;
2258 inline bool has_is_recurring_subscription() const;
2259 inline void clear_is_recurring_subscription();
2260 static const int kIsRecurringSubscriptionFieldNumber = 7;
2261 inline bool is_recurring_subscription() const;
2262 inline void set_is_recurring_subscription(bool value);
2263
2264 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameTimeInfo)
2265 private:
2266 inline void set_has_is_unlimited_play_time();
2267 inline void clear_has_is_unlimited_play_time();
2268 inline void set_has_play_time_expires();
2269 inline void clear_has_play_time_expires();
2270 inline void set_has_is_subscription();
2271 inline void clear_has_is_subscription();
2272 inline void set_has_is_recurring_subscription();
2273 inline void clear_has_is_recurring_subscription();
2274
2275 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2276
2278 mutable int _cached_size_;
2286
2289};
2290// -------------------------------------------------------------------
2291
2292class TC_PROTO_API GameTimeRemainingInfo : public ::google::protobuf::Message {
2293 public:
2296
2298
2300 CopyFrom(from);
2301 return *this;
2302 }
2303
2304 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2305 return _unknown_fields_;
2306 }
2307
2308 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2309 return &_unknown_fields_;
2310 }
2311
2312 static const ::google::protobuf::Descriptor* descriptor();
2314
2316
2317 // implements Message ----------------------------------------------
2318
2320 int GetCachedSize() const { return _cached_size_; }
2321 private:
2324 void SetCachedSize(int size) const;
2325 public:
2326 ::google::protobuf::Metadata GetMetadata() const;
2327
2328 // nested types ----------------------------------------------------
2329
2330 // accessors -------------------------------------------------------
2331
2332 // optional uint32 minutes_remaining = 1;
2333 inline bool has_minutes_remaining() const;
2334 inline void clear_minutes_remaining();
2335 static const int kMinutesRemainingFieldNumber = 1;
2336 inline ::google::protobuf::uint32 minutes_remaining() const;
2337 inline void set_minutes_remaining(::google::protobuf::uint32 value);
2338
2339 // optional uint32 parental_daily_minutes_remaining = 2;
2340 inline bool has_parental_daily_minutes_remaining() const;
2341 inline void clear_parental_daily_minutes_remaining();
2342 static const int kParentalDailyMinutesRemainingFieldNumber = 2;
2343 inline ::google::protobuf::uint32 parental_daily_minutes_remaining() const;
2344 inline void set_parental_daily_minutes_remaining(::google::protobuf::uint32 value);
2345
2346 // optional uint32 parental_weekly_minutes_remaining = 3;
2347 inline bool has_parental_weekly_minutes_remaining() const;
2348 inline void clear_parental_weekly_minutes_remaining();
2349 static const int kParentalWeeklyMinutesRemainingFieldNumber = 3;
2350 inline ::google::protobuf::uint32 parental_weekly_minutes_remaining() const;
2351 inline void set_parental_weekly_minutes_remaining(::google::protobuf::uint32 value);
2352
2353 // optional uint32 seconds_remaining_until_kick = 4 [deprecated = true];
2354 inline bool has_seconds_remaining_until_kick() const PROTOBUF_DEPRECATED;
2355 inline void clear_seconds_remaining_until_kick() PROTOBUF_DEPRECATED;
2356 static const int kSecondsRemainingUntilKickFieldNumber = 4;
2357 inline ::google::protobuf::uint32 seconds_remaining_until_kick() const PROTOBUF_DEPRECATED;
2358 inline void set_seconds_remaining_until_kick(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
2359
2360 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameTimeRemainingInfo)
2361 private:
2362 inline void set_has_minutes_remaining();
2363 inline void clear_has_minutes_remaining();
2364 inline void set_has_parental_daily_minutes_remaining();
2365 inline void clear_has_parental_daily_minutes_remaining();
2366 inline void set_has_parental_weekly_minutes_remaining();
2367 inline void clear_has_parental_weekly_minutes_remaining();
2368 inline void set_has_seconds_remaining_until_kick();
2369 inline void clear_has_seconds_remaining_until_kick();
2370
2371 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2372
2373 ::google::protobuf::uint32 _has_bits_[1];
2374 mutable int _cached_size_;
2375 ::google::protobuf::uint32 minutes_remaining_;
2376 ::google::protobuf::uint32 parental_daily_minutes_remaining_;
2377 ::google::protobuf::uint32 parental_weekly_minutes_remaining_;
2378 ::google::protobuf::uint32 seconds_remaining_until_kick_;
2382
2383 void InitAsDefaultInstance();
2384 static GameTimeRemainingInfo* default_instance_;
2385};
2386// -------------------------------------------------------------------
2387
2388class TC_PROTO_API GameStatus : public ::google::protobuf::Message {
2389 public:
2391 virtual ~GameStatus();
2392
2394
2395 inline GameStatus& operator=(const GameStatus& from) {
2396 CopyFrom(from);
2397 return *this;
2398 }
2399
2400 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2401 return _unknown_fields_;
2402 }
2403
2404 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2405 return &_unknown_fields_;
2406 }
2407
2408 static const ::google::protobuf::Descriptor* descriptor();
2410
2411 void Swap(GameStatus* other);
2412
2413 // implements Message ----------------------------------------------
2414
2415 GameStatus* New() const;
2416 int GetCachedSize() const { return _cached_size_; }
2417 private:
2420 void SetCachedSize(int size) const;
2421 public:
2422 ::google::protobuf::Metadata GetMetadata() const;
2423
2424 // nested types ----------------------------------------------------
2425
2426 // accessors -------------------------------------------------------
2427
2428 // optional bool is_suspended = 4;
2429 inline bool has_is_suspended() const;
2430 inline void clear_is_suspended();
2431 static const int kIsSuspendedFieldNumber = 4;
2432 inline bool is_suspended() const;
2433 inline void set_is_suspended(bool value);
2434
2435 // optional bool is_banned = 5;
2436 inline bool has_is_banned() const;
2437 inline void clear_is_banned();
2438 static const int kIsBannedFieldNumber = 5;
2439 inline bool is_banned() const;
2440 inline void set_is_banned(bool value);
2441
2442 // optional uint64 suspension_expires = 6;
2443 inline bool has_suspension_expires() const;
2444 inline void clear_suspension_expires();
2445 static const int kSuspensionExpiresFieldNumber = 6;
2446 inline ::google::protobuf::uint64 suspension_expires() const;
2447 inline void set_suspension_expires(::google::protobuf::uint64 value);
2448
2449 // optional fixed32 program = 7;
2450 inline bool has_program() const;
2451 inline void clear_program();
2452 static const int kProgramFieldNumber = 7;
2453 inline ::google::protobuf::uint32 program() const;
2454 inline void set_program(::google::protobuf::uint32 value);
2455
2456 // optional bool is_locked = 8;
2457 inline bool has_is_locked() const;
2458 inline void clear_is_locked();
2459 static const int kIsLockedFieldNumber = 8;
2460 inline bool is_locked() const;
2461 inline void set_is_locked(bool value);
2462
2463 // optional bool is_bam_unlockable = 9;
2464 inline bool has_is_bam_unlockable() const;
2465 inline void clear_is_bam_unlockable();
2466 static const int kIsBamUnlockableFieldNumber = 9;
2467 inline bool is_bam_unlockable() const;
2468 inline void set_is_bam_unlockable(bool value);
2469
2470 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameStatus)
2471 private:
2472 inline void set_has_is_suspended();
2473 inline void clear_has_is_suspended();
2474 inline void set_has_is_banned();
2475 inline void clear_has_is_banned();
2476 inline void set_has_suspension_expires();
2477 inline void clear_has_suspension_expires();
2478 inline void set_has_program();
2479 inline void clear_has_program();
2480 inline void set_has_is_locked();
2481 inline void clear_has_is_locked();
2482 inline void set_has_is_bam_unlockable();
2483 inline void clear_has_is_bam_unlockable();
2484
2485 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2486
2488 mutable int _cached_size_;
2498
2501};
2502// -------------------------------------------------------------------
2503
2504class TC_PROTO_API RAFInfo : public ::google::protobuf::Message {
2505 public:
2507 virtual ~RAFInfo();
2508
2509 RAFInfo(const RAFInfo& from);
2510
2511 inline RAFInfo& operator=(const RAFInfo& from) {
2512 CopyFrom(from);
2513 return *this;
2514 }
2515
2516 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2517 return _unknown_fields_;
2518 }
2519
2520 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2521 return &_unknown_fields_;
2522 }
2523
2524 static const ::google::protobuf::Descriptor* descriptor();
2525 static const RAFInfo& default_instance();
2526
2527 void Swap(RAFInfo* other);
2528
2529 // implements Message ----------------------------------------------
2530
2531 RAFInfo* New() const;
2532 int GetCachedSize() const { return _cached_size_; }
2533 private:
2536 void SetCachedSize(int size) const;
2537 public:
2538 ::google::protobuf::Metadata GetMetadata() const;
2539
2540 // nested types ----------------------------------------------------
2541
2542 // accessors -------------------------------------------------------
2543
2544 // optional bytes raf_info = 1;
2545 inline bool has_raf_info() const;
2546 inline void clear_raf_info();
2547 static const int kRafInfoFieldNumber = 1;
2548 inline const ::std::string& raf_info() const;
2549 inline void set_raf_info(const ::std::string& value);
2550 inline void set_raf_info(const char* value);
2551 inline void set_raf_info(const void* value, size_t size);
2552 inline ::std::string* mutable_raf_info();
2553 inline ::std::string* release_raf_info();
2554 inline void set_allocated_raf_info(::std::string* raf_info);
2555
2556 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RAFInfo)
2557 private:
2558 inline void set_has_raf_info();
2559 inline void clear_has_raf_info();
2560
2561 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2562
2564 mutable int _cached_size_;
2565 ::std::string* raf_info_;
2569
2572};
2573// -------------------------------------------------------------------
2574
2575class TC_PROTO_API GameSessionInfo : public ::google::protobuf::Message {
2576 public:
2579
2581
2583 CopyFrom(from);
2584 return *this;
2585 }
2586
2587 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2588 return _unknown_fields_;
2589 }
2590
2591 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2592 return &_unknown_fields_;
2593 }
2594
2595 static const ::google::protobuf::Descriptor* descriptor();
2597
2598 void Swap(GameSessionInfo* other);
2599
2600 // implements Message ----------------------------------------------
2601
2603 int GetCachedSize() const { return _cached_size_; }
2604 private:
2607 void SetCachedSize(int size) const;
2608 public:
2609 ::google::protobuf::Metadata GetMetadata() const;
2610
2611 // nested types ----------------------------------------------------
2612
2613 // accessors -------------------------------------------------------
2614
2615 // optional uint32 start_time = 3 [deprecated = true];
2616 inline bool has_start_time() const PROTOBUF_DEPRECATED;
2617 inline void clear_start_time() PROTOBUF_DEPRECATED;
2618 static const int kStartTimeFieldNumber = 3;
2619 inline ::google::protobuf::uint32 start_time() const PROTOBUF_DEPRECATED;
2620 inline void set_start_time(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
2621
2622 // optional .bgs.protocol.account.v1.GameSessionLocation location = 4;
2623 inline bool has_location() const;
2624 inline void clear_location();
2625 static const int kLocationFieldNumber = 4;
2626 inline const ::bgs::protocol::account::v1::GameSessionLocation& location() const;
2627 inline ::bgs::protocol::account::v1::GameSessionLocation* mutable_location();
2628 inline ::bgs::protocol::account::v1::GameSessionLocation* release_location();
2629 inline void set_allocated_location(::bgs::protocol::account::v1::GameSessionLocation* location);
2630
2631 // optional bool has_benefactor = 5;
2632 inline bool has_has_benefactor() const;
2633 inline void clear_has_benefactor();
2634 static const int kHasBenefactorFieldNumber = 5;
2635 inline bool has_benefactor() const;
2636 inline void set_has_benefactor(bool value);
2637
2638 // optional bool is_using_igr = 6;
2639 inline bool has_is_using_igr() const;
2640 inline void clear_is_using_igr();
2641 static const int kIsUsingIgrFieldNumber = 6;
2642 inline bool is_using_igr() const;
2643 inline void set_is_using_igr(bool value);
2644
2645 // optional bool parental_controls_active = 7;
2646 inline bool has_parental_controls_active() const;
2647 inline void clear_parental_controls_active();
2648 static const int kParentalControlsActiveFieldNumber = 7;
2649 inline bool parental_controls_active() const;
2650 inline void set_parental_controls_active(bool value);
2651
2652 // optional uint64 start_time_sec = 8;
2653 inline bool has_start_time_sec() const;
2654 inline void clear_start_time_sec();
2655 static const int kStartTimeSecFieldNumber = 8;
2656 inline ::google::protobuf::uint64 start_time_sec() const;
2657 inline void set_start_time_sec(::google::protobuf::uint64 value);
2658
2659 // optional .bgs.protocol.account.v1.IgrId igr_id = 9;
2660 inline bool has_igr_id() const;
2661 inline void clear_igr_id();
2662 static const int kIgrIdFieldNumber = 9;
2663 inline const ::bgs::protocol::account::v1::IgrId& igr_id() const;
2664 inline ::bgs::protocol::account::v1::IgrId* mutable_igr_id();
2665 inline ::bgs::protocol::account::v1::IgrId* release_igr_id();
2666 inline void set_allocated_igr_id(::bgs::protocol::account::v1::IgrId* igr_id);
2667
2668 // optional fixed32 platform_id = 10;
2669 inline bool has_platform_id() const;
2670 inline void clear_platform_id();
2671 static const int kPlatformIdFieldNumber = 10;
2672 inline ::google::protobuf::uint32 platform_id() const;
2673 inline void set_platform_id(::google::protobuf::uint32 value);
2674
2675 // optional bool igr_paid = 11;
2676 inline bool has_igr_paid() const;
2677 inline void clear_igr_paid();
2678 static const int kIgrPaidFieldNumber = 11;
2679 inline bool igr_paid() const;
2680 inline void set_igr_paid(bool value);
2681
2682 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionInfo)
2683 private:
2684 inline void set_has_start_time();
2685 inline void clear_has_start_time();
2686 inline void set_has_location();
2687 inline void clear_has_location();
2688 inline void set_has_has_benefactor();
2689 inline void clear_has_has_benefactor();
2690 inline void set_has_is_using_igr();
2691 inline void clear_has_is_using_igr();
2692 inline void set_has_parental_controls_active();
2693 inline void clear_has_parental_controls_active();
2694 inline void set_has_start_time_sec();
2695 inline void clear_has_start_time_sec();
2696 inline void set_has_igr_id();
2697 inline void clear_has_igr_id();
2698 inline void set_has_platform_id();
2699 inline void clear_has_platform_id();
2700 inline void set_has_igr_paid();
2701 inline void clear_has_igr_paid();
2702
2703 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2704
2705 ::google::protobuf::uint32 _has_bits_[1];
2706 mutable int _cached_size_;
2707 ::bgs::protocol::account::v1::GameSessionLocation* location_;
2708 ::google::protobuf::uint32 start_time_;
2709 bool has_benefactor_;
2710 bool is_using_igr_;
2711 bool parental_controls_active_;
2712 bool igr_paid_;
2713 ::google::protobuf::uint64 start_time_sec_;
2714 ::bgs::protocol::account::v1::IgrId* igr_id_;
2715 ::google::protobuf::uint32 platform_id_;
2719
2720 void InitAsDefaultInstance();
2721 static GameSessionInfo* default_instance_;
2722};
2723// -------------------------------------------------------------------
2724
2725class TC_PROTO_API GameSessionUpdateInfo : public ::google::protobuf::Message {
2726 public:
2729
2731
2733 CopyFrom(from);
2734 return *this;
2735 }
2736
2737 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2738 return _unknown_fields_;
2739 }
2740
2741 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2742 return &_unknown_fields_;
2743 }
2744
2745 static const ::google::protobuf::Descriptor* descriptor();
2747
2749
2750 // implements Message ----------------------------------------------
2751
2753 int GetCachedSize() const { return _cached_size_; }
2754 private:
2757 void SetCachedSize(int size) const;
2758 public:
2759 ::google::protobuf::Metadata GetMetadata() const;
2760
2761 // nested types ----------------------------------------------------
2762
2763 // accessors -------------------------------------------------------
2764
2765 // optional .bgs.protocol.account.v1.CAIS cais = 8;
2766 inline bool has_cais() const;
2767 inline void clear_cais();
2768 static const int kCaisFieldNumber = 8;
2769 inline const ::bgs::protocol::account::v1::CAIS& cais() const;
2770 inline ::bgs::protocol::account::v1::CAIS* mutable_cais();
2771 inline ::bgs::protocol::account::v1::CAIS* release_cais();
2772 inline void set_allocated_cais(::bgs::protocol::account::v1::CAIS* cais);
2773
2774 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionUpdateInfo)
2775 private:
2776 inline void set_has_cais();
2777 inline void clear_has_cais();
2778
2779 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2780
2782 mutable int _cached_size_;
2787
2790};
2791// -------------------------------------------------------------------
2792
2793class TC_PROTO_API GameSessionLocation : public ::google::protobuf::Message {
2794 public:
2797
2799
2801 CopyFrom(from);
2802 return *this;
2803 }
2804
2805 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2806 return _unknown_fields_;
2807 }
2808
2809 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2810 return &_unknown_fields_;
2811 }
2812
2813 static const ::google::protobuf::Descriptor* descriptor();
2815
2817
2818 // implements Message ----------------------------------------------
2819
2821 int GetCachedSize() const { return _cached_size_; }
2822 private:
2825 void SetCachedSize(int size) const;
2826 public:
2827 ::google::protobuf::Metadata GetMetadata() const;
2828
2829 // nested types ----------------------------------------------------
2830
2831 // accessors -------------------------------------------------------
2832
2833 // optional string ip_address = 1;
2834 inline bool has_ip_address() const;
2835 inline void clear_ip_address();
2836 static const int kIpAddressFieldNumber = 1;
2837 inline const ::std::string& ip_address() const;
2838 inline void set_ip_address(const ::std::string& value);
2839 inline void set_ip_address(const char* value);
2840 inline void set_ip_address(const char* value, size_t size);
2841 inline ::std::string* mutable_ip_address();
2842 inline ::std::string* release_ip_address();
2843 inline void set_allocated_ip_address(::std::string* ip_address);
2844
2845 // optional uint32 country = 2;
2846 inline bool has_country() const;
2847 inline void clear_country();
2848 static const int kCountryFieldNumber = 2;
2849 inline ::google::protobuf::uint32 country() const;
2850 inline void set_country(::google::protobuf::uint32 value);
2851
2852 // optional string city = 3;
2853 inline bool has_city() const;
2854 inline void clear_city();
2855 static const int kCityFieldNumber = 3;
2856 inline const ::std::string& city() const;
2857 inline void set_city(const ::std::string& value);
2858 inline void set_city(const char* value);
2859 inline void set_city(const char* value, size_t size);
2860 inline ::std::string* mutable_city();
2861 inline ::std::string* release_city();
2862 inline void set_allocated_city(::std::string* city);
2863
2864 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionLocation)
2865 private:
2866 inline void set_has_ip_address();
2867 inline void clear_has_ip_address();
2868 inline void set_has_country();
2869 inline void clear_has_country();
2870 inline void set_has_city();
2871 inline void clear_has_city();
2872
2873 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2874
2876 mutable int _cached_size_;
2877 ::std::string* ip_address_;
2878 ::std::string* city_;
2883
2886};
2887// -------------------------------------------------------------------
2888
2889class TC_PROTO_API CAIS : public ::google::protobuf::Message {
2890 public:
2892 virtual ~CAIS();
2893
2894 CAIS(const CAIS& from);
2895
2896 inline CAIS& operator=(const CAIS& from) {
2897 CopyFrom(from);
2898 return *this;
2899 }
2900
2901 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2902 return _unknown_fields_;
2903 }
2904
2905 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2906 return &_unknown_fields_;
2907 }
2908
2909 static const ::google::protobuf::Descriptor* descriptor();
2910 static const CAIS& default_instance();
2911
2912 void Swap(CAIS* other);
2913
2914 // implements Message ----------------------------------------------
2915
2916 CAIS* New() const;
2917 int GetCachedSize() const { return _cached_size_; }
2918 private:
2921 void SetCachedSize(int size) const;
2922 public:
2923 ::google::protobuf::Metadata GetMetadata() const;
2924
2925 // nested types ----------------------------------------------------
2926
2927 // accessors -------------------------------------------------------
2928
2929 // optional uint32 played_minutes = 1;
2930 inline bool has_played_minutes() const;
2931 inline void clear_played_minutes();
2932 static const int kPlayedMinutesFieldNumber = 1;
2933 inline ::google::protobuf::uint32 played_minutes() const;
2934 inline void set_played_minutes(::google::protobuf::uint32 value);
2935
2936 // optional uint32 rested_minutes = 2;
2937 inline bool has_rested_minutes() const;
2938 inline void clear_rested_minutes();
2939 static const int kRestedMinutesFieldNumber = 2;
2940 inline ::google::protobuf::uint32 rested_minutes() const;
2941 inline void set_rested_minutes(::google::protobuf::uint32 value);
2942
2943 // optional uint64 last_heard_time = 3;
2944 inline bool has_last_heard_time() const;
2945 inline void clear_last_heard_time();
2946 static const int kLastHeardTimeFieldNumber = 3;
2947 inline ::google::protobuf::uint64 last_heard_time() const;
2948 inline void set_last_heard_time(::google::protobuf::uint64 value);
2949
2950 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CAIS)
2951 private:
2952 inline void set_has_played_minutes();
2953 inline void clear_has_played_minutes();
2954 inline void set_has_rested_minutes();
2955 inline void clear_has_rested_minutes();
2956 inline void set_has_last_heard_time();
2957 inline void clear_has_last_heard_time();
2958
2959 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2960
2962 mutable int _cached_size_;
2969
2972};
2973// -------------------------------------------------------------------
2974
2975class TC_PROTO_API GameAccountList : public ::google::protobuf::Message {
2976 public:
2979
2981
2983 CopyFrom(from);
2984 return *this;
2985 }
2986
2987 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2988 return _unknown_fields_;
2989 }
2990
2991 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2992 return &_unknown_fields_;
2993 }
2994
2995 static const ::google::protobuf::Descriptor* descriptor();
2997
2998 void Swap(GameAccountList* other);
2999
3000 // implements Message ----------------------------------------------
3001
3003 int GetCachedSize() const { return _cached_size_; }
3004 private:
3007 void SetCachedSize(int size) const;
3008 public:
3009 ::google::protobuf::Metadata GetMetadata() const;
3010
3011 // nested types ----------------------------------------------------
3012
3013 // accessors -------------------------------------------------------
3014
3015 // optional uint32 region = 3;
3016 inline bool has_region() const;
3017 inline void clear_region();
3018 static const int kRegionFieldNumber = 3;
3019 inline ::google::protobuf::uint32 region() const;
3020 inline void set_region(::google::protobuf::uint32 value);
3021
3022 // repeated .bgs.protocol.account.v1.GameAccountHandle handle = 4;
3023 inline int handle_size() const;
3024 inline void clear_handle();
3025 static const int kHandleFieldNumber = 4;
3026 inline const ::bgs::protocol::account::v1::GameAccountHandle& handle(int index) const;
3027 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_handle(int index);
3028 inline ::bgs::protocol::account::v1::GameAccountHandle* add_handle();
3029 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
3030 handle() const;
3031 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
3032 mutable_handle();
3033
3034 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountList)
3035 private:
3036 inline void set_has_region();
3037 inline void clear_has_region();
3038
3039 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3040
3042 mutable int _cached_size_;
3043 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle > handle_;
3048
3051};
3052// -------------------------------------------------------------------
3053
3054class TC_PROTO_API SecurityStatus : public ::google::protobuf::Message {
3055 public:
3058
3060
3062 CopyFrom(from);
3063 return *this;
3064 }
3065
3066 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3067 return _unknown_fields_;
3068 }
3069
3070 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3071 return &_unknown_fields_;
3072 }
3073
3074 static const ::google::protobuf::Descriptor* descriptor();
3076
3077 void Swap(SecurityStatus* other);
3078
3079 // implements Message ----------------------------------------------
3080
3082 int GetCachedSize() const { return _cached_size_; }
3083 private:
3086 void SetCachedSize(int size) const;
3087 public:
3088 ::google::protobuf::Metadata GetMetadata() const;
3089
3090 // nested types ----------------------------------------------------
3091
3092 // accessors -------------------------------------------------------
3093
3094 // optional bool sms_protect_enabled = 1;
3095 inline bool has_sms_protect_enabled() const;
3096 inline void clear_sms_protect_enabled();
3097 static const int kSmsProtectEnabledFieldNumber = 1;
3098 inline bool sms_protect_enabled() const;
3099 inline void set_sms_protect_enabled(bool value);
3100
3101 // optional bool email_verified = 2;
3102 inline bool has_email_verified() const;
3103 inline void clear_email_verified();
3104 static const int kEmailVerifiedFieldNumber = 2;
3105 inline bool email_verified() const;
3106 inline void set_email_verified(bool value);
3107
3108 // optional bool authenticator_enabled = 3;
3109 inline bool has_authenticator_enabled() const;
3110 inline void clear_authenticator_enabled();
3111 static const int kAuthenticatorEnabledFieldNumber = 3;
3112 inline bool authenticator_enabled() const;
3113 inline void set_authenticator_enabled(bool value);
3114
3115 // optional bool sqa_enabled = 4;
3116 inline bool has_sqa_enabled() const;
3117 inline void clear_sqa_enabled();
3118 static const int kSqaEnabledFieldNumber = 4;
3119 inline bool sqa_enabled() const;
3120 inline void set_sqa_enabled(bool value);
3121
3122 // optional bool authenticator_required = 5;
3123 inline bool has_authenticator_required() const;
3124 inline void clear_authenticator_required();
3125 static const int kAuthenticatorRequiredFieldNumber = 5;
3126 inline bool authenticator_required() const;
3127 inline void set_authenticator_required(bool value);
3128
3129 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SecurityStatus)
3130 private:
3131 inline void set_has_sms_protect_enabled();
3132 inline void clear_has_sms_protect_enabled();
3133 inline void set_has_email_verified();
3134 inline void clear_has_email_verified();
3135 inline void set_has_authenticator_enabled();
3136 inline void clear_has_authenticator_enabled();
3137 inline void set_has_sqa_enabled();
3138 inline void clear_has_sqa_enabled();
3139 inline void set_has_authenticator_required();
3140 inline void clear_has_authenticator_required();
3141
3142 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3143
3145 mutable int _cached_size_;
3154
3157};
3158// -------------------------------------------------------------------
3159
3160class TC_PROTO_API AccountState : public ::google::protobuf::Message {
3161 public:
3163 virtual ~AccountState();
3164
3166
3167 inline AccountState& operator=(const AccountState& from) {
3168 CopyFrom(from);
3169 return *this;
3170 }
3171
3172 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3173 return _unknown_fields_;
3174 }
3175
3176 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3177 return &_unknown_fields_;
3178 }
3179
3180 static const ::google::protobuf::Descriptor* descriptor();
3182
3183 void Swap(AccountState* other);
3184
3185 // implements Message ----------------------------------------------
3186
3188 int GetCachedSize() const { return _cached_size_; }
3189 private:
3192 void SetCachedSize(int size) const;
3193 public:
3194 ::google::protobuf::Metadata GetMetadata() const;
3195
3196 // nested types ----------------------------------------------------
3197
3198 // accessors -------------------------------------------------------
3199
3200 // optional .bgs.protocol.account.v1.AccountLevelInfo account_level_info = 1;
3201 inline bool has_account_level_info() const;
3202 inline void clear_account_level_info();
3203 static const int kAccountLevelInfoFieldNumber = 1;
3204 inline const ::bgs::protocol::account::v1::AccountLevelInfo& account_level_info() const;
3205 inline ::bgs::protocol::account::v1::AccountLevelInfo* mutable_account_level_info();
3206 inline ::bgs::protocol::account::v1::AccountLevelInfo* release_account_level_info();
3207 inline void set_allocated_account_level_info(::bgs::protocol::account::v1::AccountLevelInfo* account_level_info);
3208
3209 // optional .bgs.protocol.account.v1.PrivacyInfo privacy_info = 2;
3210 inline bool has_privacy_info() const;
3211 inline void clear_privacy_info();
3212 static const int kPrivacyInfoFieldNumber = 2;
3213 inline const ::bgs::protocol::account::v1::PrivacyInfo& privacy_info() const;
3214 inline ::bgs::protocol::account::v1::PrivacyInfo* mutable_privacy_info();
3215 inline ::bgs::protocol::account::v1::PrivacyInfo* release_privacy_info();
3216 inline void set_allocated_privacy_info(::bgs::protocol::account::v1::PrivacyInfo* privacy_info);
3217
3218 // optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 3;
3219 inline bool has_parental_control_info() const;
3220 inline void clear_parental_control_info();
3221 static const int kParentalControlInfoFieldNumber = 3;
3222 inline const ::bgs::protocol::account::v1::ParentalControlInfo& parental_control_info() const;
3223 inline ::bgs::protocol::account::v1::ParentalControlInfo* mutable_parental_control_info();
3224 inline ::bgs::protocol::account::v1::ParentalControlInfo* release_parental_control_info();
3225 inline void set_allocated_parental_control_info(::bgs::protocol::account::v1::ParentalControlInfo* parental_control_info);
3226
3227 // repeated .bgs.protocol.account.v1.GameLevelInfo game_level_info = 5;
3228 inline int game_level_info_size() const;
3229 inline void clear_game_level_info();
3230 static const int kGameLevelInfoFieldNumber = 5;
3231 inline const ::bgs::protocol::account::v1::GameLevelInfo& game_level_info(int index) const;
3232 inline ::bgs::protocol::account::v1::GameLevelInfo* mutable_game_level_info(int index);
3233 inline ::bgs::protocol::account::v1::GameLevelInfo* add_game_level_info();
3234 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >&
3235 game_level_info() const;
3236 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >*
3237 mutable_game_level_info();
3238
3239 // repeated .bgs.protocol.account.v1.GameStatus game_status = 6;
3240 inline int game_status_size() const;
3241 inline void clear_game_status();
3242 static const int kGameStatusFieldNumber = 6;
3243 inline const ::bgs::protocol::account::v1::GameStatus& game_status(int index) const;
3244 inline ::bgs::protocol::account::v1::GameStatus* mutable_game_status(int index);
3245 inline ::bgs::protocol::account::v1::GameStatus* add_game_status();
3246 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >&
3247 game_status() const;
3248 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >*
3249 mutable_game_status();
3250
3251 // repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 7;
3252 inline int game_accounts_size() const;
3253 inline void clear_game_accounts();
3254 static const int kGameAccountsFieldNumber = 7;
3255 inline const ::bgs::protocol::account::v1::GameAccountList& game_accounts(int index) const;
3256 inline ::bgs::protocol::account::v1::GameAccountList* mutable_game_accounts(int index);
3257 inline ::bgs::protocol::account::v1::GameAccountList* add_game_accounts();
3258 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
3259 game_accounts() const;
3260 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
3261 mutable_game_accounts();
3262
3263 // optional .bgs.protocol.account.v1.SecurityStatus security_status = 8;
3264 inline bool has_security_status() const;
3265 inline void clear_security_status();
3266 static const int kSecurityStatusFieldNumber = 8;
3267 inline const ::bgs::protocol::account::v1::SecurityStatus& security_status() const;
3268 inline ::bgs::protocol::account::v1::SecurityStatus* mutable_security_status();
3269 inline ::bgs::protocol::account::v1::SecurityStatus* release_security_status();
3270 inline void set_allocated_security_status(::bgs::protocol::account::v1::SecurityStatus* security_status);
3271
3272 // optional .bgs.protocol.account.v1.PlayScheduleRestriction government_curfew = 9;
3273 inline bool has_government_curfew() const;
3274 inline void clear_government_curfew();
3275 static const int kGovernmentCurfewFieldNumber = 9;
3276 inline const ::bgs::protocol::account::v1::PlayScheduleRestriction& government_curfew() const;
3277 inline ::bgs::protocol::account::v1::PlayScheduleRestriction* mutable_government_curfew();
3278 inline ::bgs::protocol::account::v1::PlayScheduleRestriction* release_government_curfew();
3279 inline void set_allocated_government_curfew(::bgs::protocol::account::v1::PlayScheduleRestriction* government_curfew);
3280
3281 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountState)
3282 private:
3283 inline void set_has_account_level_info();
3284 inline void clear_has_account_level_info();
3285 inline void set_has_privacy_info();
3286 inline void clear_has_privacy_info();
3287 inline void set_has_parental_control_info();
3288 inline void clear_has_parental_control_info();
3289 inline void set_has_security_status();
3290 inline void clear_has_security_status();
3291 inline void set_has_government_curfew();
3292 inline void clear_has_government_curfew();
3293
3294 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3295
3297 mutable int _cached_size_;
3301 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > game_level_info_;
3302 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > game_status_;
3303 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_;
3309
3312};
3313// -------------------------------------------------------------------
3314
3315class TC_PROTO_API AccountStateTagged : public ::google::protobuf::Message {
3316 public:
3319
3321
3323 CopyFrom(from);
3324 return *this;
3325 }
3326
3327 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3328 return _unknown_fields_;
3329 }
3330
3331 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3332 return &_unknown_fields_;
3333 }
3334
3335 static const ::google::protobuf::Descriptor* descriptor();
3337
3339
3340 // implements Message ----------------------------------------------
3341
3343 int GetCachedSize() const { return _cached_size_; }
3344 private:
3347 void SetCachedSize(int size) const;
3348 public:
3349 ::google::protobuf::Metadata GetMetadata() const;
3350
3351 // nested types ----------------------------------------------------
3352
3353 // accessors -------------------------------------------------------
3354
3355 // optional .bgs.protocol.account.v1.AccountState account_state = 1;
3356 inline bool has_account_state() const;
3357 inline void clear_account_state();
3358 static const int kAccountStateFieldNumber = 1;
3359 inline const ::bgs::protocol::account::v1::AccountState& account_state() const;
3360 inline ::bgs::protocol::account::v1::AccountState* mutable_account_state();
3361 inline ::bgs::protocol::account::v1::AccountState* release_account_state();
3362 inline void set_allocated_account_state(::bgs::protocol::account::v1::AccountState* account_state);
3363
3364 // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 2;
3365 inline bool has_account_tags() const;
3366 inline void clear_account_tags();
3367 static const int kAccountTagsFieldNumber = 2;
3368 inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
3369 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
3370 inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
3371 inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
3372
3373 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountStateTagged)
3374 private:
3375 inline void set_has_account_state();
3376 inline void clear_has_account_state();
3377 inline void set_has_account_tags();
3378 inline void clear_has_account_tags();
3379
3380 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3381
3383 mutable int _cached_size_;
3389
3392};
3393// -------------------------------------------------------------------
3394
3395class TC_PROTO_API GameAccountState : public ::google::protobuf::Message {
3396 public:
3399
3401
3403 CopyFrom(from);
3404 return *this;
3405 }
3406
3407 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3408 return _unknown_fields_;
3409 }
3410
3411 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3412 return &_unknown_fields_;
3413 }
3414
3415 static const ::google::protobuf::Descriptor* descriptor();
3417
3419
3420 // implements Message ----------------------------------------------
3421
3423 int GetCachedSize() const { return _cached_size_; }
3424 private:
3427 void SetCachedSize(int size) const;
3428 public:
3429 ::google::protobuf::Metadata GetMetadata() const;
3430
3431 // nested types ----------------------------------------------------
3432
3433 // accessors -------------------------------------------------------
3434
3435 // optional .bgs.protocol.account.v1.GameLevelInfo game_level_info = 1;
3436 inline bool has_game_level_info() const;
3437 inline void clear_game_level_info();
3438 static const int kGameLevelInfoFieldNumber = 1;
3439 inline const ::bgs::protocol::account::v1::GameLevelInfo& game_level_info() const;
3440 inline ::bgs::protocol::account::v1::GameLevelInfo* mutable_game_level_info();
3441 inline ::bgs::protocol::account::v1::GameLevelInfo* release_game_level_info();
3442 inline void set_allocated_game_level_info(::bgs::protocol::account::v1::GameLevelInfo* game_level_info);
3443
3444 // optional .bgs.protocol.account.v1.GameTimeInfo game_time_info = 2;
3445 inline bool has_game_time_info() const;
3446 inline void clear_game_time_info();
3447 static const int kGameTimeInfoFieldNumber = 2;
3448 inline const ::bgs::protocol::account::v1::GameTimeInfo& game_time_info() const;
3449 inline ::bgs::protocol::account::v1::GameTimeInfo* mutable_game_time_info();
3450 inline ::bgs::protocol::account::v1::GameTimeInfo* release_game_time_info();
3451 inline void set_allocated_game_time_info(::bgs::protocol::account::v1::GameTimeInfo* game_time_info);
3452
3453 // optional .bgs.protocol.account.v1.GameStatus game_status = 3;
3454 inline bool has_game_status() const;
3455 inline void clear_game_status();
3456 static const int kGameStatusFieldNumber = 3;
3457 inline const ::bgs::protocol::account::v1::GameStatus& game_status() const;
3458 inline ::bgs::protocol::account::v1::GameStatus* mutable_game_status();
3459 inline ::bgs::protocol::account::v1::GameStatus* release_game_status();
3460 inline void set_allocated_game_status(::bgs::protocol::account::v1::GameStatus* game_status);
3461
3462 // optional .bgs.protocol.account.v1.RAFInfo raf_info = 4;
3463 inline bool has_raf_info() const;
3464 inline void clear_raf_info();
3465 static const int kRafInfoFieldNumber = 4;
3466 inline const ::bgs::protocol::account::v1::RAFInfo& raf_info() const;
3467 inline ::bgs::protocol::account::v1::RAFInfo* mutable_raf_info();
3468 inline ::bgs::protocol::account::v1::RAFInfo* release_raf_info();
3469 inline void set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo* raf_info);
3470
3471 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountState)
3472 private:
3473 inline void set_has_game_level_info();
3474 inline void clear_has_game_level_info();
3475 inline void set_has_game_time_info();
3476 inline void clear_has_game_time_info();
3477 inline void set_has_game_status();
3478 inline void clear_has_game_status();
3479 inline void set_has_raf_info();
3480 inline void clear_has_raf_info();
3481
3482 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3483
3485 mutable int _cached_size_;
3493
3496};
3497// -------------------------------------------------------------------
3498
3499class TC_PROTO_API GameAccountStateTagged : public ::google::protobuf::Message {
3500 public:
3503
3505
3507 CopyFrom(from);
3508 return *this;
3509 }
3510
3511 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3512 return _unknown_fields_;
3513 }
3514
3515 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3516 return &_unknown_fields_;
3517 }
3518
3519 static const ::google::protobuf::Descriptor* descriptor();
3521
3523
3524 // implements Message ----------------------------------------------
3525
3527 int GetCachedSize() const { return _cached_size_; }
3528 private:
3531 void SetCachedSize(int size) const;
3532 public:
3533 ::google::protobuf::Metadata GetMetadata() const;
3534
3535 // nested types ----------------------------------------------------
3536
3537 // accessors -------------------------------------------------------
3538
3539 // optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
3540 inline bool has_game_account_state() const;
3541 inline void clear_game_account_state();
3542 static const int kGameAccountStateFieldNumber = 1;
3543 inline const ::bgs::protocol::account::v1::GameAccountState& game_account_state() const;
3544 inline ::bgs::protocol::account::v1::GameAccountState* mutable_game_account_state();
3545 inline ::bgs::protocol::account::v1::GameAccountState* release_game_account_state();
3546 inline void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState* game_account_state);
3547
3548 // optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 2;
3549 inline bool has_game_account_tags() const;
3550 inline void clear_game_account_tags();
3551 static const int kGameAccountTagsFieldNumber = 2;
3552 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& game_account_tags() const;
3553 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_game_account_tags();
3554 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_game_account_tags();
3555 inline void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags);
3556
3557 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountStateTagged)
3558 private:
3559 inline void set_has_game_account_state();
3560 inline void clear_has_game_account_state();
3561 inline void set_has_game_account_tags();
3562 inline void clear_has_game_account_tags();
3563
3564 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3565
3567 mutable int _cached_size_;
3573
3576};
3577// -------------------------------------------------------------------
3578
3579class TC_PROTO_API AuthorizedData : public ::google::protobuf::Message {
3580 public:
3583
3585
3587 CopyFrom(from);
3588 return *this;
3589 }
3590
3591 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3592 return _unknown_fields_;
3593 }
3594
3595 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3596 return &_unknown_fields_;
3597 }
3598
3599 static const ::google::protobuf::Descriptor* descriptor();
3601
3602 void Swap(AuthorizedData* other);
3603
3604 // implements Message ----------------------------------------------
3605
3607 int GetCachedSize() const { return _cached_size_; }
3608 private:
3611 void SetCachedSize(int size) const;
3612 public:
3613 ::google::protobuf::Metadata GetMetadata() const;
3614
3615 // nested types ----------------------------------------------------
3616
3617 // accessors -------------------------------------------------------
3618
3619 // optional string data = 1;
3620 inline bool has_data() const;
3621 inline void clear_data();
3622 static const int kDataFieldNumber = 1;
3623 inline const ::std::string& data() const;
3624 inline void set_data(const ::std::string& value);
3625 inline void set_data(const char* value);
3626 inline void set_data(const char* value, size_t size);
3627 inline ::std::string* mutable_data();
3628 inline ::std::string* release_data();
3629 inline void set_allocated_data(::std::string* data);
3630
3631 // repeated uint32 license = 2;
3632 inline int license_size() const;
3633 inline void clear_license();
3634 static const int kLicenseFieldNumber = 2;
3635 inline ::google::protobuf::uint32 license(int index) const;
3636 inline void set_license(int index, ::google::protobuf::uint32 value);
3637 inline void add_license(::google::protobuf::uint32 value);
3638 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3639 license() const;
3640 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3641 mutable_license();
3642
3643 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AuthorizedData)
3644 private:
3645 inline void set_has_data();
3646 inline void clear_has_data();
3647
3648 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3649
3651 mutable int _cached_size_;
3652 ::std::string* data_;
3653 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > license_;
3657
3660};
3661// -------------------------------------------------------------------
3662
3663class TC_PROTO_API IgrId : public ::google::protobuf::Message {
3664 public:
3666 virtual ~IgrId();
3667
3668 IgrId(const IgrId& from);
3669
3670 inline IgrId& operator=(const IgrId& from) {
3671 CopyFrom(from);
3672 return *this;
3673 }
3674
3675 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3676 return _unknown_fields_;
3677 }
3678
3679 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3680 return &_unknown_fields_;
3681 }
3682
3683 static const ::google::protobuf::Descriptor* descriptor();
3684 static const IgrId& default_instance();
3685
3687 kGameAccount = 1,
3688 kExternalId = 2,
3689 kUuid = 3,
3690 TYPE_NOT_SET = 0,
3691 };
3692
3693 void Swap(IgrId* other);
3694
3695 // implements Message ----------------------------------------------
3696
3697 IgrId* New() const;
3698 int GetCachedSize() const { return _cached_size_; }
3699 private:
3702 void SetCachedSize(int size) const;
3703 public:
3704 ::google::protobuf::Metadata GetMetadata() const;
3705
3706 // nested types ----------------------------------------------------
3707
3708 // accessors -------------------------------------------------------
3709
3710 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
3711 inline bool has_game_account() const PROTOBUF_DEPRECATED;
3712 inline void clear_game_account() PROTOBUF_DEPRECATED;
3713 static const int kGameAccountFieldNumber = 1;
3714 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const PROTOBUF_DEPRECATED;
3715 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account() PROTOBUF_DEPRECATED;
3716 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account() PROTOBUF_DEPRECATED;
3717 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) PROTOBUF_DEPRECATED;
3718
3719 // optional fixed32 external_id = 2;
3720 inline bool has_external_id() const;
3721 inline void clear_external_id();
3722 static const int kExternalIdFieldNumber = 2;
3723 inline ::google::protobuf::uint32 external_id() const;
3724 inline void set_external_id(::google::protobuf::uint32 value);
3725
3726 // optional string uuid = 3;
3727 inline bool has_uuid() const;
3728 inline void clear_uuid();
3729 static const int kUuidFieldNumber = 3;
3730 inline const ::std::string& uuid() const;
3731 inline void set_uuid(const ::std::string& value);
3732 inline void set_uuid(const char* value);
3733 inline void set_uuid(const char* value, size_t size);
3734 inline ::std::string* mutable_uuid();
3735 inline ::std::string* release_uuid();
3736 inline void set_allocated_uuid(::std::string* uuid);
3737
3738 inline TypeCase type_case() const;
3739 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.IgrId)
3740 private:
3741 inline void set_has_game_account();
3742 inline void set_has_external_id();
3743 inline void set_has_uuid();
3744
3745 inline bool has_type();
3746 void clear_type();
3747 inline void clear_has_type();
3748
3749 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3750
3751 ::google::protobuf::uint32 _has_bits_[1];
3752 mutable int _cached_size_;
3756 ::std::string* uuid_;
3757 } type_;
3759
3763
3766};
3767// -------------------------------------------------------------------
3768
3769class TC_PROTO_API IgrAddress : public ::google::protobuf::Message {
3770 public:
3772 virtual ~IgrAddress();
3773
3775
3776 inline IgrAddress& operator=(const IgrAddress& from) {
3777 CopyFrom(from);
3778 return *this;
3779 }
3780
3781 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3782 return _unknown_fields_;
3783 }
3784
3785 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3786 return &_unknown_fields_;
3787 }
3788
3789 static const ::google::protobuf::Descriptor* descriptor();
3791
3792 void Swap(IgrAddress* other);
3793
3794 // implements Message ----------------------------------------------
3795
3796 IgrAddress* New() const;
3797 int GetCachedSize() const { return _cached_size_; }
3798 private:
3801 void SetCachedSize(int size) const;
3802 public:
3803 ::google::protobuf::Metadata GetMetadata() const;
3804
3805 // nested types ----------------------------------------------------
3806
3807 // accessors -------------------------------------------------------
3808
3809 // optional string client_address = 1;
3810 inline bool has_client_address() const;
3811 inline void clear_client_address();
3812 static const int kClientAddressFieldNumber = 1;
3813 inline const ::std::string& client_address() const;
3814 inline void set_client_address(const ::std::string& value);
3815 inline void set_client_address(const char* value);
3816 inline void set_client_address(const char* value, size_t size);
3817 inline ::std::string* mutable_client_address();
3818 inline ::std::string* release_client_address();
3819 inline void set_allocated_client_address(::std::string* client_address);
3820
3821 // optional uint32 region = 2;
3822 inline bool has_region() const;
3823 inline void clear_region();
3824 static const int kRegionFieldNumber = 2;
3825 inline ::google::protobuf::uint32 region() const;
3826 inline void set_region(::google::protobuf::uint32 value);
3827
3828 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.IgrAddress)
3829 private:
3830 inline void set_has_client_address();
3831 inline void clear_has_client_address();
3832 inline void set_has_region();
3833 inline void clear_has_region();
3834
3835 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3836
3838 mutable int _cached_size_;
3839 ::std::string* client_address_;
3844
3847};
3848// -------------------------------------------------------------------
3849
3850class TC_PROTO_API AccountPrivacySetting : public ::google::protobuf::Message {
3851 public:
3854
3856
3858 CopyFrom(from);
3859 return *this;
3860 }
3861
3862 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3863 return _unknown_fields_;
3864 }
3865
3866 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3867 return &_unknown_fields_;
3868 }
3869
3870 static const ::google::protobuf::Descriptor* descriptor();
3872
3874
3875 // implements Message ----------------------------------------------
3876
3878 int GetCachedSize() const { return _cached_size_; }
3879 private:
3882 void SetCachedSize(int size) const;
3883 public:
3884 ::google::protobuf::Metadata GetMetadata() const;
3885
3886 // nested types ----------------------------------------------------
3887
3888 // accessors -------------------------------------------------------
3889
3890 // optional bool is_using_rid = 1;
3891 inline bool has_is_using_rid() const;
3892 inline void clear_is_using_rid();
3893 static const int kIsUsingRidFieldNumber = 1;
3894 inline bool is_using_rid() const;
3895 inline void set_is_using_rid(bool value);
3896
3897 // optional bool is_visible_for_view_friends = 2;
3898 inline bool has_is_visible_for_view_friends() const;
3899 inline void clear_is_visible_for_view_friends();
3900 static const int kIsVisibleForViewFriendsFieldNumber = 2;
3901 inline bool is_visible_for_view_friends() const;
3902 inline void set_is_visible_for_view_friends(bool value);
3903
3904 // optional bool is_hidden_from_friend_finder = 3;
3905 inline bool has_is_hidden_from_friend_finder() const;
3906 inline void clear_is_hidden_from_friend_finder();
3907 static const int kIsHiddenFromFriendFinderFieldNumber = 3;
3908 inline bool is_hidden_from_friend_finder() const;
3909 inline void set_is_hidden_from_friend_finder(bool value);
3910
3911 // optional bool only_allow_friend_whispers = 4;
3912 inline bool has_only_allow_friend_whispers() const;
3913 inline void clear_only_allow_friend_whispers();
3914 static const int kOnlyAllowFriendWhispersFieldNumber = 4;
3915 inline bool only_allow_friend_whispers() const;
3916 inline void set_only_allow_friend_whispers(bool value);
3917
3918 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPrivacySetting)
3919 private:
3920 inline void set_has_is_using_rid();
3921 inline void clear_has_is_using_rid();
3922 inline void set_has_is_visible_for_view_friends();
3923 inline void clear_has_is_visible_for_view_friends();
3924 inline void set_has_is_hidden_from_friend_finder();
3925 inline void clear_has_is_hidden_from_friend_finder();
3926 inline void set_has_only_allow_friend_whispers();
3927 inline void clear_has_only_allow_friend_whispers();
3928
3929 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3930
3932 mutable int _cached_size_;
3940
3943};
3944// -------------------------------------------------------------------
3945
3946class TC_PROTO_API AccountInfo : public ::google::protobuf::Message {
3947 public:
3949 virtual ~AccountInfo();
3950
3952
3953 inline AccountInfo& operator=(const AccountInfo& from) {
3954 CopyFrom(from);
3955 return *this;
3956 }
3957
3958 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3959 return _unknown_fields_;
3960 }
3961
3962 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3963 return &_unknown_fields_;
3964 }
3965
3966 static const ::google::protobuf::Descriptor* descriptor();
3968
3969 void Swap(AccountInfo* other);
3970
3971 // implements Message ----------------------------------------------
3972
3974 int GetCachedSize() const { return _cached_size_; }
3975 private:
3978 void SetCachedSize(int size) const;
3979 public:
3980 ::google::protobuf::Metadata GetMetadata() const;
3981
3982 // nested types ----------------------------------------------------
3983
3984 // accessors -------------------------------------------------------
3985
3986 // optional string battle_tag = 1;
3987 inline bool has_battle_tag() const;
3988 inline void clear_battle_tag();
3989 static const int kBattleTagFieldNumber = 1;
3990 inline const ::std::string& battle_tag() const;
3991 inline void set_battle_tag(const ::std::string& value);
3992 inline void set_battle_tag(const char* value);
3993 inline void set_battle_tag(const char* value, size_t size);
3994 inline ::std::string* mutable_battle_tag();
3995 inline ::std::string* release_battle_tag();
3996 inline void set_allocated_battle_tag(::std::string* battle_tag);
3997
3998 // optional string email = 2;
3999 inline bool has_email() const;
4000 inline void clear_email();
4001 static const int kEmailFieldNumber = 2;
4002 inline const ::std::string& email() const;
4003 inline void set_email(const ::std::string& value);
4004 inline void set_email(const char* value);
4005 inline void set_email(const char* value, size_t size);
4006 inline ::std::string* mutable_email();
4007 inline ::std::string* release_email();
4008 inline void set_allocated_email(::std::string* email);
4009
4010 // optional string phone_number = 3;
4011 inline bool has_phone_number() const;
4012 inline void clear_phone_number();
4013 static const int kPhoneNumberFieldNumber = 3;
4014 inline const ::std::string& phone_number() const;
4015 inline void set_phone_number(const ::std::string& value);
4016 inline void set_phone_number(const char* value);
4017 inline void set_phone_number(const char* value, size_t size);
4018 inline ::std::string* mutable_phone_number();
4019 inline ::std::string* release_phone_number();
4020 inline void set_allocated_phone_number(::std::string* phone_number);
4021
4022 // optional string full_name = 4;
4023 inline bool has_full_name() const;
4024 inline void clear_full_name();
4025 static const int kFullNameFieldNumber = 4;
4026 inline const ::std::string& full_name() const;
4027 inline void set_full_name(const ::std::string& value);
4028 inline void set_full_name(const char* value);
4029 inline void set_full_name(const char* value, size_t size);
4030 inline ::std::string* mutable_full_name();
4031 inline ::std::string* release_full_name();
4032 inline void set_allocated_full_name(::std::string* full_name);
4033
4034 // optional string birthdate = 5;
4035 inline bool has_birthdate() const;
4036 inline void clear_birthdate();
4037 static const int kBirthdateFieldNumber = 5;
4038 inline const ::std::string& birthdate() const;
4039 inline void set_birthdate(const ::std::string& value);
4040 inline void set_birthdate(const char* value);
4041 inline void set_birthdate(const char* value, size_t size);
4042 inline ::std::string* mutable_birthdate();
4043 inline ::std::string* release_birthdate();
4044 inline void set_allocated_birthdate(::std::string* birthdate);
4045
4046 // optional string country = 6;
4047 inline bool has_country() const;
4048 inline void clear_country();
4049 static const int kCountryFieldNumber = 6;
4050 inline const ::std::string& country() const;
4051 inline void set_country(const ::std::string& value);
4052 inline void set_country(const char* value);
4053 inline void set_country(const char* value, size_t size);
4054 inline ::std::string* mutable_country();
4055 inline ::std::string* release_country();
4056 inline void set_allocated_country(::std::string* country);
4057
4058 // optional string default_currency = 7;
4059 inline bool has_default_currency() const;
4060 inline void clear_default_currency();
4061 static const int kDefaultCurrencyFieldNumber = 7;
4062 inline const ::std::string& default_currency() const;
4063 inline void set_default_currency(const ::std::string& value);
4064 inline void set_default_currency(const char* value);
4065 inline void set_default_currency(const char* value, size_t size);
4066 inline ::std::string* mutable_default_currency();
4067 inline ::std::string* release_default_currency();
4068 inline void set_allocated_default_currency(::std::string* default_currency);
4069
4070 // optional uint32 preferred_region = 8;
4071 inline bool has_preferred_region() const;
4072 inline void clear_preferred_region();
4073 static const int kPreferredRegionFieldNumber = 8;
4074 inline ::google::protobuf::uint32 preferred_region() const;
4075 inline void set_preferred_region(::google::protobuf::uint32 value);
4076
4077 // optional uint32 ratings_board_minimum_age = 9;
4078 inline bool has_ratings_board_minimum_age() const;
4079 inline void clear_ratings_board_minimum_age();
4080 static const int kRatingsBoardMinimumAgeFieldNumber = 9;
4081 inline ::google::protobuf::uint32 ratings_board_minimum_age() const;
4082 inline void set_ratings_board_minimum_age(::google::protobuf::uint32 value);
4083
4084 // optional bool has_parental_control = 10;
4085 inline bool has_has_parental_control() const;
4086 inline void clear_has_parental_control();
4087 static const int kHasParentalControlFieldNumber = 10;
4088 inline bool has_parental_control() const;
4089 inline void set_has_parental_control(bool value);
4090
4091 // optional bool is_email_verified = 11;
4092 inline bool has_is_email_verified() const;
4093 inline void clear_is_email_verified();
4094 static const int kIsEmailVerifiedFieldNumber = 11;
4095 inline bool is_email_verified() const;
4096 inline void set_is_email_verified(bool value);
4097
4098 // optional bool is_sms_protected = 12;
4099 inline bool has_is_sms_protected() const;
4100 inline void clear_is_sms_protected();
4101 static const int kIsSmsProtectedFieldNumber = 12;
4102 inline bool is_sms_protected() const;
4103 inline void set_is_sms_protected(bool value);
4104
4105 // optional bool is_headless_account = 13;
4106 inline bool has_is_headless_account() const;
4107 inline void clear_is_headless_account();
4108 static const int kIsHeadlessAccountFieldNumber = 13;
4109 inline bool is_headless_account() const;
4110 inline void set_is_headless_account(bool value);
4111
4112 // optional bool is_employee = 14;
4113 inline bool has_is_employee() const;
4114 inline void clear_is_employee();
4115 static const int kIsEmployeeFieldNumber = 14;
4116 inline bool is_employee() const;
4117 inline void set_is_employee(bool value);
4118
4119 // optional bool is_test_account = 15;
4120 inline bool has_is_test_account() const;
4121 inline void clear_is_test_account();
4122 static const int kIsTestAccountFieldNumber = 15;
4123 inline bool is_test_account() const;
4124 inline void set_is_test_account(bool value);
4125
4126 // optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
4127 inline bool has_privacy_setting() const;
4128 inline void clear_privacy_setting();
4129 static const int kPrivacySettingFieldNumber = 16;
4130 inline const ::bgs::protocol::account::v1::AccountPrivacySetting& privacy_setting() const;
4131 inline ::bgs::protocol::account::v1::AccountPrivacySetting* mutable_privacy_setting();
4132 inline ::bgs::protocol::account::v1::AccountPrivacySetting* release_privacy_setting();
4133 inline void set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting);
4134
4135 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountInfo)
4136 private:
4137 inline void set_has_battle_tag();
4138 inline void clear_has_battle_tag();
4139 inline void set_has_email();
4140 inline void clear_has_email();
4141 inline void set_has_phone_number();
4142 inline void clear_has_phone_number();
4143 inline void set_has_full_name();
4144 inline void clear_has_full_name();
4145 inline void set_has_birthdate();
4146 inline void clear_has_birthdate();
4147 inline void set_has_country();
4148 inline void clear_has_country();
4149 inline void set_has_default_currency();
4150 inline void clear_has_default_currency();
4151 inline void set_has_preferred_region();
4152 inline void clear_has_preferred_region();
4153 inline void set_has_ratings_board_minimum_age();
4154 inline void clear_has_ratings_board_minimum_age();
4155 inline void set_has_has_parental_control();
4156 inline void clear_has_has_parental_control();
4157 inline void set_has_is_email_verified();
4158 inline void clear_has_is_email_verified();
4159 inline void set_has_is_sms_protected();
4160 inline void clear_has_is_sms_protected();
4161 inline void set_has_is_headless_account();
4162 inline void clear_has_is_headless_account();
4163 inline void set_has_is_employee();
4164 inline void clear_has_is_employee();
4165 inline void set_has_is_test_account();
4166 inline void clear_has_is_test_account();
4167 inline void set_has_privacy_setting();
4168 inline void clear_has_privacy_setting();
4169
4170 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4171
4173 mutable int _cached_size_;
4174 ::std::string* battle_tag_;
4175 ::std::string* email_;
4176 ::std::string* phone_number_;
4177 ::std::string* full_name_;
4178 ::std::string* birthdate_;
4179 ::std::string* country_;
4180 ::std::string* default_currency_;
4193
4196};
4197// -------------------------------------------------------------------
4198
4199class TC_PROTO_API RestrictionStatus : public ::google::protobuf::Message {
4200 public:
4203
4205
4207 CopyFrom(from);
4208 return *this;
4209 }
4210
4211 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4212 return _unknown_fields_;
4213 }
4214
4215 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4216 return &_unknown_fields_;
4217 }
4218
4219 static const ::google::protobuf::Descriptor* descriptor();
4221
4223
4224 // implements Message ----------------------------------------------
4225
4227 int GetCachedSize() const { return _cached_size_; }
4228 private:
4231 void SetCachedSize(int size) const;
4232 public:
4233 ::google::protobuf::Metadata GetMetadata() const;
4234
4235 // nested types ----------------------------------------------------
4236
4237 // accessors -------------------------------------------------------
4238
4239 // optional bool active = 1;
4240 inline bool has_active() const;
4241 inline void clear_active();
4242 static const int kActiveFieldNumber = 1;
4243 inline bool active() const;
4244 inline void set_active(bool value);
4245
4246 // optional uint64 expiration_us = 2;
4247 inline bool has_expiration_us() const;
4248 inline void clear_expiration_us();
4249 static const int kExpirationUsFieldNumber = 2;
4250 inline ::google::protobuf::uint64 expiration_us() const;
4251 inline void set_expiration_us(::google::protobuf::uint64 value);
4252
4253 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RestrictionStatus)
4254 private:
4255 inline void set_has_active();
4256 inline void clear_has_active();
4257 inline void set_has_expiration_us();
4258 inline void clear_has_expiration_us();
4259
4260 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4261
4263 mutable int _cached_size_;
4269
4272};
4273// -------------------------------------------------------------------
4274
4275class TC_PROTO_API AccountPlatformRestrictionInfo : public ::google::protobuf::Message {
4276 public:
4279
4281
4283 CopyFrom(from);
4284 return *this;
4285 }
4286
4287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4288 return _unknown_fields_;
4289 }
4290
4291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4292 return &_unknown_fields_;
4293 }
4294
4295 static const ::google::protobuf::Descriptor* descriptor();
4297
4299
4300 // implements Message ----------------------------------------------
4301
4303 int GetCachedSize() const { return _cached_size_; }
4304 private:
4307 void SetCachedSize(int size) const;
4308 public:
4309 ::google::protobuf::Metadata GetMetadata() const;
4310
4311 // nested types ----------------------------------------------------
4312
4313 // accessors -------------------------------------------------------
4314
4315 // optional .bgs.protocol.account.v1.RestrictionStatus squelched = 2;
4316 inline bool has_squelched() const;
4317 inline void clear_squelched();
4318 static const int kSquelchedFieldNumber = 2;
4319 inline const ::bgs::protocol::account::v1::RestrictionStatus& squelched() const;
4320 inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_squelched();
4321 inline ::bgs::protocol::account::v1::RestrictionStatus* release_squelched();
4322 inline void set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus* squelched);
4323
4324 // optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
4325 inline bool has_legal_country_feature_restrictions_applied() const;
4326 inline void clear_legal_country_feature_restrictions_applied();
4327 static const int kLegalCountryFeatureRestrictionsAppliedFieldNumber = 3;
4328 inline const ::bgs::protocol::account::v1::RestrictionStatus& legal_country_feature_restrictions_applied() const;
4329 inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_legal_country_feature_restrictions_applied();
4330 inline ::bgs::protocol::account::v1::RestrictionStatus* release_legal_country_feature_restrictions_applied();
4331 inline void set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied);
4332
4333 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
4334 private:
4335 inline void set_has_squelched();
4336 inline void clear_has_squelched();
4337 inline void set_has_legal_country_feature_restrictions_applied();
4338 inline void clear_has_legal_country_feature_restrictions_applied();
4339
4340 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4341
4343 mutable int _cached_size_;
4349
4352};
4353// ===================================================================
4354
4355// ===================================================================
4356
4357// ===================================================================
4358
4359// AccountId
4360
4361// required fixed32 id = 1;
4362inline bool AccountId::has_id() const {
4363 return (_has_bits_[0] & 0x00000001u) != 0;
4364}
4366 _has_bits_[0] |= 0x00000001u;
4367}
4369 _has_bits_[0] &= ~0x00000001u;
4370}
4371inline void AccountId::clear_id() {
4372 id_ = 0u;
4373 clear_has_id();
4374}
4376 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountId.id)
4377 return id_;
4378}
4380 set_has_id();
4381 id_ = value;
4382 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountId.id)
4383}
4384
4385// -------------------------------------------------------------------
4386
4387// AccountLicense
4388
4389// required uint32 id = 1;
4390inline bool AccountLicense::has_id() const {
4391 return (_has_bits_[0] & 0x00000001u) != 0;
4392}
4394 _has_bits_[0] |= 0x00000001u;
4395}
4397 _has_bits_[0] &= ~0x00000001u;
4398}
4400 id_ = 0u;
4401 clear_has_id();
4402}
4404 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLicense.id)
4405 return id_;
4406}
4408 set_has_id();
4409 id_ = value;
4410 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLicense.id)
4411}
4412
4413// optional uint64 expires = 2;
4414inline bool AccountLicense::has_expires() const {
4415 return (_has_bits_[0] & 0x00000002u) != 0;
4416}
4418 _has_bits_[0] |= 0x00000002u;
4419}
4421 _has_bits_[0] &= ~0x00000002u;
4422}
4424 expires_ = GOOGLE_ULONGLONG(0);
4425 clear_has_expires();
4426}
4428 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLicense.expires)
4429 return expires_;
4430}
4432 set_has_expires();
4433 expires_ = value;
4434 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLicense.expires)
4435}
4436
4437// -------------------------------------------------------------------
4438
4439// GameAccountHandle
4440
4441// required fixed32 id = 1;
4442inline bool GameAccountHandle::has_id() const {
4443 return (_has_bits_[0] & 0x00000001u) != 0;
4444}
4446 _has_bits_[0] |= 0x00000001u;
4447}
4449 _has_bits_[0] &= ~0x00000001u;
4450}
4452 id_ = 0u;
4453 clear_has_id();
4454}
4456 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.id)
4457 return id_;
4458}
4460 set_has_id();
4461 id_ = value;
4462 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.id)
4463}
4464
4465// required fixed32 program = 2;
4467 return (_has_bits_[0] & 0x00000002u) != 0;
4468}
4470 _has_bits_[0] |= 0x00000002u;
4471}
4473 _has_bits_[0] &= ~0x00000002u;
4474}
4476 program_ = 0u;
4477 clear_has_program();
4478}
4480 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.program)
4481 return program_;
4482}
4484 set_has_program();
4485 program_ = value;
4486 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.program)
4487}
4488
4489// required uint32 region = 3;
4491 return (_has_bits_[0] & 0x00000004u) != 0;
4492}
4494 _has_bits_[0] |= 0x00000004u;
4495}
4497 _has_bits_[0] &= ~0x00000004u;
4498}
4500 region_ = 0u;
4501 clear_has_region();
4502}
4504 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.region)
4505 return region_;
4506}
4508 set_has_region();
4509 region_ = value;
4510 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.region)
4511}
4512
4513// -------------------------------------------------------------------
4514
4515// AccountReference
4516
4517// optional fixed32 id = 1;
4518inline bool AccountReference::has_id() const {
4519 return (_has_bits_[0] & 0x00000001u) != 0;
4520}
4522 _has_bits_[0] |= 0x00000001u;
4523}
4525 _has_bits_[0] &= ~0x00000001u;
4526}
4528 id_ = 0u;
4529 clear_has_id();
4530}
4532 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.id)
4533 return id_;
4534}
4536 set_has_id();
4537 id_ = value;
4538 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.id)
4539}
4540
4541// optional string email = 2;
4542inline bool AccountReference::has_email() const {
4543 return (_has_bits_[0] & 0x00000002u) != 0;
4544}
4546 _has_bits_[0] |= 0x00000002u;
4547}
4549 _has_bits_[0] &= ~0x00000002u;
4550}
4552 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4553 email_->clear();
4554 }
4555 clear_has_email();
4556}
4557inline const ::std::string& AccountReference::email() const {
4558 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.email)
4559 return *email_;
4560}
4561inline void AccountReference::set_email(const ::std::string& value) {
4562 set_has_email();
4563 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4564 email_ = new ::std::string;
4565 }
4566 email_->assign(value);
4567 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.email)
4568}
4569inline void AccountReference::set_email(const char* value) {
4570 set_has_email();
4571 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4572 email_ = new ::std::string;
4573 }
4574 email_->assign(value);
4575 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.email)
4576}
4577inline void AccountReference::set_email(const char* value, size_t size) {
4578 set_has_email();
4579 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4580 email_ = new ::std::string;
4581 }
4582 email_->assign(reinterpret_cast<const char*>(value), size);
4583 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.email)
4584}
4585inline ::std::string* AccountReference::mutable_email() {
4586 set_has_email();
4587 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4588 email_ = new ::std::string;
4589 }
4590 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.email)
4591 return email_;
4592}
4593inline ::std::string* AccountReference::release_email() {
4594 clear_has_email();
4595 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4596 return NULL;
4597 } else {
4598 ::std::string* temp = email_;
4599 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4600 return temp;
4601 }
4602}
4603inline void AccountReference::set_allocated_email(::std::string* email) {
4604 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4605 delete email_;
4606 }
4607 if (email) {
4608 set_has_email();
4609 email_ = email;
4610 } else {
4611 clear_has_email();
4612 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4613 }
4614 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.email)
4615}
4616
4617// optional .bgs.protocol.account.v1.GameAccountHandle handle = 3;
4618inline bool AccountReference::has_handle() const {
4619 return (_has_bits_[0] & 0x00000004u) != 0;
4620}
4622 _has_bits_[0] |= 0x00000004u;
4623}
4625 _has_bits_[0] &= ~0x00000004u;
4626}
4628 if (handle_ != NULL) handle_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4629 clear_has_handle();
4630}
4631inline const ::bgs::protocol::account::v1::GameAccountHandle& AccountReference::handle() const {
4632 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.handle)
4633 return handle_ != NULL ? *handle_ : *default_instance_->handle_;
4634}
4635inline ::bgs::protocol::account::v1::GameAccountHandle* AccountReference::mutable_handle() {
4636 set_has_handle();
4637 if (handle_ == NULL) handle_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4638 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.handle)
4639 return handle_;
4640}
4641inline ::bgs::protocol::account::v1::GameAccountHandle* AccountReference::release_handle() {
4642 clear_has_handle();
4644 handle_ = NULL;
4645 return temp;
4646}
4648 delete handle_;
4649 handle_ = handle;
4650 if (handle) {
4651 set_has_handle();
4652 } else {
4653 clear_has_handle();
4654 }
4655 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.handle)
4656}
4657
4658// optional string battle_tag = 4;
4660 return (_has_bits_[0] & 0x00000008u) != 0;
4661}
4663 _has_bits_[0] |= 0x00000008u;
4664}
4666 _has_bits_[0] &= ~0x00000008u;
4667}
4669 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4670 battle_tag_->clear();
4671 }
4672 clear_has_battle_tag();
4673}
4674inline const ::std::string& AccountReference::battle_tag() const {
4675 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.battle_tag)
4676 return *battle_tag_;
4677}
4678inline void AccountReference::set_battle_tag(const ::std::string& value) {
4679 set_has_battle_tag();
4680 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4681 battle_tag_ = new ::std::string;
4682 }
4683 battle_tag_->assign(value);
4684 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.battle_tag)
4685}
4686inline void AccountReference::set_battle_tag(const char* value) {
4687 set_has_battle_tag();
4688 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4689 battle_tag_ = new ::std::string;
4690 }
4691 battle_tag_->assign(value);
4692 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.battle_tag)
4693}
4694inline void AccountReference::set_battle_tag(const char* value, size_t size) {
4695 set_has_battle_tag();
4696 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4697 battle_tag_ = new ::std::string;
4698 }
4699 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
4700 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.battle_tag)
4701}
4703 set_has_battle_tag();
4704 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4705 battle_tag_ = new ::std::string;
4706 }
4707 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.battle_tag)
4708 return battle_tag_;
4709}
4711 clear_has_battle_tag();
4712 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4713 return NULL;
4714 } else {
4715 ::std::string* temp = battle_tag_;
4716 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4717 return temp;
4718 }
4719}
4720inline void AccountReference::set_allocated_battle_tag(::std::string* battle_tag) {
4721 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4722 delete battle_tag_;
4723 }
4724 if (battle_tag) {
4725 set_has_battle_tag();
4726 battle_tag_ = battle_tag;
4727 } else {
4728 clear_has_battle_tag();
4729 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4730 }
4731 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.battle_tag)
4732}
4733
4734// optional string phone_number = 5;
4736 return (_has_bits_[0] & 0x00000010u) != 0;
4737}
4739 _has_bits_[0] |= 0x00000010u;
4740}
4742 _has_bits_[0] &= ~0x00000010u;
4743}
4745 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4746 phone_number_->clear();
4747 }
4748 clear_has_phone_number();
4749}
4750inline const ::std::string& AccountReference::phone_number() const {
4751 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.phone_number)
4752 return *phone_number_;
4753}
4754inline void AccountReference::set_phone_number(const ::std::string& value) {
4755 set_has_phone_number();
4756 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4757 phone_number_ = new ::std::string;
4758 }
4759 phone_number_->assign(value);
4760 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.phone_number)
4761}
4762inline void AccountReference::set_phone_number(const char* value) {
4763 set_has_phone_number();
4764 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4765 phone_number_ = new ::std::string;
4766 }
4767 phone_number_->assign(value);
4768 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.phone_number)
4769}
4770inline void AccountReference::set_phone_number(const char* value, size_t size) {
4771 set_has_phone_number();
4772 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4773 phone_number_ = new ::std::string;
4774 }
4775 phone_number_->assign(reinterpret_cast<const char*>(value), size);
4776 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.phone_number)
4777}
4779 set_has_phone_number();
4780 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4781 phone_number_ = new ::std::string;
4782 }
4783 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.phone_number)
4784 return phone_number_;
4785}
4787 clear_has_phone_number();
4788 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4789 return NULL;
4790 } else {
4791 ::std::string* temp = phone_number_;
4792 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4793 return temp;
4794 }
4795}
4796inline void AccountReference::set_allocated_phone_number(::std::string* phone_number) {
4797 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4798 delete phone_number_;
4799 }
4800 if (phone_number) {
4801 set_has_phone_number();
4802 phone_number_ = phone_number;
4803 } else {
4804 clear_has_phone_number();
4805 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4806 }
4807 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.phone_number)
4808}
4809
4810// optional uint32 region = 10 [default = 0];
4811inline bool AccountReference::has_region() const {
4812 return (_has_bits_[0] & 0x00000020u) != 0;
4813}
4815 _has_bits_[0] |= 0x00000020u;
4816}
4818 _has_bits_[0] &= ~0x00000020u;
4819}
4821 region_ = 0u;
4822 clear_has_region();
4823}
4825 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.region)
4826 return region_;
4827}
4829 set_has_region();
4830 region_ = value;
4831 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.region)
4832}
4833
4834// -------------------------------------------------------------------
4835
4836// Identity
4837
4838// optional .bgs.protocol.account.v1.AccountId account = 1;
4839inline bool Identity::has_account() const {
4840 return (_has_bits_[0] & 0x00000001u) != 0;
4841}
4843 _has_bits_[0] |= 0x00000001u;
4844}
4846 _has_bits_[0] &= ~0x00000001u;
4847}
4849 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
4850 clear_has_account();
4851}
4852inline const ::bgs::protocol::account::v1::AccountId& Identity::account() const {
4853 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.account)
4854 return account_ != NULL ? *account_ : *default_instance_->account_;
4855}
4856inline ::bgs::protocol::account::v1::AccountId* Identity::mutable_account() {
4857 set_has_account();
4858 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
4859 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.account)
4860 return account_;
4861}
4862inline ::bgs::protocol::account::v1::AccountId* Identity::release_account() {
4863 clear_has_account();
4865 account_ = NULL;
4866 return temp;
4867}
4869 delete account_;
4870 account_ = account;
4871 if (account) {
4872 set_has_account();
4873 } else {
4874 clear_has_account();
4875 }
4876 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.account)
4877}
4878
4879// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
4880inline bool Identity::has_game_account() const {
4881 return (_has_bits_[0] & 0x00000002u) != 0;
4882}
4884 _has_bits_[0] |= 0x00000002u;
4885}
4887 _has_bits_[0] &= ~0x00000002u;
4888}
4890 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4891 clear_has_game_account();
4892}
4893inline const ::bgs::protocol::account::v1::GameAccountHandle& Identity::game_account() const {
4894 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.game_account)
4895 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
4896}
4897inline ::bgs::protocol::account::v1::GameAccountHandle* Identity::mutable_game_account() {
4898 set_has_game_account();
4899 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4900 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.game_account)
4901 return game_account_;
4902}
4903inline ::bgs::protocol::account::v1::GameAccountHandle* Identity::release_game_account() {
4904 clear_has_game_account();
4906 game_account_ = NULL;
4907 return temp;
4908}
4910 delete game_account_;
4911 game_account_ = game_account;
4912 if (game_account) {
4913 set_has_game_account();
4914 } else {
4915 clear_has_game_account();
4916 }
4917 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.game_account)
4918}
4919
4920// -------------------------------------------------------------------
4921
4922// ProgramTag
4923
4924// optional fixed32 program = 1;
4925inline bool ProgramTag::has_program() const {
4926 return (_has_bits_[0] & 0x00000001u) != 0;
4927}
4929 _has_bits_[0] |= 0x00000001u;
4930}
4932 _has_bits_[0] &= ~0x00000001u;
4933}
4935 program_ = 0u;
4936 clear_has_program();
4937}
4939 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ProgramTag.program)
4940 return program_;
4941}
4943 set_has_program();
4944 program_ = value;
4945 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ProgramTag.program)
4946}
4947
4948// optional fixed32 tag = 2;
4949inline bool ProgramTag::has_tag() const {
4950 return (_has_bits_[0] & 0x00000002u) != 0;
4951}
4953 _has_bits_[0] |= 0x00000002u;
4954}
4956 _has_bits_[0] &= ~0x00000002u;
4957}
4959 tag_ = 0u;
4960 clear_has_tag();
4961}
4963 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ProgramTag.tag)
4964 return tag_;
4965}
4967 set_has_tag();
4968 tag_ = value;
4969 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ProgramTag.tag)
4970}
4971
4972// -------------------------------------------------------------------
4973
4974// RegionTag
4975
4976// optional fixed32 region = 1;
4977inline bool RegionTag::has_region() const {
4978 return (_has_bits_[0] & 0x00000001u) != 0;
4979}
4981 _has_bits_[0] |= 0x00000001u;
4982}
4984 _has_bits_[0] &= ~0x00000001u;
4985}
4987 region_ = 0u;
4988 clear_has_region();
4989}
4991 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RegionTag.region)
4992 return region_;
4993}
4995 set_has_region();
4996 region_ = value;
4997 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RegionTag.region)
4998}
4999
5000// optional fixed32 tag = 2;
5001inline bool RegionTag::has_tag() const {
5002 return (_has_bits_[0] & 0x00000002u) != 0;
5003}
5005 _has_bits_[0] |= 0x00000002u;
5006}
5008 _has_bits_[0] &= ~0x00000002u;
5009}
5011 tag_ = 0u;
5012 clear_has_tag();
5013}
5015 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RegionTag.tag)
5016 return tag_;
5017}
5019 set_has_tag();
5020 tag_ = value;
5021 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RegionTag.tag)
5022}
5023
5024// -------------------------------------------------------------------
5025
5026// AccountFieldTags
5027
5028// optional fixed32 account_level_info_tag = 2;
5030 return (_has_bits_[0] & 0x00000001u) != 0;
5031}
5033 _has_bits_[0] |= 0x00000001u;
5034}
5036 _has_bits_[0] &= ~0x00000001u;
5037}
5039 account_level_info_tag_ = 0u;
5040 clear_has_account_level_info_tag();
5041}
5043 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.account_level_info_tag)
5044 return account_level_info_tag_;
5045}
5047 set_has_account_level_info_tag();
5048 account_level_info_tag_ = value;
5049 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.account_level_info_tag)
5050}
5051
5052// optional fixed32 privacy_info_tag = 3;
5054 return (_has_bits_[0] & 0x00000002u) != 0;
5055}
5057 _has_bits_[0] |= 0x00000002u;
5058}
5060 _has_bits_[0] &= ~0x00000002u;
5061}
5063 privacy_info_tag_ = 0u;
5064 clear_has_privacy_info_tag();
5065}
5067 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.privacy_info_tag)
5068 return privacy_info_tag_;
5069}
5071 set_has_privacy_info_tag();
5072 privacy_info_tag_ = value;
5073 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.privacy_info_tag)
5074}
5075
5076// optional fixed32 parental_control_info_tag = 4;
5078 return (_has_bits_[0] & 0x00000004u) != 0;
5079}
5081 _has_bits_[0] |= 0x00000004u;
5082}
5084 _has_bits_[0] &= ~0x00000004u;
5085}
5087 parental_control_info_tag_ = 0u;
5088 clear_has_parental_control_info_tag();
5089}
5091 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.parental_control_info_tag)
5092 return parental_control_info_tag_;
5093}
5095 set_has_parental_control_info_tag();
5096 parental_control_info_tag_ = value;
5097 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.parental_control_info_tag)
5098}
5099
5100// repeated .bgs.protocol.account.v1.ProgramTag game_level_info_tags = 7;
5102 return game_level_info_tags_.size();
5103}
5105 game_level_info_tags_.Clear();
5106}
5107inline const ::bgs::protocol::account::v1::ProgramTag& AccountFieldTags::game_level_info_tags(int index) const {
5108 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5109 return game_level_info_tags_.Get(index);
5110}
5111inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::mutable_game_level_info_tags(int index) {
5112 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5113 return game_level_info_tags_.Mutable(index);
5114}
5115inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::add_game_level_info_tags() {
5116 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5117 return game_level_info_tags_.Add();
5118}
5119inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
5121 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5122 return game_level_info_tags_;
5123}
5124inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
5126 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5127 return &game_level_info_tags_;
5128}
5129
5130// repeated .bgs.protocol.account.v1.ProgramTag game_status_tags = 9;
5132 return game_status_tags_.size();
5133}
5135 game_status_tags_.Clear();
5136}
5137inline const ::bgs::protocol::account::v1::ProgramTag& AccountFieldTags::game_status_tags(int index) const {
5138 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5139 return game_status_tags_.Get(index);
5140}
5141inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::mutable_game_status_tags(int index) {
5142 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5143 return game_status_tags_.Mutable(index);
5144}
5145inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::add_game_status_tags() {
5146 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5147 return game_status_tags_.Add();
5148}
5149inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
5151 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5152 return game_status_tags_;
5153}
5154inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
5156 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5157 return &game_status_tags_;
5158}
5159
5160// repeated .bgs.protocol.account.v1.RegionTag game_account_tags = 11;
5162 return game_account_tags_.size();
5163}
5165 game_account_tags_.Clear();
5166}
5167inline const ::bgs::protocol::account::v1::RegionTag& AccountFieldTags::game_account_tags(int index) const {
5168 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5169 return game_account_tags_.Get(index);
5170}
5171inline ::bgs::protocol::account::v1::RegionTag* AccountFieldTags::mutable_game_account_tags(int index) {
5172 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5173 return game_account_tags_.Mutable(index);
5174}
5175inline ::bgs::protocol::account::v1::RegionTag* AccountFieldTags::add_game_account_tags() {
5176 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5177 return game_account_tags_.Add();
5178}
5179inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >&
5181 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5182 return game_account_tags_;
5183}
5184inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >*
5186 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5187 return &game_account_tags_;
5188}
5189
5190// optional fixed32 security_status_tag = 12;
5192 return (_has_bits_[0] & 0x00000040u) != 0;
5193}
5195 _has_bits_[0] |= 0x00000040u;
5196}
5198 _has_bits_[0] &= ~0x00000040u;
5199}
5201 security_status_tag_ = 0u;
5202 clear_has_security_status_tag();
5203}
5205 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.security_status_tag)
5206 return security_status_tag_;
5207}
5209 set_has_security_status_tag();
5210 security_status_tag_ = value;
5211 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.security_status_tag)
5212}
5213
5214// -------------------------------------------------------------------
5215
5216// GameAccountFieldTags
5217
5218// optional fixed32 game_level_info_tag = 2;
5220 return (_has_bits_[0] & 0x00000001u) != 0;
5221}
5223 _has_bits_[0] |= 0x00000001u;
5224}
5226 _has_bits_[0] &= ~0x00000001u;
5227}
5229 game_level_info_tag_ = 0u;
5230 clear_has_game_level_info_tag();
5231}
5233 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_level_info_tag)
5234 return game_level_info_tag_;
5235}
5237 set_has_game_level_info_tag();
5238 game_level_info_tag_ = value;
5239 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_level_info_tag)
5240}
5241
5242// optional fixed32 game_time_info_tag = 3;
5244 return (_has_bits_[0] & 0x00000002u) != 0;
5245}
5247 _has_bits_[0] |= 0x00000002u;
5248}
5250 _has_bits_[0] &= ~0x00000002u;
5251}
5253 game_time_info_tag_ = 0u;
5254 clear_has_game_time_info_tag();
5255}
5257 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_time_info_tag)
5258 return game_time_info_tag_;
5259}
5261 set_has_game_time_info_tag();
5262 game_time_info_tag_ = value;
5263 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_time_info_tag)
5264}
5265
5266// optional fixed32 game_status_tag = 4;
5268 return (_has_bits_[0] & 0x00000004u) != 0;
5269}
5271 _has_bits_[0] |= 0x00000004u;
5272}
5274 _has_bits_[0] &= ~0x00000004u;
5275}
5277 game_status_tag_ = 0u;
5278 clear_has_game_status_tag();
5279}
5281 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_status_tag)
5282 return game_status_tag_;
5283}
5285 set_has_game_status_tag();
5286 game_status_tag_ = value;
5287 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_status_tag)
5288}
5289
5290// optional fixed32 raf_info_tag = 5;
5292 return (_has_bits_[0] & 0x00000008u) != 0;
5293}
5295 _has_bits_[0] |= 0x00000008u;
5296}
5298 _has_bits_[0] &= ~0x00000008u;
5299}
5301 raf_info_tag_ = 0u;
5302 clear_has_raf_info_tag();
5303}
5305 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.raf_info_tag)
5306 return raf_info_tag_;
5307}
5309 set_has_raf_info_tag();
5310 raf_info_tag_ = value;
5311 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.raf_info_tag)
5312}
5313
5314// -------------------------------------------------------------------
5315
5316// AccountFieldOptions
5317
5318// optional bool all_fields = 1;
5320 return (_has_bits_[0] & 0x00000001u) != 0;
5321}
5323 _has_bits_[0] |= 0x00000001u;
5324}
5326 _has_bits_[0] &= ~0x00000001u;
5327}
5329 all_fields_ = false;
5330 clear_has_all_fields();
5331}
5333 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.all_fields)
5334 return all_fields_;
5335}
5337 set_has_all_fields();
5338 all_fields_ = value;
5339 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.all_fields)
5340}
5341
5342// optional bool field_account_level_info = 2;
5344 return (_has_bits_[0] & 0x00000002u) != 0;
5345}
5347 _has_bits_[0] |= 0x00000002u;
5348}
5350 _has_bits_[0] &= ~0x00000002u;
5351}
5353 field_account_level_info_ = false;
5354 clear_has_field_account_level_info();
5355}
5357 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_account_level_info)
5358 return field_account_level_info_;
5359}
5361 set_has_field_account_level_info();
5362 field_account_level_info_ = value;
5363 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_account_level_info)
5364}
5365
5366// optional bool field_privacy_info = 3;
5368 return (_has_bits_[0] & 0x00000004u) != 0;
5369}
5371 _has_bits_[0] |= 0x00000004u;
5372}
5374 _has_bits_[0] &= ~0x00000004u;
5375}
5377 field_privacy_info_ = false;
5378 clear_has_field_privacy_info();
5379}
5381 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_privacy_info)
5382 return field_privacy_info_;
5383}
5385 set_has_field_privacy_info();
5386 field_privacy_info_ = value;
5387 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_privacy_info)
5388}
5389
5390// optional bool field_parental_control_info = 4;
5392 return (_has_bits_[0] & 0x00000008u) != 0;
5393}
5395 _has_bits_[0] |= 0x00000008u;
5396}
5398 _has_bits_[0] &= ~0x00000008u;
5399}
5401 field_parental_control_info_ = false;
5402 clear_has_field_parental_control_info();
5403}
5405 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_parental_control_info)
5406 return field_parental_control_info_;
5407}
5409 set_has_field_parental_control_info();
5410 field_parental_control_info_ = value;
5411 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_parental_control_info)
5412}
5413
5414// optional bool field_game_level_info = 6;
5416 return (_has_bits_[0] & 0x00000010u) != 0;
5417}
5419 _has_bits_[0] |= 0x00000010u;
5420}
5422 _has_bits_[0] &= ~0x00000010u;
5423}
5425 field_game_level_info_ = false;
5426 clear_has_field_game_level_info();
5427}
5429 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_level_info)
5430 return field_game_level_info_;
5431}
5433 set_has_field_game_level_info();
5434 field_game_level_info_ = value;
5435 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_level_info)
5436}
5437
5438// optional bool field_game_status = 7;
5440 return (_has_bits_[0] & 0x00000020u) != 0;
5441}
5443 _has_bits_[0] |= 0x00000020u;
5444}
5446 _has_bits_[0] &= ~0x00000020u;
5447}
5449 field_game_status_ = false;
5450 clear_has_field_game_status();
5451}
5453 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_status)
5454 return field_game_status_;
5455}
5457 set_has_field_game_status();
5458 field_game_status_ = value;
5459 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_status)
5460}
5461
5462// optional bool field_game_accounts = 8;
5464 return (_has_bits_[0] & 0x00000040u) != 0;
5465}
5467 _has_bits_[0] |= 0x00000040u;
5468}
5470 _has_bits_[0] &= ~0x00000040u;
5471}
5473 field_game_accounts_ = false;
5474 clear_has_field_game_accounts();
5475}
5477 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_accounts)
5478 return field_game_accounts_;
5479}
5481 set_has_field_game_accounts();
5482 field_game_accounts_ = value;
5483 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_accounts)
5484}
5485
5486// optional bool field_security_status = 9;
5488 return (_has_bits_[0] & 0x00000080u) != 0;
5489}
5491 _has_bits_[0] |= 0x00000080u;
5492}
5494 _has_bits_[0] &= ~0x00000080u;
5495}
5497 field_security_status_ = false;
5498 clear_has_field_security_status();
5499}
5501 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_security_status)
5502 return field_security_status_;
5503}
5505 set_has_field_security_status();
5506 field_security_status_ = value;
5507 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_security_status)
5508}
5509
5510// -------------------------------------------------------------------
5511
5512// GameAccountFieldOptions
5513
5514// optional bool all_fields = 1;
5516 return (_has_bits_[0] & 0x00000001u) != 0;
5517}
5519 _has_bits_[0] |= 0x00000001u;
5520}
5522 _has_bits_[0] &= ~0x00000001u;
5523}
5525 all_fields_ = false;
5526 clear_has_all_fields();
5527}
5529 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.all_fields)
5530 return all_fields_;
5531}
5533 set_has_all_fields();
5534 all_fields_ = value;
5535 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.all_fields)
5536}
5537
5538// optional bool field_game_level_info = 2;
5540 return (_has_bits_[0] & 0x00000002u) != 0;
5541}
5543 _has_bits_[0] |= 0x00000002u;
5544}
5546 _has_bits_[0] &= ~0x00000002u;
5547}
5549 field_game_level_info_ = false;
5550 clear_has_field_game_level_info();
5551}
5553 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_level_info)
5554 return field_game_level_info_;
5555}
5557 set_has_field_game_level_info();
5558 field_game_level_info_ = value;
5559 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_level_info)
5560}
5561
5562// optional bool field_game_time_info = 3;
5564 return (_has_bits_[0] & 0x00000004u) != 0;
5565}
5567 _has_bits_[0] |= 0x00000004u;
5568}
5570 _has_bits_[0] &= ~0x00000004u;
5571}
5573 field_game_time_info_ = false;
5574 clear_has_field_game_time_info();
5575}
5577 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_time_info)
5578 return field_game_time_info_;
5579}
5581 set_has_field_game_time_info();
5582 field_game_time_info_ = value;
5583 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_time_info)
5584}
5585
5586// optional bool field_game_status = 4;
5588 return (_has_bits_[0] & 0x00000008u) != 0;
5589}
5591 _has_bits_[0] |= 0x00000008u;
5592}
5594 _has_bits_[0] &= ~0x00000008u;
5595}
5597 field_game_status_ = false;
5598 clear_has_field_game_status();
5599}
5601 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_status)
5602 return field_game_status_;
5603}
5605 set_has_field_game_status();
5606 field_game_status_ = value;
5607 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_status)
5608}
5609
5610// optional bool field_raf_info = 5;
5612 return (_has_bits_[0] & 0x00000010u) != 0;
5613}
5615 _has_bits_[0] |= 0x00000010u;
5616}
5618 _has_bits_[0] &= ~0x00000010u;
5619}
5621 field_raf_info_ = false;
5622 clear_has_field_raf_info();
5623}
5625 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_raf_info)
5626 return field_raf_info_;
5627}
5629 set_has_field_raf_info();
5630 field_raf_info_ = value;
5631 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_raf_info)
5632}
5633
5634// -------------------------------------------------------------------
5635
5636// SubscriberReference
5637
5638// optional uint64 object_id = 1 [default = 0];
5640 return (_has_bits_[0] & 0x00000001u) != 0;
5641}
5643 _has_bits_[0] |= 0x00000001u;
5644}
5646 _has_bits_[0] &= ~0x00000001u;
5647}
5649 object_id_ = GOOGLE_ULONGLONG(0);
5650 clear_has_object_id();
5651}
5653 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.object_id)
5654 return object_id_;
5655}
5657 set_has_object_id();
5658 object_id_ = value;
5659 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SubscriberReference.object_id)
5660}
5661
5662// optional .bgs.protocol.EntityId entity_id = 2;
5664 return (_has_bits_[0] & 0x00000002u) != 0;
5665}
5667 _has_bits_[0] |= 0x00000002u;
5668}
5670 _has_bits_[0] &= ~0x00000002u;
5671}
5673 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
5674 clear_has_entity_id();
5675}
5676inline const ::bgs::protocol::EntityId& SubscriberReference::entity_id() const {
5677 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.entity_id)
5678 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
5679}
5680inline ::bgs::protocol::EntityId* SubscriberReference::mutable_entity_id() {
5681 set_has_entity_id();
5682 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
5683 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.entity_id)
5684 return entity_id_;
5685}
5686inline ::bgs::protocol::EntityId* SubscriberReference::release_entity_id() {
5687 clear_has_entity_id();
5688 ::bgs::protocol::EntityId* temp = entity_id_;
5689 entity_id_ = NULL;
5690 return temp;
5691}
5693 delete entity_id_;
5694 entity_id_ = entity_id;
5695 if (entity_id) {
5696 set_has_entity_id();
5697 } else {
5698 clear_has_entity_id();
5699 }
5700 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.entity_id)
5701}
5702
5703// optional .bgs.protocol.account.v1.AccountFieldOptions account_options = 3;
5705 return (_has_bits_[0] & 0x00000004u) != 0;
5706}
5708 _has_bits_[0] |= 0x00000004u;
5709}
5711 _has_bits_[0] &= ~0x00000004u;
5712}
5714 if (account_options_ != NULL) account_options_->::bgs::protocol::account::v1::AccountFieldOptions::Clear();
5715 clear_has_account_options();
5716}
5717inline const ::bgs::protocol::account::v1::AccountFieldOptions& SubscriberReference::account_options() const {
5718 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.account_options)
5719 return account_options_ != NULL ? *account_options_ : *default_instance_->account_options_;
5720}
5721inline ::bgs::protocol::account::v1::AccountFieldOptions* SubscriberReference::mutable_account_options() {
5722 set_has_account_options();
5723 if (account_options_ == NULL) account_options_ = new ::bgs::protocol::account::v1::AccountFieldOptions;
5724 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.account_options)
5725 return account_options_;
5726}
5727inline ::bgs::protocol::account::v1::AccountFieldOptions* SubscriberReference::release_account_options() {
5728 clear_has_account_options();
5730 account_options_ = NULL;
5731 return temp;
5732}
5734 delete account_options_;
5735 account_options_ = account_options;
5736 if (account_options) {
5737 set_has_account_options();
5738 } else {
5739 clear_has_account_options();
5740 }
5741 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.account_options)
5742}
5743
5744// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 4;
5746 return (_has_bits_[0] & 0x00000008u) != 0;
5747}
5749 _has_bits_[0] |= 0x00000008u;
5750}
5752 _has_bits_[0] &= ~0x00000008u;
5753}
5755 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
5756 clear_has_account_tags();
5757}
5758inline const ::bgs::protocol::account::v1::AccountFieldTags& SubscriberReference::account_tags() const {
5759 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.account_tags)
5760 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
5761}
5762inline ::bgs::protocol::account::v1::AccountFieldTags* SubscriberReference::mutable_account_tags() {
5763 set_has_account_tags();
5764 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
5765 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.account_tags)
5766 return account_tags_;
5767}
5768inline ::bgs::protocol::account::v1::AccountFieldTags* SubscriberReference::release_account_tags() {
5769 clear_has_account_tags();
5771 account_tags_ = NULL;
5772 return temp;
5773}
5775 delete account_tags_;
5776 account_tags_ = account_tags;
5777 if (account_tags) {
5778 set_has_account_tags();
5779 } else {
5780 clear_has_account_tags();
5781 }
5782 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.account_tags)
5783}
5784
5785// optional .bgs.protocol.account.v1.GameAccountFieldOptions game_account_options = 5;
5787 return (_has_bits_[0] & 0x00000010u) != 0;
5788}
5790 _has_bits_[0] |= 0x00000010u;
5791}
5793 _has_bits_[0] &= ~0x00000010u;
5794}
5796 if (game_account_options_ != NULL) game_account_options_->::bgs::protocol::account::v1::GameAccountFieldOptions::Clear();
5797 clear_has_game_account_options();
5798}
5799inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& SubscriberReference::game_account_options() const {
5800 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5801 return game_account_options_ != NULL ? *game_account_options_ : *default_instance_->game_account_options_;
5802}
5803inline ::bgs::protocol::account::v1::GameAccountFieldOptions* SubscriberReference::mutable_game_account_options() {
5804 set_has_game_account_options();
5805 if (game_account_options_ == NULL) game_account_options_ = new ::bgs::protocol::account::v1::GameAccountFieldOptions;
5806 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5807 return game_account_options_;
5808}
5809inline ::bgs::protocol::account::v1::GameAccountFieldOptions* SubscriberReference::release_game_account_options() {
5810 clear_has_game_account_options();
5811 ::bgs::protocol::account::v1::GameAccountFieldOptions* temp = game_account_options_;
5812 game_account_options_ = NULL;
5813 return temp;
5814}
5816 delete game_account_options_;
5817 game_account_options_ = game_account_options;
5818 if (game_account_options) {
5819 set_has_game_account_options();
5820 } else {
5821 clear_has_game_account_options();
5822 }
5823 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5824}
5825
5826// optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 6;
5828 return (_has_bits_[0] & 0x00000020u) != 0;
5829}
5831 _has_bits_[0] |= 0x00000020u;
5832}
5834 _has_bits_[0] &= ~0x00000020u;
5835}
5837 if (game_account_tags_ != NULL) game_account_tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
5838 clear_has_game_account_tags();
5839}
5840inline const ::bgs::protocol::account::v1::GameAccountFieldTags& SubscriberReference::game_account_tags() const {
5841 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5842 return game_account_tags_ != NULL ? *game_account_tags_ : *default_instance_->game_account_tags_;
5843}
5844inline ::bgs::protocol::account::v1::GameAccountFieldTags* SubscriberReference::mutable_game_account_tags() {
5845 set_has_game_account_tags();
5846 if (game_account_tags_ == NULL) game_account_tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
5847 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5848 return game_account_tags_;
5849}
5850inline ::bgs::protocol::account::v1::GameAccountFieldTags* SubscriberReference::release_game_account_tags() {
5851 clear_has_game_account_tags();
5852 ::bgs::protocol::account::v1::GameAccountFieldTags* temp = game_account_tags_;
5853 game_account_tags_ = NULL;
5854 return temp;
5855}
5857 delete game_account_tags_;
5858 game_account_tags_ = game_account_tags;
5859 if (game_account_tags) {
5860 set_has_game_account_tags();
5861 } else {
5862 clear_has_game_account_tags();
5863 }
5864 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5865}
5866
5867// optional uint64 subscriber_id = 7 [default = 0];
5869 return (_has_bits_[0] & 0x00000040u) != 0;
5870}
5872 _has_bits_[0] |= 0x00000040u;
5873}
5875 _has_bits_[0] &= ~0x00000040u;
5876}
5878 subscriber_id_ = GOOGLE_ULONGLONG(0);
5879 clear_has_subscriber_id();
5880}
5882 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.subscriber_id)
5883 return subscriber_id_;
5884}
5886 set_has_subscriber_id();
5887 subscriber_id_ = value;
5888 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SubscriberReference.subscriber_id)
5889}
5890
5891// -------------------------------------------------------------------
5892
5893// OptIns
5894
5895// repeated uint64 ids = 1 [packed = true];
5896inline int OptIns::ids_size() const {
5897 return ids_.size();
5898}
5899inline void OptIns::clear_ids() {
5900 ids_.Clear();
5901}
5903 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.OptIns.ids)
5904 return ids_.Get(index);
5905}
5906inline void OptIns::set_ids(int index, ::google::protobuf::uint64 value) {
5907 ids_.Set(index, value);
5908 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.OptIns.ids)
5909}
5911 ids_.Add(value);
5912 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.OptIns.ids)
5913}
5914inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
5916 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.OptIns.ids)
5917 return ids_;
5918}
5919inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
5921 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.OptIns.ids)
5922 return &ids_;
5923}
5924
5925// -------------------------------------------------------------------
5926
5927// AccountLevelInfo
5928
5929// repeated .bgs.protocol.account.v1.AccountLicense licenses = 3;
5931 return licenses_.size();
5932}
5934 licenses_.Clear();
5935}
5936inline const ::bgs::protocol::account::v1::AccountLicense& AccountLevelInfo::licenses(int index) const {
5937 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5938 return licenses_.Get(index);
5939}
5940inline ::bgs::protocol::account::v1::AccountLicense* AccountLevelInfo::mutable_licenses(int index) {
5941 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5942 return licenses_.Mutable(index);
5943}
5944inline ::bgs::protocol::account::v1::AccountLicense* AccountLevelInfo::add_licenses() {
5945 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5946 return licenses_.Add();
5947}
5948inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
5950 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5951 return licenses_;
5952}
5953inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
5955 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5956 return &licenses_;
5957}
5958
5959// optional fixed32 default_currency = 4;
5961 return (_has_bits_[0] & 0x00000002u) != 0;
5962}
5964 _has_bits_[0] |= 0x00000002u;
5965}
5967 _has_bits_[0] &= ~0x00000002u;
5968}
5970 default_currency_ = 0u;
5971 clear_has_default_currency();
5972}
5974 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.default_currency)
5975 return default_currency_;
5976}
5978 set_has_default_currency();
5979 default_currency_ = value;
5980 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.default_currency)
5981}
5982
5983// optional string country = 5;
5985 return (_has_bits_[0] & 0x00000004u) != 0;
5986}
5988 _has_bits_[0] |= 0x00000004u;
5989}
5991 _has_bits_[0] &= ~0x00000004u;
5992}
5994 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5995 country_->clear();
5996 }
5997 clear_has_country();
5998}
5999inline const ::std::string& AccountLevelInfo::country() const {
6000 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.country)
6001 return *country_;
6002}
6003inline void AccountLevelInfo::set_country(const ::std::string& value) {
6004 set_has_country();
6005 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6006 country_ = new ::std::string;
6007 }
6008 country_->assign(value);
6009 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.country)
6010}
6011inline void AccountLevelInfo::set_country(const char* value) {
6012 set_has_country();
6013 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6014 country_ = new ::std::string;
6015 }
6016 country_->assign(value);
6017 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.country)
6018}
6019inline void AccountLevelInfo::set_country(const char* value, size_t size) {
6020 set_has_country();
6021 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6022 country_ = new ::std::string;
6023 }
6024 country_->assign(reinterpret_cast<const char*>(value), size);
6025 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.country)
6026}
6027inline ::std::string* AccountLevelInfo::mutable_country() {
6028 set_has_country();
6029 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6030 country_ = new ::std::string;
6031 }
6032 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.country)
6033 return country_;
6034}
6035inline ::std::string* AccountLevelInfo::release_country() {
6036 clear_has_country();
6037 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6038 return NULL;
6039 } else {
6040 ::std::string* temp = country_;
6041 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6042 return temp;
6043 }
6044}
6045inline void AccountLevelInfo::set_allocated_country(::std::string* country) {
6046 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6047 delete country_;
6048 }
6049 if (country) {
6050 set_has_country();
6051 country_ = country;
6052 } else {
6053 clear_has_country();
6054 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6055 }
6056 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.country)
6057}
6058
6059// optional uint32 preferred_region = 6;
6061 return (_has_bits_[0] & 0x00000008u) != 0;
6062}
6064 _has_bits_[0] |= 0x00000008u;
6065}
6067 _has_bits_[0] &= ~0x00000008u;
6068}
6070 preferred_region_ = 0u;
6071 clear_has_preferred_region();
6072}
6074 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.preferred_region)
6075 return preferred_region_;
6076}
6078 set_has_preferred_region();
6079 preferred_region_ = value;
6080 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.preferred_region)
6081}
6082
6083// optional string full_name = 7;
6085 return (_has_bits_[0] & 0x00000010u) != 0;
6086}
6088 _has_bits_[0] |= 0x00000010u;
6089}
6091 _has_bits_[0] &= ~0x00000010u;
6092}
6094 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6095 full_name_->clear();
6096 }
6097 clear_has_full_name();
6098}
6099inline const ::std::string& AccountLevelInfo::full_name() const {
6100 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6101 return *full_name_;
6102}
6103inline void AccountLevelInfo::set_full_name(const ::std::string& value) {
6104 set_has_full_name();
6105 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6106 full_name_ = new ::std::string;
6107 }
6108 full_name_->assign(value);
6109 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6110}
6111inline void AccountLevelInfo::set_full_name(const char* value) {
6112 set_has_full_name();
6113 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6114 full_name_ = new ::std::string;
6115 }
6116 full_name_->assign(value);
6117 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6118}
6119inline void AccountLevelInfo::set_full_name(const char* value, size_t size) {
6120 set_has_full_name();
6121 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6122 full_name_ = new ::std::string;
6123 }
6124 full_name_->assign(reinterpret_cast<const char*>(value), size);
6125 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6126}
6128 set_has_full_name();
6129 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6130 full_name_ = new ::std::string;
6131 }
6132 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6133 return full_name_;
6134}
6136 clear_has_full_name();
6137 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6138 return NULL;
6139 } else {
6140 ::std::string* temp = full_name_;
6141 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6142 return temp;
6143 }
6144}
6145inline void AccountLevelInfo::set_allocated_full_name(::std::string* full_name) {
6146 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6147 delete full_name_;
6148 }
6149 if (full_name) {
6150 set_has_full_name();
6151 full_name_ = full_name;
6152 } else {
6153 clear_has_full_name();
6154 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6155 }
6156 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6157}
6158
6159// optional string battle_tag = 8;
6161 return (_has_bits_[0] & 0x00000020u) != 0;
6162}
6164 _has_bits_[0] |= 0x00000020u;
6165}
6167 _has_bits_[0] &= ~0x00000020u;
6168}
6170 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6171 battle_tag_->clear();
6172 }
6173 clear_has_battle_tag();
6174}
6175inline const ::std::string& AccountLevelInfo::battle_tag() const {
6176 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6177 return *battle_tag_;
6178}
6179inline void AccountLevelInfo::set_battle_tag(const ::std::string& value) {
6180 set_has_battle_tag();
6181 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6182 battle_tag_ = new ::std::string;
6183 }
6184 battle_tag_->assign(value);
6185 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6186}
6187inline void AccountLevelInfo::set_battle_tag(const char* value) {
6188 set_has_battle_tag();
6189 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6190 battle_tag_ = new ::std::string;
6191 }
6192 battle_tag_->assign(value);
6193 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6194}
6195inline void AccountLevelInfo::set_battle_tag(const char* value, size_t size) {
6196 set_has_battle_tag();
6197 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6198 battle_tag_ = new ::std::string;
6199 }
6200 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
6201 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6202}
6204 set_has_battle_tag();
6205 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6206 battle_tag_ = new ::std::string;
6207 }
6208 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6209 return battle_tag_;
6210}
6212 clear_has_battle_tag();
6213 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6214 return NULL;
6215 } else {
6216 ::std::string* temp = battle_tag_;
6217 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6218 return temp;
6219 }
6220}
6221inline void AccountLevelInfo::set_allocated_battle_tag(::std::string* battle_tag) {
6222 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6223 delete battle_tag_;
6224 }
6225 if (battle_tag) {
6226 set_has_battle_tag();
6227 battle_tag_ = battle_tag;
6228 } else {
6229 clear_has_battle_tag();
6230 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6231 }
6232 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6233}
6234
6235// optional bool muted = 9;
6236inline bool AccountLevelInfo::has_muted() const {
6237 return (_has_bits_[0] & 0x00000040u) != 0;
6238}
6240 _has_bits_[0] |= 0x00000040u;
6241}
6243 _has_bits_[0] &= ~0x00000040u;
6244}
6246 muted_ = false;
6247 clear_has_muted();
6248}
6249inline bool AccountLevelInfo::muted() const {
6250 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.muted)
6251 return muted_;
6252}
6253inline void AccountLevelInfo::set_muted(bool value) {
6254 set_has_muted();
6255 muted_ = value;
6256 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.muted)
6257}
6258
6259// optional bool manual_review = 10;
6261 return (_has_bits_[0] & 0x00000080u) != 0;
6262}
6264 _has_bits_[0] |= 0x00000080u;
6265}
6267 _has_bits_[0] &= ~0x00000080u;
6268}
6270 manual_review_ = false;
6271 clear_has_manual_review();
6272}
6274 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.manual_review)
6275 return manual_review_;
6276}
6278 set_has_manual_review();
6279 manual_review_ = value;
6280 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.manual_review)
6281}
6282
6283// optional bool account_paid_any = 11;
6285 return (_has_bits_[0] & 0x00000100u) != 0;
6286}
6288 _has_bits_[0] |= 0x00000100u;
6289}
6291 _has_bits_[0] &= ~0x00000100u;
6292}
6294 account_paid_any_ = false;
6295 clear_has_account_paid_any();
6296}
6298 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.account_paid_any)
6299 return account_paid_any_;
6300}
6302 set_has_account_paid_any();
6303 account_paid_any_ = value;
6304 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.account_paid_any)
6305}
6306
6307// optional .bgs.protocol.account.v1.IdentityVerificationStatus identity_check_status = 12;
6309 return (_has_bits_[0] & 0x00000200u) != 0;
6310}
6312 _has_bits_[0] |= 0x00000200u;
6313}
6315 _has_bits_[0] &= ~0x00000200u;
6316}
6318 identity_check_status_ = 0;
6319 clear_has_identity_check_status();
6320}
6322 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.identity_check_status)
6323 return static_cast< ::bgs::protocol::account::v1::IdentityVerificationStatus >(identity_check_status_);
6324}
6327 set_has_identity_check_status();
6328 identity_check_status_ = value;
6329 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.identity_check_status)
6330}
6331
6332// optional string email = 13;
6333inline bool AccountLevelInfo::has_email() const {
6334 return (_has_bits_[0] & 0x00000400u) != 0;
6335}
6337 _has_bits_[0] |= 0x00000400u;
6338}
6340 _has_bits_[0] &= ~0x00000400u;
6341}
6343 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6344 email_->clear();
6345 }
6346 clear_has_email();
6347}
6348inline const ::std::string& AccountLevelInfo::email() const {
6349 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.email)
6350 return *email_;
6351}
6352inline void AccountLevelInfo::set_email(const ::std::string& value) {
6353 set_has_email();
6354 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6355 email_ = new ::std::string;
6356 }
6357 email_->assign(value);
6358 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.email)
6359}
6360inline void AccountLevelInfo::set_email(const char* value) {
6361 set_has_email();
6362 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6363 email_ = new ::std::string;
6364 }
6365 email_->assign(value);
6366 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.email)
6367}
6368inline void AccountLevelInfo::set_email(const char* value, size_t size) {
6369 set_has_email();
6370 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6371 email_ = new ::std::string;
6372 }
6373 email_->assign(reinterpret_cast<const char*>(value), size);
6374 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.email)
6375}
6376inline ::std::string* AccountLevelInfo::mutable_email() {
6377 set_has_email();
6378 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6379 email_ = new ::std::string;
6380 }
6381 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.email)
6382 return email_;
6383}
6384inline ::std::string* AccountLevelInfo::release_email() {
6385 clear_has_email();
6386 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6387 return NULL;
6388 } else {
6389 ::std::string* temp = email_;
6390 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6391 return temp;
6392 }
6393}
6394inline void AccountLevelInfo::set_allocated_email(::std::string* email) {
6395 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6396 delete email_;
6397 }
6398 if (email) {
6399 set_has_email();
6400 email_ = email;
6401 } else {
6402 clear_has_email();
6403 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6404 }
6405 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.email)
6406}
6407
6408// optional bool headless_account = 14;
6410 return (_has_bits_[0] & 0x00000800u) != 0;
6411}
6413 _has_bits_[0] |= 0x00000800u;
6414}
6416 _has_bits_[0] &= ~0x00000800u;
6417}
6419 headless_account_ = false;
6420 clear_has_headless_account();
6421}
6423 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.headless_account)
6424 return headless_account_;
6425}
6427 set_has_headless_account();
6428 headless_account_ = value;
6429 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.headless_account)
6430}
6431
6432// optional bool test_account = 15;
6434 return (_has_bits_[0] & 0x00001000u) != 0;
6435}
6437 _has_bits_[0] |= 0x00001000u;
6438}
6440 _has_bits_[0] &= ~0x00001000u;
6441}
6443 test_account_ = false;
6444 clear_has_test_account();
6445}
6447 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.test_account)
6448 return test_account_;
6449}
6450inline void AccountLevelInfo::set_test_account(bool value) {
6451 set_has_test_account();
6452 test_account_ = value;
6453 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.test_account)
6454}
6455
6456// optional bool is_sms_protected = 17;
6458 return (_has_bits_[0] & 0x00002000u) != 0;
6459}
6461 _has_bits_[0] |= 0x00002000u;
6462}
6464 _has_bits_[0] &= ~0x00002000u;
6465}
6467 is_sms_protected_ = false;
6468 clear_has_is_sms_protected();
6469}
6471 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.is_sms_protected)
6472 return is_sms_protected_;
6473}
6475 set_has_is_sms_protected();
6476 is_sms_protected_ = value;
6477 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.is_sms_protected)
6478}
6479
6480// optional uint32 ratings_board_minimum_age = 18;
6482 return (_has_bits_[0] & 0x00004000u) != 0;
6483}
6485 _has_bits_[0] |= 0x00004000u;
6486}
6488 _has_bits_[0] &= ~0x00004000u;
6489}
6491 ratings_board_minimum_age_ = 0u;
6492 clear_has_ratings_board_minimum_age();
6493}
6495 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.ratings_board_minimum_age)
6496 return ratings_board_minimum_age_;
6497}
6499 set_has_ratings_board_minimum_age();
6500 ratings_board_minimum_age_ = value;
6501 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.ratings_board_minimum_age)
6502}
6503
6504// optional string phone_number = 19;
6506 return (_has_bits_[0] & 0x00008000u) != 0;
6507}
6509 _has_bits_[0] |= 0x00008000u;
6510}
6512 _has_bits_[0] &= ~0x00008000u;
6513}
6515 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6516 phone_number_->clear();
6517 }
6518 clear_has_phone_number();
6519}
6520inline const ::std::string& AccountLevelInfo::phone_number() const {
6521 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6522 return *phone_number_;
6523}
6524inline void AccountLevelInfo::set_phone_number(const ::std::string& value) {
6525 set_has_phone_number();
6526 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6527 phone_number_ = new ::std::string;
6528 }
6529 phone_number_->assign(value);
6530 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6531}
6532inline void AccountLevelInfo::set_phone_number(const char* value) {
6533 set_has_phone_number();
6534 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6535 phone_number_ = new ::std::string;
6536 }
6537 phone_number_->assign(value);
6538 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6539}
6540inline void AccountLevelInfo::set_phone_number(const char* value, size_t size) {
6541 set_has_phone_number();
6542 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6543 phone_number_ = new ::std::string;
6544 }
6545 phone_number_->assign(reinterpret_cast<const char*>(value), size);
6546 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6547}
6549 set_has_phone_number();
6550 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6551 phone_number_ = new ::std::string;
6552 }
6553 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6554 return phone_number_;
6555}
6557 clear_has_phone_number();
6558 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6559 return NULL;
6560 } else {
6561 ::std::string* temp = phone_number_;
6562 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6563 return temp;
6564 }
6565}
6566inline void AccountLevelInfo::set_allocated_phone_number(::std::string* phone_number) {
6567 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6568 delete phone_number_;
6569 }
6570 if (phone_number) {
6571 set_has_phone_number();
6572 phone_number_ = phone_number;
6573 } else {
6574 clear_has_phone_number();
6575 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6576 }
6577 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6578}
6579
6580// optional string birthdate = 20;
6582 return (_has_bits_[0] & 0x00010000u) != 0;
6583}
6585 _has_bits_[0] |= 0x00010000u;
6586}
6588 _has_bits_[0] &= ~0x00010000u;
6589}
6591 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6592 birthdate_->clear();
6593 }
6594 clear_has_birthdate();
6595}
6596inline const ::std::string& AccountLevelInfo::birthdate() const {
6597 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6598 return *birthdate_;
6599}
6600inline void AccountLevelInfo::set_birthdate(const ::std::string& value) {
6601 set_has_birthdate();
6602 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6603 birthdate_ = new ::std::string;
6604 }
6605 birthdate_->assign(value);
6606 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6607}
6608inline void AccountLevelInfo::set_birthdate(const char* value) {
6609 set_has_birthdate();
6610 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6611 birthdate_ = new ::std::string;
6612 }
6613 birthdate_->assign(value);
6614 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6615}
6616inline void AccountLevelInfo::set_birthdate(const char* value, size_t size) {
6617 set_has_birthdate();
6618 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6619 birthdate_ = new ::std::string;
6620 }
6621 birthdate_->assign(reinterpret_cast<const char*>(value), size);
6622 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6623}
6625 set_has_birthdate();
6626 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6627 birthdate_ = new ::std::string;
6628 }
6629 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6630 return birthdate_;
6631}
6633 clear_has_birthdate();
6634 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6635 return NULL;
6636 } else {
6637 ::std::string* temp = birthdate_;
6638 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6639 return temp;
6640 }
6641}
6642inline void AccountLevelInfo::set_allocated_birthdate(::std::string* birthdate) {
6643 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6644 delete birthdate_;
6645 }
6646 if (birthdate) {
6647 set_has_birthdate();
6648 birthdate_ = birthdate;
6649 } else {
6650 clear_has_birthdate();
6651 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6652 }
6653 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6654}
6655
6656// optional bool legal_country_feature_restrictions_applied = 21;
6658 return (_has_bits_[0] & 0x00020000u) != 0;
6659}
6661 _has_bits_[0] |= 0x00020000u;
6662}
6664 _has_bits_[0] &= ~0x00020000u;
6665}
6667 legal_country_feature_restrictions_applied_ = false;
6668 clear_has_legal_country_feature_restrictions_applied();
6669}
6671 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
6672 return legal_country_feature_restrictions_applied_;
6673}
6675 set_has_legal_country_feature_restrictions_applied();
6676 legal_country_feature_restrictions_applied_ = value;
6677 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
6678}
6679
6680// optional .bgs.protocol.account.v1.OptIns opt_ins = 22;
6682 return (_has_bits_[0] & 0x00040000u) != 0;
6683}
6685 _has_bits_[0] |= 0x00040000u;
6686}
6688 _has_bits_[0] &= ~0x00040000u;
6689}
6691 if (opt_ins_ != NULL) opt_ins_->::bgs::protocol::account::v1::OptIns::Clear();
6692 clear_has_opt_ins();
6693}
6694inline const ::bgs::protocol::account::v1::OptIns& AccountLevelInfo::opt_ins() const {
6695 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6696 return opt_ins_ != NULL ? *opt_ins_ : *default_instance_->opt_ins_;
6697}
6698inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::mutable_opt_ins() {
6699 set_has_opt_ins();
6700 if (opt_ins_ == NULL) opt_ins_ = new ::bgs::protocol::account::v1::OptIns;
6701 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6702 return opt_ins_;
6703}
6704inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::release_opt_ins() {
6705 clear_has_opt_ins();
6706 ::bgs::protocol::account::v1::OptIns* temp = opt_ins_;
6707 opt_ins_ = NULL;
6708 return temp;
6709}
6711 delete opt_ins_;
6712 opt_ins_ = opt_ins;
6713 if (opt_ins) {
6714 set_has_opt_ins();
6715 } else {
6716 clear_has_opt_ins();
6717 }
6718 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6719}
6720
6721// -------------------------------------------------------------------
6722
6723// PrivacyInfo
6724
6725// optional bool is_using_rid = 3;
6727 return (_has_bits_[0] & 0x00000001u) != 0;
6728}
6730 _has_bits_[0] |= 0x00000001u;
6731}
6733 _has_bits_[0] &= ~0x00000001u;
6734}
6736 is_using_rid_ = false;
6737 clear_has_is_using_rid();
6738}
6739inline bool PrivacyInfo::is_using_rid() const {
6740 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_using_rid)
6741 return is_using_rid_;
6742}
6743inline void PrivacyInfo::set_is_using_rid(bool value) {
6744 set_has_is_using_rid();
6745 is_using_rid_ = value;
6746 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_using_rid)
6747}
6748
6749// optional bool is_visible_for_view_friends = 4;
6751 return (_has_bits_[0] & 0x00000002u) != 0;
6752}
6754 _has_bits_[0] |= 0x00000002u;
6755}
6757 _has_bits_[0] &= ~0x00000002u;
6758}
6760 is_visible_for_view_friends_ = false;
6761 clear_has_is_visible_for_view_friends();
6762}
6764 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_visible_for_view_friends)
6765 return is_visible_for_view_friends_;
6766}
6768 set_has_is_visible_for_view_friends();
6769 is_visible_for_view_friends_ = value;
6770 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_visible_for_view_friends)
6771}
6772
6773// optional bool is_hidden_from_friend_finder = 5;
6775 return (_has_bits_[0] & 0x00000004u) != 0;
6776}
6778 _has_bits_[0] |= 0x00000004u;
6779}
6781 _has_bits_[0] &= ~0x00000004u;
6782}
6784 is_hidden_from_friend_finder_ = false;
6785 clear_has_is_hidden_from_friend_finder();
6786}
6788 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_hidden_from_friend_finder)
6789 return is_hidden_from_friend_finder_;
6790}
6792 set_has_is_hidden_from_friend_finder();
6793 is_hidden_from_friend_finder_ = value;
6794 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_hidden_from_friend_finder)
6795}
6796
6797// optional .bgs.protocol.account.v1.PrivacyInfo.GameInfoPrivacy game_info_privacy = 6 [default = PRIVACY_FRIENDS];
6799 return (_has_bits_[0] & 0x00000008u) != 0;
6800}
6802 _has_bits_[0] |= 0x00000008u;
6803}
6805 _has_bits_[0] &= ~0x00000008u;
6806}
6808 game_info_privacy_ = 1;
6809 clear_has_game_info_privacy();
6810}
6812 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.game_info_privacy)
6813 return static_cast< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy >(game_info_privacy_);
6814}
6817 set_has_game_info_privacy();
6818 game_info_privacy_ = value;
6819 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.game_info_privacy)
6820}
6821
6822// optional bool only_allow_friend_whispers = 7;
6824 return (_has_bits_[0] & 0x00000010u) != 0;
6825}
6827 _has_bits_[0] |= 0x00000010u;
6828}
6830 _has_bits_[0] &= ~0x00000010u;
6831}
6833 only_allow_friend_whispers_ = false;
6834 clear_has_only_allow_friend_whispers();
6835}
6837 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.only_allow_friend_whispers)
6838 return only_allow_friend_whispers_;
6839}
6841 set_has_only_allow_friend_whispers();
6842 only_allow_friend_whispers_ = value;
6843 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.only_allow_friend_whispers)
6844}
6845
6846// -------------------------------------------------------------------
6847
6848// ParentalControlInfo
6849
6850// optional string timezone = 3;
6852 return (_has_bits_[0] & 0x00000001u) != 0;
6853}
6855 _has_bits_[0] |= 0x00000001u;
6856}
6858 _has_bits_[0] &= ~0x00000001u;
6859}
6861 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6862 timezone_->clear();
6863 }
6864 clear_has_timezone();
6865}
6866inline const ::std::string& ParentalControlInfo::timezone() const {
6867 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6868 return *timezone_;
6869}
6870inline void ParentalControlInfo::set_timezone(const ::std::string& value) {
6871 set_has_timezone();
6872 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6873 timezone_ = new ::std::string;
6874 }
6875 timezone_->assign(value);
6876 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6877}
6878inline void ParentalControlInfo::set_timezone(const char* value) {
6879 set_has_timezone();
6880 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6881 timezone_ = new ::std::string;
6882 }
6883 timezone_->assign(value);
6884 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6885}
6886inline void ParentalControlInfo::set_timezone(const char* value, size_t size) {
6887 set_has_timezone();
6888 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6889 timezone_ = new ::std::string;
6890 }
6891 timezone_->assign(reinterpret_cast<const char*>(value), size);
6892 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6893}
6895 set_has_timezone();
6896 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6897 timezone_ = new ::std::string;
6898 }
6899 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6900 return timezone_;
6901}
6903 clear_has_timezone();
6904 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6905 return NULL;
6906 } else {
6907 ::std::string* temp = timezone_;
6908 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6909 return temp;
6910 }
6911}
6912inline void ParentalControlInfo::set_allocated_timezone(::std::string* timezone) {
6913 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6914 delete timezone_;
6915 }
6916 if (timezone) {
6917 set_has_timezone();
6918 timezone_ = timezone;
6919 } else {
6920 clear_has_timezone();
6921 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6922 }
6923 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6924}
6925
6926// optional uint32 minutes_per_day = 4;
6928 return (_has_bits_[0] & 0x00000002u) != 0;
6929}
6931 _has_bits_[0] |= 0x00000002u;
6932}
6934 _has_bits_[0] &= ~0x00000002u;
6935}
6937 minutes_per_day_ = 0u;
6938 clear_has_minutes_per_day();
6939}
6941 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_day)
6942 return minutes_per_day_;
6943}
6945 set_has_minutes_per_day();
6946 minutes_per_day_ = value;
6947 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_day)
6948}
6949
6950// optional uint32 minutes_per_week = 5;
6952 return (_has_bits_[0] & 0x00000004u) != 0;
6953}
6955 _has_bits_[0] |= 0x00000004u;
6956}
6958 _has_bits_[0] &= ~0x00000004u;
6959}
6961 minutes_per_week_ = 0u;
6962 clear_has_minutes_per_week();
6963}
6965 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_week)
6966 return minutes_per_week_;
6967}
6969 set_has_minutes_per_week();
6970 minutes_per_week_ = value;
6971 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_week)
6972}
6973
6974// optional bool can_receive_voice = 6;
6976 return (_has_bits_[0] & 0x00000008u) != 0;
6977}
6979 _has_bits_[0] |= 0x00000008u;
6980}
6982 _has_bits_[0] &= ~0x00000008u;
6983}
6985 can_receive_voice_ = false;
6986 clear_has_can_receive_voice();
6987}
6989 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_receive_voice)
6990 return can_receive_voice_;
6991}
6993 set_has_can_receive_voice();
6994 can_receive_voice_ = value;
6995 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_receive_voice)
6996}
6997
6998// optional bool can_send_voice = 7;
7000 return (_has_bits_[0] & 0x00000010u) != 0;
7001}
7003 _has_bits_[0] |= 0x00000010u;
7004}
7006 _has_bits_[0] &= ~0x00000010u;
7007}
7009 can_send_voice_ = false;
7010 clear_has_can_send_voice();
7011}
7013 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_send_voice)
7014 return can_send_voice_;
7015}
7017 set_has_can_send_voice();
7018 can_send_voice_ = value;
7019 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_send_voice)
7020}
7021
7022// repeated bool play_schedule = 8;
7024 return play_schedule_.size();
7025}
7027 play_schedule_.Clear();
7028}
7029inline bool ParentalControlInfo::play_schedule(int index) const {
7030 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7031 return play_schedule_.Get(index);
7032}
7033inline void ParentalControlInfo::set_play_schedule(int index, bool value) {
7034 play_schedule_.Set(index, value);
7035 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7036}
7038 play_schedule_.Add(value);
7039 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7040}
7041inline const ::google::protobuf::RepeatedField< bool >&
7043 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7044 return play_schedule_;
7045}
7046inline ::google::protobuf::RepeatedField< bool >*
7048 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7049 return &play_schedule_;
7050}
7051
7052// optional bool can_join_group = 9;
7054 return (_has_bits_[0] & 0x00000040u) != 0;
7055}
7057 _has_bits_[0] |= 0x00000040u;
7058}
7060 _has_bits_[0] &= ~0x00000040u;
7061}
7063 can_join_group_ = false;
7064 clear_has_can_join_group();
7065}
7067 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_join_group)
7068 return can_join_group_;
7069}
7071 set_has_can_join_group();
7072 can_join_group_ = value;
7073 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_join_group)
7074}
7075
7076// optional bool can_use_profile = 10;
7078 return (_has_bits_[0] & 0x00000080u) != 0;
7079}
7081 _has_bits_[0] |= 0x00000080u;
7082}
7084 _has_bits_[0] &= ~0x00000080u;
7085}
7087 can_use_profile_ = false;
7088 clear_has_can_use_profile();
7089}
7091 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_use_profile)
7092 return can_use_profile_;
7093}
7095 set_has_can_use_profile();
7096 can_use_profile_ = value;
7097 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_use_profile)
7098}
7099
7100// -------------------------------------------------------------------
7101
7102// PlayScheduleRestriction
7103
7104// repeated bool play_schedule = 1;
7106 return play_schedule_.size();
7107}
7109 play_schedule_.Clear();
7110}
7111inline bool PlayScheduleRestriction::play_schedule(int index) const {
7112 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7113 return play_schedule_.Get(index);
7114}
7115inline void PlayScheduleRestriction::set_play_schedule(int index, bool value) {
7116 play_schedule_.Set(index, value);
7117 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7118}
7120 play_schedule_.Add(value);
7121 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7122}
7123inline const ::google::protobuf::RepeatedField< bool >&
7125 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7126 return play_schedule_;
7127}
7128inline ::google::protobuf::RepeatedField< bool >*
7130 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7131 return &play_schedule_;
7132}
7133
7134// optional string timezone = 2;
7136 return (_has_bits_[0] & 0x00000002u) != 0;
7137}
7139 _has_bits_[0] |= 0x00000002u;
7140}
7142 _has_bits_[0] &= ~0x00000002u;
7143}
7145 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7146 timezone_->clear();
7147 }
7148 clear_has_timezone();
7149}
7150inline const ::std::string& PlayScheduleRestriction::timezone() const {
7151 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7152 return *timezone_;
7153}
7154inline void PlayScheduleRestriction::set_timezone(const ::std::string& value) {
7155 set_has_timezone();
7156 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7157 timezone_ = new ::std::string;
7158 }
7159 timezone_->assign(value);
7160 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7161}
7162inline void PlayScheduleRestriction::set_timezone(const char* value) {
7163 set_has_timezone();
7164 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7165 timezone_ = new ::std::string;
7166 }
7167 timezone_->assign(value);
7168 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7169}
7170inline void PlayScheduleRestriction::set_timezone(const char* value, size_t size) {
7171 set_has_timezone();
7172 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7173 timezone_ = new ::std::string;
7174 }
7175 timezone_->assign(reinterpret_cast<const char*>(value), size);
7176 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7177}
7179 set_has_timezone();
7180 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7181 timezone_ = new ::std::string;
7182 }
7183 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7184 return timezone_;
7185}
7187 clear_has_timezone();
7188 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7189 return NULL;
7190 } else {
7191 ::std::string* temp = timezone_;
7192 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7193 return temp;
7194 }
7195}
7196inline void PlayScheduleRestriction::set_allocated_timezone(::std::string* timezone) {
7197 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7198 delete timezone_;
7199 }
7200 if (timezone) {
7201 set_has_timezone();
7202 timezone_ = timezone;
7203 } else {
7204 clear_has_timezone();
7205 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7206 }
7207 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7208}
7209
7210// -------------------------------------------------------------------
7211
7212// GameLevelInfo
7213
7214// optional bool is_trial = 4;
7215inline bool GameLevelInfo::has_is_trial() const {
7216 return (_has_bits_[0] & 0x00000001u) != 0;
7217}
7219 _has_bits_[0] |= 0x00000001u;
7220}
7222 _has_bits_[0] &= ~0x00000001u;
7223}
7225 is_trial_ = false;
7226 clear_has_is_trial();
7227}
7228inline bool GameLevelInfo::is_trial() const {
7229 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_trial)
7230 return is_trial_;
7231}
7232inline void GameLevelInfo::set_is_trial(bool value) {
7233 set_has_is_trial();
7234 is_trial_ = value;
7235 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_trial)
7236}
7237
7238// optional bool is_lifetime = 5;
7240 return (_has_bits_[0] & 0x00000002u) != 0;
7241}
7243 _has_bits_[0] |= 0x00000002u;
7244}
7246 _has_bits_[0] &= ~0x00000002u;
7247}
7249 is_lifetime_ = false;
7250 clear_has_is_lifetime();
7251}
7252inline bool GameLevelInfo::is_lifetime() const {
7253 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_lifetime)
7254 return is_lifetime_;
7255}
7256inline void GameLevelInfo::set_is_lifetime(bool value) {
7257 set_has_is_lifetime();
7258 is_lifetime_ = value;
7259 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_lifetime)
7260}
7261
7262// optional bool is_restricted = 6;
7264 return (_has_bits_[0] & 0x00000004u) != 0;
7265}
7267 _has_bits_[0] |= 0x00000004u;
7268}
7270 _has_bits_[0] &= ~0x00000004u;
7271}
7273 is_restricted_ = false;
7274 clear_has_is_restricted();
7275}
7276inline bool GameLevelInfo::is_restricted() const {
7277 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_restricted)
7278 return is_restricted_;
7279}
7280inline void GameLevelInfo::set_is_restricted(bool value) {
7281 set_has_is_restricted();
7282 is_restricted_ = value;
7283 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_restricted)
7284}
7285
7286// optional bool is_beta = 7;
7287inline bool GameLevelInfo::has_is_beta() const {
7288 return (_has_bits_[0] & 0x00000008u) != 0;
7289}
7291 _has_bits_[0] |= 0x00000008u;
7292}
7294 _has_bits_[0] &= ~0x00000008u;
7295}
7297 is_beta_ = false;
7298 clear_has_is_beta();
7299}
7300inline bool GameLevelInfo::is_beta() const {
7301 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_beta)
7302 return is_beta_;
7303}
7304inline void GameLevelInfo::set_is_beta(bool value) {
7305 set_has_is_beta();
7306 is_beta_ = value;
7307 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_beta)
7308}
7309
7310// optional string name = 8;
7311inline bool GameLevelInfo::has_name() const {
7312 return (_has_bits_[0] & 0x00000010u) != 0;
7313}
7315 _has_bits_[0] |= 0x00000010u;
7316}
7318 _has_bits_[0] &= ~0x00000010u;
7319}
7321 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7322 name_->clear();
7323 }
7324 clear_has_name();
7325}
7326inline const ::std::string& GameLevelInfo::name() const {
7327 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.name)
7328 return *name_;
7329}
7330inline void GameLevelInfo::set_name(const ::std::string& value) {
7331 set_has_name();
7332 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7333 name_ = new ::std::string;
7334 }
7335 name_->assign(value);
7336 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.name)
7337}
7338inline void GameLevelInfo::set_name(const char* value) {
7339 set_has_name();
7340 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7341 name_ = new ::std::string;
7342 }
7343 name_->assign(value);
7344 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameLevelInfo.name)
7345}
7346inline void GameLevelInfo::set_name(const char* value, size_t size) {
7347 set_has_name();
7348 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7349 name_ = new ::std::string;
7350 }
7351 name_->assign(reinterpret_cast<const char*>(value), size);
7352 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameLevelInfo.name)
7353}
7354inline ::std::string* GameLevelInfo::mutable_name() {
7355 set_has_name();
7356 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7357 name_ = new ::std::string;
7358 }
7359 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameLevelInfo.name)
7360 return name_;
7361}
7362inline ::std::string* GameLevelInfo::release_name() {
7363 clear_has_name();
7364 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7365 return NULL;
7366 } else {
7367 ::std::string* temp = name_;
7368 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7369 return temp;
7370 }
7371}
7372inline void GameLevelInfo::set_allocated_name(::std::string* name) {
7373 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7374 delete name_;
7375 }
7376 if (name) {
7377 set_has_name();
7378 name_ = name;
7379 } else {
7380 clear_has_name();
7381 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7382 }
7383 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameLevelInfo.name)
7384}
7385
7386// optional fixed32 program = 9;
7387inline bool GameLevelInfo::has_program() const {
7388 return (_has_bits_[0] & 0x00000020u) != 0;
7389}
7391 _has_bits_[0] |= 0x00000020u;
7392}
7394 _has_bits_[0] &= ~0x00000020u;
7395}
7397 program_ = 0u;
7398 clear_has_program();
7399}
7401 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.program)
7402 return program_;
7403}
7405 set_has_program();
7406 program_ = value;
7407 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.program)
7408}
7409
7410// repeated .bgs.protocol.account.v1.AccountLicense licenses = 10;
7412 return licenses_.size();
7413}
7415 licenses_.Clear();
7416}
7417inline const ::bgs::protocol::account::v1::AccountLicense& GameLevelInfo::licenses(int index) const {
7418 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.licenses)
7419 return licenses_.Get(index);
7420}
7421inline ::bgs::protocol::account::v1::AccountLicense* GameLevelInfo::mutable_licenses(int index) {
7422 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameLevelInfo.licenses)
7423 return licenses_.Mutable(index);
7424}
7425inline ::bgs::protocol::account::v1::AccountLicense* GameLevelInfo::add_licenses() {
7426 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GameLevelInfo.licenses)
7427 return licenses_.Add();
7428}
7429inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
7431 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GameLevelInfo.licenses)
7432 return licenses_;
7433}
7434inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
7436 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GameLevelInfo.licenses)
7437 return &licenses_;
7438}
7439
7440// optional uint32 realm_permissions = 11;
7442 return (_has_bits_[0] & 0x00000080u) != 0;
7443}
7445 _has_bits_[0] |= 0x00000080u;
7446}
7448 _has_bits_[0] &= ~0x00000080u;
7449}
7451 realm_permissions_ = 0u;
7452 clear_has_realm_permissions();
7453}
7455 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.realm_permissions)
7456 return realm_permissions_;
7457}
7459 set_has_realm_permissions();
7460 realm_permissions_ = value;
7461 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.realm_permissions)
7462}
7463
7464// optional uint64 last_logout_time_ms = 12 [deprecated = true];
7466 return (_has_bits_[0] & 0x00000100u) != 0;
7467}
7469 _has_bits_[0] |= 0x00000100u;
7470}
7472 _has_bits_[0] &= ~0x00000100u;
7473}
7475 last_logout_time_ms_ = GOOGLE_ULONGLONG(0);
7476 clear_has_last_logout_time_ms();
7477}
7479 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.last_logout_time_ms)
7480 return last_logout_time_ms_;
7481}
7483 set_has_last_logout_time_ms();
7484 last_logout_time_ms_ = value;
7485 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.last_logout_time_ms)
7486}
7487
7488// -------------------------------------------------------------------
7489
7490// GameTimeInfo
7491
7492// optional bool is_unlimited_play_time = 3;
7494 return (_has_bits_[0] & 0x00000001u) != 0;
7495}
7497 _has_bits_[0] |= 0x00000001u;
7498}
7500 _has_bits_[0] &= ~0x00000001u;
7501}
7503 is_unlimited_play_time_ = false;
7504 clear_has_is_unlimited_play_time();
7505}
7507 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_unlimited_play_time)
7508 return is_unlimited_play_time_;
7509}
7511 set_has_is_unlimited_play_time();
7512 is_unlimited_play_time_ = value;
7513 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_unlimited_play_time)
7514}
7515
7516// optional uint64 play_time_expires = 5;
7518 return (_has_bits_[0] & 0x00000002u) != 0;
7519}
7521 _has_bits_[0] |= 0x00000002u;
7522}
7524 _has_bits_[0] &= ~0x00000002u;
7525}
7527 play_time_expires_ = GOOGLE_ULONGLONG(0);
7528 clear_has_play_time_expires();
7529}
7531 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.play_time_expires)
7532 return play_time_expires_;
7533}
7535 set_has_play_time_expires();
7536 play_time_expires_ = value;
7537 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.play_time_expires)
7538}
7539
7540// optional bool is_subscription = 6;
7542 return (_has_bits_[0] & 0x00000004u) != 0;
7543}
7545 _has_bits_[0] |= 0x00000004u;
7546}
7548 _has_bits_[0] &= ~0x00000004u;
7549}
7551 is_subscription_ = false;
7552 clear_has_is_subscription();
7553}
7555 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_subscription)
7556 return is_subscription_;
7557}
7558inline void GameTimeInfo::set_is_subscription(bool value) {
7559 set_has_is_subscription();
7560 is_subscription_ = value;
7561 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_subscription)
7562}
7563
7564// optional bool is_recurring_subscription = 7;
7566 return (_has_bits_[0] & 0x00000008u) != 0;
7567}
7569 _has_bits_[0] |= 0x00000008u;
7570}
7572 _has_bits_[0] &= ~0x00000008u;
7573}
7575 is_recurring_subscription_ = false;
7576 clear_has_is_recurring_subscription();
7577}
7579 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_recurring_subscription)
7580 return is_recurring_subscription_;
7581}
7583 set_has_is_recurring_subscription();
7584 is_recurring_subscription_ = value;
7585 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_recurring_subscription)
7586}
7587
7588// -------------------------------------------------------------------
7589
7590// GameTimeRemainingInfo
7591
7592// optional uint32 minutes_remaining = 1;
7594 return (_has_bits_[0] & 0x00000001u) != 0;
7595}
7597 _has_bits_[0] |= 0x00000001u;
7598}
7600 _has_bits_[0] &= ~0x00000001u;
7601}
7603 minutes_remaining_ = 0u;
7604 clear_has_minutes_remaining();
7605}
7607 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.minutes_remaining)
7608 return minutes_remaining_;
7609}
7611 set_has_minutes_remaining();
7612 minutes_remaining_ = value;
7613 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.minutes_remaining)
7614}
7615
7616// optional uint32 parental_daily_minutes_remaining = 2;
7618 return (_has_bits_[0] & 0x00000002u) != 0;
7619}
7621 _has_bits_[0] |= 0x00000002u;
7622}
7624 _has_bits_[0] &= ~0x00000002u;
7625}
7627 parental_daily_minutes_remaining_ = 0u;
7628 clear_has_parental_daily_minutes_remaining();
7629}
7631 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_daily_minutes_remaining)
7632 return parental_daily_minutes_remaining_;
7633}
7635 set_has_parental_daily_minutes_remaining();
7636 parental_daily_minutes_remaining_ = value;
7637 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_daily_minutes_remaining)
7638}
7639
7640// optional uint32 parental_weekly_minutes_remaining = 3;
7642 return (_has_bits_[0] & 0x00000004u) != 0;
7643}
7645 _has_bits_[0] |= 0x00000004u;
7646}
7648 _has_bits_[0] &= ~0x00000004u;
7649}
7651 parental_weekly_minutes_remaining_ = 0u;
7652 clear_has_parental_weekly_minutes_remaining();
7653}
7655 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_weekly_minutes_remaining)
7656 return parental_weekly_minutes_remaining_;
7657}
7659 set_has_parental_weekly_minutes_remaining();
7660 parental_weekly_minutes_remaining_ = value;
7661 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_weekly_minutes_remaining)
7662}
7663
7664// optional uint32 seconds_remaining_until_kick = 4 [deprecated = true];
7666 return (_has_bits_[0] & 0x00000008u) != 0;
7667}
7669 _has_bits_[0] |= 0x00000008u;
7670}
7672 _has_bits_[0] &= ~0x00000008u;
7673}
7675 seconds_remaining_until_kick_ = 0u;
7676 clear_has_seconds_remaining_until_kick();
7677}
7679 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.seconds_remaining_until_kick)
7680 return seconds_remaining_until_kick_;
7681}
7683 set_has_seconds_remaining_until_kick();
7684 seconds_remaining_until_kick_ = value;
7685 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.seconds_remaining_until_kick)
7686}
7687
7688// -------------------------------------------------------------------
7689
7690// GameStatus
7691
7692// optional bool is_suspended = 4;
7693inline bool GameStatus::has_is_suspended() const {
7694 return (_has_bits_[0] & 0x00000001u) != 0;
7695}
7697 _has_bits_[0] |= 0x00000001u;
7698}
7700 _has_bits_[0] &= ~0x00000001u;
7701}
7703 is_suspended_ = false;
7704 clear_has_is_suspended();
7705}
7706inline bool GameStatus::is_suspended() const {
7707 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_suspended)
7708 return is_suspended_;
7709}
7710inline void GameStatus::set_is_suspended(bool value) {
7711 set_has_is_suspended();
7712 is_suspended_ = value;
7713 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_suspended)
7714}
7715
7716// optional bool is_banned = 5;
7717inline bool GameStatus::has_is_banned() const {
7718 return (_has_bits_[0] & 0x00000002u) != 0;
7719}
7721 _has_bits_[0] |= 0x00000002u;
7722}
7724 _has_bits_[0] &= ~0x00000002u;
7725}
7727 is_banned_ = false;
7728 clear_has_is_banned();
7729}
7730inline bool GameStatus::is_banned() const {
7731 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_banned)
7732 return is_banned_;
7733}
7734inline void GameStatus::set_is_banned(bool value) {
7735 set_has_is_banned();
7736 is_banned_ = value;
7737 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_banned)
7738}
7739
7740// optional uint64 suspension_expires = 6;
7742 return (_has_bits_[0] & 0x00000004u) != 0;
7743}
7745 _has_bits_[0] |= 0x00000004u;
7746}
7748 _has_bits_[0] &= ~0x00000004u;
7749}
7751 suspension_expires_ = GOOGLE_ULONGLONG(0);
7752 clear_has_suspension_expires();
7753}
7755 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.suspension_expires)
7756 return suspension_expires_;
7757}
7759 set_has_suspension_expires();
7760 suspension_expires_ = value;
7761 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.suspension_expires)
7762}
7763
7764// optional fixed32 program = 7;
7765inline bool GameStatus::has_program() const {
7766 return (_has_bits_[0] & 0x00000008u) != 0;
7767}
7769 _has_bits_[0] |= 0x00000008u;
7770}
7772 _has_bits_[0] &= ~0x00000008u;
7773}
7775 program_ = 0u;
7776 clear_has_program();
7777}
7779 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.program)
7780 return program_;
7781}
7783 set_has_program();
7784 program_ = value;
7785 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.program)
7786}
7787
7788// optional bool is_locked = 8;
7789inline bool GameStatus::has_is_locked() const {
7790 return (_has_bits_[0] & 0x00000010u) != 0;
7791}
7793 _has_bits_[0] |= 0x00000010u;
7794}
7796 _has_bits_[0] &= ~0x00000010u;
7797}
7799 is_locked_ = false;
7800 clear_has_is_locked();
7801}
7802inline bool GameStatus::is_locked() const {
7803 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_locked)
7804 return is_locked_;
7805}
7806inline void GameStatus::set_is_locked(bool value) {
7807 set_has_is_locked();
7808 is_locked_ = value;
7809 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_locked)
7810}
7811
7812// optional bool is_bam_unlockable = 9;
7814 return (_has_bits_[0] & 0x00000020u) != 0;
7815}
7817 _has_bits_[0] |= 0x00000020u;
7818}
7820 _has_bits_[0] &= ~0x00000020u;
7821}
7823 is_bam_unlockable_ = false;
7824 clear_has_is_bam_unlockable();
7825}
7827 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_bam_unlockable)
7828 return is_bam_unlockable_;
7829}
7830inline void GameStatus::set_is_bam_unlockable(bool value) {
7831 set_has_is_bam_unlockable();
7832 is_bam_unlockable_ = value;
7833 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_bam_unlockable)
7834}
7835
7836// -------------------------------------------------------------------
7837
7838// RAFInfo
7839
7840// optional bytes raf_info = 1;
7841inline bool RAFInfo::has_raf_info() const {
7842 return (_has_bits_[0] & 0x00000001u) != 0;
7843}
7845 _has_bits_[0] |= 0x00000001u;
7846}
7848 _has_bits_[0] &= ~0x00000001u;
7849}
7851 if (raf_info_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7852 raf_info_->clear();
7853 }
7854 clear_has_raf_info();
7855}
7856inline const ::std::string& RAFInfo::raf_info() const {
7857 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RAFInfo.raf_info)
7858 return *raf_info_;
7859}
7860inline void RAFInfo::set_raf_info(const ::std::string& value) {
7861 set_has_raf_info();
7862 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7863 raf_info_ = new ::std::string;
7864 }
7865 raf_info_->assign(value);
7866 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RAFInfo.raf_info)
7867}
7868inline void RAFInfo::set_raf_info(const char* value) {
7869 set_has_raf_info();
7870 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7871 raf_info_ = new ::std::string;
7872 }
7873 raf_info_->assign(value);
7874 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.RAFInfo.raf_info)
7875}
7876inline void RAFInfo::set_raf_info(const void* value, size_t size) {
7877 set_has_raf_info();
7878 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7879 raf_info_ = new ::std::string;
7880 }
7881 raf_info_->assign(reinterpret_cast<const char*>(value), size);
7882 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.RAFInfo.raf_info)
7883}
7884inline ::std::string* RAFInfo::mutable_raf_info() {
7885 set_has_raf_info();
7886 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7887 raf_info_ = new ::std::string;
7888 }
7889 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.RAFInfo.raf_info)
7890 return raf_info_;
7891}
7892inline ::std::string* RAFInfo::release_raf_info() {
7893 clear_has_raf_info();
7894 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7895 return NULL;
7896 } else {
7897 ::std::string* temp = raf_info_;
7898 raf_info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7899 return temp;
7900 }
7901}
7902inline void RAFInfo::set_allocated_raf_info(::std::string* raf_info) {
7903 if (raf_info_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7904 delete raf_info_;
7905 }
7906 if (raf_info) {
7907 set_has_raf_info();
7908 raf_info_ = raf_info;
7909 } else {
7910 clear_has_raf_info();
7911 raf_info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7912 }
7913 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.RAFInfo.raf_info)
7914}
7915
7916// -------------------------------------------------------------------
7917
7918// GameSessionInfo
7919
7920// optional uint32 start_time = 3 [deprecated = true];
7922 return (_has_bits_[0] & 0x00000001u) != 0;
7923}
7925 _has_bits_[0] |= 0x00000001u;
7926}
7928 _has_bits_[0] &= ~0x00000001u;
7929}
7931 start_time_ = 0u;
7932 clear_has_start_time();
7933}
7935 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.start_time)
7936 return start_time_;
7937}
7939 set_has_start_time();
7940 start_time_ = value;
7941 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.start_time)
7942}
7943
7944// optional .bgs.protocol.account.v1.GameSessionLocation location = 4;
7946 return (_has_bits_[0] & 0x00000002u) != 0;
7947}
7949 _has_bits_[0] |= 0x00000002u;
7950}
7952 _has_bits_[0] &= ~0x00000002u;
7953}
7955 if (location_ != NULL) location_->::bgs::protocol::account::v1::GameSessionLocation::Clear();
7956 clear_has_location();
7957}
7958inline const ::bgs::protocol::account::v1::GameSessionLocation& GameSessionInfo::location() const {
7959 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.location)
7960 return location_ != NULL ? *location_ : *default_instance_->location_;
7961}
7962inline ::bgs::protocol::account::v1::GameSessionLocation* GameSessionInfo::mutable_location() {
7963 set_has_location();
7964 if (location_ == NULL) location_ = new ::bgs::protocol::account::v1::GameSessionLocation;
7965 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionInfo.location)
7966 return location_;
7967}
7968inline ::bgs::protocol::account::v1::GameSessionLocation* GameSessionInfo::release_location() {
7969 clear_has_location();
7971 location_ = NULL;
7972 return temp;
7973}
7975 delete location_;
7976 location_ = location;
7977 if (location) {
7978 set_has_location();
7979 } else {
7980 clear_has_location();
7981 }
7982 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionInfo.location)
7983}
7984
7985// optional bool has_benefactor = 5;
7987 return (_has_bits_[0] & 0x00000004u) != 0;
7988}
7990 _has_bits_[0] |= 0x00000004u;
7991}
7993 _has_bits_[0] &= ~0x00000004u;
7994}
7996 has_benefactor_ = false;
7997 clear_has_has_benefactor();
7998}
8000 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.has_benefactor)
8001 return has_benefactor_;
8002}
8004 set_has_has_benefactor();
8005 has_benefactor_ = value;
8006 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.has_benefactor)
8007}
8008
8009// optional bool is_using_igr = 6;
8011 return (_has_bits_[0] & 0x00000008u) != 0;
8012}
8014 _has_bits_[0] |= 0x00000008u;
8015}
8017 _has_bits_[0] &= ~0x00000008u;
8018}
8020 is_using_igr_ = false;
8021 clear_has_is_using_igr();
8022}
8024 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.is_using_igr)
8025 return is_using_igr_;
8026}
8027inline void GameSessionInfo::set_is_using_igr(bool value) {
8028 set_has_is_using_igr();
8029 is_using_igr_ = value;
8030 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.is_using_igr)
8031}
8032
8033// optional bool parental_controls_active = 7;
8035 return (_has_bits_[0] & 0x00000010u) != 0;
8036}
8038 _has_bits_[0] |= 0x00000010u;
8039}
8041 _has_bits_[0] &= ~0x00000010u;
8042}
8044 parental_controls_active_ = false;
8045 clear_has_parental_controls_active();
8046}
8048 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.parental_controls_active)
8049 return parental_controls_active_;
8050}
8052 set_has_parental_controls_active();
8053 parental_controls_active_ = value;
8054 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.parental_controls_active)
8055}
8056
8057// optional uint64 start_time_sec = 8;
8059 return (_has_bits_[0] & 0x00000020u) != 0;
8060}
8062 _has_bits_[0] |= 0x00000020u;
8063}
8065 _has_bits_[0] &= ~0x00000020u;
8066}
8068 start_time_sec_ = GOOGLE_ULONGLONG(0);
8069 clear_has_start_time_sec();
8070}
8072 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.start_time_sec)
8073 return start_time_sec_;
8074}
8076 set_has_start_time_sec();
8077 start_time_sec_ = value;
8078 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.start_time_sec)
8079}
8080
8081// optional .bgs.protocol.account.v1.IgrId igr_id = 9;
8082inline bool GameSessionInfo::has_igr_id() const {
8083 return (_has_bits_[0] & 0x00000040u) != 0;
8084}
8086 _has_bits_[0] |= 0x00000040u;
8087}
8089 _has_bits_[0] &= ~0x00000040u;
8090}
8092 if (igr_id_ != NULL) igr_id_->::bgs::protocol::account::v1::IgrId::Clear();
8093 clear_has_igr_id();
8094}
8095inline const ::bgs::protocol::account::v1::IgrId& GameSessionInfo::igr_id() const {
8096 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8097 return igr_id_ != NULL ? *igr_id_ : *default_instance_->igr_id_;
8098}
8099inline ::bgs::protocol::account::v1::IgrId* GameSessionInfo::mutable_igr_id() {
8100 set_has_igr_id();
8101 if (igr_id_ == NULL) igr_id_ = new ::bgs::protocol::account::v1::IgrId;
8102 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8103 return igr_id_;
8104}
8105inline ::bgs::protocol::account::v1::IgrId* GameSessionInfo::release_igr_id() {
8106 clear_has_igr_id();
8108 igr_id_ = NULL;
8109 return temp;
8110}
8112 delete igr_id_;
8113 igr_id_ = igr_id;
8114 if (igr_id) {
8115 set_has_igr_id();
8116 } else {
8117 clear_has_igr_id();
8118 }
8119 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8120}
8121
8122// optional fixed32 platform_id = 10;
8124 return (_has_bits_[0] & 0x00000080u) != 0;
8125}
8127 _has_bits_[0] |= 0x00000080u;
8128}
8130 _has_bits_[0] &= ~0x00000080u;
8131}
8133 platform_id_ = 0u;
8134 clear_has_platform_id();
8135}
8137 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.platform_id)
8138 return platform_id_;
8139}
8141 set_has_platform_id();
8142 platform_id_ = value;
8143 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.platform_id)
8144}
8145
8146// optional bool igr_paid = 11;
8148 return (_has_bits_[0] & 0x00000100u) != 0;
8149}
8151 _has_bits_[0] |= 0x00000100u;
8152}
8154 _has_bits_[0] &= ~0x00000100u;
8155}
8157 igr_paid_ = false;
8158 clear_has_igr_paid();
8159}
8160inline bool GameSessionInfo::igr_paid() const {
8161 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
8162 return igr_paid_;
8163}
8164inline void GameSessionInfo::set_igr_paid(bool value) {
8165 set_has_igr_paid();
8166 igr_paid_ = value;
8167 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
8168}
8169
8170// -------------------------------------------------------------------
8171
8172// GameSessionUpdateInfo
8173
8174// optional .bgs.protocol.account.v1.CAIS cais = 8;
8176 return (_has_bits_[0] & 0x00000001u) != 0;
8177}
8179 _has_bits_[0] |= 0x00000001u;
8180}
8182 _has_bits_[0] &= ~0x00000001u;
8183}
8185 if (cais_ != NULL) cais_->::bgs::protocol::account::v1::CAIS::Clear();
8186 clear_has_cais();
8187}
8188inline const ::bgs::protocol::account::v1::CAIS& GameSessionUpdateInfo::cais() const {
8189 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8190 return cais_ != NULL ? *cais_ : *default_instance_->cais_;
8191}
8192inline ::bgs::protocol::account::v1::CAIS* GameSessionUpdateInfo::mutable_cais() {
8193 set_has_cais();
8194 if (cais_ == NULL) cais_ = new ::bgs::protocol::account::v1::CAIS;
8195 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8196 return cais_;
8197}
8198inline ::bgs::protocol::account::v1::CAIS* GameSessionUpdateInfo::release_cais() {
8199 clear_has_cais();
8201 cais_ = NULL;
8202 return temp;
8203}
8205 delete cais_;
8206 cais_ = cais;
8207 if (cais) {
8208 set_has_cais();
8209 } else {
8210 clear_has_cais();
8211 }
8212 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8213}
8214
8215// -------------------------------------------------------------------
8216
8217// GameSessionLocation
8218
8219// optional string ip_address = 1;
8221 return (_has_bits_[0] & 0x00000001u) != 0;
8222}
8224 _has_bits_[0] |= 0x00000001u;
8225}
8227 _has_bits_[0] &= ~0x00000001u;
8228}
8230 if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8231 ip_address_->clear();
8232 }
8233 clear_has_ip_address();
8234}
8235inline const ::std::string& GameSessionLocation::ip_address() const {
8236 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8237 return *ip_address_;
8238}
8239inline void GameSessionLocation::set_ip_address(const ::std::string& value) {
8240 set_has_ip_address();
8241 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8242 ip_address_ = new ::std::string;
8243 }
8244 ip_address_->assign(value);
8245 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8246}
8247inline void GameSessionLocation::set_ip_address(const char* value) {
8248 set_has_ip_address();
8249 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8250 ip_address_ = new ::std::string;
8251 }
8252 ip_address_->assign(value);
8253 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8254}
8255inline void GameSessionLocation::set_ip_address(const char* value, size_t size) {
8256 set_has_ip_address();
8257 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8258 ip_address_ = new ::std::string;
8259 }
8260 ip_address_->assign(reinterpret_cast<const char*>(value), size);
8261 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8262}
8264 set_has_ip_address();
8265 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8266 ip_address_ = new ::std::string;
8267 }
8268 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8269 return ip_address_;
8270}
8272 clear_has_ip_address();
8273 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8274 return NULL;
8275 } else {
8276 ::std::string* temp = ip_address_;
8277 ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8278 return temp;
8279 }
8280}
8281inline void GameSessionLocation::set_allocated_ip_address(::std::string* ip_address) {
8282 if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8283 delete ip_address_;
8284 }
8285 if (ip_address) {
8286 set_has_ip_address();
8287 ip_address_ = ip_address;
8288 } else {
8289 clear_has_ip_address();
8290 ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8291 }
8292 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8293}
8294
8295// optional uint32 country = 2;
8297 return (_has_bits_[0] & 0x00000002u) != 0;
8298}
8300 _has_bits_[0] |= 0x00000002u;
8301}
8303 _has_bits_[0] &= ~0x00000002u;
8304}
8306 country_ = 0u;
8307 clear_has_country();
8308}
8310 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.country)
8311 return country_;
8312}
8314 set_has_country();
8315 country_ = value;
8316 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.country)
8317}
8318
8319// optional string city = 3;
8321 return (_has_bits_[0] & 0x00000004u) != 0;
8322}
8324 _has_bits_[0] |= 0x00000004u;
8325}
8327 _has_bits_[0] &= ~0x00000004u;
8328}
8330 if (city_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8331 city_->clear();
8332 }
8333 clear_has_city();
8334}
8335inline const ::std::string& GameSessionLocation::city() const {
8336 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.city)
8337 return *city_;
8338}
8339inline void GameSessionLocation::set_city(const ::std::string& value) {
8340 set_has_city();
8341 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8342 city_ = new ::std::string;
8343 }
8344 city_->assign(value);
8345 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.city)
8346}
8347inline void GameSessionLocation::set_city(const char* value) {
8348 set_has_city();
8349 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8350 city_ = new ::std::string;
8351 }
8352 city_->assign(value);
8353 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameSessionLocation.city)
8354}
8355inline void GameSessionLocation::set_city(const char* value, size_t size) {
8356 set_has_city();
8357 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8358 city_ = new ::std::string;
8359 }
8360 city_->assign(reinterpret_cast<const char*>(value), size);
8361 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameSessionLocation.city)
8362}
8363inline ::std::string* GameSessionLocation::mutable_city() {
8364 set_has_city();
8365 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8366 city_ = new ::std::string;
8367 }
8368 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionLocation.city)
8369 return city_;
8370}
8371inline ::std::string* GameSessionLocation::release_city() {
8372 clear_has_city();
8373 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8374 return NULL;
8375 } else {
8376 ::std::string* temp = city_;
8377 city_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8378 return temp;
8379 }
8380}
8381inline void GameSessionLocation::set_allocated_city(::std::string* city) {
8382 if (city_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8383 delete city_;
8384 }
8385 if (city) {
8386 set_has_city();
8387 city_ = city;
8388 } else {
8389 clear_has_city();
8390 city_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8391 }
8392 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionLocation.city)
8393}
8394
8395// -------------------------------------------------------------------
8396
8397// CAIS
8398
8399// optional uint32 played_minutes = 1;
8400inline bool CAIS::has_played_minutes() const {
8401 return (_has_bits_[0] & 0x00000001u) != 0;
8402}
8404 _has_bits_[0] |= 0x00000001u;
8405}
8407 _has_bits_[0] &= ~0x00000001u;
8408}
8410 played_minutes_ = 0u;
8411 clear_has_played_minutes();
8412}
8414 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.played_minutes)
8415 return played_minutes_;
8416}
8418 set_has_played_minutes();
8419 played_minutes_ = value;
8420 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.played_minutes)
8421}
8422
8423// optional uint32 rested_minutes = 2;
8424inline bool CAIS::has_rested_minutes() const {
8425 return (_has_bits_[0] & 0x00000002u) != 0;
8426}
8428 _has_bits_[0] |= 0x00000002u;
8429}
8431 _has_bits_[0] &= ~0x00000002u;
8432}
8434 rested_minutes_ = 0u;
8435 clear_has_rested_minutes();
8436}
8438 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.rested_minutes)
8439 return rested_minutes_;
8440}
8442 set_has_rested_minutes();
8443 rested_minutes_ = value;
8444 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.rested_minutes)
8445}
8446
8447// optional uint64 last_heard_time = 3;
8448inline bool CAIS::has_last_heard_time() const {
8449 return (_has_bits_[0] & 0x00000004u) != 0;
8450}
8452 _has_bits_[0] |= 0x00000004u;
8453}
8455 _has_bits_[0] &= ~0x00000004u;
8456}
8458 last_heard_time_ = GOOGLE_ULONGLONG(0);
8459 clear_has_last_heard_time();
8460}
8462 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.last_heard_time)
8463 return last_heard_time_;
8464}
8466 set_has_last_heard_time();
8467 last_heard_time_ = value;
8468 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.last_heard_time)
8469}
8470
8471// -------------------------------------------------------------------
8472
8473// GameAccountList
8474
8475// optional uint32 region = 3;
8476inline bool GameAccountList::has_region() const {
8477 return (_has_bits_[0] & 0x00000001u) != 0;
8478}
8480 _has_bits_[0] |= 0x00000001u;
8481}
8483 _has_bits_[0] &= ~0x00000001u;
8484}
8486 region_ = 0u;
8487 clear_has_region();
8488}
8490 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountList.region)
8491 return region_;
8492}
8494 set_has_region();
8495 region_ = value;
8496 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountList.region)
8497}
8498
8499// repeated .bgs.protocol.account.v1.GameAccountHandle handle = 4;
8501 return handle_.size();
8502}
8504 handle_.Clear();
8505}
8506inline const ::bgs::protocol::account::v1::GameAccountHandle& GameAccountList::handle(int index) const {
8507 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountList.handle)
8508 return handle_.Get(index);
8509}
8510inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountList::mutable_handle(int index) {
8511 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountList.handle)
8512 return handle_.Mutable(index);
8513}
8514inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountList::add_handle() {
8515 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GameAccountList.handle)
8516 return handle_.Add();
8517}
8518inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
8520 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GameAccountList.handle)
8521 return handle_;
8522}
8523inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
8525 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GameAccountList.handle)
8526 return &handle_;
8527}
8528
8529// -------------------------------------------------------------------
8530
8531// SecurityStatus
8532
8533// optional bool sms_protect_enabled = 1;
8535 return (_has_bits_[0] & 0x00000001u) != 0;
8536}
8538 _has_bits_[0] |= 0x00000001u;
8539}
8541 _has_bits_[0] &= ~0x00000001u;
8542}
8544 sms_protect_enabled_ = false;
8545 clear_has_sms_protect_enabled();
8546}
8548 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.sms_protect_enabled)
8549 return sms_protect_enabled_;
8550}
8552 set_has_sms_protect_enabled();
8553 sms_protect_enabled_ = value;
8554 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.sms_protect_enabled)
8555}
8556
8557// optional bool email_verified = 2;
8559 return (_has_bits_[0] & 0x00000002u) != 0;
8560}
8562 _has_bits_[0] |= 0x00000002u;
8563}
8565 _has_bits_[0] &= ~0x00000002u;
8566}
8568 email_verified_ = false;
8569 clear_has_email_verified();
8570}
8572 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.email_verified)
8573 return email_verified_;
8574}
8575inline void SecurityStatus::set_email_verified(bool value) {
8576 set_has_email_verified();
8577 email_verified_ = value;
8578 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.email_verified)
8579}
8580
8581// optional bool authenticator_enabled = 3;
8583 return (_has_bits_[0] & 0x00000004u) != 0;
8584}
8586 _has_bits_[0] |= 0x00000004u;
8587}
8589 _has_bits_[0] &= ~0x00000004u;
8590}
8592 authenticator_enabled_ = false;
8593 clear_has_authenticator_enabled();
8594}
8596 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.authenticator_enabled)
8597 return authenticator_enabled_;
8598}
8600 set_has_authenticator_enabled();
8601 authenticator_enabled_ = value;
8602 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.authenticator_enabled)
8603}
8604
8605// optional bool sqa_enabled = 4;
8607 return (_has_bits_[0] & 0x00000008u) != 0;
8608}
8610 _has_bits_[0] |= 0x00000008u;
8611}
8613 _has_bits_[0] &= ~0x00000008u;
8614}
8616 sqa_enabled_ = false;
8617 clear_has_sqa_enabled();
8618}
8619inline bool SecurityStatus::sqa_enabled() const {
8620 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.sqa_enabled)
8621 return sqa_enabled_;
8622}
8623inline void SecurityStatus::set_sqa_enabled(bool value) {
8624 set_has_sqa_enabled();
8625 sqa_enabled_ = value;
8626 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.sqa_enabled)
8627}
8628
8629// optional bool authenticator_required = 5;
8631 return (_has_bits_[0] & 0x00000010u) != 0;
8632}
8634 _has_bits_[0] |= 0x00000010u;
8635}
8637 _has_bits_[0] &= ~0x00000010u;
8638}
8640 authenticator_required_ = false;
8641 clear_has_authenticator_required();
8642}
8644 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.authenticator_required)
8645 return authenticator_required_;
8646}
8648 set_has_authenticator_required();
8649 authenticator_required_ = value;
8650 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.authenticator_required)
8651}
8652
8653// -------------------------------------------------------------------
8654
8655// AccountState
8656
8657// optional .bgs.protocol.account.v1.AccountLevelInfo account_level_info = 1;
8659 return (_has_bits_[0] & 0x00000001u) != 0;
8660}
8662 _has_bits_[0] |= 0x00000001u;
8663}
8665 _has_bits_[0] &= ~0x00000001u;
8666}
8668 if (account_level_info_ != NULL) account_level_info_->::bgs::protocol::account::v1::AccountLevelInfo::Clear();
8669 clear_has_account_level_info();
8670}
8671inline const ::bgs::protocol::account::v1::AccountLevelInfo& AccountState::account_level_info() const {
8672 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.account_level_info)
8673 return account_level_info_ != NULL ? *account_level_info_ : *default_instance_->account_level_info_;
8674}
8675inline ::bgs::protocol::account::v1::AccountLevelInfo* AccountState::mutable_account_level_info() {
8676 set_has_account_level_info();
8677 if (account_level_info_ == NULL) account_level_info_ = new ::bgs::protocol::account::v1::AccountLevelInfo;
8678 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.account_level_info)
8679 return account_level_info_;
8680}
8681inline ::bgs::protocol::account::v1::AccountLevelInfo* AccountState::release_account_level_info() {
8682 clear_has_account_level_info();
8683 ::bgs::protocol::account::v1::AccountLevelInfo* temp = account_level_info_;
8684 account_level_info_ = NULL;
8685 return temp;
8686}
8688 delete account_level_info_;
8689 account_level_info_ = account_level_info;
8690 if (account_level_info) {
8691 set_has_account_level_info();
8692 } else {
8693 clear_has_account_level_info();
8694 }
8695 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.account_level_info)
8696}
8697
8698// optional .bgs.protocol.account.v1.PrivacyInfo privacy_info = 2;
8700 return (_has_bits_[0] & 0x00000002u) != 0;
8701}
8703 _has_bits_[0] |= 0x00000002u;
8704}
8706 _has_bits_[0] &= ~0x00000002u;
8707}
8709 if (privacy_info_ != NULL) privacy_info_->::bgs::protocol::account::v1::PrivacyInfo::Clear();
8710 clear_has_privacy_info();
8711}
8712inline const ::bgs::protocol::account::v1::PrivacyInfo& AccountState::privacy_info() const {
8713 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.privacy_info)
8714 return privacy_info_ != NULL ? *privacy_info_ : *default_instance_->privacy_info_;
8715}
8716inline ::bgs::protocol::account::v1::PrivacyInfo* AccountState::mutable_privacy_info() {
8717 set_has_privacy_info();
8718 if (privacy_info_ == NULL) privacy_info_ = new ::bgs::protocol::account::v1::PrivacyInfo;
8719 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.privacy_info)
8720 return privacy_info_;
8721}
8722inline ::bgs::protocol::account::v1::PrivacyInfo* AccountState::release_privacy_info() {
8723 clear_has_privacy_info();
8724 ::bgs::protocol::account::v1::PrivacyInfo* temp = privacy_info_;
8725 privacy_info_ = NULL;
8726 return temp;
8727}
8729 delete privacy_info_;
8730 privacy_info_ = privacy_info;
8731 if (privacy_info) {
8732 set_has_privacy_info();
8733 } else {
8734 clear_has_privacy_info();
8735 }
8736 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.privacy_info)
8737}
8738
8739// optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 3;
8741 return (_has_bits_[0] & 0x00000004u) != 0;
8742}
8744 _has_bits_[0] |= 0x00000004u;
8745}
8747 _has_bits_[0] &= ~0x00000004u;
8748}
8750 if (parental_control_info_ != NULL) parental_control_info_->::bgs::protocol::account::v1::ParentalControlInfo::Clear();
8751 clear_has_parental_control_info();
8752}
8753inline const ::bgs::protocol::account::v1::ParentalControlInfo& AccountState::parental_control_info() const {
8754 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.parental_control_info)
8755 return parental_control_info_ != NULL ? *parental_control_info_ : *default_instance_->parental_control_info_;
8756}
8757inline ::bgs::protocol::account::v1::ParentalControlInfo* AccountState::mutable_parental_control_info() {
8758 set_has_parental_control_info();
8759 if (parental_control_info_ == NULL) parental_control_info_ = new ::bgs::protocol::account::v1::ParentalControlInfo;
8760 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.parental_control_info)
8761 return parental_control_info_;
8762}
8763inline ::bgs::protocol::account::v1::ParentalControlInfo* AccountState::release_parental_control_info() {
8764 clear_has_parental_control_info();
8765 ::bgs::protocol::account::v1::ParentalControlInfo* temp = parental_control_info_;
8766 parental_control_info_ = NULL;
8767 return temp;
8768}
8770 delete parental_control_info_;
8771 parental_control_info_ = parental_control_info;
8772 if (parental_control_info) {
8773 set_has_parental_control_info();
8774 } else {
8775 clear_has_parental_control_info();
8776 }
8777 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.parental_control_info)
8778}
8779
8780// repeated .bgs.protocol.account.v1.GameLevelInfo game_level_info = 5;
8782 return game_level_info_.size();
8783}
8785 game_level_info_.Clear();
8786}
8787inline const ::bgs::protocol::account::v1::GameLevelInfo& AccountState::game_level_info(int index) const {
8788 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_level_info)
8789 return game_level_info_.Get(index);
8790}
8791inline ::bgs::protocol::account::v1::GameLevelInfo* AccountState::mutable_game_level_info(int index) {
8792 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_level_info)
8793 return game_level_info_.Mutable(index);
8794}
8795inline ::bgs::protocol::account::v1::GameLevelInfo* AccountState::add_game_level_info() {
8796 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_level_info)
8797 return game_level_info_.Add();
8798}
8799inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >&
8801 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_level_info)
8802 return game_level_info_;
8803}
8804inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >*
8806 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_level_info)
8807 return &game_level_info_;
8808}
8809
8810// repeated .bgs.protocol.account.v1.GameStatus game_status = 6;
8812 return game_status_.size();
8813}
8815 game_status_.Clear();
8816}
8817inline const ::bgs::protocol::account::v1::GameStatus& AccountState::game_status(int index) const {
8818 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_status)
8819 return game_status_.Get(index);
8820}
8821inline ::bgs::protocol::account::v1::GameStatus* AccountState::mutable_game_status(int index) {
8822 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_status)
8823 return game_status_.Mutable(index);
8824}
8825inline ::bgs::protocol::account::v1::GameStatus* AccountState::add_game_status() {
8826 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_status)
8827 return game_status_.Add();
8828}
8829inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >&
8831 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_status)
8832 return game_status_;
8833}
8834inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >*
8836 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_status)
8837 return &game_status_;
8838}
8839
8840// repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 7;
8842 return game_accounts_.size();
8843}
8845 game_accounts_.Clear();
8846}
8847inline const ::bgs::protocol::account::v1::GameAccountList& AccountState::game_accounts(int index) const {
8848 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_accounts)
8849 return game_accounts_.Get(index);
8850}
8851inline ::bgs::protocol::account::v1::GameAccountList* AccountState::mutable_game_accounts(int index) {
8852 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_accounts)
8853 return game_accounts_.Mutable(index);
8854}
8855inline ::bgs::protocol::account::v1::GameAccountList* AccountState::add_game_accounts() {
8856 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_accounts)
8857 return game_accounts_.Add();
8858}
8859inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
8861 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_accounts)
8862 return game_accounts_;
8863}
8864inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
8866 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_accounts)
8867 return &game_accounts_;
8868}
8869
8870// optional .bgs.protocol.account.v1.SecurityStatus security_status = 8;
8872 return (_has_bits_[0] & 0x00000040u) != 0;
8873}
8875 _has_bits_[0] |= 0x00000040u;
8876}
8878 _has_bits_[0] &= ~0x00000040u;
8879}
8881 if (security_status_ != NULL) security_status_->::bgs::protocol::account::v1::SecurityStatus::Clear();
8882 clear_has_security_status();
8883}
8884inline const ::bgs::protocol::account::v1::SecurityStatus& AccountState::security_status() const {
8885 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.security_status)
8886 return security_status_ != NULL ? *security_status_ : *default_instance_->security_status_;
8887}
8888inline ::bgs::protocol::account::v1::SecurityStatus* AccountState::mutable_security_status() {
8889 set_has_security_status();
8890 if (security_status_ == NULL) security_status_ = new ::bgs::protocol::account::v1::SecurityStatus;
8891 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.security_status)
8892 return security_status_;
8893}
8894inline ::bgs::protocol::account::v1::SecurityStatus* AccountState::release_security_status() {
8895 clear_has_security_status();
8896 ::bgs::protocol::account::v1::SecurityStatus* temp = security_status_;
8897 security_status_ = NULL;
8898 return temp;
8899}
8901 delete security_status_;
8902 security_status_ = security_status;
8903 if (security_status) {
8904 set_has_security_status();
8905 } else {
8906 clear_has_security_status();
8907 }
8908 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.security_status)
8909}
8910
8911// optional .bgs.protocol.account.v1.PlayScheduleRestriction government_curfew = 9;
8913 return (_has_bits_[0] & 0x00000080u) != 0;
8914}
8916 _has_bits_[0] |= 0x00000080u;
8917}
8919 _has_bits_[0] &= ~0x00000080u;
8920}
8922 if (government_curfew_ != NULL) government_curfew_->::bgs::protocol::account::v1::PlayScheduleRestriction::Clear();
8923 clear_has_government_curfew();
8924}
8925inline const ::bgs::protocol::account::v1::PlayScheduleRestriction& AccountState::government_curfew() const {
8926 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.government_curfew)
8927 return government_curfew_ != NULL ? *government_curfew_ : *default_instance_->government_curfew_;
8928}
8929inline ::bgs::protocol::account::v1::PlayScheduleRestriction* AccountState::mutable_government_curfew() {
8930 set_has_government_curfew();
8931 if (government_curfew_ == NULL) government_curfew_ = new ::bgs::protocol::account::v1::PlayScheduleRestriction;
8932 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.government_curfew)
8933 return government_curfew_;
8934}
8935inline ::bgs::protocol::account::v1::PlayScheduleRestriction* AccountState::release_government_curfew() {
8936 clear_has_government_curfew();
8938 government_curfew_ = NULL;
8939 return temp;
8940}
8942 delete government_curfew_;
8943 government_curfew_ = government_curfew;
8944 if (government_curfew) {
8945 set_has_government_curfew();
8946 } else {
8947 clear_has_government_curfew();
8948 }
8949 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.government_curfew)
8950}
8951
8952// -------------------------------------------------------------------
8953
8954// AccountStateTagged
8955
8956// optional .bgs.protocol.account.v1.AccountState account_state = 1;
8958 return (_has_bits_[0] & 0x00000001u) != 0;
8959}
8961 _has_bits_[0] |= 0x00000001u;
8962}
8964 _has_bits_[0] &= ~0x00000001u;
8965}
8967 if (account_state_ != NULL) account_state_->::bgs::protocol::account::v1::AccountState::Clear();
8968 clear_has_account_state();
8969}
8970inline const ::bgs::protocol::account::v1::AccountState& AccountStateTagged::account_state() const {
8971 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateTagged.account_state)
8972 return account_state_ != NULL ? *account_state_ : *default_instance_->account_state_;
8973}
8974inline ::bgs::protocol::account::v1::AccountState* AccountStateTagged::mutable_account_state() {
8975 set_has_account_state();
8976 if (account_state_ == NULL) account_state_ = new ::bgs::protocol::account::v1::AccountState;
8977 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateTagged.account_state)
8978 return account_state_;
8979}
8980inline ::bgs::protocol::account::v1::AccountState* AccountStateTagged::release_account_state() {
8981 clear_has_account_state();
8982 ::bgs::protocol::account::v1::AccountState* temp = account_state_;
8983 account_state_ = NULL;
8984 return temp;
8985}
8987 delete account_state_;
8988 account_state_ = account_state;
8989 if (account_state) {
8990 set_has_account_state();
8991 } else {
8992 clear_has_account_state();
8993 }
8994 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateTagged.account_state)
8995}
8996
8997// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 2;
8999 return (_has_bits_[0] & 0x00000002u) != 0;
9000}
9002 _has_bits_[0] |= 0x00000002u;
9003}
9005 _has_bits_[0] &= ~0x00000002u;
9006}
9008 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
9009 clear_has_account_tags();
9010}
9011inline const ::bgs::protocol::account::v1::AccountFieldTags& AccountStateTagged::account_tags() const {
9012 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9013 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
9014}
9015inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateTagged::mutable_account_tags() {
9016 set_has_account_tags();
9017 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
9018 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9019 return account_tags_;
9020}
9021inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateTagged::release_account_tags() {
9022 clear_has_account_tags();
9024 account_tags_ = NULL;
9025 return temp;
9026}
9028 delete account_tags_;
9029 account_tags_ = account_tags;
9030 if (account_tags) {
9031 set_has_account_tags();
9032 } else {
9033 clear_has_account_tags();
9034 }
9035 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9036}
9037
9038// -------------------------------------------------------------------
9039
9040// GameAccountState
9041
9042// optional .bgs.protocol.account.v1.GameLevelInfo game_level_info = 1;
9044 return (_has_bits_[0] & 0x00000001u) != 0;
9045}
9047 _has_bits_[0] |= 0x00000001u;
9048}
9050 _has_bits_[0] &= ~0x00000001u;
9051}
9053 if (game_level_info_ != NULL) game_level_info_->::bgs::protocol::account::v1::GameLevelInfo::Clear();
9054 clear_has_game_level_info();
9055}
9056inline const ::bgs::protocol::account::v1::GameLevelInfo& GameAccountState::game_level_info() const {
9057 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_level_info)
9058 return game_level_info_ != NULL ? *game_level_info_ : *default_instance_->game_level_info_;
9059}
9060inline ::bgs::protocol::account::v1::GameLevelInfo* GameAccountState::mutable_game_level_info() {
9061 set_has_game_level_info();
9062 if (game_level_info_ == NULL) game_level_info_ = new ::bgs::protocol::account::v1::GameLevelInfo;
9063 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_level_info)
9064 return game_level_info_;
9065}
9066inline ::bgs::protocol::account::v1::GameLevelInfo* GameAccountState::release_game_level_info() {
9067 clear_has_game_level_info();
9068 ::bgs::protocol::account::v1::GameLevelInfo* temp = game_level_info_;
9069 game_level_info_ = NULL;
9070 return temp;
9071}
9073 delete game_level_info_;
9074 game_level_info_ = game_level_info;
9075 if (game_level_info) {
9076 set_has_game_level_info();
9077 } else {
9078 clear_has_game_level_info();
9079 }
9080 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_level_info)
9081}
9082
9083// optional .bgs.protocol.account.v1.GameTimeInfo game_time_info = 2;
9085 return (_has_bits_[0] & 0x00000002u) != 0;
9086}
9088 _has_bits_[0] |= 0x00000002u;
9089}
9091 _has_bits_[0] &= ~0x00000002u;
9092}
9094 if (game_time_info_ != NULL) game_time_info_->::bgs::protocol::account::v1::GameTimeInfo::Clear();
9095 clear_has_game_time_info();
9096}
9097inline const ::bgs::protocol::account::v1::GameTimeInfo& GameAccountState::game_time_info() const {
9098 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_time_info)
9099 return game_time_info_ != NULL ? *game_time_info_ : *default_instance_->game_time_info_;
9100}
9101inline ::bgs::protocol::account::v1::GameTimeInfo* GameAccountState::mutable_game_time_info() {
9102 set_has_game_time_info();
9103 if (game_time_info_ == NULL) game_time_info_ = new ::bgs::protocol::account::v1::GameTimeInfo;
9104 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_time_info)
9105 return game_time_info_;
9106}
9107inline ::bgs::protocol::account::v1::GameTimeInfo* GameAccountState::release_game_time_info() {
9108 clear_has_game_time_info();
9109 ::bgs::protocol::account::v1::GameTimeInfo* temp = game_time_info_;
9110 game_time_info_ = NULL;
9111 return temp;
9112}
9114 delete game_time_info_;
9115 game_time_info_ = game_time_info;
9116 if (game_time_info) {
9117 set_has_game_time_info();
9118 } else {
9119 clear_has_game_time_info();
9120 }
9121 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_time_info)
9122}
9123
9124// optional .bgs.protocol.account.v1.GameStatus game_status = 3;
9126 return (_has_bits_[0] & 0x00000004u) != 0;
9127}
9129 _has_bits_[0] |= 0x00000004u;
9130}
9132 _has_bits_[0] &= ~0x00000004u;
9133}
9135 if (game_status_ != NULL) game_status_->::bgs::protocol::account::v1::GameStatus::Clear();
9136 clear_has_game_status();
9137}
9138inline const ::bgs::protocol::account::v1::GameStatus& GameAccountState::game_status() const {
9139 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_status)
9140 return game_status_ != NULL ? *game_status_ : *default_instance_->game_status_;
9141}
9142inline ::bgs::protocol::account::v1::GameStatus* GameAccountState::mutable_game_status() {
9143 set_has_game_status();
9144 if (game_status_ == NULL) game_status_ = new ::bgs::protocol::account::v1::GameStatus;
9145 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_status)
9146 return game_status_;
9147}
9148inline ::bgs::protocol::account::v1::GameStatus* GameAccountState::release_game_status() {
9149 clear_has_game_status();
9150 ::bgs::protocol::account::v1::GameStatus* temp = game_status_;
9151 game_status_ = NULL;
9152 return temp;
9153}
9155 delete game_status_;
9156 game_status_ = game_status;
9157 if (game_status) {
9158 set_has_game_status();
9159 } else {
9160 clear_has_game_status();
9161 }
9162 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_status)
9163}
9164
9165// optional .bgs.protocol.account.v1.RAFInfo raf_info = 4;
9167 return (_has_bits_[0] & 0x00000008u) != 0;
9168}
9170 _has_bits_[0] |= 0x00000008u;
9171}
9173 _has_bits_[0] &= ~0x00000008u;
9174}
9176 if (raf_info_ != NULL) raf_info_->::bgs::protocol::account::v1::RAFInfo::Clear();
9177 clear_has_raf_info();
9178}
9179inline const ::bgs::protocol::account::v1::RAFInfo& GameAccountState::raf_info() const {
9180 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.raf_info)
9181 return raf_info_ != NULL ? *raf_info_ : *default_instance_->raf_info_;
9182}
9183inline ::bgs::protocol::account::v1::RAFInfo* GameAccountState::mutable_raf_info() {
9184 set_has_raf_info();
9185 if (raf_info_ == NULL) raf_info_ = new ::bgs::protocol::account::v1::RAFInfo;
9186 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.raf_info)
9187 return raf_info_;
9188}
9189inline ::bgs::protocol::account::v1::RAFInfo* GameAccountState::release_raf_info() {
9190 clear_has_raf_info();
9191 ::bgs::protocol::account::v1::RAFInfo* temp = raf_info_;
9192 raf_info_ = NULL;
9193 return temp;
9194}
9196 delete raf_info_;
9197 raf_info_ = raf_info;
9198 if (raf_info) {
9199 set_has_raf_info();
9200 } else {
9201 clear_has_raf_info();
9202 }
9203 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.raf_info)
9204}
9205
9206// -------------------------------------------------------------------
9207
9208// GameAccountStateTagged
9209
9210// optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
9212 return (_has_bits_[0] & 0x00000001u) != 0;
9213}
9215 _has_bits_[0] |= 0x00000001u;
9216}
9218 _has_bits_[0] &= ~0x00000001u;
9219}
9221 if (game_account_state_ != NULL) game_account_state_->::bgs::protocol::account::v1::GameAccountState::Clear();
9222 clear_has_game_account_state();
9223}
9224inline const ::bgs::protocol::account::v1::GameAccountState& GameAccountStateTagged::game_account_state() const {
9225 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9226 return game_account_state_ != NULL ? *game_account_state_ : *default_instance_->game_account_state_;
9227}
9228inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateTagged::mutable_game_account_state() {
9229 set_has_game_account_state();
9230 if (game_account_state_ == NULL) game_account_state_ = new ::bgs::protocol::account::v1::GameAccountState;
9231 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9232 return game_account_state_;
9233}
9234inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateTagged::release_game_account_state() {
9235 clear_has_game_account_state();
9236 ::bgs::protocol::account::v1::GameAccountState* temp = game_account_state_;
9237 game_account_state_ = NULL;
9238 return temp;
9239}
9241 delete game_account_state_;
9242 game_account_state_ = game_account_state;
9243 if (game_account_state) {
9244 set_has_game_account_state();
9245 } else {
9246 clear_has_game_account_state();
9247 }
9248 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9249}
9250
9251// optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 2;
9253 return (_has_bits_[0] & 0x00000002u) != 0;
9254}
9256 _has_bits_[0] |= 0x00000002u;
9257}
9259 _has_bits_[0] &= ~0x00000002u;
9260}
9262 if (game_account_tags_ != NULL) game_account_tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
9263 clear_has_game_account_tags();
9264}
9265inline const ::bgs::protocol::account::v1::GameAccountFieldTags& GameAccountStateTagged::game_account_tags() const {
9266 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9267 return game_account_tags_ != NULL ? *game_account_tags_ : *default_instance_->game_account_tags_;
9268}
9269inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateTagged::mutable_game_account_tags() {
9270 set_has_game_account_tags();
9271 if (game_account_tags_ == NULL) game_account_tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
9272 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9273 return game_account_tags_;
9274}
9275inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateTagged::release_game_account_tags() {
9276 clear_has_game_account_tags();
9277 ::bgs::protocol::account::v1::GameAccountFieldTags* temp = game_account_tags_;
9278 game_account_tags_ = NULL;
9279 return temp;
9280}
9282 delete game_account_tags_;
9283 game_account_tags_ = game_account_tags;
9284 if (game_account_tags) {
9285 set_has_game_account_tags();
9286 } else {
9287 clear_has_game_account_tags();
9288 }
9289 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9290}
9291
9292// -------------------------------------------------------------------
9293
9294// AuthorizedData
9295
9296// optional string data = 1;
9297inline bool AuthorizedData::has_data() const {
9298 return (_has_bits_[0] & 0x00000001u) != 0;
9299}
9301 _has_bits_[0] |= 0x00000001u;
9302}
9304 _has_bits_[0] &= ~0x00000001u;
9305}
9307 if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9308 data_->clear();
9309 }
9310 clear_has_data();
9311}
9312inline const ::std::string& AuthorizedData::data() const {
9313 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AuthorizedData.data)
9314 return *data_;
9315}
9316inline void AuthorizedData::set_data(const ::std::string& value) {
9317 set_has_data();
9318 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9319 data_ = new ::std::string;
9320 }
9321 data_->assign(value);
9322 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AuthorizedData.data)
9323}
9324inline void AuthorizedData::set_data(const char* value) {
9325 set_has_data();
9326 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9327 data_ = new ::std::string;
9328 }
9329 data_->assign(value);
9330 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AuthorizedData.data)
9331}
9332inline void AuthorizedData::set_data(const char* value, size_t size) {
9333 set_has_data();
9334 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9335 data_ = new ::std::string;
9336 }
9337 data_->assign(reinterpret_cast<const char*>(value), size);
9338 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AuthorizedData.data)
9339}
9340inline ::std::string* AuthorizedData::mutable_data() {
9341 set_has_data();
9342 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9343 data_ = new ::std::string;
9344 }
9345 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AuthorizedData.data)
9346 return data_;
9347}
9348inline ::std::string* AuthorizedData::release_data() {
9349 clear_has_data();
9350 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9351 return NULL;
9352 } else {
9353 ::std::string* temp = data_;
9354 data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9355 return temp;
9356 }
9357}
9358inline void AuthorizedData::set_allocated_data(::std::string* data) {
9359 if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9360 delete data_;
9361 }
9362 if (data) {
9363 set_has_data();
9364 data_ = data;
9365 } else {
9366 clear_has_data();
9367 data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9368 }
9369 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AuthorizedData.data)
9370}
9371
9372// repeated uint32 license = 2;
9374 return license_.size();
9375}
9377 license_.Clear();
9378}
9380 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AuthorizedData.license)
9381 return license_.Get(index);
9382}
9384 license_.Set(index, value);
9385 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AuthorizedData.license)
9386}
9388 license_.Add(value);
9389 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AuthorizedData.license)
9390}
9391inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
9393 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AuthorizedData.license)
9394 return license_;
9395}
9396inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
9398 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AuthorizedData.license)
9399 return &license_;
9400}
9401
9402// -------------------------------------------------------------------
9403
9404// IgrId
9405
9406// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
9407inline bool IgrId::has_game_account() const {
9408 return type_case() == kGameAccount;
9409}
9411 _oneof_case_[0] = kGameAccount;
9412}
9414 if (has_game_account()) {
9415 delete type_.game_account_;
9416 clear_has_type();
9417 }
9418}
9419inline const ::bgs::protocol::account::v1::GameAccountHandle& IgrId::game_account() const {
9420 return has_game_account() ? *type_.game_account_
9422}
9423inline ::bgs::protocol::account::v1::GameAccountHandle* IgrId::mutable_game_account() {
9424 if (!has_game_account()) {
9425 clear_type();
9426 set_has_game_account();
9427 type_.game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
9428 }
9429 return type_.game_account_;
9430}
9431inline ::bgs::protocol::account::v1::GameAccountHandle* IgrId::release_game_account() {
9432 if (has_game_account()) {
9433 clear_has_type();
9434 ::bgs::protocol::account::v1::GameAccountHandle* temp = type_.game_account_;
9435 type_.game_account_ = NULL;
9436 return temp;
9437 } else {
9438 return NULL;
9439 }
9440}
9442 clear_type();
9443 if (game_account) {
9444 set_has_game_account();
9445 type_.game_account_ = game_account;
9446 }
9447}
9448
9449// optional fixed32 external_id = 2;
9450inline bool IgrId::has_external_id() const {
9451 return type_case() == kExternalId;
9452}
9454 _oneof_case_[0] = kExternalId;
9455}
9457 if (has_external_id()) {
9458 type_.external_id_ = 0u;
9459 clear_has_type();
9460 }
9461}
9463 if (has_external_id()) {
9464 return type_.external_id_;
9465 }
9466 return 0u;
9467}
9469 if (!has_external_id()) {
9470 clear_type();
9471 set_has_external_id();
9472 }
9473 type_.external_id_ = value;
9474}
9475
9476// optional string uuid = 3;
9477inline bool IgrId::has_uuid() const {
9478 return type_case() == kUuid;
9479}
9480inline void IgrId::set_has_uuid() {
9481 _oneof_case_[0] = kUuid;
9482}
9483inline void IgrId::clear_uuid() {
9484 if (has_uuid()) {
9485 delete type_.uuid_;
9486 clear_has_type();
9487 }
9488}
9489inline const ::std::string& IgrId::uuid() const {
9490 if (has_uuid()) {
9491 return *type_.uuid_;
9492 }
9493 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
9494}
9495inline void IgrId::set_uuid(const ::std::string& value) {
9496 if (!has_uuid()) {
9497 clear_type();
9498 set_has_uuid();
9499 type_.uuid_ = new ::std::string;
9500 }
9501 type_.uuid_->assign(value);
9502}
9503inline void IgrId::set_uuid(const char* value) {
9504 if (!has_uuid()) {
9505 clear_type();
9506 set_has_uuid();
9507 type_.uuid_ = new ::std::string;
9508 }
9509 type_.uuid_->assign(value);
9510}
9511inline void IgrId::set_uuid(const char* value, size_t size) {
9512 if (!has_uuid()) {
9513 clear_type();
9514 set_has_uuid();
9515 type_.uuid_ = new ::std::string;
9516 }
9517 type_.uuid_->assign(
9518 reinterpret_cast<const char*>(value), size);
9519}
9520inline ::std::string* IgrId::mutable_uuid() {
9521 if (!has_uuid()) {
9522 clear_type();
9523 set_has_uuid();
9524 type_.uuid_ = new ::std::string;
9525 }
9526 return type_.uuid_;
9527}
9528inline ::std::string* IgrId::release_uuid() {
9529 if (has_uuid()) {
9530 clear_has_type();
9531 ::std::string* temp = type_.uuid_;
9532 type_.uuid_ = NULL;
9533 return temp;
9534 } else {
9535 return NULL;
9536 }
9537}
9538inline void IgrId::set_allocated_uuid(::std::string* uuid) {
9539 clear_type();
9540 if (uuid) {
9541 set_has_uuid();
9542 type_.uuid_ = uuid;
9543 }
9544}
9545
9546inline bool IgrId::has_type() {
9547 return type_case() != TYPE_NOT_SET;
9548}
9550 _oneof_case_[0] = TYPE_NOT_SET;
9551}
9553 return IgrId::TypeCase(_oneof_case_[0]);
9554}
9555// -------------------------------------------------------------------
9556
9557// IgrAddress
9558
9559// optional string client_address = 1;
9561 return (_has_bits_[0] & 0x00000001u) != 0;
9562}
9564 _has_bits_[0] |= 0x00000001u;
9565}
9567 _has_bits_[0] &= ~0x00000001u;
9568}
9570 if (client_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9571 client_address_->clear();
9572 }
9573 clear_has_client_address();
9574}
9575inline const ::std::string& IgrAddress::client_address() const {
9576 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.IgrAddress.client_address)
9577 return *client_address_;
9578}
9579inline void IgrAddress::set_client_address(const ::std::string& value) {
9580 set_has_client_address();
9581 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9582 client_address_ = new ::std::string;
9583 }
9584 client_address_->assign(value);
9585 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.IgrAddress.client_address)
9586}
9587inline void IgrAddress::set_client_address(const char* value) {
9588 set_has_client_address();
9589 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9590 client_address_ = new ::std::string;
9591 }
9592 client_address_->assign(value);
9593 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.IgrAddress.client_address)
9594}
9595inline void IgrAddress::set_client_address(const char* value, size_t size) {
9596 set_has_client_address();
9597 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9598 client_address_ = new ::std::string;
9599 }
9600 client_address_->assign(reinterpret_cast<const char*>(value), size);
9601 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.IgrAddress.client_address)
9602}
9603inline ::std::string* IgrAddress::mutable_client_address() {
9604 set_has_client_address();
9605 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9606 client_address_ = new ::std::string;
9607 }
9608 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.IgrAddress.client_address)
9609 return client_address_;
9610}
9611inline ::std::string* IgrAddress::release_client_address() {
9612 clear_has_client_address();
9613 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9614 return NULL;
9615 } else {
9616 ::std::string* temp = client_address_;
9617 client_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9618 return temp;
9619 }
9620}
9621inline void IgrAddress::set_allocated_client_address(::std::string* client_address) {
9622 if (client_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9623 delete client_address_;
9624 }
9625 if (client_address) {
9626 set_has_client_address();
9627 client_address_ = client_address;
9628 } else {
9629 clear_has_client_address();
9630 client_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9631 }
9632 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.IgrAddress.client_address)
9633}
9634
9635// optional uint32 region = 2;
9636inline bool IgrAddress::has_region() const {
9637 return (_has_bits_[0] & 0x00000002u) != 0;
9638}
9640 _has_bits_[0] |= 0x00000002u;
9641}
9643 _has_bits_[0] &= ~0x00000002u;
9644}
9646 region_ = 0u;
9647 clear_has_region();
9648}
9650 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.IgrAddress.region)
9651 return region_;
9652}
9654 set_has_region();
9655 region_ = value;
9656 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.IgrAddress.region)
9657}
9658
9659// -------------------------------------------------------------------
9660
9661// AccountPrivacySetting
9662
9663// optional bool is_using_rid = 1;
9665 return (_has_bits_[0] & 0x00000001u) != 0;
9666}
9668 _has_bits_[0] |= 0x00000001u;
9669}
9671 _has_bits_[0] &= ~0x00000001u;
9672}
9674 is_using_rid_ = false;
9675 clear_has_is_using_rid();
9676}
9678 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
9679 return is_using_rid_;
9680}
9682 set_has_is_using_rid();
9683 is_using_rid_ = value;
9684 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
9685}
9686
9687// optional bool is_visible_for_view_friends = 2;
9689 return (_has_bits_[0] & 0x00000002u) != 0;
9690}
9692 _has_bits_[0] |= 0x00000002u;
9693}
9695 _has_bits_[0] &= ~0x00000002u;
9696}
9698 is_visible_for_view_friends_ = false;
9699 clear_has_is_visible_for_view_friends();
9700}
9702 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
9703 return is_visible_for_view_friends_;
9704}
9706 set_has_is_visible_for_view_friends();
9707 is_visible_for_view_friends_ = value;
9708 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
9709}
9710
9711// optional bool is_hidden_from_friend_finder = 3;
9713 return (_has_bits_[0] & 0x00000004u) != 0;
9714}
9716 _has_bits_[0] |= 0x00000004u;
9717}
9719 _has_bits_[0] &= ~0x00000004u;
9720}
9722 is_hidden_from_friend_finder_ = false;
9723 clear_has_is_hidden_from_friend_finder();
9724}
9726 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
9727 return is_hidden_from_friend_finder_;
9728}
9730 set_has_is_hidden_from_friend_finder();
9731 is_hidden_from_friend_finder_ = value;
9732 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
9733}
9734
9735// optional bool only_allow_friend_whispers = 4;
9737 return (_has_bits_[0] & 0x00000008u) != 0;
9738}
9740 _has_bits_[0] |= 0x00000008u;
9741}
9743 _has_bits_[0] &= ~0x00000008u;
9744}
9746 only_allow_friend_whispers_ = false;
9747 clear_has_only_allow_friend_whispers();
9748}
9750 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
9751 return only_allow_friend_whispers_;
9752}
9754 set_has_only_allow_friend_whispers();
9755 only_allow_friend_whispers_ = value;
9756 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
9757}
9758
9759// -------------------------------------------------------------------
9760
9761// AccountInfo
9762
9763// optional string battle_tag = 1;
9764inline bool AccountInfo::has_battle_tag() const {
9765 return (_has_bits_[0] & 0x00000001u) != 0;
9766}
9768 _has_bits_[0] |= 0x00000001u;
9769}
9771 _has_bits_[0] &= ~0x00000001u;
9772}
9774 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9775 battle_tag_->clear();
9776 }
9777 clear_has_battle_tag();
9778}
9779inline const ::std::string& AccountInfo::battle_tag() const {
9780 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.battle_tag)
9781 return *battle_tag_;
9782}
9783inline void AccountInfo::set_battle_tag(const ::std::string& value) {
9784 set_has_battle_tag();
9785 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9786 battle_tag_ = new ::std::string;
9787 }
9788 battle_tag_->assign(value);
9789 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.battle_tag)
9790}
9791inline void AccountInfo::set_battle_tag(const char* value) {
9792 set_has_battle_tag();
9793 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9794 battle_tag_ = new ::std::string;
9795 }
9796 battle_tag_->assign(value);
9797 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.battle_tag)
9798}
9799inline void AccountInfo::set_battle_tag(const char* value, size_t size) {
9800 set_has_battle_tag();
9801 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9802 battle_tag_ = new ::std::string;
9803 }
9804 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
9805 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.battle_tag)
9806}
9807inline ::std::string* AccountInfo::mutable_battle_tag() {
9808 set_has_battle_tag();
9809 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9810 battle_tag_ = new ::std::string;
9811 }
9812 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.battle_tag)
9813 return battle_tag_;
9814}
9815inline ::std::string* AccountInfo::release_battle_tag() {
9816 clear_has_battle_tag();
9817 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9818 return NULL;
9819 } else {
9820 ::std::string* temp = battle_tag_;
9821 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9822 return temp;
9823 }
9824}
9825inline void AccountInfo::set_allocated_battle_tag(::std::string* battle_tag) {
9826 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9827 delete battle_tag_;
9828 }
9829 if (battle_tag) {
9830 set_has_battle_tag();
9831 battle_tag_ = battle_tag;
9832 } else {
9833 clear_has_battle_tag();
9834 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9835 }
9836 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.battle_tag)
9837}
9838
9839// optional string email = 2;
9840inline bool AccountInfo::has_email() const {
9841 return (_has_bits_[0] & 0x00000002u) != 0;
9842}
9844 _has_bits_[0] |= 0x00000002u;
9845}
9847 _has_bits_[0] &= ~0x00000002u;
9848}
9850 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9851 email_->clear();
9852 }
9853 clear_has_email();
9854}
9855inline const ::std::string& AccountInfo::email() const {
9856 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.email)
9857 return *email_;
9858}
9859inline void AccountInfo::set_email(const ::std::string& value) {
9860 set_has_email();
9861 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9862 email_ = new ::std::string;
9863 }
9864 email_->assign(value);
9865 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.email)
9866}
9867inline void AccountInfo::set_email(const char* value) {
9868 set_has_email();
9869 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9870 email_ = new ::std::string;
9871 }
9872 email_->assign(value);
9873 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.email)
9874}
9875inline void AccountInfo::set_email(const char* value, size_t size) {
9876 set_has_email();
9877 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9878 email_ = new ::std::string;
9879 }
9880 email_->assign(reinterpret_cast<const char*>(value), size);
9881 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.email)
9882}
9883inline ::std::string* AccountInfo::mutable_email() {
9884 set_has_email();
9885 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9886 email_ = new ::std::string;
9887 }
9888 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.email)
9889 return email_;
9890}
9891inline ::std::string* AccountInfo::release_email() {
9892 clear_has_email();
9893 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9894 return NULL;
9895 } else {
9896 ::std::string* temp = email_;
9897 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9898 return temp;
9899 }
9900}
9901inline void AccountInfo::set_allocated_email(::std::string* email) {
9902 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9903 delete email_;
9904 }
9905 if (email) {
9906 set_has_email();
9907 email_ = email;
9908 } else {
9909 clear_has_email();
9910 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9911 }
9912 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.email)
9913}
9914
9915// optional string phone_number = 3;
9917 return (_has_bits_[0] & 0x00000004u) != 0;
9918}
9920 _has_bits_[0] |= 0x00000004u;
9921}
9923 _has_bits_[0] &= ~0x00000004u;
9924}
9926 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9927 phone_number_->clear();
9928 }
9929 clear_has_phone_number();
9930}
9931inline const ::std::string& AccountInfo::phone_number() const {
9932 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.phone_number)
9933 return *phone_number_;
9934}
9935inline void AccountInfo::set_phone_number(const ::std::string& value) {
9936 set_has_phone_number();
9937 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9938 phone_number_ = new ::std::string;
9939 }
9940 phone_number_->assign(value);
9941 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.phone_number)
9942}
9943inline void AccountInfo::set_phone_number(const char* value) {
9944 set_has_phone_number();
9945 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9946 phone_number_ = new ::std::string;
9947 }
9948 phone_number_->assign(value);
9949 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.phone_number)
9950}
9951inline void AccountInfo::set_phone_number(const char* value, size_t size) {
9952 set_has_phone_number();
9953 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9954 phone_number_ = new ::std::string;
9955 }
9956 phone_number_->assign(reinterpret_cast<const char*>(value), size);
9957 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.phone_number)
9958}
9959inline ::std::string* AccountInfo::mutable_phone_number() {
9960 set_has_phone_number();
9961 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9962 phone_number_ = new ::std::string;
9963 }
9964 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.phone_number)
9965 return phone_number_;
9966}
9967inline ::std::string* AccountInfo::release_phone_number() {
9968 clear_has_phone_number();
9969 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9970 return NULL;
9971 } else {
9972 ::std::string* temp = phone_number_;
9973 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9974 return temp;
9975 }
9976}
9977inline void AccountInfo::set_allocated_phone_number(::std::string* phone_number) {
9978 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9979 delete phone_number_;
9980 }
9981 if (phone_number) {
9982 set_has_phone_number();
9983 phone_number_ = phone_number;
9984 } else {
9985 clear_has_phone_number();
9986 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9987 }
9988 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.phone_number)
9989}
9990
9991// optional string full_name = 4;
9992inline bool AccountInfo::has_full_name() const {
9993 return (_has_bits_[0] & 0x00000008u) != 0;
9994}
9996 _has_bits_[0] |= 0x00000008u;
9997}
9999 _has_bits_[0] &= ~0x00000008u;
10000}
10002 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10003 full_name_->clear();
10004 }
10005 clear_has_full_name();
10006}
10007inline const ::std::string& AccountInfo::full_name() const {
10008 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.full_name)
10009 return *full_name_;
10010}
10011inline void AccountInfo::set_full_name(const ::std::string& value) {
10012 set_has_full_name();
10013 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10014 full_name_ = new ::std::string;
10015 }
10016 full_name_->assign(value);
10017 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.full_name)
10018}
10019inline void AccountInfo::set_full_name(const char* value) {
10020 set_has_full_name();
10021 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10022 full_name_ = new ::std::string;
10023 }
10024 full_name_->assign(value);
10025 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.full_name)
10026}
10027inline void AccountInfo::set_full_name(const char* value, size_t size) {
10028 set_has_full_name();
10029 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10030 full_name_ = new ::std::string;
10031 }
10032 full_name_->assign(reinterpret_cast<const char*>(value), size);
10033 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.full_name)
10034}
10035inline ::std::string* AccountInfo::mutable_full_name() {
10036 set_has_full_name();
10037 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10038 full_name_ = new ::std::string;
10039 }
10040 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.full_name)
10041 return full_name_;
10042}
10043inline ::std::string* AccountInfo::release_full_name() {
10044 clear_has_full_name();
10045 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10046 return NULL;
10047 } else {
10048 ::std::string* temp = full_name_;
10049 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10050 return temp;
10051 }
10052}
10053inline void AccountInfo::set_allocated_full_name(::std::string* full_name) {
10054 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10055 delete full_name_;
10056 }
10057 if (full_name) {
10058 set_has_full_name();
10059 full_name_ = full_name;
10060 } else {
10061 clear_has_full_name();
10062 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10063 }
10064 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.full_name)
10065}
10066
10067// optional string birthdate = 5;
10068inline bool AccountInfo::has_birthdate() const {
10069 return (_has_bits_[0] & 0x00000010u) != 0;
10070}
10072 _has_bits_[0] |= 0x00000010u;
10073}
10075 _has_bits_[0] &= ~0x00000010u;
10076}
10078 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10079 birthdate_->clear();
10080 }
10081 clear_has_birthdate();
10082}
10083inline const ::std::string& AccountInfo::birthdate() const {
10084 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.birthdate)
10085 return *birthdate_;
10086}
10087inline void AccountInfo::set_birthdate(const ::std::string& value) {
10088 set_has_birthdate();
10089 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10090 birthdate_ = new ::std::string;
10091 }
10092 birthdate_->assign(value);
10093 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.birthdate)
10094}
10095inline void AccountInfo::set_birthdate(const char* value) {
10096 set_has_birthdate();
10097 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10098 birthdate_ = new ::std::string;
10099 }
10100 birthdate_->assign(value);
10101 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.birthdate)
10102}
10103inline void AccountInfo::set_birthdate(const char* value, size_t size) {
10104 set_has_birthdate();
10105 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10106 birthdate_ = new ::std::string;
10107 }
10108 birthdate_->assign(reinterpret_cast<const char*>(value), size);
10109 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.birthdate)
10110}
10111inline ::std::string* AccountInfo::mutable_birthdate() {
10112 set_has_birthdate();
10113 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10114 birthdate_ = new ::std::string;
10115 }
10116 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.birthdate)
10117 return birthdate_;
10118}
10119inline ::std::string* AccountInfo::release_birthdate() {
10120 clear_has_birthdate();
10121 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10122 return NULL;
10123 } else {
10124 ::std::string* temp = birthdate_;
10125 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10126 return temp;
10127 }
10128}
10129inline void AccountInfo::set_allocated_birthdate(::std::string* birthdate) {
10130 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10131 delete birthdate_;
10132 }
10133 if (birthdate) {
10134 set_has_birthdate();
10135 birthdate_ = birthdate;
10136 } else {
10137 clear_has_birthdate();
10138 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10139 }
10140 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.birthdate)
10141}
10142
10143// optional string country = 6;
10144inline bool AccountInfo::has_country() const {
10145 return (_has_bits_[0] & 0x00000020u) != 0;
10146}
10148 _has_bits_[0] |= 0x00000020u;
10149}
10151 _has_bits_[0] &= ~0x00000020u;
10152}
10154 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10155 country_->clear();
10156 }
10157 clear_has_country();
10158}
10159inline const ::std::string& AccountInfo::country() const {
10160 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.country)
10161 return *country_;
10162}
10163inline void AccountInfo::set_country(const ::std::string& value) {
10164 set_has_country();
10165 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10166 country_ = new ::std::string;
10167 }
10168 country_->assign(value);
10169 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.country)
10170}
10171inline void AccountInfo::set_country(const char* value) {
10172 set_has_country();
10173 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10174 country_ = new ::std::string;
10175 }
10176 country_->assign(value);
10177 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.country)
10178}
10179inline void AccountInfo::set_country(const char* value, size_t size) {
10180 set_has_country();
10181 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10182 country_ = new ::std::string;
10183 }
10184 country_->assign(reinterpret_cast<const char*>(value), size);
10185 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.country)
10186}
10187inline ::std::string* AccountInfo::mutable_country() {
10188 set_has_country();
10189 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10190 country_ = new ::std::string;
10191 }
10192 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.country)
10193 return country_;
10194}
10195inline ::std::string* AccountInfo::release_country() {
10196 clear_has_country();
10197 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10198 return NULL;
10199 } else {
10200 ::std::string* temp = country_;
10201 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10202 return temp;
10203 }
10204}
10205inline void AccountInfo::set_allocated_country(::std::string* country) {
10206 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10207 delete country_;
10208 }
10209 if (country) {
10210 set_has_country();
10211 country_ = country;
10212 } else {
10213 clear_has_country();
10214 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10215 }
10216 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.country)
10217}
10218
10219// optional string default_currency = 7;
10221 return (_has_bits_[0] & 0x00000040u) != 0;
10222}
10224 _has_bits_[0] |= 0x00000040u;
10225}
10227 _has_bits_[0] &= ~0x00000040u;
10228}
10230 if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10231 default_currency_->clear();
10232 }
10233 clear_has_default_currency();
10234}
10235inline const ::std::string& AccountInfo::default_currency() const {
10236 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.default_currency)
10237 return *default_currency_;
10238}
10239inline void AccountInfo::set_default_currency(const ::std::string& value) {
10240 set_has_default_currency();
10241 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10242 default_currency_ = new ::std::string;
10243 }
10244 default_currency_->assign(value);
10245 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.default_currency)
10246}
10247inline void AccountInfo::set_default_currency(const char* value) {
10248 set_has_default_currency();
10249 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10250 default_currency_ = new ::std::string;
10251 }
10252 default_currency_->assign(value);
10253 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.default_currency)
10254}
10255inline void AccountInfo::set_default_currency(const char* value, size_t size) {
10256 set_has_default_currency();
10257 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10258 default_currency_ = new ::std::string;
10259 }
10260 default_currency_->assign(reinterpret_cast<const char*>(value), size);
10261 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.default_currency)
10262}
10264 set_has_default_currency();
10265 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10266 default_currency_ = new ::std::string;
10267 }
10268 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.default_currency)
10269 return default_currency_;
10270}
10272 clear_has_default_currency();
10273 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10274 return NULL;
10275 } else {
10276 ::std::string* temp = default_currency_;
10277 default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10278 return temp;
10279 }
10280}
10281inline void AccountInfo::set_allocated_default_currency(::std::string* default_currency) {
10282 if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10283 delete default_currency_;
10284 }
10285 if (default_currency) {
10286 set_has_default_currency();
10287 default_currency_ = default_currency;
10288 } else {
10289 clear_has_default_currency();
10290 default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10291 }
10292 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.default_currency)
10293}
10294
10295// optional uint32 preferred_region = 8;
10297 return (_has_bits_[0] & 0x00000080u) != 0;
10298}
10300 _has_bits_[0] |= 0x00000080u;
10301}
10303 _has_bits_[0] &= ~0x00000080u;
10304}
10306 preferred_region_ = 0u;
10307 clear_has_preferred_region();
10308}
10310 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.preferred_region)
10311 return preferred_region_;
10312}
10314 set_has_preferred_region();
10315 preferred_region_ = value;
10316 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.preferred_region)
10317}
10318
10319// optional uint32 ratings_board_minimum_age = 9;
10321 return (_has_bits_[0] & 0x00000100u) != 0;
10322}
10324 _has_bits_[0] |= 0x00000100u;
10325}
10327 _has_bits_[0] &= ~0x00000100u;
10328}
10330 ratings_board_minimum_age_ = 0u;
10331 clear_has_ratings_board_minimum_age();
10332}
10334 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
10335 return ratings_board_minimum_age_;
10336}
10338 set_has_ratings_board_minimum_age();
10339 ratings_board_minimum_age_ = value;
10340 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
10341}
10342
10343// optional bool has_parental_control = 10;
10345 return (_has_bits_[0] & 0x00000200u) != 0;
10346}
10348 _has_bits_[0] |= 0x00000200u;
10349}
10351 _has_bits_[0] &= ~0x00000200u;
10352}
10354 has_parental_control_ = false;
10355 clear_has_has_parental_control();
10356}
10358 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.has_parental_control)
10359 return has_parental_control_;
10360}
10362 set_has_has_parental_control();
10363 has_parental_control_ = value;
10364 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.has_parental_control)
10365}
10366
10367// optional bool is_email_verified = 11;
10369 return (_has_bits_[0] & 0x00000400u) != 0;
10370}
10372 _has_bits_[0] |= 0x00000400u;
10373}
10375 _has_bits_[0] &= ~0x00000400u;
10376}
10378 is_email_verified_ = false;
10379 clear_has_is_email_verified();
10380}
10382 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_email_verified)
10383 return is_email_verified_;
10384}
10385inline void AccountInfo::set_is_email_verified(bool value) {
10386 set_has_is_email_verified();
10387 is_email_verified_ = value;
10388 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_email_verified)
10389}
10390
10391// optional bool is_sms_protected = 12;
10393 return (_has_bits_[0] & 0x00000800u) != 0;
10394}
10396 _has_bits_[0] |= 0x00000800u;
10397}
10399 _has_bits_[0] &= ~0x00000800u;
10400}
10402 is_sms_protected_ = false;
10403 clear_has_is_sms_protected();
10404}
10406 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
10407 return is_sms_protected_;
10408}
10409inline void AccountInfo::set_is_sms_protected(bool value) {
10410 set_has_is_sms_protected();
10411 is_sms_protected_ = value;
10412 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
10413}
10414
10415// optional bool is_headless_account = 13;
10417 return (_has_bits_[0] & 0x00001000u) != 0;
10418}
10420 _has_bits_[0] |= 0x00001000u;
10421}
10423 _has_bits_[0] &= ~0x00001000u;
10424}
10426 is_headless_account_ = false;
10427 clear_has_is_headless_account();
10428}
10430 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_headless_account)
10431 return is_headless_account_;
10432}
10434 set_has_is_headless_account();
10435 is_headless_account_ = value;
10436 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_headless_account)
10437}
10438
10439// optional bool is_employee = 14;
10440inline bool AccountInfo::has_is_employee() const {
10441 return (_has_bits_[0] & 0x00002000u) != 0;
10442}
10444 _has_bits_[0] |= 0x00002000u;
10445}
10447 _has_bits_[0] &= ~0x00002000u;
10448}
10450 is_employee_ = false;
10451 clear_has_is_employee();
10452}
10453inline bool AccountInfo::is_employee() const {
10454 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_employee)
10455 return is_employee_;
10456}
10457inline void AccountInfo::set_is_employee(bool value) {
10458 set_has_is_employee();
10459 is_employee_ = value;
10460 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_employee)
10461}
10462
10463// optional bool is_test_account = 15;
10465 return (_has_bits_[0] & 0x00004000u) != 0;
10466}
10468 _has_bits_[0] |= 0x00004000u;
10469}
10471 _has_bits_[0] &= ~0x00004000u;
10472}
10474 is_test_account_ = false;
10475 clear_has_is_test_account();
10476}
10477inline bool AccountInfo::is_test_account() const {
10478 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_test_account)
10479 return is_test_account_;
10480}
10481inline void AccountInfo::set_is_test_account(bool value) {
10482 set_has_is_test_account();
10483 is_test_account_ = value;
10484 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_test_account)
10485}
10486
10487// optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
10489 return (_has_bits_[0] & 0x00008000u) != 0;
10490}
10492 _has_bits_[0] |= 0x00008000u;
10493}
10495 _has_bits_[0] &= ~0x00008000u;
10496}
10498 if (privacy_setting_ != NULL) privacy_setting_->::bgs::protocol::account::v1::AccountPrivacySetting::Clear();
10499 clear_has_privacy_setting();
10500}
10501inline const ::bgs::protocol::account::v1::AccountPrivacySetting& AccountInfo::privacy_setting() const {
10502 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10503 return privacy_setting_ != NULL ? *privacy_setting_ : *default_instance_->privacy_setting_;
10504}
10505inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::mutable_privacy_setting() {
10506 set_has_privacy_setting();
10507 if (privacy_setting_ == NULL) privacy_setting_ = new ::bgs::protocol::account::v1::AccountPrivacySetting;
10508 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10509 return privacy_setting_;
10510}
10511inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::release_privacy_setting() {
10512 clear_has_privacy_setting();
10514 privacy_setting_ = NULL;
10515 return temp;
10516}
10518 delete privacy_setting_;
10519 privacy_setting_ = privacy_setting;
10520 if (privacy_setting) {
10521 set_has_privacy_setting();
10522 } else {
10523 clear_has_privacy_setting();
10524 }
10525 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10526}
10527
10528// -------------------------------------------------------------------
10529
10530// RestrictionStatus
10531
10532// optional bool active = 1;
10534 return (_has_bits_[0] & 0x00000001u) != 0;
10535}
10537 _has_bits_[0] |= 0x00000001u;
10538}
10540 _has_bits_[0] &= ~0x00000001u;
10541}
10543 active_ = false;
10544 clear_has_active();
10545}
10546inline bool RestrictionStatus::active() const {
10547 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.active)
10548 return active_;
10549}
10550inline void RestrictionStatus::set_active(bool value) {
10551 set_has_active();
10552 active_ = value;
10553 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.active)
10554}
10555
10556// optional uint64 expiration_us = 2;
10558 return (_has_bits_[0] & 0x00000002u) != 0;
10559}
10561 _has_bits_[0] |= 0x00000002u;
10562}
10564 _has_bits_[0] &= ~0x00000002u;
10565}
10567 expiration_us_ = GOOGLE_ULONGLONG(0);
10568 clear_has_expiration_us();
10569}
10571 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
10572 return expiration_us_;
10573}
10575 set_has_expiration_us();
10576 expiration_us_ = value;
10577 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
10578}
10579
10580// -------------------------------------------------------------------
10581
10582// AccountPlatformRestrictionInfo
10583
10584// optional .bgs.protocol.account.v1.RestrictionStatus squelched = 2;
10586 return (_has_bits_[0] & 0x00000001u) != 0;
10587}
10589 _has_bits_[0] |= 0x00000001u;
10590}
10592 _has_bits_[0] &= ~0x00000001u;
10593}
10595 if (squelched_ != NULL) squelched_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
10596 clear_has_squelched();
10597}
10598inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::squelched() const {
10599 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10600 return squelched_ != NULL ? *squelched_ : *default_instance_->squelched_;
10601}
10602inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_squelched() {
10603 set_has_squelched();
10604 if (squelched_ == NULL) squelched_ = new ::bgs::protocol::account::v1::RestrictionStatus;
10605 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10606 return squelched_;
10607}
10608inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_squelched() {
10609 clear_has_squelched();
10611 squelched_ = NULL;
10612 return temp;
10613}
10615 delete squelched_;
10616 squelched_ = squelched;
10617 if (squelched) {
10618 set_has_squelched();
10619 } else {
10620 clear_has_squelched();
10621 }
10622 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10623}
10624
10625// optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
10627 return (_has_bits_[0] & 0x00000002u) != 0;
10628}
10630 _has_bits_[0] |= 0x00000002u;
10631}
10633 _has_bits_[0] &= ~0x00000002u;
10634}
10636 if (legal_country_feature_restrictions_applied_ != NULL) legal_country_feature_restrictions_applied_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
10637 clear_has_legal_country_feature_restrictions_applied();
10638}
10639inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::legal_country_feature_restrictions_applied() const {
10640 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10641 return legal_country_feature_restrictions_applied_ != NULL ? *legal_country_feature_restrictions_applied_ : *default_instance_->legal_country_feature_restrictions_applied_;
10642}
10643inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_legal_country_feature_restrictions_applied() {
10644 set_has_legal_country_feature_restrictions_applied();
10645 if (legal_country_feature_restrictions_applied_ == NULL) legal_country_feature_restrictions_applied_ = new ::bgs::protocol::account::v1::RestrictionStatus;
10646 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10647 return legal_country_feature_restrictions_applied_;
10648}
10649inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_legal_country_feature_restrictions_applied() {
10650 clear_has_legal_country_feature_restrictions_applied();
10651 ::bgs::protocol::account::v1::RestrictionStatus* temp = legal_country_feature_restrictions_applied_;
10652 legal_country_feature_restrictions_applied_ = NULL;
10653 return temp;
10654}
10656 delete legal_country_feature_restrictions_applied_;
10657 legal_country_feature_restrictions_applied_ = legal_country_feature_restrictions_applied;
10658 if (legal_country_feature_restrictions_applied) {
10659 set_has_legal_country_feature_restrictions_applied();
10660 } else {
10661 clear_has_legal_country_feature_restrictions_applied();
10662 }
10663 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10664}
10665
10666// @@protoc_insertion_point(namespace_scope)
10667
10668} // namespace v1
10669} // namespace account
10670} // namespace protocol
10671} // namespace bgs
10672
10673#ifndef SWIG
10674namespace google {
10675namespace protobuf {
10676template <> struct is_proto_enum< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy> : ::google::protobuf::internal::true_type {};
10677template <>
10678inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy>() {
10680}
10681template <> struct is_proto_enum< ::bgs::protocol::account::v1::IdentityVerificationStatus> : ::google::protobuf::internal::true_type {};
10682template <>
10683inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::account::v1::IdentityVerificationStatus>() {
10685}
10686} // namespace google
10687} // namespace protobuf
10688#endif // SWIG
10689
10690// @@protoc_insertion_point(global_scope)
10691
10692#endif // PROTOBUF_account_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
AccountFieldOptions(const AccountFieldOptions &from)
static const AccountFieldOptions & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(AccountFieldOptions *other)
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
AccountFieldOptions & operator=(const AccountFieldOptions &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > * mutable_game_level_info_tags()
void set_parental_control_info_tag(::google::protobuf::uint32 value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > game_level_info_tags_
inline ::google::protobuf::uint32 privacy_info_tag() const
inline ::bgs::protocol::account::v1::ProgramTag * add_game_status_tags()
void set_account_level_info_tag(::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > & game_level_info_tags() const
inline ::google::protobuf::uint32 account_level_info_tag() const
::google::protobuf::uint32 account_level_info_tag_
inline ::bgs::protocol::account::v1::RegionTag * add_game_account_tags()
AccountFieldTags(const AccountFieldTags &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > * mutable_game_status_tags()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > & game_status_tags() const
void set_security_status_tag(::google::protobuf::uint32 value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag > game_account_tags_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 parental_control_info_tag_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag > * mutable_game_account_tags()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const AccountFieldTags & default_instance()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag > & game_account_tags() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 security_status_tag_
AccountFieldTags & operator=(const AccountFieldTags &from)
inline ::bgs::protocol::account::v1::ProgramTag * add_game_level_info_tags()
void Swap(AccountFieldTags *other)
inline ::google::protobuf::uint32 security_status_tag() const
inline ::google::protobuf::uint32 parental_control_info_tag() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > game_status_tags_
void set_privacy_info_tag(::google::protobuf::uint32 value)
static const ::google::protobuf::Descriptor * descriptor()
static const AccountId & default_instance()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
inline ::google::protobuf::uint32 id() const
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
AccountId(const AccountId &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
AccountId & operator=(const AccountId &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_id(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const AccountInfo & default_instance()
void set_allocated_country(::std::string *country)
AccountInfo & operator=(const AccountInfo &from)
inline ::std::string * mutable_battle_tag()
inline ::google::protobuf::uint32 preferred_region() const
AccountInfo(const AccountInfo &from)
void set_allocated_full_name(::std::string *full_name)
static const ::google::protobuf::Descriptor * descriptor()
void set_battle_tag(const ::std::string &value)
void set_allocated_birthdate(::std::string *birthdate)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * release_phone_number()
void set_full_name(const ::std::string &value)
inline ::std::string * release_default_currency()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
const ::std::string & email() const
inline ::bgs::protocol::account::v1::AccountPrivacySetting * release_privacy_setting()
const ::std::string & full_name() const
void set_preferred_region(::google::protobuf::uint32 value)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::std::string * mutable_phone_number()
const ::std::string & birthdate() const
void set_allocated_battle_tag(::std::string *battle_tag)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_birthdate(const ::std::string &value)
const ::bgs::protocol::account::v1::AccountPrivacySetting & privacy_setting() const
void set_allocated_default_currency(::std::string *default_currency)
void set_email(const ::std::string &value)
inline ::google::protobuf::uint32 ratings_board_minimum_age() const
void set_default_currency(const ::std::string &value)
void set_ratings_board_minimum_age(::google::protobuf::uint32 value)
const ::std::string & battle_tag() const
const ::std::string & country() const
void set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting *privacy_setting)
void set_allocated_phone_number(::std::string *phone_number)
void set_phone_number(const ::std::string &value)
::google::protobuf::uint32 preferred_region_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_country(const ::std::string &value)
const ::std::string & default_currency() const
inline ::bgs::protocol::account::v1::AccountPrivacySetting * mutable_privacy_setting()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::bgs::protocol::account::v1::AccountPrivacySetting * privacy_setting_
::google::protobuf::uint32 ratings_board_minimum_age_
const ::std::string & phone_number() const
inline ::std::string * release_battle_tag()
void set_allocated_email(::std::string *email)
inline ::std::string * mutable_default_currency()
::bgs::protocol::account::v1::OptIns * opt_ins_
void set_allocated_full_name(::std::string *full_name)
void set_identity_check_status(::bgs::protocol::account::v1::IdentityVerificationStatus value)
void set_allocated_birthdate(::std::string *birthdate)
AccountLevelInfo(const AccountLevelInfo &from)
void set_birthdate(const ::std::string &value)
inline ::bgs::protocol::account::v1::OptIns * mutable_opt_ins()
const ::std::string & phone_number() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_battle_tag(::std::string *battle_tag)
void set_email(const ::std::string &value)
void set_allocated_country(::std::string *country)
void set_preferred_region(::google::protobuf::uint32 value)
void set_ratings_board_minimum_age(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 default_currency() const
AccountLevelInfo & operator=(const AccountLevelInfo &from)
::google::protobuf::Metadata GetMetadata() const
void set_phone_number(const ::std::string &value)
inline ::bgs::protocol::account::v1::AccountLicense * add_licenses()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > & licenses() const
inline ::google::protobuf::uint32 ratings_board_minimum_age() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > * mutable_licenses()
inline ::bgs::protocol::account::v1::IdentityVerificationStatus identity_check_status() const
inline ::google::protobuf::uint32 preferred_region() const
static const AccountLevelInfo & default_instance()
void set_country(const ::std::string &value)
void set_allocated_opt_ins(::bgs::protocol::account::v1::OptIns *opt_ins)
void Swap(AccountLevelInfo *other)
void set_default_currency(::google::protobuf::uint32 value)
void set_battle_tag(const ::std::string &value)
void set_full_name(const ::std::string &value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_
void set_allocated_phone_number(::std::string *phone_number)
const ::bgs::protocol::account::v1::OptIns & opt_ins() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::OptIns * release_opt_ins()
::google::protobuf::uint32 ratings_board_minimum_age_
AccountLicense(const AccountLicense &from)
void set_expires(::google::protobuf::uint64 value)
void Swap(AccountLicense *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_id(::google::protobuf::uint32 value)
static const ::google::protobuf::Descriptor * descriptor()
static const AccountLicense & default_instance()
inline ::google::protobuf::uint64 expires() const
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
AccountLicense & operator=(const AccountLicense &from)
static const AccountPlatformRestrictionInfo & default_instance()
AccountPlatformRestrictionInfo(const AccountPlatformRestrictionInfo &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::account::v1::RestrictionStatus * squelched_
inline ::bgs::protocol::account::v1::RestrictionStatus * release_squelched()
inline ::bgs::protocol::account::v1::RestrictionStatus * release_legal_country_feature_restrictions_applied()
const ::bgs::protocol::account::v1::RestrictionStatus & squelched() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(AccountPlatformRestrictionInfo *other)
static AccountPlatformRestrictionInfo * default_instance_
AccountPlatformRestrictionInfo & operator=(const AccountPlatformRestrictionInfo &from)
void set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus *squelched)
::bgs::protocol::account::v1::RestrictionStatus * legal_country_feature_restrictions_applied_
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus *legal_country_feature_restrictions_applied)
const ::bgs::protocol::account::v1::RestrictionStatus & legal_country_feature_restrictions_applied() const
AccountPlatformRestrictionInfo * New() const
inline ::bgs::protocol::account::v1::RestrictionStatus * mutable_legal_country_feature_restrictions_applied()
inline ::bgs::protocol::account::v1::RestrictionStatus * mutable_squelched()
AccountPrivacySetting & operator=(const AccountPrivacySetting &from)
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
AccountPrivacySetting(const AccountPrivacySetting &from)
void Swap(AccountPrivacySetting *other)
static const AccountPrivacySetting & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_battle_tag(::std::string *battle_tag)
void set_phone_number(const ::std::string &value)
static const AccountReference & default_instance()
AccountReference(const AccountReference &from)
inline ::google::protobuf::uint32 id() const
::bgs::protocol::account::v1::GameAccountHandle * handle_
void set_id(::google::protobuf::uint32 value)
inline ::bgs::protocol::account::v1::GameAccountHandle * release_handle()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_handle()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_phone_number(::std::string *phone_number)
inline ::google::protobuf::uint32 region() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_region(::google::protobuf::uint32 value)
const ::bgs::protocol::account::v1::GameAccountHandle & handle() const
void set_battle_tag(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_handle(::bgs::protocol::account::v1::GameAccountHandle *handle)
AccountReference & operator=(const AccountReference &from)
void Swap(AccountReference *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::std::string & phone_number() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_email(const ::std::string &value)
void set_allocated_account_state(::bgs::protocol::account::v1::AccountState *account_state)
inline ::bgs::protocol::account::v1::AccountState * release_account_state()
static const ::google::protobuf::Descriptor * descriptor()
AccountStateTagged & operator=(const AccountStateTagged &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::AccountState * mutable_account_state()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(AccountStateTagged *other)
void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags *account_tags)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountFieldTags * release_account_tags()
const ::bgs::protocol::account::v1::AccountFieldTags & account_tags() const
AccountStateTagged(const AccountStateTagged &from)
::bgs::protocol::account::v1::AccountState * account_state_
static const AccountStateTagged & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
const ::bgs::protocol::account::v1::AccountState & account_state() const
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_account_tags()
::bgs::protocol::account::v1::AccountFieldTags * account_tags_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > game_status_
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::PlayScheduleRestriction * release_government_curfew()
void set_allocated_parental_control_info(::bgs::protocol::account::v1::ParentalControlInfo *parental_control_info)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::account::v1::PrivacyInfo * privacy_info_
const ::bgs::protocol::account::v1::ParentalControlInfo & parental_control_info() const
const ::bgs::protocol::account::v1::PlayScheduleRestriction & government_curfew() const
inline ::bgs::protocol::account::v1::SecurityStatus * mutable_security_status()
const ::bgs::protocol::account::v1::AccountLevelInfo & account_level_info() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > & game_accounts() const
inline ::bgs::protocol::account::v1::PlayScheduleRestriction * mutable_government_curfew()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::AccountLevelInfo * mutable_account_level_info()
void set_allocated_account_level_info(::bgs::protocol::account::v1::AccountLevelInfo *account_level_info)
inline ::bgs::protocol::account::v1::PrivacyInfo * release_privacy_info()
void set_allocated_privacy_info(::bgs::protocol::account::v1::PrivacyInfo *privacy_info)
inline ::bgs::protocol::account::v1::GameLevelInfo * add_game_level_info()
::bgs::protocol::account::v1::ParentalControlInfo * parental_control_info_
static const AccountState & default_instance()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > * mutable_game_level_info()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > * mutable_game_status()
void set_allocated_government_curfew(::bgs::protocol::account::v1::PlayScheduleRestriction *government_curfew)
const ::bgs::protocol::account::v1::PrivacyInfo & privacy_info() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_
::bgs::protocol::account::v1::AccountLevelInfo * account_level_info_
inline ::bgs::protocol::account::v1::ParentalControlInfo * mutable_parental_control_info()
inline ::bgs::protocol::account::v1::GameStatus * add_game_status()
::bgs::protocol::account::v1::SecurityStatus * security_status_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > & game_status() const
inline ::bgs::protocol::account::v1::AccountLevelInfo * release_account_level_info()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::ParentalControlInfo * release_parental_control_info()
::bgs::protocol::account::v1::PlayScheduleRestriction * government_curfew_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > game_level_info_
inline ::bgs::protocol::account::v1::PrivacyInfo * mutable_privacy_info()
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::account::v1::SecurityStatus & security_status() const
AccountState(const AccountState &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > * mutable_game_accounts()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_allocated_security_status(::bgs::protocol::account::v1::SecurityStatus *security_status)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > & game_level_info() const
inline ::bgs::protocol::account::v1::SecurityStatus * release_security_status()
inline ::bgs::protocol::account::v1::GameAccountList * add_game_accounts()
AccountState & operator=(const AccountState &from)
void set_data(const ::std::string &value)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > license_
void Swap(AuthorizedData *other)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & license() const
AuthorizedData & operator=(const AuthorizedData &from)
static const AuthorizedData & default_instance()
void add_license(::google::protobuf::uint32 value)
void set_license(int index, ::google::protobuf::uint32 value)
static const ::google::protobuf::Descriptor * descriptor()
AuthorizedData(const AuthorizedData &from)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_license()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
CAIS & operator=(const CAIS &from)
void set_rested_minutes(::google::protobuf::uint32 value)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
static const CAIS & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_played_minutes(::google::protobuf::uint32 value)
inline ::google::protobuf::uint64 last_heard_time() const
::google::protobuf::uint64 last_heard_time_
inline ::google::protobuf::uint32 played_minutes() const
::google::protobuf::uint32 rested_minutes_
void SetCachedSize(int size) const
inline ::google::protobuf::uint32 rested_minutes() const
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_last_heard_time(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 played_minutes_
static const ::google::protobuf::Descriptor * descriptor()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static GameAccountFieldOptions * default_instance_
GameAccountFieldOptions(const GameAccountFieldOptions &from)
GameAccountFieldOptions & operator=(const GameAccountFieldOptions &from)
void Swap(GameAccountFieldOptions *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const GameAccountFieldOptions & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const GameAccountFieldTags & default_instance()
void set_game_level_info_tag(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 game_status_tag() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint32 raf_info_tag() const
GameAccountFieldTags & operator=(const GameAccountFieldTags &from)
void set_raf_info_tag(::google::protobuf::uint32 value)
void Swap(GameAccountFieldTags *other)
inline ::google::protobuf::uint32 game_level_info_tag() const
GameAccountFieldTags(const GameAccountFieldTags &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_game_time_info_tag(::google::protobuf::uint32 value)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_game_status_tag(::google::protobuf::uint32 value)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 game_time_info_tag() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
void Swap(GameAccountHandle *other)
void set_program(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 program() const
GameAccountHandle & operator=(const GameAccountHandle &from)
GameAccountHandle(const GameAccountHandle &from)
void set_id(::google::protobuf::uint32 value)
static const GameAccountHandle & default_instance()
void set_region(::google::protobuf::uint32 value)
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint32 id() const
inline ::google::protobuf::uint32 region() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_region(::google::protobuf::uint32 value)
GameAccountList & operator=(const GameAccountList &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle > & handle() const
static const GameAccountList & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
GameAccountList(const GameAccountList &from)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle > handle_
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 region() const
void Swap(GameAccountList *other)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle > * mutable_handle()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::GameAccountHandle * add_handle()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::account::v1::GameAccountState & game_account_state() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::account::v1::GameAccountFieldTags & game_account_tags() const
::bgs::protocol::account::v1::GameAccountFieldTags * game_account_tags_
static const GameAccountStateTagged & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(GameAccountStateTagged *other)
inline ::bgs::protocol::account::v1::GameAccountState * mutable_game_account_state()
::google::protobuf::Metadata GetMetadata() const
GameAccountStateTagged(const GameAccountStateTagged &from)
void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags *game_account_tags)
void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState *game_account_state)
inline ::bgs::protocol::account::v1::GameAccountFieldTags * release_game_account_tags()
inline ::bgs::protocol::account::v1::GameAccountState * release_game_account_state()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * mutable_game_account_tags()
GameAccountStateTagged & operator=(const GameAccountStateTagged &from)
::bgs::protocol::account::v1::GameAccountState * game_account_state_
void set_allocated_game_time_info(::bgs::protocol::account::v1::GameTimeInfo *game_time_info)
void set_allocated_game_level_info(::bgs::protocol::account::v1::GameLevelInfo *game_level_info)
void set_allocated_game_status(::bgs::protocol::account::v1::GameStatus *game_status)
static const GameAccountState & default_instance()
::bgs::protocol::account::v1::GameLevelInfo * game_level_info_
inline ::bgs::protocol::account::v1::GameStatus * mutable_game_status()
const ::bgs::protocol::account::v1::GameStatus & game_status() const
void Swap(GameAccountState *other)
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::account::v1::RAFInfo * raf_info_
const ::bgs::protocol::account::v1::RAFInfo & raf_info() const
inline ::bgs::protocol::account::v1::RAFInfo * release_raf_info()
inline ::bgs::protocol::account::v1::GameTimeInfo * release_game_time_info()
::bgs::protocol::account::v1::GameStatus * game_status_
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::GameLevelInfo * mutable_game_level_info()
GameAccountState & operator=(const GameAccountState &from)
void set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo *raf_info)
inline ::bgs::protocol::account::v1::GameTimeInfo * mutable_game_time_info()
GameAccountState(const GameAccountState &from)
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::RAFInfo * mutable_raf_info()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::account::v1::GameTimeInfo & game_time_info() const
inline ::bgs::protocol::account::v1::GameLevelInfo * release_game_level_info()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::GameStatus * release_game_status()
const ::bgs::protocol::account::v1::GameLevelInfo & game_level_info() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::account::v1::GameTimeInfo * game_time_info_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 program() const
void set_last_logout_time_ms(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > & licenses() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_program(::google::protobuf::uint32 value)
void set_name(const ::std::string &value)
void set_allocated_name(::std::string *name)
GameLevelInfo & operator=(const GameLevelInfo &from)
void clear_last_logout_time_ms() PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > * mutable_licenses()
inline ::bgs::protocol::account::v1::AccountLicense * add_licenses()
void set_realm_permissions(::google::protobuf::uint32 value)
bool has_last_logout_time_ms() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint32 realm_permissions() const
static const GameLevelInfo & default_instance()
inline ::google::protobuf::uint64 last_logout_time_ms() const PROTOBUF_DEPRECATED
static const ::google::protobuf::Descriptor * descriptor()
GameLevelInfo(const GameLevelInfo &from)
GameSessionInfo & operator=(const GameSessionInfo &from)
inline ::bgs::protocol::account::v1::GameSessionLocation * mutable_location()
inline ::bgs::protocol::account::v1::IgrId * mutable_igr_id()
void set_start_time_sec(::google::protobuf::uint64 value)
inline ::bgs::protocol::account::v1::IgrId * release_igr_id()
void set_platform_id(::google::protobuf::uint32 value)
inline ::bgs::protocol::account::v1::GameSessionLocation * release_location()
GameSessionInfo(const GameSessionInfo &from)
const ::bgs::protocol::account::v1::IgrId & igr_id() const
void Swap(GameSessionInfo *other)
void set_allocated_location(::bgs::protocol::account::v1::GameSessionLocation *location)
void set_allocated_igr_id(::bgs::protocol::account::v1::IgrId *igr_id)
const ::bgs::protocol::account::v1::GameSessionLocation & location() const
inline ::google::protobuf::uint32 platform_id() const
::google::protobuf::Metadata GetMetadata() const
static const GameSessionInfo & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
void set_start_time(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 start_time() const PROTOBUF_DEPRECATED
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
bool has_start_time() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint64 start_time_sec() const
::google::protobuf::UnknownFieldSet _unknown_fields_
GameSessionLocation & operator=(const GameSessionLocation &from)
void Swap(GameSessionLocation *other)
static const GameSessionLocation & default_instance()
GameSessionLocation(const GameSessionLocation &from)
void set_country(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_ip_address(::std::string *ip_address)
inline ::google::protobuf::uint32 country() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
void set_ip_address(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::account::v1::CAIS * release_cais()
::bgs::protocol::account::v1::CAIS * cais_
void Swap(GameSessionUpdateInfo *other)
static const ::google::protobuf::Descriptor * descriptor()
static const GameSessionUpdateInfo & default_instance()
GameSessionUpdateInfo(const GameSessionUpdateInfo &from)
inline ::bgs::protocol::account::v1::CAIS * mutable_cais()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
GameSessionUpdateInfo & operator=(const GameSessionUpdateInfo &from)
const ::bgs::protocol::account::v1::CAIS & cais() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_cais(::bgs::protocol::account::v1::CAIS *cais)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
void set_program(::google::protobuf::uint32 value)
::google::protobuf::uint64 suspension_expires_
static const GameStatus & default_instance()
GameStatus(const GameStatus &from)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint64 suspension_expires() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
GameStatus & operator=(const GameStatus &from)
void set_suspension_expires(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint32 program() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
GameTimeInfo & operator=(const GameTimeInfo &from)
void set_play_time_expires(::google::protobuf::uint64 value)
::google::protobuf::uint64 play_time_expires_
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
GameTimeInfo(const GameTimeInfo &from)
inline ::google::protobuf::uint64 play_time_expires() const
static const GameTimeInfo & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_minutes_remaining(::google::protobuf::uint32 value)
void set_parental_daily_minutes_remaining(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 minutes_remaining() const
::google::protobuf::Metadata GetMetadata() const
GameTimeRemainingInfo(const GameTimeRemainingInfo &from)
inline ::google::protobuf::uint32 parental_weekly_minutes_remaining() const
void clear_seconds_remaining_until_kick() PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
void set_seconds_remaining_until_kick(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
bool has_seconds_remaining_until_kick() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint32 seconds_remaining_until_kick() const PROTOBUF_DEPRECATED
static const GameTimeRemainingInfo & default_instance()
void set_parental_weekly_minutes_remaining(::google::protobuf::uint32 value)
GameTimeRemainingInfo & operator=(const GameTimeRemainingInfo &from)
void Swap(GameTimeRemainingInfo *other)
inline ::google::protobuf::uint32 parental_daily_minutes_remaining() const
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account()
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle *game_account)
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::bgs::protocol::account::v1::AccountId * account_
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::bgs::protocol::account::v1::GameAccountHandle * game_account_
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::AccountId * release_account()
Identity & operator=(const Identity &from)
void set_allocated_account(::bgs::protocol::account::v1::AccountId *account)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const Identity & default_instance()
const ::bgs::protocol::account::v1::AccountId & account() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_game_account()
inline ::bgs::protocol::account::v1::AccountId * mutable_account()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
inline ::google::protobuf::uint32 region() const
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
IgrAddress & operator=(const IgrAddress &from)
void set_region(::google::protobuf::uint32 value)
inline ::std::string * mutable_client_address()
inline ::std::string * release_client_address()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
static const IgrAddress & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
IgrAddress(const IgrAddress &from)
const ::std::string & client_address() const
void set_client_address(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_allocated_client_address(::std::string *client_address)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::std::string * release_uuid()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account() PROTOBUF_DEPRECATED
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
IgrId & operator=(const IgrId &from)
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_game_account() PROTOBUF_DEPRECATED
void set_allocated_uuid(::std::string *uuid)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
bool has_game_account() const PROTOBUF_DEPRECATED
void set_uuid(const ::std::string &value)
void clear_game_account() PROTOBUF_DEPRECATED
const ::std::string & uuid() const
void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle *game_account) PROTOBUF_DEPRECATED
inline ::std::string * mutable_uuid()
void set_external_id(::google::protobuf::uint32 value)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 external_id() const
static const IgrId & default_instance()
void SetCachedSize(int size) const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_ids()
void add_ids(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
static const OptIns & default_instance()
void set_ids(int index, ::google::protobuf::uint64 value)
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::RepeatedField< ::google::protobuf::uint64 > ids_
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & ids() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
OptIns & operator=(const OptIns &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
ParentalControlInfo & operator=(const ParentalControlInfo &from)
ParentalControlInfo(const ParentalControlInfo &from)
::google::protobuf::RepeatedField< bool > play_schedule_
void set_minutes_per_week(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 minutes_per_week() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedField< bool > * mutable_play_schedule()
void set_timezone(const ::std::string &value)
void set_minutes_per_day(::google::protobuf::uint32 value)
void Swap(ParentalControlInfo *other)
static const ParentalControlInfo & default_instance()
void set_allocated_timezone(::std::string *timezone)
inline ::google::protobuf::uint32 minutes_per_day() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
const ::google::protobuf::RepeatedField< bool > & play_schedule() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
PlayScheduleRestriction & operator=(const PlayScheduleRestriction &from)
static const ::google::protobuf::Descriptor * descriptor()
PlayScheduleRestriction(const PlayScheduleRestriction &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(PlayScheduleRestriction *other)
static PlayScheduleRestriction * default_instance_
const ::google::protobuf::RepeatedField< bool > & play_schedule() const
::google::protobuf::RepeatedField< bool > play_schedule_
static const PlayScheduleRestriction & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedField< bool > * mutable_play_schedule()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const ::google::protobuf::EnumDescriptor * GameInfoPrivacy_descriptor()
static const PrivacyInfo & default_instance()
PrivacyInfo_GameInfoPrivacy GameInfoPrivacy
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy game_info_privacy() const
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
static const ::std::string & GameInfoPrivacy_Name(GameInfoPrivacy value)
static bool GameInfoPrivacy_IsValid(int value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
PrivacyInfo(const PrivacyInfo &from)
static bool GameInfoPrivacy_Parse(const ::std::string &name, GameInfoPrivacy *value)
void set_game_info_privacy(::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy value)
PrivacyInfo & operator=(const PrivacyInfo &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
ProgramTag(const ProgramTag &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
void set_program(::google::protobuf::uint32 value)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ProgramTag & default_instance()
inline ::google::protobuf::uint32 tag() const
void set_tag(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 program() const
::google::protobuf::uint32 program_
ProgramTag & operator=(const ProgramTag &from)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_raf_info(::std::string *raf_info)
const ::std::string & raf_info() const
static const RAFInfo & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
inline ::std::string * mutable_raf_info()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
RAFInfo & operator=(const RAFInfo &from)
void set_raf_info(const ::std::string &value)
inline ::std::string * release_raf_info()
void SetCachedSize(int size) const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 region() const
inline ::google::protobuf::uint32 tag() const
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
static const RegionTag & default_instance()
RegionTag & operator=(const RegionTag &from)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
RegionTag(const RegionTag &from)
void set_region(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_tag(::google::protobuf::uint32 value)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::uint32 region_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
RestrictionStatus & operator=(const RestrictionStatus &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
void set_expiration_us(::google::protobuf::uint64 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
RestrictionStatus(const RestrictionStatus &from)
void Swap(RestrictionStatus *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::uint64 expiration_us() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const RestrictionStatus & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const SecurityStatus & default_instance()
SecurityStatus & operator=(const SecurityStatus &from)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
void Swap(SecurityStatus *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
SecurityStatus(const SecurityStatus &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::google::protobuf::uint64 subscriber_id() const
void set_allocated_game_account_options(::bgs::protocol::account::v1::GameAccountFieldOptions *game_account_options)
inline ::bgs::protocol::account::v1::AccountFieldTags * release_account_tags()
inline ::bgs::protocol::account::v1::GameAccountFieldOptions * mutable_game_account_options()
inline ::bgs::protocol::account::v1::AccountFieldOptions * release_account_options()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::uint64 object_id() const
::google::protobuf::Metadata GetMetadata() const
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
const ::bgs::protocol::account::v1::GameAccountFieldTags & game_account_tags() const
::bgs::protocol::account::v1::AccountFieldTags * account_tags_
void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags *account_tags)
void Swap(SubscriberReference *other)
inline ::bgs::protocol::EntityId * release_entity_id()
void set_allocated_account_options(::bgs::protocol::account::v1::AccountFieldOptions *account_options)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::EntityId & entity_id() const
SubscriberReference & operator=(const SubscriberReference &from)
inline ::bgs::protocol::EntityId * mutable_entity_id()
inline ::bgs::protocol::account::v1::GameAccountFieldOptions * release_game_account_options()
static const SubscriberReference & default_instance()
inline ::bgs::protocol::account::v1::GameAccountFieldTags * release_game_account_tags()
void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags *game_account_tags)
const ::bgs::protocol::account::v1::GameAccountFieldOptions & game_account_options() const
::bgs::protocol::account::v1::AccountFieldOptions * account_options_
::bgs::protocol::account::v1::GameAccountFieldTags * game_account_tags_
const ::bgs::protocol::account::v1::AccountFieldOptions & account_options() const
const ::bgs::protocol::account::v1::AccountFieldTags & account_tags() const
inline ::bgs::protocol::account::v1::AccountFieldOptions * mutable_account_options()
::bgs::protocol::account::v1::GameAccountFieldOptions * game_account_options_
inline ::bgs::protocol::account::v1::GameAccountFieldTags * mutable_game_account_tags()
inline ::bgs::protocol::account::v1::AccountFieldTags * mutable_account_tags()
void set_object_id(::google::protobuf::uint64 value)
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
void set_subscriber_id(::google::protobuf::uint64 value)
SubscriberReference(const SubscriberReference &from)
constexpr std::size_t size()
Definition: UpdateField.h:796
bool IdentityVerificationStatus_Parse(const ::std::string &name, IdentityVerificationStatus *value)
void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
const IdentityVerificationStatus IdentityVerificationStatus_MIN
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * IdentityVerificationStatus_descriptor()
const int IdentityVerificationStatus_ARRAYSIZE
const PrivacyInfo_GameInfoPrivacy PrivacyInfo_GameInfoPrivacy_GameInfoPrivacy_MAX
const IdentityVerificationStatus IdentityVerificationStatus_MAX
const PrivacyInfo_GameInfoPrivacy PrivacyInfo_GameInfoPrivacy_GameInfoPrivacy_MIN
const ::std::string & IdentityVerificationStatus_Name(IdentityVerificationStatus value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * PrivacyInfo_GameInfoPrivacy_descriptor()
TC_PROTO_API bool PrivacyInfo_GameInfoPrivacy_IsValid(int value)
void protobuf_AssignDesc_account_5ftypes_2eproto()
void protobuf_ShutdownFile_account_5ftypes_2eproto()
const int PrivacyInfo_GameInfoPrivacy_GameInfoPrivacy_ARRAYSIZE
TC_PROTO_API bool IdentityVerificationStatus_IsValid(int value)
const ::std::string & PrivacyInfo_GameInfoPrivacy_Name(PrivacyInfo_GameInfoPrivacy value)
bool PrivacyInfo_GameInfoPrivacy_Parse(const ::std::string &name, PrivacyInfo_GameInfoPrivacy *value)
Definition: Session.h:36
STL namespace.
::bgs::protocol::account::v1::GameAccountHandle * game_account_