TrinityCore
Loading...
Searching...
No Matches
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
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}
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 // optional fixed32 id = 1;
172 inline bool has_id() const;
173 inline void clear_id();
174 static const int kIdFieldNumber = 1;
175 inline ::google::protobuf::uint32 id() const;
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
185 ::google::protobuf::uint32 _has_bits_[1];
186 mutable int _cached_size_;
187 ::google::protobuf::uint32 id_;
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;
241 inline ::google::protobuf::uint32 id() const;
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
260 ::google::protobuf::uint32 _has_bits_[1];
261 mutable int _cached_size_;
262 ::google::protobuf::uint64 expires_;
263 ::google::protobuf::uint32 id_;
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 // optional fixed32 id = 1;
314 inline bool has_id() const;
315 inline void clear_id();
316 static const int kIdFieldNumber = 1;
317 inline ::google::protobuf::uint32 id() const;
318 inline void set_id(::google::protobuf::uint32 value);
319
320 // optional 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 // optional uint32 region = 3;
328 inline bool has_region() const;
329 inline void clear_region();
330 static const int kRegionFieldNumber = 3;
331 inline ::google::protobuf::uint32 region() const;
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
345 ::google::protobuf::uint32 _has_bits_[1];
346 mutable int _cached_size_;
347 ::google::protobuf::uint32 id_;
348 ::google::protobuf::uint32 program_;
349 ::google::protobuf::uint32 region_;
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;
403 inline ::google::protobuf::uint32 id() const;
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;
455 inline ::google::protobuf::uint32 region() const;
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
475 ::google::protobuf::uint32 _has_bits_[1];
476 mutable int _cached_size_;
477 ::std::string* email_;
479 ::google::protobuf::uint32 id_;
480 ::google::protobuf::uint32 region_;
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
559 ::google::protobuf::uint32 _has_bits_[1];
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;
623 inline ::google::protobuf::uint32 tag() const;
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
635 ::google::protobuf::uint32 _has_bits_[1];
636 mutable int _cached_size_;
637 ::google::protobuf::uint32 program_;
638 ::google::protobuf::uint32 tag_;
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;
692 inline ::google::protobuf::uint32 region() const;
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;
699 inline ::google::protobuf::uint32 tag() const;
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
711 ::google::protobuf::uint32 _has_bits_[1];
712 mutable int _cached_size_;
713 ::google::protobuf::uint32 region_;
714 ::google::protobuf::uint32 tag_;
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
841 ::google::protobuf::uint32 _has_bits_[1];
842 mutable int _cached_size_;
843 ::google::protobuf::uint32 account_level_info_tag_;
844 ::google::protobuf::uint32 privacy_info_tag_;
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_;
847 ::google::protobuf::uint32 parental_control_info_tag_;
848 ::google::protobuf::uint32 security_status_tag_;
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 [deprecated = true];
921 inline bool has_raf_info_tag() const PROTOBUF_DEPRECATED;
922 inline void clear_raf_info_tag() PROTOBUF_DEPRECATED;
923 static const int kRafInfoTagFieldNumber = 5;
924 inline ::google::protobuf::uint32 raf_info_tag() const PROTOBUF_DEPRECATED;
925 inline void set_raf_info_tag(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
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
940 ::google::protobuf::uint32 _has_bits_[1];
941 mutable int _cached_size_;
942 ::google::protobuf::uint32 game_level_info_tag_;
943 ::google::protobuf::uint32 game_time_info_tag_;
944 ::google::protobuf::uint32 game_status_tag_;
945 ::google::protobuf::uint32 raf_info_tag_;
946 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
947 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
948 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
949
950 void InitAsDefaultInstance();
951 static GameAccountFieldTags* default_instance_;
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
1072 ::google::protobuf::uint32 _has_bits_[1];
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 [deprecated = true];
1160 inline bool has_field_raf_info() const PROTOBUF_DEPRECATED;
1161 inline void clear_field_raf_info() PROTOBUF_DEPRECATED;
1162 static const int kFieldRafInfoFieldNumber = 5;
1163 inline bool field_raf_info() const PROTOBUF_DEPRECATED;
1164 inline void set_field_raf_info(bool value) PROTOBUF_DEPRECATED;
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
1181 ::google::protobuf::uint32 _has_bits_[1];
1182 mutable int _cached_size_;
1183 bool all_fields_;
1184 bool field_game_level_info_;
1185 bool field_game_time_info_;
1186 bool field_game_status_;
1187 bool field_raf_info_;
1188 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
1189 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
1190 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
1191
1192 void InitAsDefaultInstance();
1193 static GameAccountFieldOptions* default_instance_;
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
1315 ::google::protobuf::uint32 _has_bits_[1];
1316 mutable int _cached_size_;
1317 ::google::protobuf::uint64 object_id_;
1323 ::google::protobuf::uint64 subscriber_id_;
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
1390 ::google::protobuf::uint32 _has_bits_[1];
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;
1529 inline ::bgs::protocol::account::v1::IdentityVerificationStatus identity_check_status() const;
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
1653 ::google::protobuf::uint32 _has_bits_[1];
1654 mutable int _cached_size_;
1655 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
1656 ::std::string* country_;
1657 ::google::protobuf::uint32 default_currency_;
1658 ::google::protobuf::uint32 preferred_region_;
1659 ::std::string* full_name_;
1660 ::std::string* battle_tag_;
1666 ::std::string* email_;
1667 ::google::protobuf::uint32 ratings_board_minimum_age_;
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*
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;
1773 inline ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy game_info_privacy() const;
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
1798 ::google::protobuf::uint32 _has_bits_[1];
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 // optional bool in_game_purchase_disabled = 11;
1921 inline bool has_in_game_purchase_disabled() const;
1922 inline void clear_in_game_purchase_disabled();
1923 static const int kInGamePurchaseDisabledFieldNumber = 11;
1924 inline bool in_game_purchase_disabled() const;
1925 inline void set_in_game_purchase_disabled(bool value);
1926
1927 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ParentalControlInfo)
1928 private:
1929 inline void set_has_timezone();
1930 inline void clear_has_timezone();
1931 inline void set_has_minutes_per_day();
1932 inline void clear_has_minutes_per_day();
1933 inline void set_has_minutes_per_week();
1934 inline void clear_has_minutes_per_week();
1935 inline void set_has_can_receive_voice();
1936 inline void clear_has_can_receive_voice();
1937 inline void set_has_can_send_voice();
1938 inline void clear_has_can_send_voice();
1939 inline void set_has_can_join_group();
1940 inline void clear_has_can_join_group();
1941 inline void set_has_can_use_profile();
1942 inline void clear_has_can_use_profile();
1943 inline void set_has_in_game_purchase_disabled();
1944 inline void clear_has_in_game_purchase_disabled();
1945
1946 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1947
1948 ::google::protobuf::uint32 _has_bits_[1];
1949 mutable int _cached_size_;
1950 ::std::string* timezone_;
1951 ::google::protobuf::uint32 minutes_per_day_;
1952 ::google::protobuf::uint32 minutes_per_week_;
1953 ::google::protobuf::RepeatedField< bool > play_schedule_;
1962
1965};
1966// -------------------------------------------------------------------
1967
1968class TC_PROTO_API PlayScheduleRestriction : public ::google::protobuf::Message {
1969 public:
1972
1974
1976 CopyFrom(from);
1977 return *this;
1978 }
1979
1980 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1981 return _unknown_fields_;
1982 }
1983
1984 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1985 return &_unknown_fields_;
1986 }
1987
1988 static const ::google::protobuf::Descriptor* descriptor();
1990
1992
1993 // implements Message ----------------------------------------------
1994
1996 int GetCachedSize() const { return _cached_size_; }
1997 private:
2000 void SetCachedSize(int size) const;
2001 public:
2002 ::google::protobuf::Metadata GetMetadata() const;
2003
2004 // nested types ----------------------------------------------------
2005
2006 // accessors -------------------------------------------------------
2007
2008 // repeated bool play_schedule = 1;
2009 inline int play_schedule_size() const;
2010 inline void clear_play_schedule();
2011 static const int kPlayScheduleFieldNumber = 1;
2012 inline bool play_schedule(int index) const;
2013 inline void set_play_schedule(int index, bool value);
2014 inline void add_play_schedule(bool value);
2015 inline const ::google::protobuf::RepeatedField< bool >&
2016 play_schedule() const;
2017 inline ::google::protobuf::RepeatedField< bool >*
2018 mutable_play_schedule();
2019
2020 // optional string timezone = 2;
2021 inline bool has_timezone() const;
2022 inline void clear_timezone();
2023 static const int kTimezoneFieldNumber = 2;
2024 inline const ::std::string& timezone() const;
2025 inline void set_timezone(const ::std::string& value);
2026 inline void set_timezone(const char* value);
2027 inline void set_timezone(const char* value, size_t size);
2028 inline ::std::string* mutable_timezone();
2029 inline ::std::string* release_timezone();
2030 inline void set_allocated_timezone(::std::string* timezone);
2031
2032 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.PlayScheduleRestriction)
2033 private:
2034 inline void set_has_timezone();
2035 inline void clear_has_timezone();
2036
2037 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2038
2039 ::google::protobuf::uint32 _has_bits_[1];
2040 mutable int _cached_size_;
2041 ::google::protobuf::RepeatedField< bool > play_schedule_;
2042 ::std::string* timezone_;
2046
2049};
2050// -------------------------------------------------------------------
2051
2052class TC_PROTO_API GameLevelInfo : public ::google::protobuf::Message {
2053 public:
2056
2058
2060 CopyFrom(from);
2061 return *this;
2062 }
2063
2064 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2065 return _unknown_fields_;
2066 }
2067
2068 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2069 return &_unknown_fields_;
2070 }
2071
2072 static const ::google::protobuf::Descriptor* descriptor();
2074
2075 void Swap(GameLevelInfo* other);
2076
2077 // implements Message ----------------------------------------------
2078
2080 int GetCachedSize() const { return _cached_size_; }
2081 private:
2084 void SetCachedSize(int size) const;
2085 public:
2086 ::google::protobuf::Metadata GetMetadata() const;
2087
2088 // nested types ----------------------------------------------------
2089
2090 // accessors -------------------------------------------------------
2091
2092 // optional bool is_trial = 4;
2093 inline bool has_is_trial() const;
2094 inline void clear_is_trial();
2095 static const int kIsTrialFieldNumber = 4;
2096 inline bool is_trial() const;
2097 inline void set_is_trial(bool value);
2098
2099 // optional bool is_lifetime = 5;
2100 inline bool has_is_lifetime() const;
2101 inline void clear_is_lifetime();
2102 static const int kIsLifetimeFieldNumber = 5;
2103 inline bool is_lifetime() const;
2104 inline void set_is_lifetime(bool value);
2105
2106 // optional bool is_restricted = 6;
2107 inline bool has_is_restricted() const;
2108 inline void clear_is_restricted();
2109 static const int kIsRestrictedFieldNumber = 6;
2110 inline bool is_restricted() const;
2111 inline void set_is_restricted(bool value);
2112
2113 // optional bool is_beta = 7;
2114 inline bool has_is_beta() const;
2115 inline void clear_is_beta();
2116 static const int kIsBetaFieldNumber = 7;
2117 inline bool is_beta() const;
2118 inline void set_is_beta(bool value);
2119
2120 // optional string name = 8;
2121 inline bool has_name() const;
2122 inline void clear_name();
2123 static const int kNameFieldNumber = 8;
2124 inline const ::std::string& name() const;
2125 inline void set_name(const ::std::string& value);
2126 inline void set_name(const char* value);
2127 inline void set_name(const char* value, size_t size);
2128 inline ::std::string* mutable_name();
2129 inline ::std::string* release_name();
2130 inline void set_allocated_name(::std::string* name);
2131
2132 // optional fixed32 program = 9;
2133 inline bool has_program() const;
2134 inline void clear_program();
2135 static const int kProgramFieldNumber = 9;
2136 inline ::google::protobuf::uint32 program() const;
2137 inline void set_program(::google::protobuf::uint32 value);
2138
2139 // repeated .bgs.protocol.account.v1.AccountLicense licenses = 10;
2140 inline int licenses_size() const;
2141 inline void clear_licenses();
2142 static const int kLicensesFieldNumber = 10;
2143 inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
2144 inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
2145 inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
2146 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
2147 licenses() const;
2148 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
2149 mutable_licenses();
2150
2151 // optional uint32 realm_permissions = 11;
2152 inline bool has_realm_permissions() const;
2153 inline void clear_realm_permissions();
2154 static const int kRealmPermissionsFieldNumber = 11;
2155 inline ::google::protobuf::uint32 realm_permissions() const;
2156 inline void set_realm_permissions(::google::protobuf::uint32 value);
2157
2158 // optional uint64 last_logout_time_ms = 12 [deprecated = true];
2159 inline bool has_last_logout_time_ms() const PROTOBUF_DEPRECATED;
2160 inline void clear_last_logout_time_ms() PROTOBUF_DEPRECATED;
2161 static const int kLastLogoutTimeMsFieldNumber = 12;
2162 inline ::google::protobuf::uint64 last_logout_time_ms() const PROTOBUF_DEPRECATED;
2163 inline void set_last_logout_time_ms(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED;
2164
2165 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameLevelInfo)
2166 private:
2167 inline void set_has_is_trial();
2168 inline void clear_has_is_trial();
2169 inline void set_has_is_lifetime();
2170 inline void clear_has_is_lifetime();
2171 inline void set_has_is_restricted();
2172 inline void clear_has_is_restricted();
2173 inline void set_has_is_beta();
2174 inline void clear_has_is_beta();
2175 inline void set_has_name();
2176 inline void clear_has_name();
2177 inline void set_has_program();
2178 inline void clear_has_program();
2179 inline void set_has_realm_permissions();
2180 inline void clear_has_realm_permissions();
2181 inline void set_has_last_logout_time_ms();
2182 inline void clear_has_last_logout_time_ms();
2183
2184 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2185
2186 ::google::protobuf::uint32 _has_bits_[1];
2187 mutable int _cached_size_;
2188 bool is_trial_;
2189 bool is_lifetime_;
2190 bool is_restricted_;
2191 bool is_beta_;
2192 ::google::protobuf::uint32 program_;
2193 ::std::string* name_;
2194 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
2195 ::google::protobuf::uint64 last_logout_time_ms_;
2196 ::google::protobuf::uint32 realm_permissions_;
2197 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
2198 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
2199 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
2200
2201 void InitAsDefaultInstance();
2202 static GameLevelInfo* default_instance_;
2203};
2204// -------------------------------------------------------------------
2205
2206class TC_PROTO_API GameTimeInfo : public ::google::protobuf::Message {
2207 public:
2209 virtual ~GameTimeInfo();
2210
2212
2213 inline GameTimeInfo& operator=(const GameTimeInfo& from) {
2214 CopyFrom(from);
2215 return *this;
2216 }
2217
2218 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2219 return _unknown_fields_;
2220 }
2221
2222 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2223 return &_unknown_fields_;
2224 }
2225
2226 static const ::google::protobuf::Descriptor* descriptor();
2228
2229 void Swap(GameTimeInfo* other);
2230
2231 // implements Message ----------------------------------------------
2232
2234 int GetCachedSize() const { return _cached_size_; }
2235 private:
2238 void SetCachedSize(int size) const;
2239 public:
2240 ::google::protobuf::Metadata GetMetadata() const;
2241
2242 // nested types ----------------------------------------------------
2243
2244 // accessors -------------------------------------------------------
2245
2246 // optional bool is_unlimited_play_time = 3;
2247 inline bool has_is_unlimited_play_time() const;
2248 inline void clear_is_unlimited_play_time();
2249 static const int kIsUnlimitedPlayTimeFieldNumber = 3;
2250 inline bool is_unlimited_play_time() const;
2251 inline void set_is_unlimited_play_time(bool value);
2252
2253 // optional uint64 play_time_expires = 5;
2254 inline bool has_play_time_expires() const;
2255 inline void clear_play_time_expires();
2256 static const int kPlayTimeExpiresFieldNumber = 5;
2257 inline ::google::protobuf::uint64 play_time_expires() const;
2258 inline void set_play_time_expires(::google::protobuf::uint64 value);
2259
2260 // optional bool is_subscription = 6;
2261 inline bool has_is_subscription() const;
2262 inline void clear_is_subscription();
2263 static const int kIsSubscriptionFieldNumber = 6;
2264 inline bool is_subscription() const;
2265 inline void set_is_subscription(bool value);
2266
2267 // optional bool is_recurring_subscription = 7;
2268 inline bool has_is_recurring_subscription() const;
2269 inline void clear_is_recurring_subscription();
2270 static const int kIsRecurringSubscriptionFieldNumber = 7;
2271 inline bool is_recurring_subscription() const;
2272 inline void set_is_recurring_subscription(bool value);
2273
2274 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameTimeInfo)
2275 private:
2276 inline void set_has_is_unlimited_play_time();
2277 inline void clear_has_is_unlimited_play_time();
2278 inline void set_has_play_time_expires();
2279 inline void clear_has_play_time_expires();
2280 inline void set_has_is_subscription();
2281 inline void clear_has_is_subscription();
2282 inline void set_has_is_recurring_subscription();
2283 inline void clear_has_is_recurring_subscription();
2284
2285 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2286
2287 ::google::protobuf::uint32 _has_bits_[1];
2288 mutable int _cached_size_;
2289 ::google::protobuf::uint64 play_time_expires_;
2296
2299};
2300// -------------------------------------------------------------------
2301
2302class TC_PROTO_API GameTimeRemainingInfo : public ::google::protobuf::Message {
2303 public:
2306
2308
2310 CopyFrom(from);
2311 return *this;
2312 }
2313
2314 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2315 return _unknown_fields_;
2316 }
2317
2318 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2319 return &_unknown_fields_;
2320 }
2321
2322 static const ::google::protobuf::Descriptor* descriptor();
2324
2326
2327 // implements Message ----------------------------------------------
2328
2330 int GetCachedSize() const { return _cached_size_; }
2331 private:
2334 void SetCachedSize(int size) const;
2335 public:
2336 ::google::protobuf::Metadata GetMetadata() const;
2337
2338 // nested types ----------------------------------------------------
2339
2340 // accessors -------------------------------------------------------
2341
2342 // optional uint32 minutes_remaining = 1;
2343 inline bool has_minutes_remaining() const;
2344 inline void clear_minutes_remaining();
2345 static const int kMinutesRemainingFieldNumber = 1;
2346 inline ::google::protobuf::uint32 minutes_remaining() const;
2347 inline void set_minutes_remaining(::google::protobuf::uint32 value);
2348
2349 // optional uint32 parental_daily_minutes_remaining = 2;
2350 inline bool has_parental_daily_minutes_remaining() const;
2351 inline void clear_parental_daily_minutes_remaining();
2352 static const int kParentalDailyMinutesRemainingFieldNumber = 2;
2353 inline ::google::protobuf::uint32 parental_daily_minutes_remaining() const;
2354 inline void set_parental_daily_minutes_remaining(::google::protobuf::uint32 value);
2355
2356 // optional uint32 parental_weekly_minutes_remaining = 3;
2357 inline bool has_parental_weekly_minutes_remaining() const;
2358 inline void clear_parental_weekly_minutes_remaining();
2359 static const int kParentalWeeklyMinutesRemainingFieldNumber = 3;
2360 inline ::google::protobuf::uint32 parental_weekly_minutes_remaining() const;
2361 inline void set_parental_weekly_minutes_remaining(::google::protobuf::uint32 value);
2362
2363 // optional uint32 seconds_remaining_until_kick = 4 [deprecated = true];
2364 inline bool has_seconds_remaining_until_kick() const PROTOBUF_DEPRECATED;
2365 inline void clear_seconds_remaining_until_kick() PROTOBUF_DEPRECATED;
2366 static const int kSecondsRemainingUntilKickFieldNumber = 4;
2367 inline ::google::protobuf::uint32 seconds_remaining_until_kick() const PROTOBUF_DEPRECATED;
2368 inline void set_seconds_remaining_until_kick(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
2369
2370 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameTimeRemainingInfo)
2371 private:
2372 inline void set_has_minutes_remaining();
2373 inline void clear_has_minutes_remaining();
2374 inline void set_has_parental_daily_minutes_remaining();
2375 inline void clear_has_parental_daily_minutes_remaining();
2376 inline void set_has_parental_weekly_minutes_remaining();
2377 inline void clear_has_parental_weekly_minutes_remaining();
2378 inline void set_has_seconds_remaining_until_kick();
2379 inline void clear_has_seconds_remaining_until_kick();
2380
2381 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2382
2383 ::google::protobuf::uint32 _has_bits_[1];
2384 mutable int _cached_size_;
2385 ::google::protobuf::uint32 minutes_remaining_;
2386 ::google::protobuf::uint32 parental_daily_minutes_remaining_;
2387 ::google::protobuf::uint32 parental_weekly_minutes_remaining_;
2388 ::google::protobuf::uint32 seconds_remaining_until_kick_;
2389 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
2390 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
2391 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
2392
2393 void InitAsDefaultInstance();
2394 static GameTimeRemainingInfo* default_instance_;
2395};
2396// -------------------------------------------------------------------
2397
2398class TC_PROTO_API GameStatus : public ::google::protobuf::Message {
2399 public:
2401 virtual ~GameStatus();
2402
2404
2405 inline GameStatus& operator=(const GameStatus& from) {
2406 CopyFrom(from);
2407 return *this;
2408 }
2409
2410 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2411 return _unknown_fields_;
2412 }
2413
2414 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2415 return &_unknown_fields_;
2416 }
2417
2418 static const ::google::protobuf::Descriptor* descriptor();
2420
2421 void Swap(GameStatus* other);
2422
2423 // implements Message ----------------------------------------------
2424
2425 GameStatus* New() const;
2426 int GetCachedSize() const { return _cached_size_; }
2427 private:
2430 void SetCachedSize(int size) const;
2431 public:
2432 ::google::protobuf::Metadata GetMetadata() const;
2433
2434 // nested types ----------------------------------------------------
2435
2436 // accessors -------------------------------------------------------
2437
2438 // optional bool is_suspended = 4;
2439 inline bool has_is_suspended() const;
2440 inline void clear_is_suspended();
2441 static const int kIsSuspendedFieldNumber = 4;
2442 inline bool is_suspended() const;
2443 inline void set_is_suspended(bool value);
2444
2445 // optional bool is_banned = 5;
2446 inline bool has_is_banned() const;
2447 inline void clear_is_banned();
2448 static const int kIsBannedFieldNumber = 5;
2449 inline bool is_banned() const;
2450 inline void set_is_banned(bool value);
2451
2452 // optional uint64 suspension_expires = 6;
2453 inline bool has_suspension_expires() const;
2454 inline void clear_suspension_expires();
2455 static const int kSuspensionExpiresFieldNumber = 6;
2456 inline ::google::protobuf::uint64 suspension_expires() const;
2457 inline void set_suspension_expires(::google::protobuf::uint64 value);
2458
2459 // optional fixed32 program = 7;
2460 inline bool has_program() const;
2461 inline void clear_program();
2462 static const int kProgramFieldNumber = 7;
2463 inline ::google::protobuf::uint32 program() const;
2464 inline void set_program(::google::protobuf::uint32 value);
2465
2466 // optional bool is_locked = 8;
2467 inline bool has_is_locked() const;
2468 inline void clear_is_locked();
2469 static const int kIsLockedFieldNumber = 8;
2470 inline bool is_locked() const;
2471 inline void set_is_locked(bool value);
2472
2473 // optional bool is_bam_unlockable = 9;
2474 inline bool has_is_bam_unlockable() const;
2475 inline void clear_is_bam_unlockable();
2476 static const int kIsBamUnlockableFieldNumber = 9;
2477 inline bool is_bam_unlockable() const;
2478 inline void set_is_bam_unlockable(bool value);
2479
2480 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameStatus)
2481 private:
2482 inline void set_has_is_suspended();
2483 inline void clear_has_is_suspended();
2484 inline void set_has_is_banned();
2485 inline void clear_has_is_banned();
2486 inline void set_has_suspension_expires();
2487 inline void clear_has_suspension_expires();
2488 inline void set_has_program();
2489 inline void clear_has_program();
2490 inline void set_has_is_locked();
2491 inline void clear_has_is_locked();
2492 inline void set_has_is_bam_unlockable();
2493 inline void clear_has_is_bam_unlockable();
2494
2495 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2496
2497 ::google::protobuf::uint32 _has_bits_[1];
2498 mutable int _cached_size_;
2499 ::google::protobuf::uint64 suspension_expires_;
2504 ::google::protobuf::uint32 program_;
2508
2511};
2512// -------------------------------------------------------------------
2513
2514class TC_PROTO_API RAFInfo : public ::google::protobuf::Message {
2515 public:
2517 virtual ~RAFInfo();
2518
2519 RAFInfo(const RAFInfo& from);
2520
2521 inline RAFInfo& operator=(const RAFInfo& from) {
2522 CopyFrom(from);
2523 return *this;
2524 }
2525
2526 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2527 return _unknown_fields_;
2528 }
2529
2530 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2531 return &_unknown_fields_;
2532 }
2533
2534 static const ::google::protobuf::Descriptor* descriptor();
2535 static const RAFInfo& default_instance();
2536
2537 void Swap(RAFInfo* other);
2538
2539 // implements Message ----------------------------------------------
2540
2541 RAFInfo* New() const;
2542 int GetCachedSize() const { return _cached_size_; }
2543 private:
2546 void SetCachedSize(int size) const;
2547 public:
2548 ::google::protobuf::Metadata GetMetadata() const;
2549
2550 // nested types ----------------------------------------------------
2551
2552 // accessors -------------------------------------------------------
2553
2554 // optional bytes raf_info = 1;
2555 inline bool has_raf_info() const;
2556 inline void clear_raf_info();
2557 static const int kRafInfoFieldNumber = 1;
2558 inline const ::std::string& raf_info() const;
2559 inline void set_raf_info(const ::std::string& value);
2560 inline void set_raf_info(const char* value);
2561 inline void set_raf_info(const void* value, size_t size);
2562 inline ::std::string* mutable_raf_info();
2563 inline ::std::string* release_raf_info();
2564 inline void set_allocated_raf_info(::std::string* raf_info);
2565
2566 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RAFInfo)
2567 private:
2568 inline void set_has_raf_info();
2569 inline void clear_has_raf_info();
2570
2571 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2572
2573 ::google::protobuf::uint32 _has_bits_[1];
2574 mutable int _cached_size_;
2575 ::std::string* raf_info_;
2579
2582};
2583// -------------------------------------------------------------------
2584
2585class TC_PROTO_API GameSessionInfo : public ::google::protobuf::Message {
2586 public:
2589
2591
2593 CopyFrom(from);
2594 return *this;
2595 }
2596
2597 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2598 return _unknown_fields_;
2599 }
2600
2601 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2602 return &_unknown_fields_;
2603 }
2604
2605 static const ::google::protobuf::Descriptor* descriptor();
2607
2608 void Swap(GameSessionInfo* other);
2609
2610 // implements Message ----------------------------------------------
2611
2613 int GetCachedSize() const { return _cached_size_; }
2614 private:
2617 void SetCachedSize(int size) const;
2618 public:
2619 ::google::protobuf::Metadata GetMetadata() const;
2620
2621 // nested types ----------------------------------------------------
2622
2623 // accessors -------------------------------------------------------
2624
2625 // optional uint32 start_time = 3 [deprecated = true];
2626 inline bool has_start_time() const PROTOBUF_DEPRECATED;
2627 inline void clear_start_time() PROTOBUF_DEPRECATED;
2628 static const int kStartTimeFieldNumber = 3;
2629 inline ::google::protobuf::uint32 start_time() const PROTOBUF_DEPRECATED;
2630 inline void set_start_time(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
2631
2632 // optional .bgs.protocol.account.v1.GameSessionLocation location = 4;
2633 inline bool has_location() const;
2634 inline void clear_location();
2635 static const int kLocationFieldNumber = 4;
2636 inline const ::bgs::protocol::account::v1::GameSessionLocation& location() const;
2637 inline ::bgs::protocol::account::v1::GameSessionLocation* mutable_location();
2638 inline ::bgs::protocol::account::v1::GameSessionLocation* release_location();
2639 inline void set_allocated_location(::bgs::protocol::account::v1::GameSessionLocation* location);
2640
2641 // optional bool has_benefactor = 5;
2642 inline bool has_has_benefactor() const;
2643 inline void clear_has_benefactor();
2644 static const int kHasBenefactorFieldNumber = 5;
2645 inline bool has_benefactor() const;
2646 inline void set_has_benefactor(bool value);
2647
2648 // optional bool is_using_igr = 6;
2649 inline bool has_is_using_igr() const;
2650 inline void clear_is_using_igr();
2651 static const int kIsUsingIgrFieldNumber = 6;
2652 inline bool is_using_igr() const;
2653 inline void set_is_using_igr(bool value);
2654
2655 // optional bool parental_controls_active = 7;
2656 inline bool has_parental_controls_active() const;
2657 inline void clear_parental_controls_active();
2658 static const int kParentalControlsActiveFieldNumber = 7;
2659 inline bool parental_controls_active() const;
2660 inline void set_parental_controls_active(bool value);
2661
2662 // optional uint64 start_time_sec = 8;
2663 inline bool has_start_time_sec() const;
2664 inline void clear_start_time_sec();
2665 static const int kStartTimeSecFieldNumber = 8;
2666 inline ::google::protobuf::uint64 start_time_sec() const;
2667 inline void set_start_time_sec(::google::protobuf::uint64 value);
2668
2669 // optional .bgs.protocol.account.v1.IgrId igr_id = 9;
2670 inline bool has_igr_id() const;
2671 inline void clear_igr_id();
2672 static const int kIgrIdFieldNumber = 9;
2673 inline const ::bgs::protocol::account::v1::IgrId& igr_id() const;
2674 inline ::bgs::protocol::account::v1::IgrId* mutable_igr_id();
2675 inline ::bgs::protocol::account::v1::IgrId* release_igr_id();
2676 inline void set_allocated_igr_id(::bgs::protocol::account::v1::IgrId* igr_id);
2677
2678 // optional fixed32 platform_id = 10;
2679 inline bool has_platform_id() const;
2680 inline void clear_platform_id();
2681 static const int kPlatformIdFieldNumber = 10;
2682 inline ::google::protobuf::uint32 platform_id() const;
2683 inline void set_platform_id(::google::protobuf::uint32 value);
2684
2685 // optional bool igr_paid = 11;
2686 inline bool has_igr_paid() const;
2687 inline void clear_igr_paid();
2688 static const int kIgrPaidFieldNumber = 11;
2689 inline bool igr_paid() const;
2690 inline void set_igr_paid(bool value);
2691
2692 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionInfo)
2693 private:
2694 inline void set_has_start_time();
2695 inline void clear_has_start_time();
2696 inline void set_has_location();
2697 inline void clear_has_location();
2698 inline void set_has_has_benefactor();
2699 inline void clear_has_has_benefactor();
2700 inline void set_has_is_using_igr();
2701 inline void clear_has_is_using_igr();
2702 inline void set_has_parental_controls_active();
2703 inline void clear_has_parental_controls_active();
2704 inline void set_has_start_time_sec();
2705 inline void clear_has_start_time_sec();
2706 inline void set_has_igr_id();
2707 inline void clear_has_igr_id();
2708 inline void set_has_platform_id();
2709 inline void clear_has_platform_id();
2710 inline void set_has_igr_paid();
2711 inline void clear_has_igr_paid();
2712
2713 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2714
2715 ::google::protobuf::uint32 _has_bits_[1];
2716 mutable int _cached_size_;
2717 ::bgs::protocol::account::v1::GameSessionLocation* location_;
2718 ::google::protobuf::uint32 start_time_;
2719 bool has_benefactor_;
2720 bool is_using_igr_;
2721 bool parental_controls_active_;
2722 bool igr_paid_;
2723 ::google::protobuf::uint64 start_time_sec_;
2724 ::bgs::protocol::account::v1::IgrId* igr_id_;
2725 ::google::protobuf::uint32 platform_id_;
2726 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
2727 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
2728 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
2729
2730 void InitAsDefaultInstance();
2731 static GameSessionInfo* default_instance_;
2732};
2733// -------------------------------------------------------------------
2734
2735class TC_PROTO_API GameSessionUpdateInfo : public ::google::protobuf::Message {
2736 public:
2739
2741
2743 CopyFrom(from);
2744 return *this;
2745 }
2746
2747 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2748 return _unknown_fields_;
2749 }
2750
2751 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2752 return &_unknown_fields_;
2753 }
2754
2755 static const ::google::protobuf::Descriptor* descriptor();
2757
2759
2760 // implements Message ----------------------------------------------
2761
2763 int GetCachedSize() const { return _cached_size_; }
2764 private:
2767 void SetCachedSize(int size) const;
2768 public:
2769 ::google::protobuf::Metadata GetMetadata() const;
2770
2771 // nested types ----------------------------------------------------
2772
2773 // accessors -------------------------------------------------------
2774
2775 // optional .bgs.protocol.account.v1.CAIS cais = 8;
2776 inline bool has_cais() const;
2777 inline void clear_cais();
2778 static const int kCaisFieldNumber = 8;
2779 inline const ::bgs::protocol::account::v1::CAIS& cais() const;
2780 inline ::bgs::protocol::account::v1::CAIS* mutable_cais();
2781 inline ::bgs::protocol::account::v1::CAIS* release_cais();
2782 inline void set_allocated_cais(::bgs::protocol::account::v1::CAIS* cais);
2783
2784 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionUpdateInfo)
2785 private:
2786 inline void set_has_cais();
2787 inline void clear_has_cais();
2788
2789 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2790
2791 ::google::protobuf::uint32 _has_bits_[1];
2792 mutable int _cached_size_;
2797
2800};
2801// -------------------------------------------------------------------
2802
2803class TC_PROTO_API GameSessionLocation : public ::google::protobuf::Message {
2804 public:
2807
2809
2811 CopyFrom(from);
2812 return *this;
2813 }
2814
2815 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2816 return _unknown_fields_;
2817 }
2818
2819 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2820 return &_unknown_fields_;
2821 }
2822
2823 static const ::google::protobuf::Descriptor* descriptor();
2825
2827
2828 // implements Message ----------------------------------------------
2829
2831 int GetCachedSize() const { return _cached_size_; }
2832 private:
2835 void SetCachedSize(int size) const;
2836 public:
2837 ::google::protobuf::Metadata GetMetadata() const;
2838
2839 // nested types ----------------------------------------------------
2840
2841 // accessors -------------------------------------------------------
2842
2843 // optional string ip_address = 1;
2844 inline bool has_ip_address() const;
2845 inline void clear_ip_address();
2846 static const int kIpAddressFieldNumber = 1;
2847 inline const ::std::string& ip_address() const;
2848 inline void set_ip_address(const ::std::string& value);
2849 inline void set_ip_address(const char* value);
2850 inline void set_ip_address(const char* value, size_t size);
2851 inline ::std::string* mutable_ip_address();
2852 inline ::std::string* release_ip_address();
2853 inline void set_allocated_ip_address(::std::string* ip_address);
2854
2855 // optional uint32 country = 2;
2856 inline bool has_country() const;
2857 inline void clear_country();
2858 static const int kCountryFieldNumber = 2;
2859 inline ::google::protobuf::uint32 country() const;
2860 inline void set_country(::google::protobuf::uint32 value);
2861
2862 // optional string city = 3;
2863 inline bool has_city() const;
2864 inline void clear_city();
2865 static const int kCityFieldNumber = 3;
2866 inline const ::std::string& city() const;
2867 inline void set_city(const ::std::string& value);
2868 inline void set_city(const char* value);
2869 inline void set_city(const char* value, size_t size);
2870 inline ::std::string* mutable_city();
2871 inline ::std::string* release_city();
2872 inline void set_allocated_city(::std::string* city);
2873
2874 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionLocation)
2875 private:
2876 inline void set_has_ip_address();
2877 inline void clear_has_ip_address();
2878 inline void set_has_country();
2879 inline void clear_has_country();
2880 inline void set_has_city();
2881 inline void clear_has_city();
2882
2883 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2884
2885 ::google::protobuf::uint32 _has_bits_[1];
2886 mutable int _cached_size_;
2887 ::std::string* ip_address_;
2888 ::std::string* city_;
2889 ::google::protobuf::uint32 country_;
2893
2896};
2897// -------------------------------------------------------------------
2898
2899class TC_PROTO_API CAIS : public ::google::protobuf::Message {
2900 public:
2902 virtual ~CAIS();
2903
2904 CAIS(const CAIS& from);
2905
2906 inline CAIS& operator=(const CAIS& from) {
2907 CopyFrom(from);
2908 return *this;
2909 }
2910
2911 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2912 return _unknown_fields_;
2913 }
2914
2915 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2916 return &_unknown_fields_;
2917 }
2918
2919 static const ::google::protobuf::Descriptor* descriptor();
2920 static const CAIS& default_instance();
2921
2922 void Swap(CAIS* other);
2923
2924 // implements Message ----------------------------------------------
2925
2926 CAIS* New() const;
2927 int GetCachedSize() const { return _cached_size_; }
2928 private:
2931 void SetCachedSize(int size) const;
2932 public:
2933 ::google::protobuf::Metadata GetMetadata() const;
2934
2935 // nested types ----------------------------------------------------
2936
2937 // accessors -------------------------------------------------------
2938
2939 // optional uint32 played_minutes = 1;
2940 inline bool has_played_minutes() const;
2941 inline void clear_played_minutes();
2942 static const int kPlayedMinutesFieldNumber = 1;
2943 inline ::google::protobuf::uint32 played_minutes() const;
2944 inline void set_played_minutes(::google::protobuf::uint32 value);
2945
2946 // optional uint32 rested_minutes = 2;
2947 inline bool has_rested_minutes() const;
2948 inline void clear_rested_minutes();
2949 static const int kRestedMinutesFieldNumber = 2;
2950 inline ::google::protobuf::uint32 rested_minutes() const;
2951 inline void set_rested_minutes(::google::protobuf::uint32 value);
2952
2953 // optional uint64 last_heard_time = 3;
2954 inline bool has_last_heard_time() const;
2955 inline void clear_last_heard_time();
2956 static const int kLastHeardTimeFieldNumber = 3;
2957 inline ::google::protobuf::uint64 last_heard_time() const;
2958 inline void set_last_heard_time(::google::protobuf::uint64 value);
2959
2960 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CAIS)
2961 private:
2962 inline void set_has_played_minutes();
2963 inline void clear_has_played_minutes();
2964 inline void set_has_rested_minutes();
2965 inline void clear_has_rested_minutes();
2966 inline void set_has_last_heard_time();
2967 inline void clear_has_last_heard_time();
2968
2969 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2970
2971 ::google::protobuf::uint32 _has_bits_[1];
2972 mutable int _cached_size_;
2973 ::google::protobuf::uint32 played_minutes_;
2974 ::google::protobuf::uint32 rested_minutes_;
2975 ::google::protobuf::uint64 last_heard_time_;
2979
2982};
2983// -------------------------------------------------------------------
2984
2985class TC_PROTO_API GameAccountList : public ::google::protobuf::Message {
2986 public:
2989
2991
2993 CopyFrom(from);
2994 return *this;
2995 }
2996
2997 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2998 return _unknown_fields_;
2999 }
3000
3001 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3002 return &_unknown_fields_;
3003 }
3004
3005 static const ::google::protobuf::Descriptor* descriptor();
3007
3008 void Swap(GameAccountList* other);
3009
3010 // implements Message ----------------------------------------------
3011
3013 int GetCachedSize() const { return _cached_size_; }
3014 private:
3017 void SetCachedSize(int size) const;
3018 public:
3019 ::google::protobuf::Metadata GetMetadata() const;
3020
3021 // nested types ----------------------------------------------------
3022
3023 // accessors -------------------------------------------------------
3024
3025 // optional uint32 region = 3;
3026 inline bool has_region() const;
3027 inline void clear_region();
3028 static const int kRegionFieldNumber = 3;
3029 inline ::google::protobuf::uint32 region() const;
3030 inline void set_region(::google::protobuf::uint32 value);
3031
3032 // repeated .bgs.protocol.account.v1.GameAccountHandle handle = 4;
3033 inline int handle_size() const;
3034 inline void clear_handle();
3035 static const int kHandleFieldNumber = 4;
3036 inline const ::bgs::protocol::account::v1::GameAccountHandle& handle(int index) const;
3037 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_handle(int index);
3038 inline ::bgs::protocol::account::v1::GameAccountHandle* add_handle();
3039 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
3040 handle() const;
3041 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
3042 mutable_handle();
3043
3044 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountList)
3045 private:
3046 inline void set_has_region();
3047 inline void clear_has_region();
3048
3049 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3050
3051 ::google::protobuf::uint32 _has_bits_[1];
3052 mutable int _cached_size_;
3053 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle > handle_;
3054 ::google::protobuf::uint32 region_;
3058
3061};
3062// -------------------------------------------------------------------
3063
3064class TC_PROTO_API SecurityStatus : public ::google::protobuf::Message {
3065 public:
3068
3070
3072 CopyFrom(from);
3073 return *this;
3074 }
3075
3076 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3077 return _unknown_fields_;
3078 }
3079
3080 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3081 return &_unknown_fields_;
3082 }
3083
3084 static const ::google::protobuf::Descriptor* descriptor();
3086
3087 void Swap(SecurityStatus* other);
3088
3089 // implements Message ----------------------------------------------
3090
3092 int GetCachedSize() const { return _cached_size_; }
3093 private:
3096 void SetCachedSize(int size) const;
3097 public:
3098 ::google::protobuf::Metadata GetMetadata() const;
3099
3100 // nested types ----------------------------------------------------
3101
3102 // accessors -------------------------------------------------------
3103
3104 // optional bool sms_protect_enabled = 1;
3105 inline bool has_sms_protect_enabled() const;
3106 inline void clear_sms_protect_enabled();
3107 static const int kSmsProtectEnabledFieldNumber = 1;
3108 inline bool sms_protect_enabled() const;
3109 inline void set_sms_protect_enabled(bool value);
3110
3111 // optional bool email_verified = 2;
3112 inline bool has_email_verified() const;
3113 inline void clear_email_verified();
3114 static const int kEmailVerifiedFieldNumber = 2;
3115 inline bool email_verified() const;
3116 inline void set_email_verified(bool value);
3117
3118 // optional bool authenticator_enabled = 3;
3119 inline bool has_authenticator_enabled() const;
3120 inline void clear_authenticator_enabled();
3121 static const int kAuthenticatorEnabledFieldNumber = 3;
3122 inline bool authenticator_enabled() const;
3123 inline void set_authenticator_enabled(bool value);
3124
3125 // optional bool sqa_enabled = 4;
3126 inline bool has_sqa_enabled() const;
3127 inline void clear_sqa_enabled();
3128 static const int kSqaEnabledFieldNumber = 4;
3129 inline bool sqa_enabled() const;
3130 inline void set_sqa_enabled(bool value);
3131
3132 // optional bool authenticator_required = 5;
3133 inline bool has_authenticator_required() const;
3134 inline void clear_authenticator_required();
3135 static const int kAuthenticatorRequiredFieldNumber = 5;
3136 inline bool authenticator_required() const;
3137 inline void set_authenticator_required(bool value);
3138
3139 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SecurityStatus)
3140 private:
3141 inline void set_has_sms_protect_enabled();
3142 inline void clear_has_sms_protect_enabled();
3143 inline void set_has_email_verified();
3144 inline void clear_has_email_verified();
3145 inline void set_has_authenticator_enabled();
3146 inline void clear_has_authenticator_enabled();
3147 inline void set_has_sqa_enabled();
3148 inline void clear_has_sqa_enabled();
3149 inline void set_has_authenticator_required();
3150 inline void clear_has_authenticator_required();
3151
3152 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3153
3154 ::google::protobuf::uint32 _has_bits_[1];
3155 mutable int _cached_size_;
3164
3167};
3168// -------------------------------------------------------------------
3169
3170class TC_PROTO_API AccountState : public ::google::protobuf::Message {
3171 public:
3173 virtual ~AccountState();
3174
3176
3177 inline AccountState& operator=(const AccountState& from) {
3178 CopyFrom(from);
3179 return *this;
3180 }
3181
3182 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3183 return _unknown_fields_;
3184 }
3185
3186 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3187 return &_unknown_fields_;
3188 }
3189
3190 static const ::google::protobuf::Descriptor* descriptor();
3192
3193 void Swap(AccountState* other);
3194
3195 // implements Message ----------------------------------------------
3196
3198 int GetCachedSize() const { return _cached_size_; }
3199 private:
3202 void SetCachedSize(int size) const;
3203 public:
3204 ::google::protobuf::Metadata GetMetadata() const;
3205
3206 // nested types ----------------------------------------------------
3207
3208 // accessors -------------------------------------------------------
3209
3210 // optional .bgs.protocol.account.v1.AccountLevelInfo account_level_info = 1;
3211 inline bool has_account_level_info() const;
3212 inline void clear_account_level_info();
3213 static const int kAccountLevelInfoFieldNumber = 1;
3214 inline const ::bgs::protocol::account::v1::AccountLevelInfo& account_level_info() const;
3215 inline ::bgs::protocol::account::v1::AccountLevelInfo* mutable_account_level_info();
3216 inline ::bgs::protocol::account::v1::AccountLevelInfo* release_account_level_info();
3217 inline void set_allocated_account_level_info(::bgs::protocol::account::v1::AccountLevelInfo* account_level_info);
3218
3219 // optional .bgs.protocol.account.v1.PrivacyInfo privacy_info = 2;
3220 inline bool has_privacy_info() const;
3221 inline void clear_privacy_info();
3222 static const int kPrivacyInfoFieldNumber = 2;
3223 inline const ::bgs::protocol::account::v1::PrivacyInfo& privacy_info() const;
3224 inline ::bgs::protocol::account::v1::PrivacyInfo* mutable_privacy_info();
3225 inline ::bgs::protocol::account::v1::PrivacyInfo* release_privacy_info();
3226 inline void set_allocated_privacy_info(::bgs::protocol::account::v1::PrivacyInfo* privacy_info);
3227
3228 // optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 3;
3229 inline bool has_parental_control_info() const;
3230 inline void clear_parental_control_info();
3231 static const int kParentalControlInfoFieldNumber = 3;
3232 inline const ::bgs::protocol::account::v1::ParentalControlInfo& parental_control_info() const;
3233 inline ::bgs::protocol::account::v1::ParentalControlInfo* mutable_parental_control_info();
3234 inline ::bgs::protocol::account::v1::ParentalControlInfo* release_parental_control_info();
3235 inline void set_allocated_parental_control_info(::bgs::protocol::account::v1::ParentalControlInfo* parental_control_info);
3236
3237 // repeated .bgs.protocol.account.v1.GameLevelInfo game_level_info = 5;
3238 inline int game_level_info_size() const;
3239 inline void clear_game_level_info();
3240 static const int kGameLevelInfoFieldNumber = 5;
3241 inline const ::bgs::protocol::account::v1::GameLevelInfo& game_level_info(int index) const;
3242 inline ::bgs::protocol::account::v1::GameLevelInfo* mutable_game_level_info(int index);
3243 inline ::bgs::protocol::account::v1::GameLevelInfo* add_game_level_info();
3244 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >&
3245 game_level_info() const;
3246 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >*
3247 mutable_game_level_info();
3248
3249 // repeated .bgs.protocol.account.v1.GameStatus game_status = 6;
3250 inline int game_status_size() const;
3251 inline void clear_game_status();
3252 static const int kGameStatusFieldNumber = 6;
3253 inline const ::bgs::protocol::account::v1::GameStatus& game_status(int index) const;
3254 inline ::bgs::protocol::account::v1::GameStatus* mutable_game_status(int index);
3255 inline ::bgs::protocol::account::v1::GameStatus* add_game_status();
3256 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >&
3257 game_status() const;
3258 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >*
3259 mutable_game_status();
3260
3261 // repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 7;
3262 inline int game_accounts_size() const;
3263 inline void clear_game_accounts();
3264 static const int kGameAccountsFieldNumber = 7;
3265 inline const ::bgs::protocol::account::v1::GameAccountList& game_accounts(int index) const;
3266 inline ::bgs::protocol::account::v1::GameAccountList* mutable_game_accounts(int index);
3267 inline ::bgs::protocol::account::v1::GameAccountList* add_game_accounts();
3268 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
3269 game_accounts() const;
3270 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
3271 mutable_game_accounts();
3272
3273 // optional .bgs.protocol.account.v1.SecurityStatus security_status = 8;
3274 inline bool has_security_status() const;
3275 inline void clear_security_status();
3276 static const int kSecurityStatusFieldNumber = 8;
3277 inline const ::bgs::protocol::account::v1::SecurityStatus& security_status() const;
3278 inline ::bgs::protocol::account::v1::SecurityStatus* mutable_security_status();
3279 inline ::bgs::protocol::account::v1::SecurityStatus* release_security_status();
3280 inline void set_allocated_security_status(::bgs::protocol::account::v1::SecurityStatus* security_status);
3281
3282 // optional .bgs.protocol.account.v1.PlayScheduleRestriction government_curfew = 9;
3283 inline bool has_government_curfew() const;
3284 inline void clear_government_curfew();
3285 static const int kGovernmentCurfewFieldNumber = 9;
3286 inline const ::bgs::protocol::account::v1::PlayScheduleRestriction& government_curfew() const;
3287 inline ::bgs::protocol::account::v1::PlayScheduleRestriction* mutable_government_curfew();
3288 inline ::bgs::protocol::account::v1::PlayScheduleRestriction* release_government_curfew();
3289 inline void set_allocated_government_curfew(::bgs::protocol::account::v1::PlayScheduleRestriction* government_curfew);
3290
3291 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountState)
3292 private:
3293 inline void set_has_account_level_info();
3294 inline void clear_has_account_level_info();
3295 inline void set_has_privacy_info();
3296 inline void clear_has_privacy_info();
3297 inline void set_has_parental_control_info();
3298 inline void clear_has_parental_control_info();
3299 inline void set_has_security_status();
3300 inline void clear_has_security_status();
3301 inline void set_has_government_curfew();
3302 inline void clear_has_government_curfew();
3303
3304 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3305
3306 ::google::protobuf::uint32 _has_bits_[1];
3307 mutable int _cached_size_;
3311 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > game_level_info_;
3312 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > game_status_;
3313 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_;
3319
3322};
3323// -------------------------------------------------------------------
3324
3325class TC_PROTO_API AccountStateTagged : public ::google::protobuf::Message {
3326 public:
3329
3331
3333 CopyFrom(from);
3334 return *this;
3335 }
3336
3337 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3338 return _unknown_fields_;
3339 }
3340
3341 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3342 return &_unknown_fields_;
3343 }
3344
3345 static const ::google::protobuf::Descriptor* descriptor();
3347
3349
3350 // implements Message ----------------------------------------------
3351
3353 int GetCachedSize() const { return _cached_size_; }
3354 private:
3357 void SetCachedSize(int size) const;
3358 public:
3359 ::google::protobuf::Metadata GetMetadata() const;
3360
3361 // nested types ----------------------------------------------------
3362
3363 // accessors -------------------------------------------------------
3364
3365 // optional .bgs.protocol.account.v1.AccountState account_state = 1;
3366 inline bool has_account_state() const;
3367 inline void clear_account_state();
3368 static const int kAccountStateFieldNumber = 1;
3369 inline const ::bgs::protocol::account::v1::AccountState& account_state() const;
3370 inline ::bgs::protocol::account::v1::AccountState* mutable_account_state();
3371 inline ::bgs::protocol::account::v1::AccountState* release_account_state();
3372 inline void set_allocated_account_state(::bgs::protocol::account::v1::AccountState* account_state);
3373
3374 // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 2;
3375 inline bool has_account_tags() const;
3376 inline void clear_account_tags();
3377 static const int kAccountTagsFieldNumber = 2;
3378 inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
3379 inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
3380 inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
3381 inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
3382
3383 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountStateTagged)
3384 private:
3385 inline void set_has_account_state();
3386 inline void clear_has_account_state();
3387 inline void set_has_account_tags();
3388 inline void clear_has_account_tags();
3389
3390 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3391
3392 ::google::protobuf::uint32 _has_bits_[1];
3393 mutable int _cached_size_;
3399
3402};
3403// -------------------------------------------------------------------
3404
3405class TC_PROTO_API GameAccountState : public ::google::protobuf::Message {
3406 public:
3409
3411
3413 CopyFrom(from);
3414 return *this;
3415 }
3416
3417 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3418 return _unknown_fields_;
3419 }
3420
3421 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3422 return &_unknown_fields_;
3423 }
3424
3425 static const ::google::protobuf::Descriptor* descriptor();
3427
3429
3430 // implements Message ----------------------------------------------
3431
3433 int GetCachedSize() const { return _cached_size_; }
3434 private:
3437 void SetCachedSize(int size) const;
3438 public:
3439 ::google::protobuf::Metadata GetMetadata() const;
3440
3441 // nested types ----------------------------------------------------
3442
3443 // accessors -------------------------------------------------------
3444
3445 // optional .bgs.protocol.account.v1.GameLevelInfo game_level_info = 1;
3446 inline bool has_game_level_info() const;
3447 inline void clear_game_level_info();
3448 static const int kGameLevelInfoFieldNumber = 1;
3449 inline const ::bgs::protocol::account::v1::GameLevelInfo& game_level_info() const;
3450 inline ::bgs::protocol::account::v1::GameLevelInfo* mutable_game_level_info();
3451 inline ::bgs::protocol::account::v1::GameLevelInfo* release_game_level_info();
3452 inline void set_allocated_game_level_info(::bgs::protocol::account::v1::GameLevelInfo* game_level_info);
3453
3454 // optional .bgs.protocol.account.v1.GameTimeInfo game_time_info = 2;
3455 inline bool has_game_time_info() const;
3456 inline void clear_game_time_info();
3457 static const int kGameTimeInfoFieldNumber = 2;
3458 inline const ::bgs::protocol::account::v1::GameTimeInfo& game_time_info() const;
3459 inline ::bgs::protocol::account::v1::GameTimeInfo* mutable_game_time_info();
3460 inline ::bgs::protocol::account::v1::GameTimeInfo* release_game_time_info();
3461 inline void set_allocated_game_time_info(::bgs::protocol::account::v1::GameTimeInfo* game_time_info);
3462
3463 // optional .bgs.protocol.account.v1.GameStatus game_status = 3;
3464 inline bool has_game_status() const;
3465 inline void clear_game_status();
3466 static const int kGameStatusFieldNumber = 3;
3467 inline const ::bgs::protocol::account::v1::GameStatus& game_status() const;
3468 inline ::bgs::protocol::account::v1::GameStatus* mutable_game_status();
3469 inline ::bgs::protocol::account::v1::GameStatus* release_game_status();
3470 inline void set_allocated_game_status(::bgs::protocol::account::v1::GameStatus* game_status);
3471
3472 // optional .bgs.protocol.account.v1.RAFInfo raf_info = 4 [deprecated = true];
3473 inline bool has_raf_info() const PROTOBUF_DEPRECATED;
3474 inline void clear_raf_info() PROTOBUF_DEPRECATED;
3475 static const int kRafInfoFieldNumber = 4;
3476 inline const ::bgs::protocol::account::v1::RAFInfo& raf_info() const PROTOBUF_DEPRECATED;
3477 inline ::bgs::protocol::account::v1::RAFInfo* mutable_raf_info() PROTOBUF_DEPRECATED;
3478 inline ::bgs::protocol::account::v1::RAFInfo* release_raf_info() PROTOBUF_DEPRECATED;
3479 inline void set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo* raf_info) PROTOBUF_DEPRECATED;
3480
3481 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountState)
3482 private:
3483 inline void set_has_game_level_info();
3484 inline void clear_has_game_level_info();
3485 inline void set_has_game_time_info();
3486 inline void clear_has_game_time_info();
3487 inline void set_has_game_status();
3488 inline void clear_has_game_status();
3489 inline void set_has_raf_info();
3490 inline void clear_has_raf_info();
3491
3492 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3493
3494 ::google::protobuf::uint32 _has_bits_[1];
3495 mutable int _cached_size_;
3496 ::bgs::protocol::account::v1::GameLevelInfo* game_level_info_;
3497 ::bgs::protocol::account::v1::GameTimeInfo* game_time_info_;
3498 ::bgs::protocol::account::v1::GameStatus* game_status_;
3499 ::bgs::protocol::account::v1::RAFInfo* raf_info_;
3500 friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
3501 friend void protobuf_AssignDesc_account_5ftypes_2eproto();
3502 friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
3503
3504 void InitAsDefaultInstance();
3505 static GameAccountState* default_instance_;
3506};
3507// -------------------------------------------------------------------
3508
3509class TC_PROTO_API GameAccountStateTagged : public ::google::protobuf::Message {
3510 public:
3513
3515
3517 CopyFrom(from);
3518 return *this;
3519 }
3520
3521 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3522 return _unknown_fields_;
3523 }
3524
3525 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3526 return &_unknown_fields_;
3527 }
3528
3529 static const ::google::protobuf::Descriptor* descriptor();
3531
3533
3534 // implements Message ----------------------------------------------
3535
3537 int GetCachedSize() const { return _cached_size_; }
3538 private:
3541 void SetCachedSize(int size) const;
3542 public:
3543 ::google::protobuf::Metadata GetMetadata() const;
3544
3545 // nested types ----------------------------------------------------
3546
3547 // accessors -------------------------------------------------------
3548
3549 // optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
3550 inline bool has_game_account_state() const;
3551 inline void clear_game_account_state();
3552 static const int kGameAccountStateFieldNumber = 1;
3553 inline const ::bgs::protocol::account::v1::GameAccountState& game_account_state() const;
3554 inline ::bgs::protocol::account::v1::GameAccountState* mutable_game_account_state();
3555 inline ::bgs::protocol::account::v1::GameAccountState* release_game_account_state();
3556 inline void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState* game_account_state);
3557
3558 // optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 2;
3559 inline bool has_game_account_tags() const;
3560 inline void clear_game_account_tags();
3561 static const int kGameAccountTagsFieldNumber = 2;
3562 inline const ::bgs::protocol::account::v1::GameAccountFieldTags& game_account_tags() const;
3563 inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_game_account_tags();
3564 inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_game_account_tags();
3565 inline void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags);
3566
3567 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountStateTagged)
3568 private:
3569 inline void set_has_game_account_state();
3570 inline void clear_has_game_account_state();
3571 inline void set_has_game_account_tags();
3572 inline void clear_has_game_account_tags();
3573
3574 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3575
3576 ::google::protobuf::uint32 _has_bits_[1];
3577 mutable int _cached_size_;
3583
3586};
3587// -------------------------------------------------------------------
3588
3589class TC_PROTO_API AuthorizedData : public ::google::protobuf::Message {
3590 public:
3593
3595
3597 CopyFrom(from);
3598 return *this;
3599 }
3600
3601 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3602 return _unknown_fields_;
3603 }
3604
3605 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3606 return &_unknown_fields_;
3607 }
3608
3609 static const ::google::protobuf::Descriptor* descriptor();
3611
3612 void Swap(AuthorizedData* other);
3613
3614 // implements Message ----------------------------------------------
3615
3617 int GetCachedSize() const { return _cached_size_; }
3618 private:
3621 void SetCachedSize(int size) const;
3622 public:
3623 ::google::protobuf::Metadata GetMetadata() const;
3624
3625 // nested types ----------------------------------------------------
3626
3627 // accessors -------------------------------------------------------
3628
3629 // optional string data = 1;
3630 inline bool has_data() const;
3631 inline void clear_data();
3632 static const int kDataFieldNumber = 1;
3633 inline const ::std::string& data() const;
3634 inline void set_data(const ::std::string& value);
3635 inline void set_data(const char* value);
3636 inline void set_data(const char* value, size_t size);
3637 inline ::std::string* mutable_data();
3638 inline ::std::string* release_data();
3639 inline void set_allocated_data(::std::string* data);
3640
3641 // repeated uint32 license = 2;
3642 inline int license_size() const;
3643 inline void clear_license();
3644 static const int kLicenseFieldNumber = 2;
3645 inline ::google::protobuf::uint32 license(int index) const;
3646 inline void set_license(int index, ::google::protobuf::uint32 value);
3647 inline void add_license(::google::protobuf::uint32 value);
3648 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3649 license() const;
3650 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3651 mutable_license();
3652
3653 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AuthorizedData)
3654 private:
3655 inline void set_has_data();
3656 inline void clear_has_data();
3657
3658 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3659
3660 ::google::protobuf::uint32 _has_bits_[1];
3661 mutable int _cached_size_;
3662 ::std::string* data_;
3663 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > license_;
3667
3670};
3671// -------------------------------------------------------------------
3672
3673class TC_PROTO_API IgrId : public ::google::protobuf::Message {
3674 public:
3676 virtual ~IgrId();
3677
3678 IgrId(const IgrId& from);
3679
3680 inline IgrId& operator=(const IgrId& from) {
3681 CopyFrom(from);
3682 return *this;
3683 }
3684
3685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3686 return _unknown_fields_;
3687 }
3688
3689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3690 return &_unknown_fields_;
3691 }
3692
3693 static const ::google::protobuf::Descriptor* descriptor();
3694 static const IgrId& default_instance();
3695
3697 kGameAccount = 1,
3698 kExternalId = 2,
3699 kUuid = 3,
3700 TYPE_NOT_SET = 0,
3701 };
3702
3703 void Swap(IgrId* other);
3704
3705 // implements Message ----------------------------------------------
3706
3707 IgrId* New() const;
3708 int GetCachedSize() const { return _cached_size_; }
3709 private:
3712 void SetCachedSize(int size) const;
3713 public:
3714 ::google::protobuf::Metadata GetMetadata() const;
3715
3716 // nested types ----------------------------------------------------
3717
3718 // accessors -------------------------------------------------------
3719
3720 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
3721 inline bool has_game_account() const PROTOBUF_DEPRECATED;
3722 inline void clear_game_account() PROTOBUF_DEPRECATED;
3723 static const int kGameAccountFieldNumber = 1;
3724 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const PROTOBUF_DEPRECATED;
3725 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account() PROTOBUF_DEPRECATED;
3726 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account() PROTOBUF_DEPRECATED;
3727 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) PROTOBUF_DEPRECATED;
3728
3729 // optional fixed32 external_id = 2;
3730 inline bool has_external_id() const;
3731 inline void clear_external_id();
3732 static const int kExternalIdFieldNumber = 2;
3733 inline ::google::protobuf::uint32 external_id() const;
3734 inline void set_external_id(::google::protobuf::uint32 value);
3735
3736 // optional string uuid = 3;
3737 inline bool has_uuid() const;
3738 inline void clear_uuid();
3739 static const int kUuidFieldNumber = 3;
3740 inline const ::std::string& uuid() const;
3741 inline void set_uuid(const ::std::string& value);
3742 inline void set_uuid(const char* value);
3743 inline void set_uuid(const char* value, size_t size);
3744 inline ::std::string* mutable_uuid();
3745 inline ::std::string* release_uuid();
3746 inline void set_allocated_uuid(::std::string* uuid);
3747
3748 inline TypeCase type_case() const;
3749 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.IgrId)
3750 private:
3751 inline void set_has_game_account();
3752 inline void set_has_external_id();
3753 inline void set_has_uuid();
3754
3755 inline bool has_type();
3756 void clear_type();
3757 inline void clear_has_type();
3758
3759 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3760
3761 ::google::protobuf::uint32 _has_bits_[1];
3762 mutable int _cached_size_;
3768 ::google::protobuf::uint32 _oneof_case_[1];
3769
3773
3776};
3777// -------------------------------------------------------------------
3778
3779class TC_PROTO_API IgrAddress : public ::google::protobuf::Message {
3780 public:
3782 virtual ~IgrAddress();
3783
3785
3786 inline IgrAddress& operator=(const IgrAddress& from) {
3787 CopyFrom(from);
3788 return *this;
3789 }
3790
3791 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3792 return _unknown_fields_;
3793 }
3794
3795 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3796 return &_unknown_fields_;
3797 }
3798
3799 static const ::google::protobuf::Descriptor* descriptor();
3801
3802 void Swap(IgrAddress* other);
3803
3804 // implements Message ----------------------------------------------
3805
3806 IgrAddress* New() const;
3807 int GetCachedSize() const { return _cached_size_; }
3808 private:
3811 void SetCachedSize(int size) const;
3812 public:
3813 ::google::protobuf::Metadata GetMetadata() const;
3814
3815 // nested types ----------------------------------------------------
3816
3817 // accessors -------------------------------------------------------
3818
3819 // optional string client_address = 1;
3820 inline bool has_client_address() const;
3821 inline void clear_client_address();
3822 static const int kClientAddressFieldNumber = 1;
3823 inline const ::std::string& client_address() const;
3824 inline void set_client_address(const ::std::string& value);
3825 inline void set_client_address(const char* value);
3826 inline void set_client_address(const char* value, size_t size);
3827 inline ::std::string* mutable_client_address();
3828 inline ::std::string* release_client_address();
3829 inline void set_allocated_client_address(::std::string* client_address);
3830
3831 // optional uint32 region = 2;
3832 inline bool has_region() const;
3833 inline void clear_region();
3834 static const int kRegionFieldNumber = 2;
3835 inline ::google::protobuf::uint32 region() const;
3836 inline void set_region(::google::protobuf::uint32 value);
3837
3838 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.IgrAddress)
3839 private:
3840 inline void set_has_client_address();
3841 inline void clear_has_client_address();
3842 inline void set_has_region();
3843 inline void clear_has_region();
3844
3845 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3846
3847 ::google::protobuf::uint32 _has_bits_[1];
3848 mutable int _cached_size_;
3849 ::std::string* client_address_;
3850 ::google::protobuf::uint32 region_;
3854
3857};
3858// -------------------------------------------------------------------
3859
3860class TC_PROTO_API AccountPrivacySetting : public ::google::protobuf::Message {
3861 public:
3864
3866
3868 CopyFrom(from);
3869 return *this;
3870 }
3871
3872 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3873 return _unknown_fields_;
3874 }
3875
3876 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3877 return &_unknown_fields_;
3878 }
3879
3880 static const ::google::protobuf::Descriptor* descriptor();
3882
3884
3885 // implements Message ----------------------------------------------
3886
3888 int GetCachedSize() const { return _cached_size_; }
3889 private:
3892 void SetCachedSize(int size) const;
3893 public:
3894 ::google::protobuf::Metadata GetMetadata() const;
3895
3896 // nested types ----------------------------------------------------
3897
3898 // accessors -------------------------------------------------------
3899
3900 // optional bool is_using_rid = 1;
3901 inline bool has_is_using_rid() const;
3902 inline void clear_is_using_rid();
3903 static const int kIsUsingRidFieldNumber = 1;
3904 inline bool is_using_rid() const;
3905 inline void set_is_using_rid(bool value);
3906
3907 // optional bool is_visible_for_view_friends = 2;
3908 inline bool has_is_visible_for_view_friends() const;
3909 inline void clear_is_visible_for_view_friends();
3910 static const int kIsVisibleForViewFriendsFieldNumber = 2;
3911 inline bool is_visible_for_view_friends() const;
3912 inline void set_is_visible_for_view_friends(bool value);
3913
3914 // optional bool is_hidden_from_friend_finder = 3;
3915 inline bool has_is_hidden_from_friend_finder() const;
3916 inline void clear_is_hidden_from_friend_finder();
3917 static const int kIsHiddenFromFriendFinderFieldNumber = 3;
3918 inline bool is_hidden_from_friend_finder() const;
3919 inline void set_is_hidden_from_friend_finder(bool value);
3920
3921 // optional bool only_allow_friend_whispers = 4;
3922 inline bool has_only_allow_friend_whispers() const;
3923 inline void clear_only_allow_friend_whispers();
3924 static const int kOnlyAllowFriendWhispersFieldNumber = 4;
3925 inline bool only_allow_friend_whispers() const;
3926 inline void set_only_allow_friend_whispers(bool value);
3927
3928 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPrivacySetting)
3929 private:
3930 inline void set_has_is_using_rid();
3931 inline void clear_has_is_using_rid();
3932 inline void set_has_is_visible_for_view_friends();
3933 inline void clear_has_is_visible_for_view_friends();
3934 inline void set_has_is_hidden_from_friend_finder();
3935 inline void clear_has_is_hidden_from_friend_finder();
3936 inline void set_has_only_allow_friend_whispers();
3937 inline void clear_has_only_allow_friend_whispers();
3938
3939 ::google::protobuf::UnknownFieldSet _unknown_fields_;
3940
3941 ::google::protobuf::uint32 _has_bits_[1];
3942 mutable int _cached_size_;
3950
3953};
3954// -------------------------------------------------------------------
3955
3956class TC_PROTO_API AccountInfo : public ::google::protobuf::Message {
3957 public:
3959 virtual ~AccountInfo();
3960
3962
3963 inline AccountInfo& operator=(const AccountInfo& from) {
3964 CopyFrom(from);
3965 return *this;
3966 }
3967
3968 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3969 return _unknown_fields_;
3970 }
3971
3972 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3973 return &_unknown_fields_;
3974 }
3975
3976 static const ::google::protobuf::Descriptor* descriptor();
3978
3979 void Swap(AccountInfo* other);
3980
3981 // implements Message ----------------------------------------------
3982
3984 int GetCachedSize() const { return _cached_size_; }
3985 private:
3988 void SetCachedSize(int size) const;
3989 public:
3990 ::google::protobuf::Metadata GetMetadata() const;
3991
3992 // nested types ----------------------------------------------------
3993
3994 // accessors -------------------------------------------------------
3995
3996 // optional string battle_tag = 1;
3997 inline bool has_battle_tag() const;
3998 inline void clear_battle_tag();
3999 static const int kBattleTagFieldNumber = 1;
4000 inline const ::std::string& battle_tag() const;
4001 inline void set_battle_tag(const ::std::string& value);
4002 inline void set_battle_tag(const char* value);
4003 inline void set_battle_tag(const char* value, size_t size);
4004 inline ::std::string* mutable_battle_tag();
4005 inline ::std::string* release_battle_tag();
4006 inline void set_allocated_battle_tag(::std::string* battle_tag);
4007
4008 // optional string email = 2;
4009 inline bool has_email() const;
4010 inline void clear_email();
4011 static const int kEmailFieldNumber = 2;
4012 inline const ::std::string& email() const;
4013 inline void set_email(const ::std::string& value);
4014 inline void set_email(const char* value);
4015 inline void set_email(const char* value, size_t size);
4016 inline ::std::string* mutable_email();
4017 inline ::std::string* release_email();
4018 inline void set_allocated_email(::std::string* email);
4019
4020 // optional string phone_number = 3;
4021 inline bool has_phone_number() const;
4022 inline void clear_phone_number();
4023 static const int kPhoneNumberFieldNumber = 3;
4024 inline const ::std::string& phone_number() const;
4025 inline void set_phone_number(const ::std::string& value);
4026 inline void set_phone_number(const char* value);
4027 inline void set_phone_number(const char* value, size_t size);
4028 inline ::std::string* mutable_phone_number();
4029 inline ::std::string* release_phone_number();
4030 inline void set_allocated_phone_number(::std::string* phone_number);
4031
4032 // optional string full_name = 4;
4033 inline bool has_full_name() const;
4034 inline void clear_full_name();
4035 static const int kFullNameFieldNumber = 4;
4036 inline const ::std::string& full_name() const;
4037 inline void set_full_name(const ::std::string& value);
4038 inline void set_full_name(const char* value);
4039 inline void set_full_name(const char* value, size_t size);
4040 inline ::std::string* mutable_full_name();
4041 inline ::std::string* release_full_name();
4042 inline void set_allocated_full_name(::std::string* full_name);
4043
4044 // optional string birthdate = 5;
4045 inline bool has_birthdate() const;
4046 inline void clear_birthdate();
4047 static const int kBirthdateFieldNumber = 5;
4048 inline const ::std::string& birthdate() const;
4049 inline void set_birthdate(const ::std::string& value);
4050 inline void set_birthdate(const char* value);
4051 inline void set_birthdate(const char* value, size_t size);
4052 inline ::std::string* mutable_birthdate();
4053 inline ::std::string* release_birthdate();
4054 inline void set_allocated_birthdate(::std::string* birthdate);
4055
4056 // optional string country = 6;
4057 inline bool has_country() const;
4058 inline void clear_country();
4059 static const int kCountryFieldNumber = 6;
4060 inline const ::std::string& country() const;
4061 inline void set_country(const ::std::string& value);
4062 inline void set_country(const char* value);
4063 inline void set_country(const char* value, size_t size);
4064 inline ::std::string* mutable_country();
4065 inline ::std::string* release_country();
4066 inline void set_allocated_country(::std::string* country);
4067
4068 // optional string default_currency = 7;
4069 inline bool has_default_currency() const;
4070 inline void clear_default_currency();
4071 static const int kDefaultCurrencyFieldNumber = 7;
4072 inline const ::std::string& default_currency() const;
4073 inline void set_default_currency(const ::std::string& value);
4074 inline void set_default_currency(const char* value);
4075 inline void set_default_currency(const char* value, size_t size);
4076 inline ::std::string* mutable_default_currency();
4077 inline ::std::string* release_default_currency();
4078 inline void set_allocated_default_currency(::std::string* default_currency);
4079
4080 // optional uint32 preferred_region = 8;
4081 inline bool has_preferred_region() const;
4082 inline void clear_preferred_region();
4083 static const int kPreferredRegionFieldNumber = 8;
4084 inline ::google::protobuf::uint32 preferred_region() const;
4085 inline void set_preferred_region(::google::protobuf::uint32 value);
4086
4087 // optional uint32 ratings_board_minimum_age = 9;
4088 inline bool has_ratings_board_minimum_age() const;
4089 inline void clear_ratings_board_minimum_age();
4090 static const int kRatingsBoardMinimumAgeFieldNumber = 9;
4091 inline ::google::protobuf::uint32 ratings_board_minimum_age() const;
4092 inline void set_ratings_board_minimum_age(::google::protobuf::uint32 value);
4093
4094 // optional bool has_parental_control = 10;
4095 inline bool has_has_parental_control() const;
4096 inline void clear_has_parental_control();
4097 static const int kHasParentalControlFieldNumber = 10;
4098 inline bool has_parental_control() const;
4099 inline void set_has_parental_control(bool value);
4100
4101 // optional bool is_email_verified = 11;
4102 inline bool has_is_email_verified() const;
4103 inline void clear_is_email_verified();
4104 static const int kIsEmailVerifiedFieldNumber = 11;
4105 inline bool is_email_verified() const;
4106 inline void set_is_email_verified(bool value);
4107
4108 // optional bool is_sms_protected = 12;
4109 inline bool has_is_sms_protected() const;
4110 inline void clear_is_sms_protected();
4111 static const int kIsSmsProtectedFieldNumber = 12;
4112 inline bool is_sms_protected() const;
4113 inline void set_is_sms_protected(bool value);
4114
4115 // optional bool is_headless_account = 13;
4116 inline bool has_is_headless_account() const;
4117 inline void clear_is_headless_account();
4118 static const int kIsHeadlessAccountFieldNumber = 13;
4119 inline bool is_headless_account() const;
4120 inline void set_is_headless_account(bool value);
4121
4122 // optional bool is_employee = 14;
4123 inline bool has_is_employee() const;
4124 inline void clear_is_employee();
4125 static const int kIsEmployeeFieldNumber = 14;
4126 inline bool is_employee() const;
4127 inline void set_is_employee(bool value);
4128
4129 // optional bool is_test_account = 15;
4130 inline bool has_is_test_account() const;
4131 inline void clear_is_test_account();
4132 static const int kIsTestAccountFieldNumber = 15;
4133 inline bool is_test_account() const;
4134 inline void set_is_test_account(bool value);
4135
4136 // optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
4137 inline bool has_privacy_setting() const;
4138 inline void clear_privacy_setting();
4139 static const int kPrivacySettingFieldNumber = 16;
4140 inline const ::bgs::protocol::account::v1::AccountPrivacySetting& privacy_setting() const;
4141 inline ::bgs::protocol::account::v1::AccountPrivacySetting* mutable_privacy_setting();
4142 inline ::bgs::protocol::account::v1::AccountPrivacySetting* release_privacy_setting();
4143 inline void set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting);
4144
4145 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountInfo)
4146 private:
4147 inline void set_has_battle_tag();
4148 inline void clear_has_battle_tag();
4149 inline void set_has_email();
4150 inline void clear_has_email();
4151 inline void set_has_phone_number();
4152 inline void clear_has_phone_number();
4153 inline void set_has_full_name();
4154 inline void clear_has_full_name();
4155 inline void set_has_birthdate();
4156 inline void clear_has_birthdate();
4157 inline void set_has_country();
4158 inline void clear_has_country();
4159 inline void set_has_default_currency();
4160 inline void clear_has_default_currency();
4161 inline void set_has_preferred_region();
4162 inline void clear_has_preferred_region();
4163 inline void set_has_ratings_board_minimum_age();
4164 inline void clear_has_ratings_board_minimum_age();
4165 inline void set_has_has_parental_control();
4166 inline void clear_has_has_parental_control();
4167 inline void set_has_is_email_verified();
4168 inline void clear_has_is_email_verified();
4169 inline void set_has_is_sms_protected();
4170 inline void clear_has_is_sms_protected();
4171 inline void set_has_is_headless_account();
4172 inline void clear_has_is_headless_account();
4173 inline void set_has_is_employee();
4174 inline void clear_has_is_employee();
4175 inline void set_has_is_test_account();
4176 inline void clear_has_is_test_account();
4177 inline void set_has_privacy_setting();
4178 inline void clear_has_privacy_setting();
4179
4180 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4181
4182 ::google::protobuf::uint32 _has_bits_[1];
4183 mutable int _cached_size_;
4184 ::std::string* battle_tag_;
4185 ::std::string* email_;
4186 ::std::string* phone_number_;
4187 ::std::string* full_name_;
4188 ::std::string* birthdate_;
4189 ::std::string* country_;
4190 ::std::string* default_currency_;
4191 ::google::protobuf::uint32 preferred_region_;
4192 ::google::protobuf::uint32 ratings_board_minimum_age_;
4203
4206};
4207// -------------------------------------------------------------------
4208
4209class TC_PROTO_API RestrictionStatus : public ::google::protobuf::Message {
4210 public:
4213
4215
4217 CopyFrom(from);
4218 return *this;
4219 }
4220
4221 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4222 return _unknown_fields_;
4223 }
4224
4225 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4226 return &_unknown_fields_;
4227 }
4228
4229 static const ::google::protobuf::Descriptor* descriptor();
4231
4233
4234 // implements Message ----------------------------------------------
4235
4237 int GetCachedSize() const { return _cached_size_; }
4238 private:
4241 void SetCachedSize(int size) const;
4242 public:
4243 ::google::protobuf::Metadata GetMetadata() const;
4244
4245 // nested types ----------------------------------------------------
4246
4247 // accessors -------------------------------------------------------
4248
4249 // optional bool active = 1;
4250 inline bool has_active() const;
4251 inline void clear_active();
4252 static const int kActiveFieldNumber = 1;
4253 inline bool active() const;
4254 inline void set_active(bool value);
4255
4256 // optional uint64 expiration_us = 2;
4257 inline bool has_expiration_us() const;
4258 inline void clear_expiration_us();
4259 static const int kExpirationUsFieldNumber = 2;
4260 inline ::google::protobuf::uint64 expiration_us() const;
4261 inline void set_expiration_us(::google::protobuf::uint64 value);
4262
4263 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RestrictionStatus)
4264 private:
4265 inline void set_has_active();
4266 inline void clear_has_active();
4267 inline void set_has_expiration_us();
4268 inline void clear_has_expiration_us();
4269
4270 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4271
4272 ::google::protobuf::uint32 _has_bits_[1];
4273 mutable int _cached_size_;
4274 ::google::protobuf::uint64 expiration_us_;
4279
4282};
4283// -------------------------------------------------------------------
4284
4285class TC_PROTO_API AccountPlatformRestrictionInfo : public ::google::protobuf::Message {
4286 public:
4289
4291
4293 CopyFrom(from);
4294 return *this;
4295 }
4296
4297 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4298 return _unknown_fields_;
4299 }
4300
4301 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4302 return &_unknown_fields_;
4303 }
4304
4305 static const ::google::protobuf::Descriptor* descriptor();
4307
4309
4310 // implements Message ----------------------------------------------
4311
4313 int GetCachedSize() const { return _cached_size_; }
4314 private:
4317 void SetCachedSize(int size) const;
4318 public:
4319 ::google::protobuf::Metadata GetMetadata() const;
4320
4321 // nested types ----------------------------------------------------
4322
4323 // accessors -------------------------------------------------------
4324
4325 // optional .bgs.protocol.account.v1.RestrictionStatus squelched = 2;
4326 inline bool has_squelched() const;
4327 inline void clear_squelched();
4328 static const int kSquelchedFieldNumber = 2;
4329 inline const ::bgs::protocol::account::v1::RestrictionStatus& squelched() const;
4330 inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_squelched();
4331 inline ::bgs::protocol::account::v1::RestrictionStatus* release_squelched();
4332 inline void set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus* squelched);
4333
4334 // optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
4335 inline bool has_legal_country_feature_restrictions_applied() const;
4336 inline void clear_legal_country_feature_restrictions_applied();
4337 static const int kLegalCountryFeatureRestrictionsAppliedFieldNumber = 3;
4338 inline const ::bgs::protocol::account::v1::RestrictionStatus& legal_country_feature_restrictions_applied() const;
4339 inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_legal_country_feature_restrictions_applied();
4340 inline ::bgs::protocol::account::v1::RestrictionStatus* release_legal_country_feature_restrictions_applied();
4341 inline void set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied);
4342
4343 // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
4344 private:
4345 inline void set_has_squelched();
4346 inline void clear_has_squelched();
4347 inline void set_has_legal_country_feature_restrictions_applied();
4348 inline void clear_has_legal_country_feature_restrictions_applied();
4349
4350 ::google::protobuf::UnknownFieldSet _unknown_fields_;
4351
4352 ::google::protobuf::uint32 _has_bits_[1];
4353 mutable int _cached_size_;
4359
4362};
4363// ===================================================================
4364
4365// ===================================================================
4366
4367// ===================================================================
4368
4369// AccountId
4370
4371// optional fixed32 id = 1;
4372inline bool AccountId::has_id() const {
4373 return (_has_bits_[0] & 0x00000001u) != 0;
4374}
4375inline void AccountId::set_has_id() {
4376 _has_bits_[0] |= 0x00000001u;
4377}
4378inline void AccountId::clear_has_id() {
4379 _has_bits_[0] &= ~0x00000001u;
4380}
4381inline void AccountId::clear_id() {
4382 id_ = 0u;
4383 clear_has_id();
4384}
4385inline ::google::protobuf::uint32 AccountId::id() const {
4386 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountId.id)
4387 return id_;
4388}
4389inline void AccountId::set_id(::google::protobuf::uint32 value) {
4390 set_has_id();
4391 id_ = value;
4392 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountId.id)
4393}
4394
4395// -------------------------------------------------------------------
4396
4397// AccountLicense
4398
4399// required uint32 id = 1;
4400inline bool AccountLicense::has_id() const {
4401 return (_has_bits_[0] & 0x00000001u) != 0;
4402}
4403inline void AccountLicense::set_has_id() {
4404 _has_bits_[0] |= 0x00000001u;
4405}
4406inline void AccountLicense::clear_has_id() {
4407 _has_bits_[0] &= ~0x00000001u;
4408}
4409inline void AccountLicense::clear_id() {
4410 id_ = 0u;
4411 clear_has_id();
4412}
4413inline ::google::protobuf::uint32 AccountLicense::id() const {
4414 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLicense.id)
4415 return id_;
4416}
4417inline void AccountLicense::set_id(::google::protobuf::uint32 value) {
4418 set_has_id();
4419 id_ = value;
4420 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLicense.id)
4421}
4422
4423// optional uint64 expires = 2;
4424inline bool AccountLicense::has_expires() const {
4425 return (_has_bits_[0] & 0x00000002u) != 0;
4426}
4427inline void AccountLicense::set_has_expires() {
4428 _has_bits_[0] |= 0x00000002u;
4429}
4430inline void AccountLicense::clear_has_expires() {
4431 _has_bits_[0] &= ~0x00000002u;
4432}
4433inline void AccountLicense::clear_expires() {
4434 expires_ = GOOGLE_ULONGLONG(0);
4435 clear_has_expires();
4436}
4437inline ::google::protobuf::uint64 AccountLicense::expires() const {
4438 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLicense.expires)
4439 return expires_;
4440}
4441inline void AccountLicense::set_expires(::google::protobuf::uint64 value) {
4442 set_has_expires();
4443 expires_ = value;
4444 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLicense.expires)
4445}
4446
4447// -------------------------------------------------------------------
4448
4449// GameAccountHandle
4450
4451// optional fixed32 id = 1;
4452inline bool GameAccountHandle::has_id() const {
4453 return (_has_bits_[0] & 0x00000001u) != 0;
4454}
4455inline void GameAccountHandle::set_has_id() {
4456 _has_bits_[0] |= 0x00000001u;
4457}
4458inline void GameAccountHandle::clear_has_id() {
4459 _has_bits_[0] &= ~0x00000001u;
4460}
4461inline void GameAccountHandle::clear_id() {
4462 id_ = 0u;
4463 clear_has_id();
4464}
4465inline ::google::protobuf::uint32 GameAccountHandle::id() const {
4466 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.id)
4467 return id_;
4468}
4469inline void GameAccountHandle::set_id(::google::protobuf::uint32 value) {
4470 set_has_id();
4471 id_ = value;
4472 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.id)
4473}
4474
4475// optional fixed32 program = 2;
4476inline bool GameAccountHandle::has_program() const {
4477 return (_has_bits_[0] & 0x00000002u) != 0;
4478}
4479inline void GameAccountHandle::set_has_program() {
4480 _has_bits_[0] |= 0x00000002u;
4481}
4482inline void GameAccountHandle::clear_has_program() {
4483 _has_bits_[0] &= ~0x00000002u;
4484}
4485inline void GameAccountHandle::clear_program() {
4486 program_ = 0u;
4487 clear_has_program();
4488}
4489inline ::google::protobuf::uint32 GameAccountHandle::program() const {
4490 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.program)
4491 return program_;
4492}
4493inline void GameAccountHandle::set_program(::google::protobuf::uint32 value) {
4494 set_has_program();
4495 program_ = value;
4496 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.program)
4497}
4498
4499// optional uint32 region = 3;
4500inline bool GameAccountHandle::has_region() const {
4501 return (_has_bits_[0] & 0x00000004u) != 0;
4502}
4503inline void GameAccountHandle::set_has_region() {
4504 _has_bits_[0] |= 0x00000004u;
4505}
4506inline void GameAccountHandle::clear_has_region() {
4507 _has_bits_[0] &= ~0x00000004u;
4508}
4509inline void GameAccountHandle::clear_region() {
4510 region_ = 0u;
4511 clear_has_region();
4512}
4513inline ::google::protobuf::uint32 GameAccountHandle::region() const {
4514 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountHandle.region)
4515 return region_;
4516}
4517inline void GameAccountHandle::set_region(::google::protobuf::uint32 value) {
4518 set_has_region();
4519 region_ = value;
4520 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.region)
4521}
4522
4523// -------------------------------------------------------------------
4524
4525// AccountReference
4526
4527// optional fixed32 id = 1;
4528inline bool AccountReference::has_id() const {
4529 return (_has_bits_[0] & 0x00000001u) != 0;
4530}
4531inline void AccountReference::set_has_id() {
4532 _has_bits_[0] |= 0x00000001u;
4533}
4534inline void AccountReference::clear_has_id() {
4535 _has_bits_[0] &= ~0x00000001u;
4536}
4537inline void AccountReference::clear_id() {
4538 id_ = 0u;
4539 clear_has_id();
4540}
4541inline ::google::protobuf::uint32 AccountReference::id() const {
4542 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.id)
4543 return id_;
4544}
4545inline void AccountReference::set_id(::google::protobuf::uint32 value) {
4546 set_has_id();
4547 id_ = value;
4548 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.id)
4549}
4550
4551// optional string email = 2;
4552inline bool AccountReference::has_email() const {
4553 return (_has_bits_[0] & 0x00000002u) != 0;
4554}
4555inline void AccountReference::set_has_email() {
4556 _has_bits_[0] |= 0x00000002u;
4557}
4558inline void AccountReference::clear_has_email() {
4559 _has_bits_[0] &= ~0x00000002u;
4560}
4561inline void AccountReference::clear_email() {
4562 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4563 email_->clear();
4564 }
4565 clear_has_email();
4566}
4567inline const ::std::string& AccountReference::email() const {
4568 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.email)
4569 return *email_;
4570}
4571inline void AccountReference::set_email(const ::std::string& value) {
4572 set_has_email();
4573 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4574 email_ = new ::std::string;
4575 }
4576 email_->assign(value);
4577 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.email)
4578}
4579inline void AccountReference::set_email(const char* value) {
4580 set_has_email();
4581 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4582 email_ = new ::std::string;
4583 }
4584 email_->assign(value);
4585 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.email)
4586}
4587inline void AccountReference::set_email(const char* value, size_t size) {
4588 set_has_email();
4589 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4590 email_ = new ::std::string;
4591 }
4592 email_->assign(reinterpret_cast<const char*>(value), size);
4593 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.email)
4594}
4595inline ::std::string* AccountReference::mutable_email() {
4596 set_has_email();
4597 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4598 email_ = new ::std::string;
4599 }
4600 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.email)
4601 return email_;
4602}
4603inline ::std::string* AccountReference::release_email() {
4604 clear_has_email();
4605 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4606 return NULL;
4607 } else {
4608 ::std::string* temp = email_;
4609 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4610 return temp;
4611 }
4612}
4613inline void AccountReference::set_allocated_email(::std::string* email) {
4614 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4615 delete email_;
4616 }
4617 if (email) {
4618 set_has_email();
4619 email_ = email;
4620 } else {
4621 clear_has_email();
4622 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4623 }
4624 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.email)
4625}
4626
4627// optional .bgs.protocol.account.v1.GameAccountHandle handle = 3;
4628inline bool AccountReference::has_handle() const {
4629 return (_has_bits_[0] & 0x00000004u) != 0;
4630}
4631inline void AccountReference::set_has_handle() {
4632 _has_bits_[0] |= 0x00000004u;
4633}
4634inline void AccountReference::clear_has_handle() {
4635 _has_bits_[0] &= ~0x00000004u;
4636}
4637inline void AccountReference::clear_handle() {
4638 if (handle_ != NULL) handle_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4639 clear_has_handle();
4640}
4641inline const ::bgs::protocol::account::v1::GameAccountHandle& AccountReference::handle() const {
4642 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.handle)
4643 return handle_ != NULL ? *handle_ : *default_instance_->handle_;
4644}
4645inline ::bgs::protocol::account::v1::GameAccountHandle* AccountReference::mutable_handle() {
4646 set_has_handle();
4647 if (handle_ == NULL) handle_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4648 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.handle)
4649 return handle_;
4650}
4651inline ::bgs::protocol::account::v1::GameAccountHandle* AccountReference::release_handle() {
4652 clear_has_handle();
4654 handle_ = NULL;
4655 return temp;
4656}
4657inline void AccountReference::set_allocated_handle(::bgs::protocol::account::v1::GameAccountHandle* handle) {
4658 delete handle_;
4659 handle_ = handle;
4660 if (handle) {
4661 set_has_handle();
4662 } else {
4663 clear_has_handle();
4664 }
4665 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.handle)
4666}
4667
4668// optional string battle_tag = 4;
4669inline bool AccountReference::has_battle_tag() const {
4670 return (_has_bits_[0] & 0x00000008u) != 0;
4671}
4672inline void AccountReference::set_has_battle_tag() {
4673 _has_bits_[0] |= 0x00000008u;
4674}
4675inline void AccountReference::clear_has_battle_tag() {
4676 _has_bits_[0] &= ~0x00000008u;
4677}
4678inline void AccountReference::clear_battle_tag() {
4679 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4680 battle_tag_->clear();
4681 }
4682 clear_has_battle_tag();
4683}
4684inline const ::std::string& AccountReference::battle_tag() const {
4685 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.battle_tag)
4686 return *battle_tag_;
4687}
4688inline void AccountReference::set_battle_tag(const ::std::string& value) {
4689 set_has_battle_tag();
4690 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4691 battle_tag_ = new ::std::string;
4692 }
4693 battle_tag_->assign(value);
4694 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.battle_tag)
4695}
4696inline void AccountReference::set_battle_tag(const char* value) {
4697 set_has_battle_tag();
4698 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4699 battle_tag_ = new ::std::string;
4700 }
4701 battle_tag_->assign(value);
4702 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.battle_tag)
4703}
4704inline void AccountReference::set_battle_tag(const char* value, size_t size) {
4705 set_has_battle_tag();
4706 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4707 battle_tag_ = new ::std::string;
4708 }
4709 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
4710 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.battle_tag)
4711}
4712inline ::std::string* AccountReference::mutable_battle_tag() {
4713 set_has_battle_tag();
4714 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4715 battle_tag_ = new ::std::string;
4716 }
4717 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.battle_tag)
4718 return battle_tag_;
4719}
4720inline ::std::string* AccountReference::release_battle_tag() {
4721 clear_has_battle_tag();
4722 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4723 return NULL;
4724 } else {
4725 ::std::string* temp = battle_tag_;
4726 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4727 return temp;
4728 }
4729}
4730inline void AccountReference::set_allocated_battle_tag(::std::string* battle_tag) {
4731 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4732 delete battle_tag_;
4733 }
4734 if (battle_tag) {
4735 set_has_battle_tag();
4736 battle_tag_ = battle_tag;
4737 } else {
4738 clear_has_battle_tag();
4739 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4740 }
4741 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.battle_tag)
4742}
4743
4744// optional string phone_number = 5;
4745inline bool AccountReference::has_phone_number() const {
4746 return (_has_bits_[0] & 0x00000010u) != 0;
4747}
4748inline void AccountReference::set_has_phone_number() {
4749 _has_bits_[0] |= 0x00000010u;
4750}
4751inline void AccountReference::clear_has_phone_number() {
4752 _has_bits_[0] &= ~0x00000010u;
4753}
4754inline void AccountReference::clear_phone_number() {
4755 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4756 phone_number_->clear();
4757 }
4758 clear_has_phone_number();
4759}
4760inline const ::std::string& AccountReference::phone_number() const {
4761 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.phone_number)
4762 return *phone_number_;
4763}
4764inline void AccountReference::set_phone_number(const ::std::string& value) {
4765 set_has_phone_number();
4766 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4767 phone_number_ = new ::std::string;
4768 }
4769 phone_number_->assign(value);
4770 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.phone_number)
4771}
4772inline void AccountReference::set_phone_number(const char* value) {
4773 set_has_phone_number();
4774 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4775 phone_number_ = new ::std::string;
4776 }
4777 phone_number_->assign(value);
4778 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountReference.phone_number)
4779}
4780inline void AccountReference::set_phone_number(const char* value, size_t size) {
4781 set_has_phone_number();
4782 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4783 phone_number_ = new ::std::string;
4784 }
4785 phone_number_->assign(reinterpret_cast<const char*>(value), size);
4786 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountReference.phone_number)
4787}
4788inline ::std::string* AccountReference::mutable_phone_number() {
4789 set_has_phone_number();
4790 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4791 phone_number_ = new ::std::string;
4792 }
4793 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountReference.phone_number)
4794 return phone_number_;
4795}
4796inline ::std::string* AccountReference::release_phone_number() {
4797 clear_has_phone_number();
4798 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4799 return NULL;
4800 } else {
4801 ::std::string* temp = phone_number_;
4802 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4803 return temp;
4804 }
4805}
4806inline void AccountReference::set_allocated_phone_number(::std::string* phone_number) {
4807 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4808 delete phone_number_;
4809 }
4810 if (phone_number) {
4811 set_has_phone_number();
4812 phone_number_ = phone_number;
4813 } else {
4814 clear_has_phone_number();
4815 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4816 }
4817 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountReference.phone_number)
4818}
4819
4820// optional uint32 region = 10 [default = 0];
4821inline bool AccountReference::has_region() const {
4822 return (_has_bits_[0] & 0x00000020u) != 0;
4823}
4824inline void AccountReference::set_has_region() {
4825 _has_bits_[0] |= 0x00000020u;
4826}
4827inline void AccountReference::clear_has_region() {
4828 _has_bits_[0] &= ~0x00000020u;
4829}
4830inline void AccountReference::clear_region() {
4831 region_ = 0u;
4832 clear_has_region();
4833}
4834inline ::google::protobuf::uint32 AccountReference::region() const {
4835 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountReference.region)
4836 return region_;
4837}
4838inline void AccountReference::set_region(::google::protobuf::uint32 value) {
4839 set_has_region();
4840 region_ = value;
4841 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountReference.region)
4842}
4843
4844// -------------------------------------------------------------------
4845
4846// Identity
4847
4848// optional .bgs.protocol.account.v1.AccountId account = 1;
4849inline bool Identity::has_account() const {
4850 return (_has_bits_[0] & 0x00000001u) != 0;
4851}
4852inline void Identity::set_has_account() {
4853 _has_bits_[0] |= 0x00000001u;
4854}
4855inline void Identity::clear_has_account() {
4856 _has_bits_[0] &= ~0x00000001u;
4857}
4858inline void Identity::clear_account() {
4859 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
4860 clear_has_account();
4861}
4862inline const ::bgs::protocol::account::v1::AccountId& Identity::account() const {
4863 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.account)
4864 return account_ != NULL ? *account_ : *default_instance_->account_;
4865}
4866inline ::bgs::protocol::account::v1::AccountId* Identity::mutable_account() {
4867 set_has_account();
4868 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
4869 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.account)
4870 return account_;
4871}
4872inline ::bgs::protocol::account::v1::AccountId* Identity::release_account() {
4873 clear_has_account();
4875 account_ = NULL;
4876 return temp;
4877}
4878inline void Identity::set_allocated_account(::bgs::protocol::account::v1::AccountId* account) {
4879 delete account_;
4880 account_ = account;
4881 if (account) {
4882 set_has_account();
4883 } else {
4884 clear_has_account();
4885 }
4886 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.account)
4887}
4888
4889// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
4890inline bool Identity::has_game_account() const {
4891 return (_has_bits_[0] & 0x00000002u) != 0;
4892}
4893inline void Identity::set_has_game_account() {
4894 _has_bits_[0] |= 0x00000002u;
4895}
4896inline void Identity::clear_has_game_account() {
4897 _has_bits_[0] &= ~0x00000002u;
4898}
4899inline void Identity::clear_game_account() {
4900 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4901 clear_has_game_account();
4902}
4903inline const ::bgs::protocol::account::v1::GameAccountHandle& Identity::game_account() const {
4904 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.game_account)
4905 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
4906}
4907inline ::bgs::protocol::account::v1::GameAccountHandle* Identity::mutable_game_account() {
4908 set_has_game_account();
4909 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4910 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.game_account)
4911 return game_account_;
4912}
4913inline ::bgs::protocol::account::v1::GameAccountHandle* Identity::release_game_account() {
4914 clear_has_game_account();
4916 game_account_ = NULL;
4917 return temp;
4918}
4919inline void Identity::set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) {
4920 delete game_account_;
4921 game_account_ = game_account;
4922 if (game_account) {
4923 set_has_game_account();
4924 } else {
4925 clear_has_game_account();
4926 }
4927 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.game_account)
4928}
4929
4930// -------------------------------------------------------------------
4931
4932// ProgramTag
4933
4934// optional fixed32 program = 1;
4935inline bool ProgramTag::has_program() const {
4936 return (_has_bits_[0] & 0x00000001u) != 0;
4937}
4938inline void ProgramTag::set_has_program() {
4939 _has_bits_[0] |= 0x00000001u;
4940}
4941inline void ProgramTag::clear_has_program() {
4942 _has_bits_[0] &= ~0x00000001u;
4943}
4944inline void ProgramTag::clear_program() {
4945 program_ = 0u;
4946 clear_has_program();
4947}
4948inline ::google::protobuf::uint32 ProgramTag::program() const {
4949 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ProgramTag.program)
4950 return program_;
4951}
4952inline void ProgramTag::set_program(::google::protobuf::uint32 value) {
4953 set_has_program();
4954 program_ = value;
4955 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ProgramTag.program)
4956}
4957
4958// optional fixed32 tag = 2;
4959inline bool ProgramTag::has_tag() const {
4960 return (_has_bits_[0] & 0x00000002u) != 0;
4961}
4962inline void ProgramTag::set_has_tag() {
4963 _has_bits_[0] |= 0x00000002u;
4964}
4965inline void ProgramTag::clear_has_tag() {
4966 _has_bits_[0] &= ~0x00000002u;
4967}
4968inline void ProgramTag::clear_tag() {
4969 tag_ = 0u;
4970 clear_has_tag();
4971}
4972inline ::google::protobuf::uint32 ProgramTag::tag() const {
4973 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ProgramTag.tag)
4974 return tag_;
4975}
4976inline void ProgramTag::set_tag(::google::protobuf::uint32 value) {
4977 set_has_tag();
4978 tag_ = value;
4979 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ProgramTag.tag)
4980}
4981
4982// -------------------------------------------------------------------
4983
4984// RegionTag
4985
4986// optional fixed32 region = 1;
4987inline bool RegionTag::has_region() const {
4988 return (_has_bits_[0] & 0x00000001u) != 0;
4989}
4990inline void RegionTag::set_has_region() {
4991 _has_bits_[0] |= 0x00000001u;
4992}
4993inline void RegionTag::clear_has_region() {
4994 _has_bits_[0] &= ~0x00000001u;
4995}
4996inline void RegionTag::clear_region() {
4997 region_ = 0u;
4998 clear_has_region();
4999}
5000inline ::google::protobuf::uint32 RegionTag::region() const {
5001 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RegionTag.region)
5002 return region_;
5003}
5004inline void RegionTag::set_region(::google::protobuf::uint32 value) {
5005 set_has_region();
5006 region_ = value;
5007 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RegionTag.region)
5008}
5009
5010// optional fixed32 tag = 2;
5011inline bool RegionTag::has_tag() const {
5012 return (_has_bits_[0] & 0x00000002u) != 0;
5013}
5014inline void RegionTag::set_has_tag() {
5015 _has_bits_[0] |= 0x00000002u;
5016}
5017inline void RegionTag::clear_has_tag() {
5018 _has_bits_[0] &= ~0x00000002u;
5019}
5020inline void RegionTag::clear_tag() {
5021 tag_ = 0u;
5022 clear_has_tag();
5023}
5024inline ::google::protobuf::uint32 RegionTag::tag() const {
5025 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RegionTag.tag)
5026 return tag_;
5027}
5028inline void RegionTag::set_tag(::google::protobuf::uint32 value) {
5029 set_has_tag();
5030 tag_ = value;
5031 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RegionTag.tag)
5032}
5033
5034// -------------------------------------------------------------------
5035
5036// AccountFieldTags
5037
5038// optional fixed32 account_level_info_tag = 2;
5039inline bool AccountFieldTags::has_account_level_info_tag() const {
5040 return (_has_bits_[0] & 0x00000001u) != 0;
5041}
5042inline void AccountFieldTags::set_has_account_level_info_tag() {
5043 _has_bits_[0] |= 0x00000001u;
5044}
5045inline void AccountFieldTags::clear_has_account_level_info_tag() {
5046 _has_bits_[0] &= ~0x00000001u;
5047}
5048inline void AccountFieldTags::clear_account_level_info_tag() {
5049 account_level_info_tag_ = 0u;
5050 clear_has_account_level_info_tag();
5051}
5052inline ::google::protobuf::uint32 AccountFieldTags::account_level_info_tag() const {
5053 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.account_level_info_tag)
5054 return account_level_info_tag_;
5055}
5056inline void AccountFieldTags::set_account_level_info_tag(::google::protobuf::uint32 value) {
5057 set_has_account_level_info_tag();
5058 account_level_info_tag_ = value;
5059 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.account_level_info_tag)
5060}
5061
5062// optional fixed32 privacy_info_tag = 3;
5063inline bool AccountFieldTags::has_privacy_info_tag() const {
5064 return (_has_bits_[0] & 0x00000002u) != 0;
5065}
5066inline void AccountFieldTags::set_has_privacy_info_tag() {
5067 _has_bits_[0] |= 0x00000002u;
5068}
5069inline void AccountFieldTags::clear_has_privacy_info_tag() {
5070 _has_bits_[0] &= ~0x00000002u;
5071}
5072inline void AccountFieldTags::clear_privacy_info_tag() {
5073 privacy_info_tag_ = 0u;
5074 clear_has_privacy_info_tag();
5075}
5076inline ::google::protobuf::uint32 AccountFieldTags::privacy_info_tag() const {
5077 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.privacy_info_tag)
5078 return privacy_info_tag_;
5079}
5080inline void AccountFieldTags::set_privacy_info_tag(::google::protobuf::uint32 value) {
5081 set_has_privacy_info_tag();
5082 privacy_info_tag_ = value;
5083 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.privacy_info_tag)
5084}
5085
5086// optional fixed32 parental_control_info_tag = 4;
5087inline bool AccountFieldTags::has_parental_control_info_tag() const {
5088 return (_has_bits_[0] & 0x00000004u) != 0;
5089}
5090inline void AccountFieldTags::set_has_parental_control_info_tag() {
5091 _has_bits_[0] |= 0x00000004u;
5092}
5093inline void AccountFieldTags::clear_has_parental_control_info_tag() {
5094 _has_bits_[0] &= ~0x00000004u;
5095}
5096inline void AccountFieldTags::clear_parental_control_info_tag() {
5097 parental_control_info_tag_ = 0u;
5098 clear_has_parental_control_info_tag();
5099}
5100inline ::google::protobuf::uint32 AccountFieldTags::parental_control_info_tag() const {
5101 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.parental_control_info_tag)
5102 return parental_control_info_tag_;
5103}
5104inline void AccountFieldTags::set_parental_control_info_tag(::google::protobuf::uint32 value) {
5105 set_has_parental_control_info_tag();
5106 parental_control_info_tag_ = value;
5107 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.parental_control_info_tag)
5108}
5109
5110// repeated .bgs.protocol.account.v1.ProgramTag game_level_info_tags = 7;
5111inline int AccountFieldTags::game_level_info_tags_size() const {
5112 return game_level_info_tags_.size();
5113}
5114inline void AccountFieldTags::clear_game_level_info_tags() {
5115 game_level_info_tags_.Clear();
5116}
5117inline const ::bgs::protocol::account::v1::ProgramTag& AccountFieldTags::game_level_info_tags(int index) const {
5118 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5119 return game_level_info_tags_.Get(index);
5120}
5121inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::mutable_game_level_info_tags(int index) {
5122 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5123 return game_level_info_tags_.Mutable(index);
5124}
5125inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::add_game_level_info_tags() {
5126 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5127 return game_level_info_tags_.Add();
5128}
5129inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
5130AccountFieldTags::game_level_info_tags() const {
5131 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5132 return game_level_info_tags_;
5133}
5134inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
5135AccountFieldTags::mutable_game_level_info_tags() {
5136 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_level_info_tags)
5137 return &game_level_info_tags_;
5138}
5139
5140// repeated .bgs.protocol.account.v1.ProgramTag game_status_tags = 9;
5141inline int AccountFieldTags::game_status_tags_size() const {
5142 return game_status_tags_.size();
5143}
5144inline void AccountFieldTags::clear_game_status_tags() {
5145 game_status_tags_.Clear();
5146}
5147inline const ::bgs::protocol::account::v1::ProgramTag& AccountFieldTags::game_status_tags(int index) const {
5148 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5149 return game_status_tags_.Get(index);
5150}
5151inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::mutable_game_status_tags(int index) {
5152 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5153 return game_status_tags_.Mutable(index);
5154}
5155inline ::bgs::protocol::account::v1::ProgramTag* AccountFieldTags::add_game_status_tags() {
5156 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5157 return game_status_tags_.Add();
5158}
5159inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >&
5160AccountFieldTags::game_status_tags() const {
5161 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5162 return game_status_tags_;
5163}
5164inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag >*
5165AccountFieldTags::mutable_game_status_tags() {
5166 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_status_tags)
5167 return &game_status_tags_;
5168}
5169
5170// repeated .bgs.protocol.account.v1.RegionTag game_account_tags = 11;
5171inline int AccountFieldTags::game_account_tags_size() const {
5172 return game_account_tags_.size();
5173}
5174inline void AccountFieldTags::clear_game_account_tags() {
5175 game_account_tags_.Clear();
5176}
5177inline const ::bgs::protocol::account::v1::RegionTag& AccountFieldTags::game_account_tags(int index) const {
5178 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5179 return game_account_tags_.Get(index);
5180}
5181inline ::bgs::protocol::account::v1::RegionTag* AccountFieldTags::mutable_game_account_tags(int index) {
5182 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5183 return game_account_tags_.Mutable(index);
5184}
5185inline ::bgs::protocol::account::v1::RegionTag* AccountFieldTags::add_game_account_tags() {
5186 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5187 return game_account_tags_.Add();
5188}
5189inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >&
5190AccountFieldTags::game_account_tags() const {
5191 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5192 return game_account_tags_;
5193}
5194inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag >*
5195AccountFieldTags::mutable_game_account_tags() {
5196 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountFieldTags.game_account_tags)
5197 return &game_account_tags_;
5198}
5199
5200// optional fixed32 security_status_tag = 12;
5201inline bool AccountFieldTags::has_security_status_tag() const {
5202 return (_has_bits_[0] & 0x00000040u) != 0;
5203}
5204inline void AccountFieldTags::set_has_security_status_tag() {
5205 _has_bits_[0] |= 0x00000040u;
5206}
5207inline void AccountFieldTags::clear_has_security_status_tag() {
5208 _has_bits_[0] &= ~0x00000040u;
5209}
5210inline void AccountFieldTags::clear_security_status_tag() {
5211 security_status_tag_ = 0u;
5212 clear_has_security_status_tag();
5213}
5214inline ::google::protobuf::uint32 AccountFieldTags::security_status_tag() const {
5215 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldTags.security_status_tag)
5216 return security_status_tag_;
5217}
5218inline void AccountFieldTags::set_security_status_tag(::google::protobuf::uint32 value) {
5219 set_has_security_status_tag();
5220 security_status_tag_ = value;
5221 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldTags.security_status_tag)
5222}
5223
5224// -------------------------------------------------------------------
5225
5226// GameAccountFieldTags
5227
5228// optional fixed32 game_level_info_tag = 2;
5229inline bool GameAccountFieldTags::has_game_level_info_tag() const {
5230 return (_has_bits_[0] & 0x00000001u) != 0;
5231}
5232inline void GameAccountFieldTags::set_has_game_level_info_tag() {
5233 _has_bits_[0] |= 0x00000001u;
5234}
5235inline void GameAccountFieldTags::clear_has_game_level_info_tag() {
5236 _has_bits_[0] &= ~0x00000001u;
5237}
5238inline void GameAccountFieldTags::clear_game_level_info_tag() {
5239 game_level_info_tag_ = 0u;
5240 clear_has_game_level_info_tag();
5241}
5242inline ::google::protobuf::uint32 GameAccountFieldTags::game_level_info_tag() const {
5243 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_level_info_tag)
5244 return game_level_info_tag_;
5245}
5246inline void GameAccountFieldTags::set_game_level_info_tag(::google::protobuf::uint32 value) {
5247 set_has_game_level_info_tag();
5248 game_level_info_tag_ = value;
5249 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_level_info_tag)
5250}
5251
5252// optional fixed32 game_time_info_tag = 3;
5253inline bool GameAccountFieldTags::has_game_time_info_tag() const {
5254 return (_has_bits_[0] & 0x00000002u) != 0;
5255}
5256inline void GameAccountFieldTags::set_has_game_time_info_tag() {
5257 _has_bits_[0] |= 0x00000002u;
5258}
5259inline void GameAccountFieldTags::clear_has_game_time_info_tag() {
5260 _has_bits_[0] &= ~0x00000002u;
5261}
5262inline void GameAccountFieldTags::clear_game_time_info_tag() {
5263 game_time_info_tag_ = 0u;
5264 clear_has_game_time_info_tag();
5265}
5266inline ::google::protobuf::uint32 GameAccountFieldTags::game_time_info_tag() const {
5267 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_time_info_tag)
5268 return game_time_info_tag_;
5269}
5270inline void GameAccountFieldTags::set_game_time_info_tag(::google::protobuf::uint32 value) {
5271 set_has_game_time_info_tag();
5272 game_time_info_tag_ = value;
5273 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_time_info_tag)
5274}
5275
5276// optional fixed32 game_status_tag = 4;
5277inline bool GameAccountFieldTags::has_game_status_tag() const {
5278 return (_has_bits_[0] & 0x00000004u) != 0;
5279}
5280inline void GameAccountFieldTags::set_has_game_status_tag() {
5281 _has_bits_[0] |= 0x00000004u;
5282}
5283inline void GameAccountFieldTags::clear_has_game_status_tag() {
5284 _has_bits_[0] &= ~0x00000004u;
5285}
5286inline void GameAccountFieldTags::clear_game_status_tag() {
5287 game_status_tag_ = 0u;
5288 clear_has_game_status_tag();
5289}
5290inline ::google::protobuf::uint32 GameAccountFieldTags::game_status_tag() const {
5291 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.game_status_tag)
5292 return game_status_tag_;
5293}
5294inline void GameAccountFieldTags::set_game_status_tag(::google::protobuf::uint32 value) {
5295 set_has_game_status_tag();
5296 game_status_tag_ = value;
5297 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_status_tag)
5298}
5299
5300// optional fixed32 raf_info_tag = 5 [deprecated = true];
5301inline bool GameAccountFieldTags::has_raf_info_tag() const {
5302 return (_has_bits_[0] & 0x00000008u) != 0;
5303}
5304inline void GameAccountFieldTags::set_has_raf_info_tag() {
5305 _has_bits_[0] |= 0x00000008u;
5306}
5307inline void GameAccountFieldTags::clear_has_raf_info_tag() {
5308 _has_bits_[0] &= ~0x00000008u;
5309}
5310inline void GameAccountFieldTags::clear_raf_info_tag() {
5311 raf_info_tag_ = 0u;
5312 clear_has_raf_info_tag();
5313}
5314inline ::google::protobuf::uint32 GameAccountFieldTags::raf_info_tag() const {
5315 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldTags.raf_info_tag)
5316 return raf_info_tag_;
5317}
5318inline void GameAccountFieldTags::set_raf_info_tag(::google::protobuf::uint32 value) {
5319 set_has_raf_info_tag();
5320 raf_info_tag_ = value;
5321 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.raf_info_tag)
5322}
5323
5324// -------------------------------------------------------------------
5325
5326// AccountFieldOptions
5327
5328// optional bool all_fields = 1;
5329inline bool AccountFieldOptions::has_all_fields() const {
5330 return (_has_bits_[0] & 0x00000001u) != 0;
5331}
5332inline void AccountFieldOptions::set_has_all_fields() {
5333 _has_bits_[0] |= 0x00000001u;
5334}
5335inline void AccountFieldOptions::clear_has_all_fields() {
5336 _has_bits_[0] &= ~0x00000001u;
5337}
5338inline void AccountFieldOptions::clear_all_fields() {
5339 all_fields_ = false;
5340 clear_has_all_fields();
5341}
5342inline bool AccountFieldOptions::all_fields() const {
5343 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.all_fields)
5344 return all_fields_;
5345}
5346inline void AccountFieldOptions::set_all_fields(bool value) {
5347 set_has_all_fields();
5348 all_fields_ = value;
5349 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.all_fields)
5350}
5351
5352// optional bool field_account_level_info = 2;
5353inline bool AccountFieldOptions::has_field_account_level_info() const {
5354 return (_has_bits_[0] & 0x00000002u) != 0;
5355}
5356inline void AccountFieldOptions::set_has_field_account_level_info() {
5357 _has_bits_[0] |= 0x00000002u;
5358}
5359inline void AccountFieldOptions::clear_has_field_account_level_info() {
5360 _has_bits_[0] &= ~0x00000002u;
5361}
5362inline void AccountFieldOptions::clear_field_account_level_info() {
5363 field_account_level_info_ = false;
5364 clear_has_field_account_level_info();
5365}
5366inline bool AccountFieldOptions::field_account_level_info() const {
5367 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_account_level_info)
5368 return field_account_level_info_;
5369}
5370inline void AccountFieldOptions::set_field_account_level_info(bool value) {
5371 set_has_field_account_level_info();
5372 field_account_level_info_ = value;
5373 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_account_level_info)
5374}
5375
5376// optional bool field_privacy_info = 3;
5377inline bool AccountFieldOptions::has_field_privacy_info() const {
5378 return (_has_bits_[0] & 0x00000004u) != 0;
5379}
5380inline void AccountFieldOptions::set_has_field_privacy_info() {
5381 _has_bits_[0] |= 0x00000004u;
5382}
5383inline void AccountFieldOptions::clear_has_field_privacy_info() {
5384 _has_bits_[0] &= ~0x00000004u;
5385}
5386inline void AccountFieldOptions::clear_field_privacy_info() {
5387 field_privacy_info_ = false;
5388 clear_has_field_privacy_info();
5389}
5390inline bool AccountFieldOptions::field_privacy_info() const {
5391 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_privacy_info)
5392 return field_privacy_info_;
5393}
5394inline void AccountFieldOptions::set_field_privacy_info(bool value) {
5395 set_has_field_privacy_info();
5396 field_privacy_info_ = value;
5397 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_privacy_info)
5398}
5399
5400// optional bool field_parental_control_info = 4;
5401inline bool AccountFieldOptions::has_field_parental_control_info() const {
5402 return (_has_bits_[0] & 0x00000008u) != 0;
5403}
5404inline void AccountFieldOptions::set_has_field_parental_control_info() {
5405 _has_bits_[0] |= 0x00000008u;
5406}
5407inline void AccountFieldOptions::clear_has_field_parental_control_info() {
5408 _has_bits_[0] &= ~0x00000008u;
5409}
5410inline void AccountFieldOptions::clear_field_parental_control_info() {
5411 field_parental_control_info_ = false;
5412 clear_has_field_parental_control_info();
5413}
5414inline bool AccountFieldOptions::field_parental_control_info() const {
5415 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_parental_control_info)
5416 return field_parental_control_info_;
5417}
5418inline void AccountFieldOptions::set_field_parental_control_info(bool value) {
5419 set_has_field_parental_control_info();
5420 field_parental_control_info_ = value;
5421 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_parental_control_info)
5422}
5423
5424// optional bool field_game_level_info = 6;
5425inline bool AccountFieldOptions::has_field_game_level_info() const {
5426 return (_has_bits_[0] & 0x00000010u) != 0;
5427}
5428inline void AccountFieldOptions::set_has_field_game_level_info() {
5429 _has_bits_[0] |= 0x00000010u;
5430}
5431inline void AccountFieldOptions::clear_has_field_game_level_info() {
5432 _has_bits_[0] &= ~0x00000010u;
5433}
5434inline void AccountFieldOptions::clear_field_game_level_info() {
5435 field_game_level_info_ = false;
5436 clear_has_field_game_level_info();
5437}
5438inline bool AccountFieldOptions::field_game_level_info() const {
5439 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_level_info)
5440 return field_game_level_info_;
5441}
5442inline void AccountFieldOptions::set_field_game_level_info(bool value) {
5443 set_has_field_game_level_info();
5444 field_game_level_info_ = value;
5445 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_level_info)
5446}
5447
5448// optional bool field_game_status = 7;
5449inline bool AccountFieldOptions::has_field_game_status() const {
5450 return (_has_bits_[0] & 0x00000020u) != 0;
5451}
5452inline void AccountFieldOptions::set_has_field_game_status() {
5453 _has_bits_[0] |= 0x00000020u;
5454}
5455inline void AccountFieldOptions::clear_has_field_game_status() {
5456 _has_bits_[0] &= ~0x00000020u;
5457}
5458inline void AccountFieldOptions::clear_field_game_status() {
5459 field_game_status_ = false;
5460 clear_has_field_game_status();
5461}
5462inline bool AccountFieldOptions::field_game_status() const {
5463 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_status)
5464 return field_game_status_;
5465}
5466inline void AccountFieldOptions::set_field_game_status(bool value) {
5467 set_has_field_game_status();
5468 field_game_status_ = value;
5469 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_status)
5470}
5471
5472// optional bool field_game_accounts = 8;
5473inline bool AccountFieldOptions::has_field_game_accounts() const {
5474 return (_has_bits_[0] & 0x00000040u) != 0;
5475}
5476inline void AccountFieldOptions::set_has_field_game_accounts() {
5477 _has_bits_[0] |= 0x00000040u;
5478}
5479inline void AccountFieldOptions::clear_has_field_game_accounts() {
5480 _has_bits_[0] &= ~0x00000040u;
5481}
5482inline void AccountFieldOptions::clear_field_game_accounts() {
5483 field_game_accounts_ = false;
5484 clear_has_field_game_accounts();
5485}
5486inline bool AccountFieldOptions::field_game_accounts() const {
5487 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_game_accounts)
5488 return field_game_accounts_;
5489}
5490inline void AccountFieldOptions::set_field_game_accounts(bool value) {
5491 set_has_field_game_accounts();
5492 field_game_accounts_ = value;
5493 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_game_accounts)
5494}
5495
5496// optional bool field_security_status = 9;
5497inline bool AccountFieldOptions::has_field_security_status() const {
5498 return (_has_bits_[0] & 0x00000080u) != 0;
5499}
5500inline void AccountFieldOptions::set_has_field_security_status() {
5501 _has_bits_[0] |= 0x00000080u;
5502}
5503inline void AccountFieldOptions::clear_has_field_security_status() {
5504 _has_bits_[0] &= ~0x00000080u;
5505}
5506inline void AccountFieldOptions::clear_field_security_status() {
5507 field_security_status_ = false;
5508 clear_has_field_security_status();
5509}
5510inline bool AccountFieldOptions::field_security_status() const {
5511 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFieldOptions.field_security_status)
5512 return field_security_status_;
5513}
5514inline void AccountFieldOptions::set_field_security_status(bool value) {
5515 set_has_field_security_status();
5516 field_security_status_ = value;
5517 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFieldOptions.field_security_status)
5518}
5519
5520// -------------------------------------------------------------------
5521
5522// GameAccountFieldOptions
5523
5524// optional bool all_fields = 1;
5525inline bool GameAccountFieldOptions::has_all_fields() const {
5526 return (_has_bits_[0] & 0x00000001u) != 0;
5527}
5528inline void GameAccountFieldOptions::set_has_all_fields() {
5529 _has_bits_[0] |= 0x00000001u;
5530}
5531inline void GameAccountFieldOptions::clear_has_all_fields() {
5532 _has_bits_[0] &= ~0x00000001u;
5533}
5534inline void GameAccountFieldOptions::clear_all_fields() {
5535 all_fields_ = false;
5536 clear_has_all_fields();
5537}
5538inline bool GameAccountFieldOptions::all_fields() const {
5539 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.all_fields)
5540 return all_fields_;
5541}
5542inline void GameAccountFieldOptions::set_all_fields(bool value) {
5543 set_has_all_fields();
5544 all_fields_ = value;
5545 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.all_fields)
5546}
5547
5548// optional bool field_game_level_info = 2;
5549inline bool GameAccountFieldOptions::has_field_game_level_info() const {
5550 return (_has_bits_[0] & 0x00000002u) != 0;
5551}
5552inline void GameAccountFieldOptions::set_has_field_game_level_info() {
5553 _has_bits_[0] |= 0x00000002u;
5554}
5555inline void GameAccountFieldOptions::clear_has_field_game_level_info() {
5556 _has_bits_[0] &= ~0x00000002u;
5557}
5558inline void GameAccountFieldOptions::clear_field_game_level_info() {
5559 field_game_level_info_ = false;
5560 clear_has_field_game_level_info();
5561}
5562inline bool GameAccountFieldOptions::field_game_level_info() const {
5563 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_level_info)
5564 return field_game_level_info_;
5565}
5566inline void GameAccountFieldOptions::set_field_game_level_info(bool value) {
5567 set_has_field_game_level_info();
5568 field_game_level_info_ = value;
5569 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_level_info)
5570}
5571
5572// optional bool field_game_time_info = 3;
5573inline bool GameAccountFieldOptions::has_field_game_time_info() const {
5574 return (_has_bits_[0] & 0x00000004u) != 0;
5575}
5576inline void GameAccountFieldOptions::set_has_field_game_time_info() {
5577 _has_bits_[0] |= 0x00000004u;
5578}
5579inline void GameAccountFieldOptions::clear_has_field_game_time_info() {
5580 _has_bits_[0] &= ~0x00000004u;
5581}
5582inline void GameAccountFieldOptions::clear_field_game_time_info() {
5583 field_game_time_info_ = false;
5584 clear_has_field_game_time_info();
5585}
5586inline bool GameAccountFieldOptions::field_game_time_info() const {
5587 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_time_info)
5588 return field_game_time_info_;
5589}
5590inline void GameAccountFieldOptions::set_field_game_time_info(bool value) {
5591 set_has_field_game_time_info();
5592 field_game_time_info_ = value;
5593 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_time_info)
5594}
5595
5596// optional bool field_game_status = 4;
5597inline bool GameAccountFieldOptions::has_field_game_status() const {
5598 return (_has_bits_[0] & 0x00000008u) != 0;
5599}
5600inline void GameAccountFieldOptions::set_has_field_game_status() {
5601 _has_bits_[0] |= 0x00000008u;
5602}
5603inline void GameAccountFieldOptions::clear_has_field_game_status() {
5604 _has_bits_[0] &= ~0x00000008u;
5605}
5606inline void GameAccountFieldOptions::clear_field_game_status() {
5607 field_game_status_ = false;
5608 clear_has_field_game_status();
5609}
5610inline bool GameAccountFieldOptions::field_game_status() const {
5611 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_status)
5612 return field_game_status_;
5613}
5614inline void GameAccountFieldOptions::set_field_game_status(bool value) {
5615 set_has_field_game_status();
5616 field_game_status_ = value;
5617 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_status)
5618}
5619
5620// optional bool field_raf_info = 5 [deprecated = true];
5621inline bool GameAccountFieldOptions::has_field_raf_info() const {
5622 return (_has_bits_[0] & 0x00000010u) != 0;
5623}
5624inline void GameAccountFieldOptions::set_has_field_raf_info() {
5625 _has_bits_[0] |= 0x00000010u;
5626}
5627inline void GameAccountFieldOptions::clear_has_field_raf_info() {
5628 _has_bits_[0] &= ~0x00000010u;
5629}
5630inline void GameAccountFieldOptions::clear_field_raf_info() {
5631 field_raf_info_ = false;
5632 clear_has_field_raf_info();
5633}
5634inline bool GameAccountFieldOptions::field_raf_info() const {
5635 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFieldOptions.field_raf_info)
5636 return field_raf_info_;
5637}
5638inline void GameAccountFieldOptions::set_field_raf_info(bool value) {
5639 set_has_field_raf_info();
5640 field_raf_info_ = value;
5641 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_raf_info)
5642}
5643
5644// -------------------------------------------------------------------
5645
5646// SubscriberReference
5647
5648// optional uint64 object_id = 1 [default = 0];
5649inline bool SubscriberReference::has_object_id() const {
5650 return (_has_bits_[0] & 0x00000001u) != 0;
5651}
5652inline void SubscriberReference::set_has_object_id() {
5653 _has_bits_[0] |= 0x00000001u;
5654}
5655inline void SubscriberReference::clear_has_object_id() {
5656 _has_bits_[0] &= ~0x00000001u;
5657}
5658inline void SubscriberReference::clear_object_id() {
5659 object_id_ = GOOGLE_ULONGLONG(0);
5660 clear_has_object_id();
5661}
5662inline ::google::protobuf::uint64 SubscriberReference::object_id() const {
5663 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.object_id)
5664 return object_id_;
5665}
5666inline void SubscriberReference::set_object_id(::google::protobuf::uint64 value) {
5667 set_has_object_id();
5668 object_id_ = value;
5669 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SubscriberReference.object_id)
5670}
5671
5672// optional .bgs.protocol.EntityId entity_id = 2;
5673inline bool SubscriberReference::has_entity_id() const {
5674 return (_has_bits_[0] & 0x00000002u) != 0;
5675}
5676inline void SubscriberReference::set_has_entity_id() {
5677 _has_bits_[0] |= 0x00000002u;
5678}
5679inline void SubscriberReference::clear_has_entity_id() {
5680 _has_bits_[0] &= ~0x00000002u;
5681}
5682inline void SubscriberReference::clear_entity_id() {
5683 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
5684 clear_has_entity_id();
5685}
5686inline const ::bgs::protocol::EntityId& SubscriberReference::entity_id() const {
5687 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.entity_id)
5688 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
5689}
5690inline ::bgs::protocol::EntityId* SubscriberReference::mutable_entity_id() {
5691 set_has_entity_id();
5692 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
5693 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.entity_id)
5694 return entity_id_;
5695}
5696inline ::bgs::protocol::EntityId* SubscriberReference::release_entity_id() {
5697 clear_has_entity_id();
5698 ::bgs::protocol::EntityId* temp = entity_id_;
5699 entity_id_ = NULL;
5700 return temp;
5701}
5702inline void SubscriberReference::set_allocated_entity_id(::bgs::protocol::EntityId* entity_id) {
5703 delete entity_id_;
5704 entity_id_ = entity_id;
5705 if (entity_id) {
5706 set_has_entity_id();
5707 } else {
5708 clear_has_entity_id();
5709 }
5710 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.entity_id)
5711}
5712
5713// optional .bgs.protocol.account.v1.AccountFieldOptions account_options = 3;
5714inline bool SubscriberReference::has_account_options() const {
5715 return (_has_bits_[0] & 0x00000004u) != 0;
5716}
5717inline void SubscriberReference::set_has_account_options() {
5718 _has_bits_[0] |= 0x00000004u;
5719}
5720inline void SubscriberReference::clear_has_account_options() {
5721 _has_bits_[0] &= ~0x00000004u;
5722}
5723inline void SubscriberReference::clear_account_options() {
5724 if (account_options_ != NULL) account_options_->::bgs::protocol::account::v1::AccountFieldOptions::Clear();
5725 clear_has_account_options();
5726}
5727inline const ::bgs::protocol::account::v1::AccountFieldOptions& SubscriberReference::account_options() const {
5728 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.account_options)
5729 return account_options_ != NULL ? *account_options_ : *default_instance_->account_options_;
5730}
5731inline ::bgs::protocol::account::v1::AccountFieldOptions* SubscriberReference::mutable_account_options() {
5732 set_has_account_options();
5733 if (account_options_ == NULL) account_options_ = new ::bgs::protocol::account::v1::AccountFieldOptions;
5734 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.account_options)
5735 return account_options_;
5736}
5737inline ::bgs::protocol::account::v1::AccountFieldOptions* SubscriberReference::release_account_options() {
5738 clear_has_account_options();
5740 account_options_ = NULL;
5741 return temp;
5742}
5743inline void SubscriberReference::set_allocated_account_options(::bgs::protocol::account::v1::AccountFieldOptions* account_options) {
5744 delete account_options_;
5745 account_options_ = account_options;
5746 if (account_options) {
5747 set_has_account_options();
5748 } else {
5749 clear_has_account_options();
5750 }
5751 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.account_options)
5752}
5753
5754// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 4;
5755inline bool SubscriberReference::has_account_tags() const {
5756 return (_has_bits_[0] & 0x00000008u) != 0;
5757}
5758inline void SubscriberReference::set_has_account_tags() {
5759 _has_bits_[0] |= 0x00000008u;
5760}
5761inline void SubscriberReference::clear_has_account_tags() {
5762 _has_bits_[0] &= ~0x00000008u;
5763}
5764inline void SubscriberReference::clear_account_tags() {
5765 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
5766 clear_has_account_tags();
5767}
5768inline const ::bgs::protocol::account::v1::AccountFieldTags& SubscriberReference::account_tags() const {
5769 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.account_tags)
5770 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
5771}
5772inline ::bgs::protocol::account::v1::AccountFieldTags* SubscriberReference::mutable_account_tags() {
5773 set_has_account_tags();
5774 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
5775 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.account_tags)
5776 return account_tags_;
5777}
5778inline ::bgs::protocol::account::v1::AccountFieldTags* SubscriberReference::release_account_tags() {
5779 clear_has_account_tags();
5781 account_tags_ = NULL;
5782 return temp;
5783}
5784inline void SubscriberReference::set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags) {
5785 delete account_tags_;
5786 account_tags_ = account_tags;
5787 if (account_tags) {
5788 set_has_account_tags();
5789 } else {
5790 clear_has_account_tags();
5791 }
5792 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.account_tags)
5793}
5794
5795// optional .bgs.protocol.account.v1.GameAccountFieldOptions game_account_options = 5;
5796inline bool SubscriberReference::has_game_account_options() const {
5797 return (_has_bits_[0] & 0x00000010u) != 0;
5798}
5799inline void SubscriberReference::set_has_game_account_options() {
5800 _has_bits_[0] |= 0x00000010u;
5801}
5802inline void SubscriberReference::clear_has_game_account_options() {
5803 _has_bits_[0] &= ~0x00000010u;
5804}
5805inline void SubscriberReference::clear_game_account_options() {
5806 if (game_account_options_ != NULL) game_account_options_->::bgs::protocol::account::v1::GameAccountFieldOptions::Clear();
5807 clear_has_game_account_options();
5808}
5809inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& SubscriberReference::game_account_options() const {
5810 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5811 return game_account_options_ != NULL ? *game_account_options_ : *default_instance_->game_account_options_;
5812}
5813inline ::bgs::protocol::account::v1::GameAccountFieldOptions* SubscriberReference::mutable_game_account_options() {
5814 set_has_game_account_options();
5815 if (game_account_options_ == NULL) game_account_options_ = new ::bgs::protocol::account::v1::GameAccountFieldOptions;
5816 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5817 return game_account_options_;
5818}
5819inline ::bgs::protocol::account::v1::GameAccountFieldOptions* SubscriberReference::release_game_account_options() {
5820 clear_has_game_account_options();
5821 ::bgs::protocol::account::v1::GameAccountFieldOptions* temp = game_account_options_;
5822 game_account_options_ = NULL;
5823 return temp;
5824}
5825inline void SubscriberReference::set_allocated_game_account_options(::bgs::protocol::account::v1::GameAccountFieldOptions* game_account_options) {
5826 delete game_account_options_;
5827 game_account_options_ = game_account_options;
5828 if (game_account_options) {
5829 set_has_game_account_options();
5830 } else {
5831 clear_has_game_account_options();
5832 }
5833 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.game_account_options)
5834}
5835
5836// optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 6;
5837inline bool SubscriberReference::has_game_account_tags() const {
5838 return (_has_bits_[0] & 0x00000020u) != 0;
5839}
5840inline void SubscriberReference::set_has_game_account_tags() {
5841 _has_bits_[0] |= 0x00000020u;
5842}
5843inline void SubscriberReference::clear_has_game_account_tags() {
5844 _has_bits_[0] &= ~0x00000020u;
5845}
5846inline void SubscriberReference::clear_game_account_tags() {
5847 if (game_account_tags_ != NULL) game_account_tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
5848 clear_has_game_account_tags();
5849}
5850inline const ::bgs::protocol::account::v1::GameAccountFieldTags& SubscriberReference::game_account_tags() const {
5851 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5852 return game_account_tags_ != NULL ? *game_account_tags_ : *default_instance_->game_account_tags_;
5853}
5854inline ::bgs::protocol::account::v1::GameAccountFieldTags* SubscriberReference::mutable_game_account_tags() {
5855 set_has_game_account_tags();
5856 if (game_account_tags_ == NULL) game_account_tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
5857 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5858 return game_account_tags_;
5859}
5860inline ::bgs::protocol::account::v1::GameAccountFieldTags* SubscriberReference::release_game_account_tags() {
5861 clear_has_game_account_tags();
5862 ::bgs::protocol::account::v1::GameAccountFieldTags* temp = game_account_tags_;
5863 game_account_tags_ = NULL;
5864 return temp;
5865}
5866inline void SubscriberReference::set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags) {
5867 delete game_account_tags_;
5868 game_account_tags_ = game_account_tags;
5869 if (game_account_tags) {
5870 set_has_game_account_tags();
5871 } else {
5872 clear_has_game_account_tags();
5873 }
5874 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.SubscriberReference.game_account_tags)
5875}
5876
5877// optional uint64 subscriber_id = 7 [default = 0];
5878inline bool SubscriberReference::has_subscriber_id() const {
5879 return (_has_bits_[0] & 0x00000040u) != 0;
5880}
5881inline void SubscriberReference::set_has_subscriber_id() {
5882 _has_bits_[0] |= 0x00000040u;
5883}
5884inline void SubscriberReference::clear_has_subscriber_id() {
5885 _has_bits_[0] &= ~0x00000040u;
5886}
5887inline void SubscriberReference::clear_subscriber_id() {
5888 subscriber_id_ = GOOGLE_ULONGLONG(0);
5889 clear_has_subscriber_id();
5890}
5891inline ::google::protobuf::uint64 SubscriberReference::subscriber_id() const {
5892 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriberReference.subscriber_id)
5893 return subscriber_id_;
5894}
5895inline void SubscriberReference::set_subscriber_id(::google::protobuf::uint64 value) {
5896 set_has_subscriber_id();
5897 subscriber_id_ = value;
5898 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SubscriberReference.subscriber_id)
5899}
5900
5901// -------------------------------------------------------------------
5902
5903// OptIns
5904
5905// repeated uint64 ids = 1 [packed = true];
5906inline int OptIns::ids_size() const {
5907 return ids_.size();
5908}
5909inline void OptIns::clear_ids() {
5910 ids_.Clear();
5911}
5912inline ::google::protobuf::uint64 OptIns::ids(int index) const {
5913 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.OptIns.ids)
5914 return ids_.Get(index);
5915}
5916inline void OptIns::set_ids(int index, ::google::protobuf::uint64 value) {
5917 ids_.Set(index, value);
5918 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.OptIns.ids)
5919}
5920inline void OptIns::add_ids(::google::protobuf::uint64 value) {
5921 ids_.Add(value);
5922 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.OptIns.ids)
5923}
5924inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
5925OptIns::ids() const {
5926 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.OptIns.ids)
5927 return ids_;
5928}
5929inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
5930OptIns::mutable_ids() {
5931 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.OptIns.ids)
5932 return &ids_;
5933}
5934
5935// -------------------------------------------------------------------
5936
5937// AccountLevelInfo
5938
5939// repeated .bgs.protocol.account.v1.AccountLicense licenses = 3;
5940inline int AccountLevelInfo::licenses_size() const {
5941 return licenses_.size();
5942}
5943inline void AccountLevelInfo::clear_licenses() {
5944 licenses_.Clear();
5945}
5946inline const ::bgs::protocol::account::v1::AccountLicense& AccountLevelInfo::licenses(int index) const {
5947 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5948 return licenses_.Get(index);
5949}
5950inline ::bgs::protocol::account::v1::AccountLicense* AccountLevelInfo::mutable_licenses(int index) {
5951 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5952 return licenses_.Mutable(index);
5953}
5954inline ::bgs::protocol::account::v1::AccountLicense* AccountLevelInfo::add_licenses() {
5955 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5956 return licenses_.Add();
5957}
5958inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
5959AccountLevelInfo::licenses() const {
5960 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5961 return licenses_;
5962}
5963inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
5964AccountLevelInfo::mutable_licenses() {
5965 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountLevelInfo.licenses)
5966 return &licenses_;
5967}
5968
5969// optional fixed32 default_currency = 4;
5970inline bool AccountLevelInfo::has_default_currency() const {
5971 return (_has_bits_[0] & 0x00000002u) != 0;
5972}
5973inline void AccountLevelInfo::set_has_default_currency() {
5974 _has_bits_[0] |= 0x00000002u;
5975}
5976inline void AccountLevelInfo::clear_has_default_currency() {
5977 _has_bits_[0] &= ~0x00000002u;
5978}
5979inline void AccountLevelInfo::clear_default_currency() {
5980 default_currency_ = 0u;
5981 clear_has_default_currency();
5982}
5983inline ::google::protobuf::uint32 AccountLevelInfo::default_currency() const {
5984 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.default_currency)
5985 return default_currency_;
5986}
5987inline void AccountLevelInfo::set_default_currency(::google::protobuf::uint32 value) {
5988 set_has_default_currency();
5989 default_currency_ = value;
5990 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.default_currency)
5991}
5992
5993// optional string country = 5;
5994inline bool AccountLevelInfo::has_country() const {
5995 return (_has_bits_[0] & 0x00000004u) != 0;
5996}
5997inline void AccountLevelInfo::set_has_country() {
5998 _has_bits_[0] |= 0x00000004u;
5999}
6000inline void AccountLevelInfo::clear_has_country() {
6001 _has_bits_[0] &= ~0x00000004u;
6002}
6003inline void AccountLevelInfo::clear_country() {
6004 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6005 country_->clear();
6006 }
6007 clear_has_country();
6008}
6009inline const ::std::string& AccountLevelInfo::country() const {
6010 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.country)
6011 return *country_;
6012}
6013inline void AccountLevelInfo::set_country(const ::std::string& value) {
6014 set_has_country();
6015 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6016 country_ = new ::std::string;
6017 }
6018 country_->assign(value);
6019 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.country)
6020}
6021inline void AccountLevelInfo::set_country(const char* value) {
6022 set_has_country();
6023 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6024 country_ = new ::std::string;
6025 }
6026 country_->assign(value);
6027 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.country)
6028}
6029inline void AccountLevelInfo::set_country(const char* value, size_t size) {
6030 set_has_country();
6031 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6032 country_ = new ::std::string;
6033 }
6034 country_->assign(reinterpret_cast<const char*>(value), size);
6035 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.country)
6036}
6037inline ::std::string* AccountLevelInfo::mutable_country() {
6038 set_has_country();
6039 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6040 country_ = new ::std::string;
6041 }
6042 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.country)
6043 return country_;
6044}
6045inline ::std::string* AccountLevelInfo::release_country() {
6046 clear_has_country();
6047 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6048 return NULL;
6049 } else {
6050 ::std::string* temp = country_;
6051 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6052 return temp;
6053 }
6054}
6055inline void AccountLevelInfo::set_allocated_country(::std::string* country) {
6056 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6057 delete country_;
6058 }
6059 if (country) {
6060 set_has_country();
6061 country_ = country;
6062 } else {
6063 clear_has_country();
6064 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6065 }
6066 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.country)
6067}
6068
6069// optional uint32 preferred_region = 6;
6070inline bool AccountLevelInfo::has_preferred_region() const {
6071 return (_has_bits_[0] & 0x00000008u) != 0;
6072}
6073inline void AccountLevelInfo::set_has_preferred_region() {
6074 _has_bits_[0] |= 0x00000008u;
6075}
6076inline void AccountLevelInfo::clear_has_preferred_region() {
6077 _has_bits_[0] &= ~0x00000008u;
6078}
6079inline void AccountLevelInfo::clear_preferred_region() {
6080 preferred_region_ = 0u;
6081 clear_has_preferred_region();
6082}
6083inline ::google::protobuf::uint32 AccountLevelInfo::preferred_region() const {
6084 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.preferred_region)
6085 return preferred_region_;
6086}
6087inline void AccountLevelInfo::set_preferred_region(::google::protobuf::uint32 value) {
6088 set_has_preferred_region();
6089 preferred_region_ = value;
6090 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.preferred_region)
6091}
6092
6093// optional string full_name = 7;
6094inline bool AccountLevelInfo::has_full_name() const {
6095 return (_has_bits_[0] & 0x00000010u) != 0;
6096}
6097inline void AccountLevelInfo::set_has_full_name() {
6098 _has_bits_[0] |= 0x00000010u;
6099}
6100inline void AccountLevelInfo::clear_has_full_name() {
6101 _has_bits_[0] &= ~0x00000010u;
6102}
6103inline void AccountLevelInfo::clear_full_name() {
6104 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6105 full_name_->clear();
6106 }
6107 clear_has_full_name();
6108}
6109inline const ::std::string& AccountLevelInfo::full_name() const {
6110 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6111 return *full_name_;
6112}
6113inline void AccountLevelInfo::set_full_name(const ::std::string& value) {
6114 set_has_full_name();
6115 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6116 full_name_ = new ::std::string;
6117 }
6118 full_name_->assign(value);
6119 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6120}
6121inline void AccountLevelInfo::set_full_name(const char* value) {
6122 set_has_full_name();
6123 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6124 full_name_ = new ::std::string;
6125 }
6126 full_name_->assign(value);
6127 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6128}
6129inline void AccountLevelInfo::set_full_name(const char* value, size_t size) {
6130 set_has_full_name();
6131 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6132 full_name_ = new ::std::string;
6133 }
6134 full_name_->assign(reinterpret_cast<const char*>(value), size);
6135 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6136}
6137inline ::std::string* AccountLevelInfo::mutable_full_name() {
6138 set_has_full_name();
6139 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6140 full_name_ = new ::std::string;
6141 }
6142 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6143 return full_name_;
6144}
6145inline ::std::string* AccountLevelInfo::release_full_name() {
6146 clear_has_full_name();
6147 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6148 return NULL;
6149 } else {
6150 ::std::string* temp = full_name_;
6151 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6152 return temp;
6153 }
6154}
6155inline void AccountLevelInfo::set_allocated_full_name(::std::string* full_name) {
6156 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6157 delete full_name_;
6158 }
6159 if (full_name) {
6160 set_has_full_name();
6161 full_name_ = full_name;
6162 } else {
6163 clear_has_full_name();
6164 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6165 }
6166 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.full_name)
6167}
6168
6169// optional string battle_tag = 8;
6170inline bool AccountLevelInfo::has_battle_tag() const {
6171 return (_has_bits_[0] & 0x00000020u) != 0;
6172}
6173inline void AccountLevelInfo::set_has_battle_tag() {
6174 _has_bits_[0] |= 0x00000020u;
6175}
6176inline void AccountLevelInfo::clear_has_battle_tag() {
6177 _has_bits_[0] &= ~0x00000020u;
6178}
6179inline void AccountLevelInfo::clear_battle_tag() {
6180 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6181 battle_tag_->clear();
6182 }
6183 clear_has_battle_tag();
6184}
6185inline const ::std::string& AccountLevelInfo::battle_tag() const {
6186 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6187 return *battle_tag_;
6188}
6189inline void AccountLevelInfo::set_battle_tag(const ::std::string& value) {
6190 set_has_battle_tag();
6191 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6192 battle_tag_ = new ::std::string;
6193 }
6194 battle_tag_->assign(value);
6195 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6196}
6197inline void AccountLevelInfo::set_battle_tag(const char* value) {
6198 set_has_battle_tag();
6199 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6200 battle_tag_ = new ::std::string;
6201 }
6202 battle_tag_->assign(value);
6203 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6204}
6205inline void AccountLevelInfo::set_battle_tag(const char* value, size_t size) {
6206 set_has_battle_tag();
6207 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6208 battle_tag_ = new ::std::string;
6209 }
6210 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
6211 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6212}
6213inline ::std::string* AccountLevelInfo::mutable_battle_tag() {
6214 set_has_battle_tag();
6215 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6216 battle_tag_ = new ::std::string;
6217 }
6218 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6219 return battle_tag_;
6220}
6221inline ::std::string* AccountLevelInfo::release_battle_tag() {
6222 clear_has_battle_tag();
6223 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6224 return NULL;
6225 } else {
6226 ::std::string* temp = battle_tag_;
6227 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6228 return temp;
6229 }
6230}
6231inline void AccountLevelInfo::set_allocated_battle_tag(::std::string* battle_tag) {
6232 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6233 delete battle_tag_;
6234 }
6235 if (battle_tag) {
6236 set_has_battle_tag();
6237 battle_tag_ = battle_tag;
6238 } else {
6239 clear_has_battle_tag();
6240 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6241 }
6242 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.battle_tag)
6243}
6244
6245// optional bool muted = 9;
6246inline bool AccountLevelInfo::has_muted() const {
6247 return (_has_bits_[0] & 0x00000040u) != 0;
6248}
6249inline void AccountLevelInfo::set_has_muted() {
6250 _has_bits_[0] |= 0x00000040u;
6251}
6252inline void AccountLevelInfo::clear_has_muted() {
6253 _has_bits_[0] &= ~0x00000040u;
6254}
6255inline void AccountLevelInfo::clear_muted() {
6256 muted_ = false;
6257 clear_has_muted();
6258}
6259inline bool AccountLevelInfo::muted() const {
6260 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.muted)
6261 return muted_;
6262}
6263inline void AccountLevelInfo::set_muted(bool value) {
6264 set_has_muted();
6265 muted_ = value;
6266 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.muted)
6267}
6268
6269// optional bool manual_review = 10;
6270inline bool AccountLevelInfo::has_manual_review() const {
6271 return (_has_bits_[0] & 0x00000080u) != 0;
6272}
6273inline void AccountLevelInfo::set_has_manual_review() {
6274 _has_bits_[0] |= 0x00000080u;
6275}
6276inline void AccountLevelInfo::clear_has_manual_review() {
6277 _has_bits_[0] &= ~0x00000080u;
6278}
6279inline void AccountLevelInfo::clear_manual_review() {
6280 manual_review_ = false;
6281 clear_has_manual_review();
6282}
6283inline bool AccountLevelInfo::manual_review() const {
6284 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.manual_review)
6285 return manual_review_;
6286}
6287inline void AccountLevelInfo::set_manual_review(bool value) {
6288 set_has_manual_review();
6289 manual_review_ = value;
6290 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.manual_review)
6291}
6292
6293// optional bool account_paid_any = 11;
6294inline bool AccountLevelInfo::has_account_paid_any() const {
6295 return (_has_bits_[0] & 0x00000100u) != 0;
6296}
6297inline void AccountLevelInfo::set_has_account_paid_any() {
6298 _has_bits_[0] |= 0x00000100u;
6299}
6300inline void AccountLevelInfo::clear_has_account_paid_any() {
6301 _has_bits_[0] &= ~0x00000100u;
6302}
6303inline void AccountLevelInfo::clear_account_paid_any() {
6304 account_paid_any_ = false;
6305 clear_has_account_paid_any();
6306}
6307inline bool AccountLevelInfo::account_paid_any() const {
6308 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.account_paid_any)
6309 return account_paid_any_;
6310}
6311inline void AccountLevelInfo::set_account_paid_any(bool value) {
6312 set_has_account_paid_any();
6313 account_paid_any_ = value;
6314 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.account_paid_any)
6315}
6316
6317// optional .bgs.protocol.account.v1.IdentityVerificationStatus identity_check_status = 12;
6318inline bool AccountLevelInfo::has_identity_check_status() const {
6319 return (_has_bits_[0] & 0x00000200u) != 0;
6320}
6321inline void AccountLevelInfo::set_has_identity_check_status() {
6322 _has_bits_[0] |= 0x00000200u;
6323}
6324inline void AccountLevelInfo::clear_has_identity_check_status() {
6325 _has_bits_[0] &= ~0x00000200u;
6326}
6327inline void AccountLevelInfo::clear_identity_check_status() {
6328 identity_check_status_ = 0;
6329 clear_has_identity_check_status();
6330}
6331inline ::bgs::protocol::account::v1::IdentityVerificationStatus AccountLevelInfo::identity_check_status() const {
6332 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.identity_check_status)
6333 return static_cast< ::bgs::protocol::account::v1::IdentityVerificationStatus >(identity_check_status_);
6334}
6335inline void AccountLevelInfo::set_identity_check_status(::bgs::protocol::account::v1::IdentityVerificationStatus value) {
6337 set_has_identity_check_status();
6338 identity_check_status_ = value;
6339 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.identity_check_status)
6340}
6341
6342// optional string email = 13;
6343inline bool AccountLevelInfo::has_email() const {
6344 return (_has_bits_[0] & 0x00000400u) != 0;
6345}
6346inline void AccountLevelInfo::set_has_email() {
6347 _has_bits_[0] |= 0x00000400u;
6348}
6349inline void AccountLevelInfo::clear_has_email() {
6350 _has_bits_[0] &= ~0x00000400u;
6351}
6352inline void AccountLevelInfo::clear_email() {
6353 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6354 email_->clear();
6355 }
6356 clear_has_email();
6357}
6358inline const ::std::string& AccountLevelInfo::email() const {
6359 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.email)
6360 return *email_;
6361}
6362inline void AccountLevelInfo::set_email(const ::std::string& value) {
6363 set_has_email();
6364 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6365 email_ = new ::std::string;
6366 }
6367 email_->assign(value);
6368 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.email)
6369}
6370inline void AccountLevelInfo::set_email(const char* value) {
6371 set_has_email();
6372 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6373 email_ = new ::std::string;
6374 }
6375 email_->assign(value);
6376 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.email)
6377}
6378inline void AccountLevelInfo::set_email(const char* value, size_t size) {
6379 set_has_email();
6380 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6381 email_ = new ::std::string;
6382 }
6383 email_->assign(reinterpret_cast<const char*>(value), size);
6384 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.email)
6385}
6386inline ::std::string* AccountLevelInfo::mutable_email() {
6387 set_has_email();
6388 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6389 email_ = new ::std::string;
6390 }
6391 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.email)
6392 return email_;
6393}
6394inline ::std::string* AccountLevelInfo::release_email() {
6395 clear_has_email();
6396 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6397 return NULL;
6398 } else {
6399 ::std::string* temp = email_;
6400 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6401 return temp;
6402 }
6403}
6404inline void AccountLevelInfo::set_allocated_email(::std::string* email) {
6405 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6406 delete email_;
6407 }
6408 if (email) {
6409 set_has_email();
6410 email_ = email;
6411 } else {
6412 clear_has_email();
6413 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6414 }
6415 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.email)
6416}
6417
6418// optional bool headless_account = 14;
6419inline bool AccountLevelInfo::has_headless_account() const {
6420 return (_has_bits_[0] & 0x00000800u) != 0;
6421}
6422inline void AccountLevelInfo::set_has_headless_account() {
6423 _has_bits_[0] |= 0x00000800u;
6424}
6425inline void AccountLevelInfo::clear_has_headless_account() {
6426 _has_bits_[0] &= ~0x00000800u;
6427}
6428inline void AccountLevelInfo::clear_headless_account() {
6429 headless_account_ = false;
6430 clear_has_headless_account();
6431}
6432inline bool AccountLevelInfo::headless_account() const {
6433 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.headless_account)
6434 return headless_account_;
6435}
6436inline void AccountLevelInfo::set_headless_account(bool value) {
6437 set_has_headless_account();
6438 headless_account_ = value;
6439 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.headless_account)
6440}
6441
6442// optional bool test_account = 15;
6443inline bool AccountLevelInfo::has_test_account() const {
6444 return (_has_bits_[0] & 0x00001000u) != 0;
6445}
6446inline void AccountLevelInfo::set_has_test_account() {
6447 _has_bits_[0] |= 0x00001000u;
6448}
6449inline void AccountLevelInfo::clear_has_test_account() {
6450 _has_bits_[0] &= ~0x00001000u;
6451}
6452inline void AccountLevelInfo::clear_test_account() {
6453 test_account_ = false;
6454 clear_has_test_account();
6455}
6456inline bool AccountLevelInfo::test_account() const {
6457 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.test_account)
6458 return test_account_;
6459}
6460inline void AccountLevelInfo::set_test_account(bool value) {
6461 set_has_test_account();
6462 test_account_ = value;
6463 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.test_account)
6464}
6465
6466// optional bool is_sms_protected = 17;
6467inline bool AccountLevelInfo::has_is_sms_protected() const {
6468 return (_has_bits_[0] & 0x00002000u) != 0;
6469}
6470inline void AccountLevelInfo::set_has_is_sms_protected() {
6471 _has_bits_[0] |= 0x00002000u;
6472}
6473inline void AccountLevelInfo::clear_has_is_sms_protected() {
6474 _has_bits_[0] &= ~0x00002000u;
6475}
6476inline void AccountLevelInfo::clear_is_sms_protected() {
6477 is_sms_protected_ = false;
6478 clear_has_is_sms_protected();
6479}
6480inline bool AccountLevelInfo::is_sms_protected() const {
6481 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.is_sms_protected)
6482 return is_sms_protected_;
6483}
6484inline void AccountLevelInfo::set_is_sms_protected(bool value) {
6485 set_has_is_sms_protected();
6486 is_sms_protected_ = value;
6487 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.is_sms_protected)
6488}
6489
6490// optional uint32 ratings_board_minimum_age = 18;
6491inline bool AccountLevelInfo::has_ratings_board_minimum_age() const {
6492 return (_has_bits_[0] & 0x00004000u) != 0;
6493}
6494inline void AccountLevelInfo::set_has_ratings_board_minimum_age() {
6495 _has_bits_[0] |= 0x00004000u;
6496}
6497inline void AccountLevelInfo::clear_has_ratings_board_minimum_age() {
6498 _has_bits_[0] &= ~0x00004000u;
6499}
6500inline void AccountLevelInfo::clear_ratings_board_minimum_age() {
6501 ratings_board_minimum_age_ = 0u;
6502 clear_has_ratings_board_minimum_age();
6503}
6504inline ::google::protobuf::uint32 AccountLevelInfo::ratings_board_minimum_age() const {
6505 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.ratings_board_minimum_age)
6506 return ratings_board_minimum_age_;
6507}
6508inline void AccountLevelInfo::set_ratings_board_minimum_age(::google::protobuf::uint32 value) {
6509 set_has_ratings_board_minimum_age();
6510 ratings_board_minimum_age_ = value;
6511 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.ratings_board_minimum_age)
6512}
6513
6514// optional string phone_number = 19;
6515inline bool AccountLevelInfo::has_phone_number() const {
6516 return (_has_bits_[0] & 0x00008000u) != 0;
6517}
6518inline void AccountLevelInfo::set_has_phone_number() {
6519 _has_bits_[0] |= 0x00008000u;
6520}
6521inline void AccountLevelInfo::clear_has_phone_number() {
6522 _has_bits_[0] &= ~0x00008000u;
6523}
6524inline void AccountLevelInfo::clear_phone_number() {
6525 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6526 phone_number_->clear();
6527 }
6528 clear_has_phone_number();
6529}
6530inline const ::std::string& AccountLevelInfo::phone_number() const {
6531 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6532 return *phone_number_;
6533}
6534inline void AccountLevelInfo::set_phone_number(const ::std::string& value) {
6535 set_has_phone_number();
6536 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6537 phone_number_ = new ::std::string;
6538 }
6539 phone_number_->assign(value);
6540 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6541}
6542inline void AccountLevelInfo::set_phone_number(const char* value) {
6543 set_has_phone_number();
6544 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6545 phone_number_ = new ::std::string;
6546 }
6547 phone_number_->assign(value);
6548 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6549}
6550inline void AccountLevelInfo::set_phone_number(const char* value, size_t size) {
6551 set_has_phone_number();
6552 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6553 phone_number_ = new ::std::string;
6554 }
6555 phone_number_->assign(reinterpret_cast<const char*>(value), size);
6556 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6557}
6558inline ::std::string* AccountLevelInfo::mutable_phone_number() {
6559 set_has_phone_number();
6560 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6561 phone_number_ = new ::std::string;
6562 }
6563 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6564 return phone_number_;
6565}
6566inline ::std::string* AccountLevelInfo::release_phone_number() {
6567 clear_has_phone_number();
6568 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6569 return NULL;
6570 } else {
6571 ::std::string* temp = phone_number_;
6572 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6573 return temp;
6574 }
6575}
6576inline void AccountLevelInfo::set_allocated_phone_number(::std::string* phone_number) {
6577 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6578 delete phone_number_;
6579 }
6580 if (phone_number) {
6581 set_has_phone_number();
6582 phone_number_ = phone_number;
6583 } else {
6584 clear_has_phone_number();
6585 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6586 }
6587 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
6588}
6589
6590// optional string birthdate = 20;
6591inline bool AccountLevelInfo::has_birthdate() const {
6592 return (_has_bits_[0] & 0x00010000u) != 0;
6593}
6594inline void AccountLevelInfo::set_has_birthdate() {
6595 _has_bits_[0] |= 0x00010000u;
6596}
6597inline void AccountLevelInfo::clear_has_birthdate() {
6598 _has_bits_[0] &= ~0x00010000u;
6599}
6600inline void AccountLevelInfo::clear_birthdate() {
6601 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6602 birthdate_->clear();
6603 }
6604 clear_has_birthdate();
6605}
6606inline const ::std::string& AccountLevelInfo::birthdate() const {
6607 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6608 return *birthdate_;
6609}
6610inline void AccountLevelInfo::set_birthdate(const ::std::string& value) {
6611 set_has_birthdate();
6612 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6613 birthdate_ = new ::std::string;
6614 }
6615 birthdate_->assign(value);
6616 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6617}
6618inline void AccountLevelInfo::set_birthdate(const char* value) {
6619 set_has_birthdate();
6620 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6621 birthdate_ = new ::std::string;
6622 }
6623 birthdate_->assign(value);
6624 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6625}
6626inline void AccountLevelInfo::set_birthdate(const char* value, size_t size) {
6627 set_has_birthdate();
6628 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6629 birthdate_ = new ::std::string;
6630 }
6631 birthdate_->assign(reinterpret_cast<const char*>(value), size);
6632 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6633}
6634inline ::std::string* AccountLevelInfo::mutable_birthdate() {
6635 set_has_birthdate();
6636 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6637 birthdate_ = new ::std::string;
6638 }
6639 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6640 return birthdate_;
6641}
6642inline ::std::string* AccountLevelInfo::release_birthdate() {
6643 clear_has_birthdate();
6644 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6645 return NULL;
6646 } else {
6647 ::std::string* temp = birthdate_;
6648 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6649 return temp;
6650 }
6651}
6652inline void AccountLevelInfo::set_allocated_birthdate(::std::string* birthdate) {
6653 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6654 delete birthdate_;
6655 }
6656 if (birthdate) {
6657 set_has_birthdate();
6658 birthdate_ = birthdate;
6659 } else {
6660 clear_has_birthdate();
6661 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6662 }
6663 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
6664}
6665
6666// optional bool legal_country_feature_restrictions_applied = 21;
6667inline bool AccountLevelInfo::has_legal_country_feature_restrictions_applied() const {
6668 return (_has_bits_[0] & 0x00020000u) != 0;
6669}
6670inline void AccountLevelInfo::set_has_legal_country_feature_restrictions_applied() {
6671 _has_bits_[0] |= 0x00020000u;
6672}
6673inline void AccountLevelInfo::clear_has_legal_country_feature_restrictions_applied() {
6674 _has_bits_[0] &= ~0x00020000u;
6675}
6676inline void AccountLevelInfo::clear_legal_country_feature_restrictions_applied() {
6677 legal_country_feature_restrictions_applied_ = false;
6678 clear_has_legal_country_feature_restrictions_applied();
6679}
6680inline bool AccountLevelInfo::legal_country_feature_restrictions_applied() const {
6681 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
6682 return legal_country_feature_restrictions_applied_;
6683}
6684inline void AccountLevelInfo::set_legal_country_feature_restrictions_applied(bool value) {
6685 set_has_legal_country_feature_restrictions_applied();
6686 legal_country_feature_restrictions_applied_ = value;
6687 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
6688}
6689
6690// optional .bgs.protocol.account.v1.OptIns opt_ins = 22;
6691inline bool AccountLevelInfo::has_opt_ins() const {
6692 return (_has_bits_[0] & 0x00040000u) != 0;
6693}
6694inline void AccountLevelInfo::set_has_opt_ins() {
6695 _has_bits_[0] |= 0x00040000u;
6696}
6697inline void AccountLevelInfo::clear_has_opt_ins() {
6698 _has_bits_[0] &= ~0x00040000u;
6699}
6700inline void AccountLevelInfo::clear_opt_ins() {
6701 if (opt_ins_ != NULL) opt_ins_->::bgs::protocol::account::v1::OptIns::Clear();
6702 clear_has_opt_ins();
6703}
6704inline const ::bgs::protocol::account::v1::OptIns& AccountLevelInfo::opt_ins() const {
6705 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6706 return opt_ins_ != NULL ? *opt_ins_ : *default_instance_->opt_ins_;
6707}
6708inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::mutable_opt_ins() {
6709 set_has_opt_ins();
6710 if (opt_ins_ == NULL) opt_ins_ = new ::bgs::protocol::account::v1::OptIns;
6711 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6712 return opt_ins_;
6713}
6714inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::release_opt_ins() {
6715 clear_has_opt_ins();
6716 ::bgs::protocol::account::v1::OptIns* temp = opt_ins_;
6717 opt_ins_ = NULL;
6718 return temp;
6719}
6720inline void AccountLevelInfo::set_allocated_opt_ins(::bgs::protocol::account::v1::OptIns* opt_ins) {
6721 delete opt_ins_;
6722 opt_ins_ = opt_ins;
6723 if (opt_ins) {
6724 set_has_opt_ins();
6725 } else {
6726 clear_has_opt_ins();
6727 }
6728 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
6729}
6730
6731// -------------------------------------------------------------------
6732
6733// PrivacyInfo
6734
6735// optional bool is_using_rid = 3;
6736inline bool PrivacyInfo::has_is_using_rid() const {
6737 return (_has_bits_[0] & 0x00000001u) != 0;
6738}
6739inline void PrivacyInfo::set_has_is_using_rid() {
6740 _has_bits_[0] |= 0x00000001u;
6741}
6742inline void PrivacyInfo::clear_has_is_using_rid() {
6743 _has_bits_[0] &= ~0x00000001u;
6744}
6745inline void PrivacyInfo::clear_is_using_rid() {
6746 is_using_rid_ = false;
6747 clear_has_is_using_rid();
6748}
6749inline bool PrivacyInfo::is_using_rid() const {
6750 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_using_rid)
6751 return is_using_rid_;
6752}
6753inline void PrivacyInfo::set_is_using_rid(bool value) {
6754 set_has_is_using_rid();
6755 is_using_rid_ = value;
6756 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_using_rid)
6757}
6758
6759// optional bool is_visible_for_view_friends = 4;
6760inline bool PrivacyInfo::has_is_visible_for_view_friends() const {
6761 return (_has_bits_[0] & 0x00000002u) != 0;
6762}
6763inline void PrivacyInfo::set_has_is_visible_for_view_friends() {
6764 _has_bits_[0] |= 0x00000002u;
6765}
6766inline void PrivacyInfo::clear_has_is_visible_for_view_friends() {
6767 _has_bits_[0] &= ~0x00000002u;
6768}
6769inline void PrivacyInfo::clear_is_visible_for_view_friends() {
6770 is_visible_for_view_friends_ = false;
6771 clear_has_is_visible_for_view_friends();
6772}
6773inline bool PrivacyInfo::is_visible_for_view_friends() const {
6774 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_visible_for_view_friends)
6775 return is_visible_for_view_friends_;
6776}
6777inline void PrivacyInfo::set_is_visible_for_view_friends(bool value) {
6778 set_has_is_visible_for_view_friends();
6779 is_visible_for_view_friends_ = value;
6780 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_visible_for_view_friends)
6781}
6782
6783// optional bool is_hidden_from_friend_finder = 5;
6784inline bool PrivacyInfo::has_is_hidden_from_friend_finder() const {
6785 return (_has_bits_[0] & 0x00000004u) != 0;
6786}
6787inline void PrivacyInfo::set_has_is_hidden_from_friend_finder() {
6788 _has_bits_[0] |= 0x00000004u;
6789}
6790inline void PrivacyInfo::clear_has_is_hidden_from_friend_finder() {
6791 _has_bits_[0] &= ~0x00000004u;
6792}
6793inline void PrivacyInfo::clear_is_hidden_from_friend_finder() {
6794 is_hidden_from_friend_finder_ = false;
6795 clear_has_is_hidden_from_friend_finder();
6796}
6797inline bool PrivacyInfo::is_hidden_from_friend_finder() const {
6798 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.is_hidden_from_friend_finder)
6799 return is_hidden_from_friend_finder_;
6800}
6801inline void PrivacyInfo::set_is_hidden_from_friend_finder(bool value) {
6802 set_has_is_hidden_from_friend_finder();
6803 is_hidden_from_friend_finder_ = value;
6804 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.is_hidden_from_friend_finder)
6805}
6806
6807// optional .bgs.protocol.account.v1.PrivacyInfo.GameInfoPrivacy game_info_privacy = 6 [default = PRIVACY_FRIENDS];
6808inline bool PrivacyInfo::has_game_info_privacy() const {
6809 return (_has_bits_[0] & 0x00000008u) != 0;
6810}
6811inline void PrivacyInfo::set_has_game_info_privacy() {
6812 _has_bits_[0] |= 0x00000008u;
6813}
6814inline void PrivacyInfo::clear_has_game_info_privacy() {
6815 _has_bits_[0] &= ~0x00000008u;
6816}
6817inline void PrivacyInfo::clear_game_info_privacy() {
6818 game_info_privacy_ = 1;
6819 clear_has_game_info_privacy();
6820}
6821inline ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy PrivacyInfo::game_info_privacy() const {
6822 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.game_info_privacy)
6823 return static_cast< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy >(game_info_privacy_);
6824}
6825inline void PrivacyInfo::set_game_info_privacy(::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy value) {
6827 set_has_game_info_privacy();
6828 game_info_privacy_ = value;
6829 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.game_info_privacy)
6830}
6831
6832// optional bool only_allow_friend_whispers = 7;
6833inline bool PrivacyInfo::has_only_allow_friend_whispers() const {
6834 return (_has_bits_[0] & 0x00000010u) != 0;
6835}
6836inline void PrivacyInfo::set_has_only_allow_friend_whispers() {
6837 _has_bits_[0] |= 0x00000010u;
6838}
6839inline void PrivacyInfo::clear_has_only_allow_friend_whispers() {
6840 _has_bits_[0] &= ~0x00000010u;
6841}
6842inline void PrivacyInfo::clear_only_allow_friend_whispers() {
6843 only_allow_friend_whispers_ = false;
6844 clear_has_only_allow_friend_whispers();
6845}
6846inline bool PrivacyInfo::only_allow_friend_whispers() const {
6847 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PrivacyInfo.only_allow_friend_whispers)
6848 return only_allow_friend_whispers_;
6849}
6850inline void PrivacyInfo::set_only_allow_friend_whispers(bool value) {
6851 set_has_only_allow_friend_whispers();
6852 only_allow_friend_whispers_ = value;
6853 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PrivacyInfo.only_allow_friend_whispers)
6854}
6855
6856// -------------------------------------------------------------------
6857
6858// ParentalControlInfo
6859
6860// optional string timezone = 3;
6861inline bool ParentalControlInfo::has_timezone() const {
6862 return (_has_bits_[0] & 0x00000001u) != 0;
6863}
6864inline void ParentalControlInfo::set_has_timezone() {
6865 _has_bits_[0] |= 0x00000001u;
6866}
6867inline void ParentalControlInfo::clear_has_timezone() {
6868 _has_bits_[0] &= ~0x00000001u;
6869}
6870inline void ParentalControlInfo::clear_timezone() {
6871 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6872 timezone_->clear();
6873 }
6874 clear_has_timezone();
6875}
6876inline const ::std::string& ParentalControlInfo::timezone() const {
6877 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6878 return *timezone_;
6879}
6880inline void ParentalControlInfo::set_timezone(const ::std::string& value) {
6881 set_has_timezone();
6882 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6883 timezone_ = new ::std::string;
6884 }
6885 timezone_->assign(value);
6886 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6887}
6888inline void ParentalControlInfo::set_timezone(const char* value) {
6889 set_has_timezone();
6890 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6891 timezone_ = new ::std::string;
6892 }
6893 timezone_->assign(value);
6894 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6895}
6896inline void ParentalControlInfo::set_timezone(const char* value, size_t size) {
6897 set_has_timezone();
6898 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6899 timezone_ = new ::std::string;
6900 }
6901 timezone_->assign(reinterpret_cast<const char*>(value), size);
6902 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6903}
6904inline ::std::string* ParentalControlInfo::mutable_timezone() {
6905 set_has_timezone();
6906 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6907 timezone_ = new ::std::string;
6908 }
6909 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6910 return timezone_;
6911}
6912inline ::std::string* ParentalControlInfo::release_timezone() {
6913 clear_has_timezone();
6914 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6915 return NULL;
6916 } else {
6917 ::std::string* temp = timezone_;
6918 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6919 return temp;
6920 }
6921}
6922inline void ParentalControlInfo::set_allocated_timezone(::std::string* timezone) {
6923 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6924 delete timezone_;
6925 }
6926 if (timezone) {
6927 set_has_timezone();
6928 timezone_ = timezone;
6929 } else {
6930 clear_has_timezone();
6931 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6932 }
6933 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.ParentalControlInfo.timezone)
6934}
6935
6936// optional uint32 minutes_per_day = 4;
6937inline bool ParentalControlInfo::has_minutes_per_day() const {
6938 return (_has_bits_[0] & 0x00000002u) != 0;
6939}
6940inline void ParentalControlInfo::set_has_minutes_per_day() {
6941 _has_bits_[0] |= 0x00000002u;
6942}
6943inline void ParentalControlInfo::clear_has_minutes_per_day() {
6944 _has_bits_[0] &= ~0x00000002u;
6945}
6946inline void ParentalControlInfo::clear_minutes_per_day() {
6947 minutes_per_day_ = 0u;
6948 clear_has_minutes_per_day();
6949}
6950inline ::google::protobuf::uint32 ParentalControlInfo::minutes_per_day() const {
6951 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_day)
6952 return minutes_per_day_;
6953}
6954inline void ParentalControlInfo::set_minutes_per_day(::google::protobuf::uint32 value) {
6955 set_has_minutes_per_day();
6956 minutes_per_day_ = value;
6957 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_day)
6958}
6959
6960// optional uint32 minutes_per_week = 5;
6961inline bool ParentalControlInfo::has_minutes_per_week() const {
6962 return (_has_bits_[0] & 0x00000004u) != 0;
6963}
6964inline void ParentalControlInfo::set_has_minutes_per_week() {
6965 _has_bits_[0] |= 0x00000004u;
6966}
6967inline void ParentalControlInfo::clear_has_minutes_per_week() {
6968 _has_bits_[0] &= ~0x00000004u;
6969}
6970inline void ParentalControlInfo::clear_minutes_per_week() {
6971 minutes_per_week_ = 0u;
6972 clear_has_minutes_per_week();
6973}
6974inline ::google::protobuf::uint32 ParentalControlInfo::minutes_per_week() const {
6975 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_week)
6976 return minutes_per_week_;
6977}
6978inline void ParentalControlInfo::set_minutes_per_week(::google::protobuf::uint32 value) {
6979 set_has_minutes_per_week();
6980 minutes_per_week_ = value;
6981 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.minutes_per_week)
6982}
6983
6984// optional bool can_receive_voice = 6;
6985inline bool ParentalControlInfo::has_can_receive_voice() const {
6986 return (_has_bits_[0] & 0x00000008u) != 0;
6987}
6988inline void ParentalControlInfo::set_has_can_receive_voice() {
6989 _has_bits_[0] |= 0x00000008u;
6990}
6991inline void ParentalControlInfo::clear_has_can_receive_voice() {
6992 _has_bits_[0] &= ~0x00000008u;
6993}
6994inline void ParentalControlInfo::clear_can_receive_voice() {
6995 can_receive_voice_ = false;
6996 clear_has_can_receive_voice();
6997}
6998inline bool ParentalControlInfo::can_receive_voice() const {
6999 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_receive_voice)
7000 return can_receive_voice_;
7001}
7002inline void ParentalControlInfo::set_can_receive_voice(bool value) {
7003 set_has_can_receive_voice();
7004 can_receive_voice_ = value;
7005 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_receive_voice)
7006}
7007
7008// optional bool can_send_voice = 7;
7009inline bool ParentalControlInfo::has_can_send_voice() const {
7010 return (_has_bits_[0] & 0x00000010u) != 0;
7011}
7012inline void ParentalControlInfo::set_has_can_send_voice() {
7013 _has_bits_[0] |= 0x00000010u;
7014}
7015inline void ParentalControlInfo::clear_has_can_send_voice() {
7016 _has_bits_[0] &= ~0x00000010u;
7017}
7018inline void ParentalControlInfo::clear_can_send_voice() {
7019 can_send_voice_ = false;
7020 clear_has_can_send_voice();
7021}
7022inline bool ParentalControlInfo::can_send_voice() const {
7023 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_send_voice)
7024 return can_send_voice_;
7025}
7026inline void ParentalControlInfo::set_can_send_voice(bool value) {
7027 set_has_can_send_voice();
7028 can_send_voice_ = value;
7029 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_send_voice)
7030}
7031
7032// repeated bool play_schedule = 8;
7033inline int ParentalControlInfo::play_schedule_size() const {
7034 return play_schedule_.size();
7035}
7036inline void ParentalControlInfo::clear_play_schedule() {
7037 play_schedule_.Clear();
7038}
7039inline bool ParentalControlInfo::play_schedule(int index) const {
7040 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7041 return play_schedule_.Get(index);
7042}
7043inline void ParentalControlInfo::set_play_schedule(int index, bool value) {
7044 play_schedule_.Set(index, value);
7045 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7046}
7047inline void ParentalControlInfo::add_play_schedule(bool value) {
7048 play_schedule_.Add(value);
7049 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7050}
7051inline const ::google::protobuf::RepeatedField< bool >&
7052ParentalControlInfo::play_schedule() const {
7053 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7054 return play_schedule_;
7055}
7056inline ::google::protobuf::RepeatedField< bool >*
7057ParentalControlInfo::mutable_play_schedule() {
7058 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.ParentalControlInfo.play_schedule)
7059 return &play_schedule_;
7060}
7061
7062// optional bool can_join_group = 9;
7063inline bool ParentalControlInfo::has_can_join_group() const {
7064 return (_has_bits_[0] & 0x00000040u) != 0;
7065}
7066inline void ParentalControlInfo::set_has_can_join_group() {
7067 _has_bits_[0] |= 0x00000040u;
7068}
7069inline void ParentalControlInfo::clear_has_can_join_group() {
7070 _has_bits_[0] &= ~0x00000040u;
7071}
7072inline void ParentalControlInfo::clear_can_join_group() {
7073 can_join_group_ = false;
7074 clear_has_can_join_group();
7075}
7076inline bool ParentalControlInfo::can_join_group() const {
7077 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_join_group)
7078 return can_join_group_;
7079}
7080inline void ParentalControlInfo::set_can_join_group(bool value) {
7081 set_has_can_join_group();
7082 can_join_group_ = value;
7083 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_join_group)
7084}
7085
7086// optional bool can_use_profile = 10;
7087inline bool ParentalControlInfo::has_can_use_profile() const {
7088 return (_has_bits_[0] & 0x00000080u) != 0;
7089}
7090inline void ParentalControlInfo::set_has_can_use_profile() {
7091 _has_bits_[0] |= 0x00000080u;
7092}
7093inline void ParentalControlInfo::clear_has_can_use_profile() {
7094 _has_bits_[0] &= ~0x00000080u;
7095}
7096inline void ParentalControlInfo::clear_can_use_profile() {
7097 can_use_profile_ = false;
7098 clear_has_can_use_profile();
7099}
7100inline bool ParentalControlInfo::can_use_profile() const {
7101 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.can_use_profile)
7102 return can_use_profile_;
7103}
7104inline void ParentalControlInfo::set_can_use_profile(bool value) {
7105 set_has_can_use_profile();
7106 can_use_profile_ = value;
7107 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_use_profile)
7108}
7109
7110// optional bool in_game_purchase_disabled = 11;
7111inline bool ParentalControlInfo::has_in_game_purchase_disabled() const {
7112 return (_has_bits_[0] & 0x00000100u) != 0;
7113}
7114inline void ParentalControlInfo::set_has_in_game_purchase_disabled() {
7115 _has_bits_[0] |= 0x00000100u;
7116}
7117inline void ParentalControlInfo::clear_has_in_game_purchase_disabled() {
7118 _has_bits_[0] &= ~0x00000100u;
7119}
7120inline void ParentalControlInfo::clear_in_game_purchase_disabled() {
7121 in_game_purchase_disabled_ = false;
7122 clear_has_in_game_purchase_disabled();
7123}
7124inline bool ParentalControlInfo::in_game_purchase_disabled() const {
7125 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.in_game_purchase_disabled)
7126 return in_game_purchase_disabled_;
7127}
7128inline void ParentalControlInfo::set_in_game_purchase_disabled(bool value) {
7129 set_has_in_game_purchase_disabled();
7130 in_game_purchase_disabled_ = value;
7131 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.in_game_purchase_disabled)
7132}
7133
7134// -------------------------------------------------------------------
7135
7136// PlayScheduleRestriction
7137
7138// repeated bool play_schedule = 1;
7139inline int PlayScheduleRestriction::play_schedule_size() const {
7140 return play_schedule_.size();
7141}
7142inline void PlayScheduleRestriction::clear_play_schedule() {
7143 play_schedule_.Clear();
7144}
7145inline bool PlayScheduleRestriction::play_schedule(int index) const {
7146 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7147 return play_schedule_.Get(index);
7148}
7149inline void PlayScheduleRestriction::set_play_schedule(int index, bool value) {
7150 play_schedule_.Set(index, value);
7151 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7152}
7153inline void PlayScheduleRestriction::add_play_schedule(bool value) {
7154 play_schedule_.Add(value);
7155 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7156}
7157inline const ::google::protobuf::RepeatedField< bool >&
7158PlayScheduleRestriction::play_schedule() const {
7159 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7160 return play_schedule_;
7161}
7162inline ::google::protobuf::RepeatedField< bool >*
7163PlayScheduleRestriction::mutable_play_schedule() {
7164 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.PlayScheduleRestriction.play_schedule)
7165 return &play_schedule_;
7166}
7167
7168// optional string timezone = 2;
7169inline bool PlayScheduleRestriction::has_timezone() const {
7170 return (_has_bits_[0] & 0x00000002u) != 0;
7171}
7172inline void PlayScheduleRestriction::set_has_timezone() {
7173 _has_bits_[0] |= 0x00000002u;
7174}
7175inline void PlayScheduleRestriction::clear_has_timezone() {
7176 _has_bits_[0] &= ~0x00000002u;
7177}
7178inline void PlayScheduleRestriction::clear_timezone() {
7179 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7180 timezone_->clear();
7181 }
7182 clear_has_timezone();
7183}
7184inline const ::std::string& PlayScheduleRestriction::timezone() const {
7185 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7186 return *timezone_;
7187}
7188inline void PlayScheduleRestriction::set_timezone(const ::std::string& value) {
7189 set_has_timezone();
7190 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7191 timezone_ = new ::std::string;
7192 }
7193 timezone_->assign(value);
7194 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7195}
7196inline void PlayScheduleRestriction::set_timezone(const char* value) {
7197 set_has_timezone();
7198 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7199 timezone_ = new ::std::string;
7200 }
7201 timezone_->assign(value);
7202 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7203}
7204inline void PlayScheduleRestriction::set_timezone(const char* value, size_t size) {
7205 set_has_timezone();
7206 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7207 timezone_ = new ::std::string;
7208 }
7209 timezone_->assign(reinterpret_cast<const char*>(value), size);
7210 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7211}
7212inline ::std::string* PlayScheduleRestriction::mutable_timezone() {
7213 set_has_timezone();
7214 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7215 timezone_ = new ::std::string;
7216 }
7217 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7218 return timezone_;
7219}
7220inline ::std::string* PlayScheduleRestriction::release_timezone() {
7221 clear_has_timezone();
7222 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7223 return NULL;
7224 } else {
7225 ::std::string* temp = timezone_;
7226 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7227 return temp;
7228 }
7229}
7230inline void PlayScheduleRestriction::set_allocated_timezone(::std::string* timezone) {
7231 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7232 delete timezone_;
7233 }
7234 if (timezone) {
7235 set_has_timezone();
7236 timezone_ = timezone;
7237 } else {
7238 clear_has_timezone();
7239 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7240 }
7241 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.PlayScheduleRestriction.timezone)
7242}
7243
7244// -------------------------------------------------------------------
7245
7246// GameLevelInfo
7247
7248// optional bool is_trial = 4;
7249inline bool GameLevelInfo::has_is_trial() const {
7250 return (_has_bits_[0] & 0x00000001u) != 0;
7251}
7252inline void GameLevelInfo::set_has_is_trial() {
7253 _has_bits_[0] |= 0x00000001u;
7254}
7255inline void GameLevelInfo::clear_has_is_trial() {
7256 _has_bits_[0] &= ~0x00000001u;
7257}
7258inline void GameLevelInfo::clear_is_trial() {
7259 is_trial_ = false;
7260 clear_has_is_trial();
7261}
7262inline bool GameLevelInfo::is_trial() const {
7263 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_trial)
7264 return is_trial_;
7265}
7266inline void GameLevelInfo::set_is_trial(bool value) {
7267 set_has_is_trial();
7268 is_trial_ = value;
7269 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_trial)
7270}
7271
7272// optional bool is_lifetime = 5;
7273inline bool GameLevelInfo::has_is_lifetime() const {
7274 return (_has_bits_[0] & 0x00000002u) != 0;
7275}
7276inline void GameLevelInfo::set_has_is_lifetime() {
7277 _has_bits_[0] |= 0x00000002u;
7278}
7279inline void GameLevelInfo::clear_has_is_lifetime() {
7280 _has_bits_[0] &= ~0x00000002u;
7281}
7282inline void GameLevelInfo::clear_is_lifetime() {
7283 is_lifetime_ = false;
7284 clear_has_is_lifetime();
7285}
7286inline bool GameLevelInfo::is_lifetime() const {
7287 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_lifetime)
7288 return is_lifetime_;
7289}
7290inline void GameLevelInfo::set_is_lifetime(bool value) {
7291 set_has_is_lifetime();
7292 is_lifetime_ = value;
7293 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_lifetime)
7294}
7295
7296// optional bool is_restricted = 6;
7297inline bool GameLevelInfo::has_is_restricted() const {
7298 return (_has_bits_[0] & 0x00000004u) != 0;
7299}
7300inline void GameLevelInfo::set_has_is_restricted() {
7301 _has_bits_[0] |= 0x00000004u;
7302}
7303inline void GameLevelInfo::clear_has_is_restricted() {
7304 _has_bits_[0] &= ~0x00000004u;
7305}
7306inline void GameLevelInfo::clear_is_restricted() {
7307 is_restricted_ = false;
7308 clear_has_is_restricted();
7309}
7310inline bool GameLevelInfo::is_restricted() const {
7311 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_restricted)
7312 return is_restricted_;
7313}
7314inline void GameLevelInfo::set_is_restricted(bool value) {
7315 set_has_is_restricted();
7316 is_restricted_ = value;
7317 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_restricted)
7318}
7319
7320// optional bool is_beta = 7;
7321inline bool GameLevelInfo::has_is_beta() const {
7322 return (_has_bits_[0] & 0x00000008u) != 0;
7323}
7324inline void GameLevelInfo::set_has_is_beta() {
7325 _has_bits_[0] |= 0x00000008u;
7326}
7327inline void GameLevelInfo::clear_has_is_beta() {
7328 _has_bits_[0] &= ~0x00000008u;
7329}
7330inline void GameLevelInfo::clear_is_beta() {
7331 is_beta_ = false;
7332 clear_has_is_beta();
7333}
7334inline bool GameLevelInfo::is_beta() const {
7335 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.is_beta)
7336 return is_beta_;
7337}
7338inline void GameLevelInfo::set_is_beta(bool value) {
7339 set_has_is_beta();
7340 is_beta_ = value;
7341 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.is_beta)
7342}
7343
7344// optional string name = 8;
7345inline bool GameLevelInfo::has_name() const {
7346 return (_has_bits_[0] & 0x00000010u) != 0;
7347}
7348inline void GameLevelInfo::set_has_name() {
7349 _has_bits_[0] |= 0x00000010u;
7350}
7351inline void GameLevelInfo::clear_has_name() {
7352 _has_bits_[0] &= ~0x00000010u;
7353}
7354inline void GameLevelInfo::clear_name() {
7355 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7356 name_->clear();
7357 }
7358 clear_has_name();
7359}
7360inline const ::std::string& GameLevelInfo::name() const {
7361 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.name)
7362 return *name_;
7363}
7364inline void GameLevelInfo::set_name(const ::std::string& value) {
7365 set_has_name();
7366 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7367 name_ = new ::std::string;
7368 }
7369 name_->assign(value);
7370 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.name)
7371}
7372inline void GameLevelInfo::set_name(const char* value) {
7373 set_has_name();
7374 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7375 name_ = new ::std::string;
7376 }
7377 name_->assign(value);
7378 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameLevelInfo.name)
7379}
7380inline void GameLevelInfo::set_name(const char* value, size_t size) {
7381 set_has_name();
7382 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7383 name_ = new ::std::string;
7384 }
7385 name_->assign(reinterpret_cast<const char*>(value), size);
7386 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameLevelInfo.name)
7387}
7388inline ::std::string* GameLevelInfo::mutable_name() {
7389 set_has_name();
7390 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7391 name_ = new ::std::string;
7392 }
7393 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameLevelInfo.name)
7394 return name_;
7395}
7396inline ::std::string* GameLevelInfo::release_name() {
7397 clear_has_name();
7398 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7399 return NULL;
7400 } else {
7401 ::std::string* temp = name_;
7402 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7403 return temp;
7404 }
7405}
7406inline void GameLevelInfo::set_allocated_name(::std::string* name) {
7407 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7408 delete name_;
7409 }
7410 if (name) {
7411 set_has_name();
7412 name_ = name;
7413 } else {
7414 clear_has_name();
7415 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7416 }
7417 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameLevelInfo.name)
7418}
7419
7420// optional fixed32 program = 9;
7421inline bool GameLevelInfo::has_program() const {
7422 return (_has_bits_[0] & 0x00000020u) != 0;
7423}
7424inline void GameLevelInfo::set_has_program() {
7425 _has_bits_[0] |= 0x00000020u;
7426}
7427inline void GameLevelInfo::clear_has_program() {
7428 _has_bits_[0] &= ~0x00000020u;
7429}
7430inline void GameLevelInfo::clear_program() {
7431 program_ = 0u;
7432 clear_has_program();
7433}
7434inline ::google::protobuf::uint32 GameLevelInfo::program() const {
7435 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.program)
7436 return program_;
7437}
7438inline void GameLevelInfo::set_program(::google::protobuf::uint32 value) {
7439 set_has_program();
7440 program_ = value;
7441 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.program)
7442}
7443
7444// repeated .bgs.protocol.account.v1.AccountLicense licenses = 10;
7445inline int GameLevelInfo::licenses_size() const {
7446 return licenses_.size();
7447}
7448inline void GameLevelInfo::clear_licenses() {
7449 licenses_.Clear();
7450}
7451inline const ::bgs::protocol::account::v1::AccountLicense& GameLevelInfo::licenses(int index) const {
7452 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.licenses)
7453 return licenses_.Get(index);
7454}
7455inline ::bgs::protocol::account::v1::AccountLicense* GameLevelInfo::mutable_licenses(int index) {
7456 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameLevelInfo.licenses)
7457 return licenses_.Mutable(index);
7458}
7459inline ::bgs::protocol::account::v1::AccountLicense* GameLevelInfo::add_licenses() {
7460 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GameLevelInfo.licenses)
7461 return licenses_.Add();
7462}
7463inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
7464GameLevelInfo::licenses() const {
7465 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GameLevelInfo.licenses)
7466 return licenses_;
7467}
7468inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
7469GameLevelInfo::mutable_licenses() {
7470 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GameLevelInfo.licenses)
7471 return &licenses_;
7472}
7473
7474// optional uint32 realm_permissions = 11;
7475inline bool GameLevelInfo::has_realm_permissions() const {
7476 return (_has_bits_[0] & 0x00000080u) != 0;
7477}
7478inline void GameLevelInfo::set_has_realm_permissions() {
7479 _has_bits_[0] |= 0x00000080u;
7480}
7481inline void GameLevelInfo::clear_has_realm_permissions() {
7482 _has_bits_[0] &= ~0x00000080u;
7483}
7484inline void GameLevelInfo::clear_realm_permissions() {
7485 realm_permissions_ = 0u;
7486 clear_has_realm_permissions();
7487}
7488inline ::google::protobuf::uint32 GameLevelInfo::realm_permissions() const {
7489 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.realm_permissions)
7490 return realm_permissions_;
7491}
7492inline void GameLevelInfo::set_realm_permissions(::google::protobuf::uint32 value) {
7493 set_has_realm_permissions();
7494 realm_permissions_ = value;
7495 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.realm_permissions)
7496}
7497
7498// optional uint64 last_logout_time_ms = 12 [deprecated = true];
7499inline bool GameLevelInfo::has_last_logout_time_ms() const {
7500 return (_has_bits_[0] & 0x00000100u) != 0;
7501}
7502inline void GameLevelInfo::set_has_last_logout_time_ms() {
7503 _has_bits_[0] |= 0x00000100u;
7504}
7505inline void GameLevelInfo::clear_has_last_logout_time_ms() {
7506 _has_bits_[0] &= ~0x00000100u;
7507}
7508inline void GameLevelInfo::clear_last_logout_time_ms() {
7509 last_logout_time_ms_ = GOOGLE_ULONGLONG(0);
7510 clear_has_last_logout_time_ms();
7511}
7512inline ::google::protobuf::uint64 GameLevelInfo::last_logout_time_ms() const {
7513 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameLevelInfo.last_logout_time_ms)
7514 return last_logout_time_ms_;
7515}
7516inline void GameLevelInfo::set_last_logout_time_ms(::google::protobuf::uint64 value) {
7517 set_has_last_logout_time_ms();
7518 last_logout_time_ms_ = value;
7519 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.last_logout_time_ms)
7520}
7521
7522// -------------------------------------------------------------------
7523
7524// GameTimeInfo
7525
7526// optional bool is_unlimited_play_time = 3;
7527inline bool GameTimeInfo::has_is_unlimited_play_time() const {
7528 return (_has_bits_[0] & 0x00000001u) != 0;
7529}
7530inline void GameTimeInfo::set_has_is_unlimited_play_time() {
7531 _has_bits_[0] |= 0x00000001u;
7532}
7533inline void GameTimeInfo::clear_has_is_unlimited_play_time() {
7534 _has_bits_[0] &= ~0x00000001u;
7535}
7536inline void GameTimeInfo::clear_is_unlimited_play_time() {
7537 is_unlimited_play_time_ = false;
7538 clear_has_is_unlimited_play_time();
7539}
7540inline bool GameTimeInfo::is_unlimited_play_time() const {
7541 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_unlimited_play_time)
7542 return is_unlimited_play_time_;
7543}
7544inline void GameTimeInfo::set_is_unlimited_play_time(bool value) {
7545 set_has_is_unlimited_play_time();
7546 is_unlimited_play_time_ = value;
7547 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_unlimited_play_time)
7548}
7549
7550// optional uint64 play_time_expires = 5;
7551inline bool GameTimeInfo::has_play_time_expires() const {
7552 return (_has_bits_[0] & 0x00000002u) != 0;
7553}
7554inline void GameTimeInfo::set_has_play_time_expires() {
7555 _has_bits_[0] |= 0x00000002u;
7556}
7557inline void GameTimeInfo::clear_has_play_time_expires() {
7558 _has_bits_[0] &= ~0x00000002u;
7559}
7560inline void GameTimeInfo::clear_play_time_expires() {
7561 play_time_expires_ = GOOGLE_ULONGLONG(0);
7562 clear_has_play_time_expires();
7563}
7564inline ::google::protobuf::uint64 GameTimeInfo::play_time_expires() const {
7565 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.play_time_expires)
7566 return play_time_expires_;
7567}
7568inline void GameTimeInfo::set_play_time_expires(::google::protobuf::uint64 value) {
7569 set_has_play_time_expires();
7570 play_time_expires_ = value;
7571 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.play_time_expires)
7572}
7573
7574// optional bool is_subscription = 6;
7575inline bool GameTimeInfo::has_is_subscription() const {
7576 return (_has_bits_[0] & 0x00000004u) != 0;
7577}
7578inline void GameTimeInfo::set_has_is_subscription() {
7579 _has_bits_[0] |= 0x00000004u;
7580}
7581inline void GameTimeInfo::clear_has_is_subscription() {
7582 _has_bits_[0] &= ~0x00000004u;
7583}
7584inline void GameTimeInfo::clear_is_subscription() {
7585 is_subscription_ = false;
7586 clear_has_is_subscription();
7587}
7588inline bool GameTimeInfo::is_subscription() const {
7589 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_subscription)
7590 return is_subscription_;
7591}
7592inline void GameTimeInfo::set_is_subscription(bool value) {
7593 set_has_is_subscription();
7594 is_subscription_ = value;
7595 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_subscription)
7596}
7597
7598// optional bool is_recurring_subscription = 7;
7599inline bool GameTimeInfo::has_is_recurring_subscription() const {
7600 return (_has_bits_[0] & 0x00000008u) != 0;
7601}
7602inline void GameTimeInfo::set_has_is_recurring_subscription() {
7603 _has_bits_[0] |= 0x00000008u;
7604}
7605inline void GameTimeInfo::clear_has_is_recurring_subscription() {
7606 _has_bits_[0] &= ~0x00000008u;
7607}
7608inline void GameTimeInfo::clear_is_recurring_subscription() {
7609 is_recurring_subscription_ = false;
7610 clear_has_is_recurring_subscription();
7611}
7612inline bool GameTimeInfo::is_recurring_subscription() const {
7613 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeInfo.is_recurring_subscription)
7614 return is_recurring_subscription_;
7615}
7616inline void GameTimeInfo::set_is_recurring_subscription(bool value) {
7617 set_has_is_recurring_subscription();
7618 is_recurring_subscription_ = value;
7619 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeInfo.is_recurring_subscription)
7620}
7621
7622// -------------------------------------------------------------------
7623
7624// GameTimeRemainingInfo
7625
7626// optional uint32 minutes_remaining = 1;
7627inline bool GameTimeRemainingInfo::has_minutes_remaining() const {
7628 return (_has_bits_[0] & 0x00000001u) != 0;
7629}
7630inline void GameTimeRemainingInfo::set_has_minutes_remaining() {
7631 _has_bits_[0] |= 0x00000001u;
7632}
7633inline void GameTimeRemainingInfo::clear_has_minutes_remaining() {
7634 _has_bits_[0] &= ~0x00000001u;
7635}
7636inline void GameTimeRemainingInfo::clear_minutes_remaining() {
7637 minutes_remaining_ = 0u;
7638 clear_has_minutes_remaining();
7639}
7640inline ::google::protobuf::uint32 GameTimeRemainingInfo::minutes_remaining() const {
7641 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.minutes_remaining)
7642 return minutes_remaining_;
7643}
7644inline void GameTimeRemainingInfo::set_minutes_remaining(::google::protobuf::uint32 value) {
7645 set_has_minutes_remaining();
7646 minutes_remaining_ = value;
7647 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.minutes_remaining)
7648}
7649
7650// optional uint32 parental_daily_minutes_remaining = 2;
7651inline bool GameTimeRemainingInfo::has_parental_daily_minutes_remaining() const {
7652 return (_has_bits_[0] & 0x00000002u) != 0;
7653}
7654inline void GameTimeRemainingInfo::set_has_parental_daily_minutes_remaining() {
7655 _has_bits_[0] |= 0x00000002u;
7656}
7657inline void GameTimeRemainingInfo::clear_has_parental_daily_minutes_remaining() {
7658 _has_bits_[0] &= ~0x00000002u;
7659}
7660inline void GameTimeRemainingInfo::clear_parental_daily_minutes_remaining() {
7661 parental_daily_minutes_remaining_ = 0u;
7662 clear_has_parental_daily_minutes_remaining();
7663}
7664inline ::google::protobuf::uint32 GameTimeRemainingInfo::parental_daily_minutes_remaining() const {
7665 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_daily_minutes_remaining)
7666 return parental_daily_minutes_remaining_;
7667}
7668inline void GameTimeRemainingInfo::set_parental_daily_minutes_remaining(::google::protobuf::uint32 value) {
7669 set_has_parental_daily_minutes_remaining();
7670 parental_daily_minutes_remaining_ = value;
7671 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_daily_minutes_remaining)
7672}
7673
7674// optional uint32 parental_weekly_minutes_remaining = 3;
7675inline bool GameTimeRemainingInfo::has_parental_weekly_minutes_remaining() const {
7676 return (_has_bits_[0] & 0x00000004u) != 0;
7677}
7678inline void GameTimeRemainingInfo::set_has_parental_weekly_minutes_remaining() {
7679 _has_bits_[0] |= 0x00000004u;
7680}
7681inline void GameTimeRemainingInfo::clear_has_parental_weekly_minutes_remaining() {
7682 _has_bits_[0] &= ~0x00000004u;
7683}
7684inline void GameTimeRemainingInfo::clear_parental_weekly_minutes_remaining() {
7685 parental_weekly_minutes_remaining_ = 0u;
7686 clear_has_parental_weekly_minutes_remaining();
7687}
7688inline ::google::protobuf::uint32 GameTimeRemainingInfo::parental_weekly_minutes_remaining() const {
7689 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_weekly_minutes_remaining)
7690 return parental_weekly_minutes_remaining_;
7691}
7692inline void GameTimeRemainingInfo::set_parental_weekly_minutes_remaining(::google::protobuf::uint32 value) {
7693 set_has_parental_weekly_minutes_remaining();
7694 parental_weekly_minutes_remaining_ = value;
7695 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.parental_weekly_minutes_remaining)
7696}
7697
7698// optional uint32 seconds_remaining_until_kick = 4 [deprecated = true];
7699inline bool GameTimeRemainingInfo::has_seconds_remaining_until_kick() const {
7700 return (_has_bits_[0] & 0x00000008u) != 0;
7701}
7702inline void GameTimeRemainingInfo::set_has_seconds_remaining_until_kick() {
7703 _has_bits_[0] |= 0x00000008u;
7704}
7705inline void GameTimeRemainingInfo::clear_has_seconds_remaining_until_kick() {
7706 _has_bits_[0] &= ~0x00000008u;
7707}
7708inline void GameTimeRemainingInfo::clear_seconds_remaining_until_kick() {
7709 seconds_remaining_until_kick_ = 0u;
7710 clear_has_seconds_remaining_until_kick();
7711}
7712inline ::google::protobuf::uint32 GameTimeRemainingInfo::seconds_remaining_until_kick() const {
7713 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameTimeRemainingInfo.seconds_remaining_until_kick)
7714 return seconds_remaining_until_kick_;
7715}
7716inline void GameTimeRemainingInfo::set_seconds_remaining_until_kick(::google::protobuf::uint32 value) {
7717 set_has_seconds_remaining_until_kick();
7718 seconds_remaining_until_kick_ = value;
7719 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameTimeRemainingInfo.seconds_remaining_until_kick)
7720}
7721
7722// -------------------------------------------------------------------
7723
7724// GameStatus
7725
7726// optional bool is_suspended = 4;
7727inline bool GameStatus::has_is_suspended() const {
7728 return (_has_bits_[0] & 0x00000001u) != 0;
7729}
7730inline void GameStatus::set_has_is_suspended() {
7731 _has_bits_[0] |= 0x00000001u;
7732}
7733inline void GameStatus::clear_has_is_suspended() {
7734 _has_bits_[0] &= ~0x00000001u;
7735}
7736inline void GameStatus::clear_is_suspended() {
7737 is_suspended_ = false;
7738 clear_has_is_suspended();
7739}
7740inline bool GameStatus::is_suspended() const {
7741 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_suspended)
7742 return is_suspended_;
7743}
7744inline void GameStatus::set_is_suspended(bool value) {
7745 set_has_is_suspended();
7746 is_suspended_ = value;
7747 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_suspended)
7748}
7749
7750// optional bool is_banned = 5;
7751inline bool GameStatus::has_is_banned() const {
7752 return (_has_bits_[0] & 0x00000002u) != 0;
7753}
7754inline void GameStatus::set_has_is_banned() {
7755 _has_bits_[0] |= 0x00000002u;
7756}
7757inline void GameStatus::clear_has_is_banned() {
7758 _has_bits_[0] &= ~0x00000002u;
7759}
7760inline void GameStatus::clear_is_banned() {
7761 is_banned_ = false;
7762 clear_has_is_banned();
7763}
7764inline bool GameStatus::is_banned() const {
7765 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_banned)
7766 return is_banned_;
7767}
7768inline void GameStatus::set_is_banned(bool value) {
7769 set_has_is_banned();
7770 is_banned_ = value;
7771 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_banned)
7772}
7773
7774// optional uint64 suspension_expires = 6;
7775inline bool GameStatus::has_suspension_expires() const {
7776 return (_has_bits_[0] & 0x00000004u) != 0;
7777}
7778inline void GameStatus::set_has_suspension_expires() {
7779 _has_bits_[0] |= 0x00000004u;
7780}
7781inline void GameStatus::clear_has_suspension_expires() {
7782 _has_bits_[0] &= ~0x00000004u;
7783}
7784inline void GameStatus::clear_suspension_expires() {
7785 suspension_expires_ = GOOGLE_ULONGLONG(0);
7786 clear_has_suspension_expires();
7787}
7788inline ::google::protobuf::uint64 GameStatus::suspension_expires() const {
7789 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.suspension_expires)
7790 return suspension_expires_;
7791}
7792inline void GameStatus::set_suspension_expires(::google::protobuf::uint64 value) {
7793 set_has_suspension_expires();
7794 suspension_expires_ = value;
7795 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.suspension_expires)
7796}
7797
7798// optional fixed32 program = 7;
7799inline bool GameStatus::has_program() const {
7800 return (_has_bits_[0] & 0x00000008u) != 0;
7801}
7802inline void GameStatus::set_has_program() {
7803 _has_bits_[0] |= 0x00000008u;
7804}
7805inline void GameStatus::clear_has_program() {
7806 _has_bits_[0] &= ~0x00000008u;
7807}
7808inline void GameStatus::clear_program() {
7809 program_ = 0u;
7810 clear_has_program();
7811}
7812inline ::google::protobuf::uint32 GameStatus::program() const {
7813 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.program)
7814 return program_;
7815}
7816inline void GameStatus::set_program(::google::protobuf::uint32 value) {
7817 set_has_program();
7818 program_ = value;
7819 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.program)
7820}
7821
7822// optional bool is_locked = 8;
7823inline bool GameStatus::has_is_locked() const {
7824 return (_has_bits_[0] & 0x00000010u) != 0;
7825}
7826inline void GameStatus::set_has_is_locked() {
7827 _has_bits_[0] |= 0x00000010u;
7828}
7829inline void GameStatus::clear_has_is_locked() {
7830 _has_bits_[0] &= ~0x00000010u;
7831}
7832inline void GameStatus::clear_is_locked() {
7833 is_locked_ = false;
7834 clear_has_is_locked();
7835}
7836inline bool GameStatus::is_locked() const {
7837 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_locked)
7838 return is_locked_;
7839}
7840inline void GameStatus::set_is_locked(bool value) {
7841 set_has_is_locked();
7842 is_locked_ = value;
7843 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_locked)
7844}
7845
7846// optional bool is_bam_unlockable = 9;
7847inline bool GameStatus::has_is_bam_unlockable() const {
7848 return (_has_bits_[0] & 0x00000020u) != 0;
7849}
7850inline void GameStatus::set_has_is_bam_unlockable() {
7851 _has_bits_[0] |= 0x00000020u;
7852}
7853inline void GameStatus::clear_has_is_bam_unlockable() {
7854 _has_bits_[0] &= ~0x00000020u;
7855}
7856inline void GameStatus::clear_is_bam_unlockable() {
7857 is_bam_unlockable_ = false;
7858 clear_has_is_bam_unlockable();
7859}
7860inline bool GameStatus::is_bam_unlockable() const {
7861 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameStatus.is_bam_unlockable)
7862 return is_bam_unlockable_;
7863}
7864inline void GameStatus::set_is_bam_unlockable(bool value) {
7865 set_has_is_bam_unlockable();
7866 is_bam_unlockable_ = value;
7867 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameStatus.is_bam_unlockable)
7868}
7869
7870// -------------------------------------------------------------------
7871
7872// RAFInfo
7873
7874// optional bytes raf_info = 1;
7875inline bool RAFInfo::has_raf_info() const {
7876 return (_has_bits_[0] & 0x00000001u) != 0;
7877}
7878inline void RAFInfo::set_has_raf_info() {
7879 _has_bits_[0] |= 0x00000001u;
7880}
7881inline void RAFInfo::clear_has_raf_info() {
7882 _has_bits_[0] &= ~0x00000001u;
7883}
7884inline void RAFInfo::clear_raf_info() {
7885 if (raf_info_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7886 raf_info_->clear();
7887 }
7888 clear_has_raf_info();
7889}
7890inline const ::std::string& RAFInfo::raf_info() const {
7891 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RAFInfo.raf_info)
7892 return *raf_info_;
7893}
7894inline void RAFInfo::set_raf_info(const ::std::string& value) {
7895 set_has_raf_info();
7896 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7897 raf_info_ = new ::std::string;
7898 }
7899 raf_info_->assign(value);
7900 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RAFInfo.raf_info)
7901}
7902inline void RAFInfo::set_raf_info(const char* value) {
7903 set_has_raf_info();
7904 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7905 raf_info_ = new ::std::string;
7906 }
7907 raf_info_->assign(value);
7908 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.RAFInfo.raf_info)
7909}
7910inline void RAFInfo::set_raf_info(const void* value, size_t size) {
7911 set_has_raf_info();
7912 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7913 raf_info_ = new ::std::string;
7914 }
7915 raf_info_->assign(reinterpret_cast<const char*>(value), size);
7916 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.RAFInfo.raf_info)
7917}
7918inline ::std::string* RAFInfo::mutable_raf_info() {
7919 set_has_raf_info();
7920 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7921 raf_info_ = new ::std::string;
7922 }
7923 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.RAFInfo.raf_info)
7924 return raf_info_;
7925}
7926inline ::std::string* RAFInfo::release_raf_info() {
7927 clear_has_raf_info();
7928 if (raf_info_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7929 return NULL;
7930 } else {
7931 ::std::string* temp = raf_info_;
7932 raf_info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7933 return temp;
7934 }
7935}
7936inline void RAFInfo::set_allocated_raf_info(::std::string* raf_info) {
7937 if (raf_info_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7938 delete raf_info_;
7939 }
7940 if (raf_info) {
7941 set_has_raf_info();
7942 raf_info_ = raf_info;
7943 } else {
7944 clear_has_raf_info();
7945 raf_info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7946 }
7947 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.RAFInfo.raf_info)
7948}
7949
7950// -------------------------------------------------------------------
7951
7952// GameSessionInfo
7953
7954// optional uint32 start_time = 3 [deprecated = true];
7955inline bool GameSessionInfo::has_start_time() const {
7956 return (_has_bits_[0] & 0x00000001u) != 0;
7957}
7958inline void GameSessionInfo::set_has_start_time() {
7959 _has_bits_[0] |= 0x00000001u;
7960}
7961inline void GameSessionInfo::clear_has_start_time() {
7962 _has_bits_[0] &= ~0x00000001u;
7963}
7964inline void GameSessionInfo::clear_start_time() {
7965 start_time_ = 0u;
7966 clear_has_start_time();
7967}
7968inline ::google::protobuf::uint32 GameSessionInfo::start_time() const {
7969 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.start_time)
7970 return start_time_;
7971}
7972inline void GameSessionInfo::set_start_time(::google::protobuf::uint32 value) {
7973 set_has_start_time();
7974 start_time_ = value;
7975 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.start_time)
7976}
7977
7978// optional .bgs.protocol.account.v1.GameSessionLocation location = 4;
7979inline bool GameSessionInfo::has_location() const {
7980 return (_has_bits_[0] & 0x00000002u) != 0;
7981}
7982inline void GameSessionInfo::set_has_location() {
7983 _has_bits_[0] |= 0x00000002u;
7984}
7985inline void GameSessionInfo::clear_has_location() {
7986 _has_bits_[0] &= ~0x00000002u;
7987}
7988inline void GameSessionInfo::clear_location() {
7989 if (location_ != NULL) location_->::bgs::protocol::account::v1::GameSessionLocation::Clear();
7990 clear_has_location();
7991}
7992inline const ::bgs::protocol::account::v1::GameSessionLocation& GameSessionInfo::location() const {
7993 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.location)
7994 return location_ != NULL ? *location_ : *default_instance_->location_;
7995}
7996inline ::bgs::protocol::account::v1::GameSessionLocation* GameSessionInfo::mutable_location() {
7997 set_has_location();
7998 if (location_ == NULL) location_ = new ::bgs::protocol::account::v1::GameSessionLocation;
7999 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionInfo.location)
8000 return location_;
8001}
8002inline ::bgs::protocol::account::v1::GameSessionLocation* GameSessionInfo::release_location() {
8003 clear_has_location();
8005 location_ = NULL;
8006 return temp;
8007}
8008inline void GameSessionInfo::set_allocated_location(::bgs::protocol::account::v1::GameSessionLocation* location) {
8009 delete location_;
8010 location_ = location;
8011 if (location) {
8012 set_has_location();
8013 } else {
8014 clear_has_location();
8015 }
8016 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionInfo.location)
8017}
8018
8019// optional bool has_benefactor = 5;
8020inline bool GameSessionInfo::has_has_benefactor() const {
8021 return (_has_bits_[0] & 0x00000004u) != 0;
8022}
8023inline void GameSessionInfo::set_has_has_benefactor() {
8024 _has_bits_[0] |= 0x00000004u;
8025}
8026inline void GameSessionInfo::clear_has_has_benefactor() {
8027 _has_bits_[0] &= ~0x00000004u;
8028}
8029inline void GameSessionInfo::clear_has_benefactor() {
8030 has_benefactor_ = false;
8031 clear_has_has_benefactor();
8032}
8033inline bool GameSessionInfo::has_benefactor() const {
8034 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.has_benefactor)
8035 return has_benefactor_;
8036}
8037inline void GameSessionInfo::set_has_benefactor(bool value) {
8038 set_has_has_benefactor();
8039 has_benefactor_ = value;
8040 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.has_benefactor)
8041}
8042
8043// optional bool is_using_igr = 6;
8044inline bool GameSessionInfo::has_is_using_igr() const {
8045 return (_has_bits_[0] & 0x00000008u) != 0;
8046}
8047inline void GameSessionInfo::set_has_is_using_igr() {
8048 _has_bits_[0] |= 0x00000008u;
8049}
8050inline void GameSessionInfo::clear_has_is_using_igr() {
8051 _has_bits_[0] &= ~0x00000008u;
8052}
8053inline void GameSessionInfo::clear_is_using_igr() {
8054 is_using_igr_ = false;
8055 clear_has_is_using_igr();
8056}
8057inline bool GameSessionInfo::is_using_igr() const {
8058 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.is_using_igr)
8059 return is_using_igr_;
8060}
8061inline void GameSessionInfo::set_is_using_igr(bool value) {
8062 set_has_is_using_igr();
8063 is_using_igr_ = value;
8064 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.is_using_igr)
8065}
8066
8067// optional bool parental_controls_active = 7;
8068inline bool GameSessionInfo::has_parental_controls_active() const {
8069 return (_has_bits_[0] & 0x00000010u) != 0;
8070}
8071inline void GameSessionInfo::set_has_parental_controls_active() {
8072 _has_bits_[0] |= 0x00000010u;
8073}
8074inline void GameSessionInfo::clear_has_parental_controls_active() {
8075 _has_bits_[0] &= ~0x00000010u;
8076}
8077inline void GameSessionInfo::clear_parental_controls_active() {
8078 parental_controls_active_ = false;
8079 clear_has_parental_controls_active();
8080}
8081inline bool GameSessionInfo::parental_controls_active() const {
8082 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.parental_controls_active)
8083 return parental_controls_active_;
8084}
8085inline void GameSessionInfo::set_parental_controls_active(bool value) {
8086 set_has_parental_controls_active();
8087 parental_controls_active_ = value;
8088 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.parental_controls_active)
8089}
8090
8091// optional uint64 start_time_sec = 8;
8092inline bool GameSessionInfo::has_start_time_sec() const {
8093 return (_has_bits_[0] & 0x00000020u) != 0;
8094}
8095inline void GameSessionInfo::set_has_start_time_sec() {
8096 _has_bits_[0] |= 0x00000020u;
8097}
8098inline void GameSessionInfo::clear_has_start_time_sec() {
8099 _has_bits_[0] &= ~0x00000020u;
8100}
8101inline void GameSessionInfo::clear_start_time_sec() {
8102 start_time_sec_ = GOOGLE_ULONGLONG(0);
8103 clear_has_start_time_sec();
8104}
8105inline ::google::protobuf::uint64 GameSessionInfo::start_time_sec() const {
8106 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.start_time_sec)
8107 return start_time_sec_;
8108}
8109inline void GameSessionInfo::set_start_time_sec(::google::protobuf::uint64 value) {
8110 set_has_start_time_sec();
8111 start_time_sec_ = value;
8112 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.start_time_sec)
8113}
8114
8115// optional .bgs.protocol.account.v1.IgrId igr_id = 9;
8116inline bool GameSessionInfo::has_igr_id() const {
8117 return (_has_bits_[0] & 0x00000040u) != 0;
8118}
8119inline void GameSessionInfo::set_has_igr_id() {
8120 _has_bits_[0] |= 0x00000040u;
8121}
8122inline void GameSessionInfo::clear_has_igr_id() {
8123 _has_bits_[0] &= ~0x00000040u;
8124}
8125inline void GameSessionInfo::clear_igr_id() {
8126 if (igr_id_ != NULL) igr_id_->::bgs::protocol::account::v1::IgrId::Clear();
8127 clear_has_igr_id();
8128}
8129inline const ::bgs::protocol::account::v1::IgrId& GameSessionInfo::igr_id() const {
8130 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8131 return igr_id_ != NULL ? *igr_id_ : *default_instance_->igr_id_;
8132}
8133inline ::bgs::protocol::account::v1::IgrId* GameSessionInfo::mutable_igr_id() {
8134 set_has_igr_id();
8135 if (igr_id_ == NULL) igr_id_ = new ::bgs::protocol::account::v1::IgrId;
8136 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8137 return igr_id_;
8138}
8139inline ::bgs::protocol::account::v1::IgrId* GameSessionInfo::release_igr_id() {
8140 clear_has_igr_id();
8142 igr_id_ = NULL;
8143 return temp;
8144}
8145inline void GameSessionInfo::set_allocated_igr_id(::bgs::protocol::account::v1::IgrId* igr_id) {
8146 delete igr_id_;
8147 igr_id_ = igr_id;
8148 if (igr_id) {
8149 set_has_igr_id();
8150 } else {
8151 clear_has_igr_id();
8152 }
8153 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionInfo.igr_id)
8154}
8155
8156// optional fixed32 platform_id = 10;
8157inline bool GameSessionInfo::has_platform_id() const {
8158 return (_has_bits_[0] & 0x00000080u) != 0;
8159}
8160inline void GameSessionInfo::set_has_platform_id() {
8161 _has_bits_[0] |= 0x00000080u;
8162}
8163inline void GameSessionInfo::clear_has_platform_id() {
8164 _has_bits_[0] &= ~0x00000080u;
8165}
8166inline void GameSessionInfo::clear_platform_id() {
8167 platform_id_ = 0u;
8168 clear_has_platform_id();
8169}
8170inline ::google::protobuf::uint32 GameSessionInfo::platform_id() const {
8171 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.platform_id)
8172 return platform_id_;
8173}
8174inline void GameSessionInfo::set_platform_id(::google::protobuf::uint32 value) {
8175 set_has_platform_id();
8176 platform_id_ = value;
8177 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.platform_id)
8178}
8179
8180// optional bool igr_paid = 11;
8181inline bool GameSessionInfo::has_igr_paid() const {
8182 return (_has_bits_[0] & 0x00000100u) != 0;
8183}
8184inline void GameSessionInfo::set_has_igr_paid() {
8185 _has_bits_[0] |= 0x00000100u;
8186}
8187inline void GameSessionInfo::clear_has_igr_paid() {
8188 _has_bits_[0] &= ~0x00000100u;
8189}
8190inline void GameSessionInfo::clear_igr_paid() {
8191 igr_paid_ = false;
8192 clear_has_igr_paid();
8193}
8194inline bool GameSessionInfo::igr_paid() const {
8195 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
8196 return igr_paid_;
8197}
8198inline void GameSessionInfo::set_igr_paid(bool value) {
8199 set_has_igr_paid();
8200 igr_paid_ = value;
8201 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
8202}
8203
8204// -------------------------------------------------------------------
8205
8206// GameSessionUpdateInfo
8207
8208// optional .bgs.protocol.account.v1.CAIS cais = 8;
8209inline bool GameSessionUpdateInfo::has_cais() const {
8210 return (_has_bits_[0] & 0x00000001u) != 0;
8211}
8212inline void GameSessionUpdateInfo::set_has_cais() {
8213 _has_bits_[0] |= 0x00000001u;
8214}
8215inline void GameSessionUpdateInfo::clear_has_cais() {
8216 _has_bits_[0] &= ~0x00000001u;
8217}
8218inline void GameSessionUpdateInfo::clear_cais() {
8219 if (cais_ != NULL) cais_->::bgs::protocol::account::v1::CAIS::Clear();
8220 clear_has_cais();
8221}
8222inline const ::bgs::protocol::account::v1::CAIS& GameSessionUpdateInfo::cais() const {
8223 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8224 return cais_ != NULL ? *cais_ : *default_instance_->cais_;
8225}
8226inline ::bgs::protocol::account::v1::CAIS* GameSessionUpdateInfo::mutable_cais() {
8227 set_has_cais();
8228 if (cais_ == NULL) cais_ = new ::bgs::protocol::account::v1::CAIS;
8229 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8230 return cais_;
8231}
8232inline ::bgs::protocol::account::v1::CAIS* GameSessionUpdateInfo::release_cais() {
8233 clear_has_cais();
8235 cais_ = NULL;
8236 return temp;
8237}
8238inline void GameSessionUpdateInfo::set_allocated_cais(::bgs::protocol::account::v1::CAIS* cais) {
8239 delete cais_;
8240 cais_ = cais;
8241 if (cais) {
8242 set_has_cais();
8243 } else {
8244 clear_has_cais();
8245 }
8246 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionUpdateInfo.cais)
8247}
8248
8249// -------------------------------------------------------------------
8250
8251// GameSessionLocation
8252
8253// optional string ip_address = 1;
8254inline bool GameSessionLocation::has_ip_address() const {
8255 return (_has_bits_[0] & 0x00000001u) != 0;
8256}
8257inline void GameSessionLocation::set_has_ip_address() {
8258 _has_bits_[0] |= 0x00000001u;
8259}
8260inline void GameSessionLocation::clear_has_ip_address() {
8261 _has_bits_[0] &= ~0x00000001u;
8262}
8263inline void GameSessionLocation::clear_ip_address() {
8264 if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8265 ip_address_->clear();
8266 }
8267 clear_has_ip_address();
8268}
8269inline const ::std::string& GameSessionLocation::ip_address() const {
8270 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8271 return *ip_address_;
8272}
8273inline void GameSessionLocation::set_ip_address(const ::std::string& value) {
8274 set_has_ip_address();
8275 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8276 ip_address_ = new ::std::string;
8277 }
8278 ip_address_->assign(value);
8279 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8280}
8281inline void GameSessionLocation::set_ip_address(const char* value) {
8282 set_has_ip_address();
8283 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8284 ip_address_ = new ::std::string;
8285 }
8286 ip_address_->assign(value);
8287 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8288}
8289inline void GameSessionLocation::set_ip_address(const char* value, size_t size) {
8290 set_has_ip_address();
8291 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8292 ip_address_ = new ::std::string;
8293 }
8294 ip_address_->assign(reinterpret_cast<const char*>(value), size);
8295 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8296}
8297inline ::std::string* GameSessionLocation::mutable_ip_address() {
8298 set_has_ip_address();
8299 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8300 ip_address_ = new ::std::string;
8301 }
8302 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8303 return ip_address_;
8304}
8305inline ::std::string* GameSessionLocation::release_ip_address() {
8306 clear_has_ip_address();
8307 if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8308 return NULL;
8309 } else {
8310 ::std::string* temp = ip_address_;
8311 ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8312 return temp;
8313 }
8314}
8315inline void GameSessionLocation::set_allocated_ip_address(::std::string* ip_address) {
8316 if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8317 delete ip_address_;
8318 }
8319 if (ip_address) {
8320 set_has_ip_address();
8321 ip_address_ = ip_address;
8322 } else {
8323 clear_has_ip_address();
8324 ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8325 }
8326 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionLocation.ip_address)
8327}
8328
8329// optional uint32 country = 2;
8330inline bool GameSessionLocation::has_country() const {
8331 return (_has_bits_[0] & 0x00000002u) != 0;
8332}
8333inline void GameSessionLocation::set_has_country() {
8334 _has_bits_[0] |= 0x00000002u;
8335}
8336inline void GameSessionLocation::clear_has_country() {
8337 _has_bits_[0] &= ~0x00000002u;
8338}
8339inline void GameSessionLocation::clear_country() {
8340 country_ = 0u;
8341 clear_has_country();
8342}
8343inline ::google::protobuf::uint32 GameSessionLocation::country() const {
8344 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.country)
8345 return country_;
8346}
8347inline void GameSessionLocation::set_country(::google::protobuf::uint32 value) {
8348 set_has_country();
8349 country_ = value;
8350 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.country)
8351}
8352
8353// optional string city = 3;
8354inline bool GameSessionLocation::has_city() const {
8355 return (_has_bits_[0] & 0x00000004u) != 0;
8356}
8357inline void GameSessionLocation::set_has_city() {
8358 _has_bits_[0] |= 0x00000004u;
8359}
8360inline void GameSessionLocation::clear_has_city() {
8361 _has_bits_[0] &= ~0x00000004u;
8362}
8363inline void GameSessionLocation::clear_city() {
8364 if (city_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8365 city_->clear();
8366 }
8367 clear_has_city();
8368}
8369inline const ::std::string& GameSessionLocation::city() const {
8370 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionLocation.city)
8371 return *city_;
8372}
8373inline void GameSessionLocation::set_city(const ::std::string& value) {
8374 set_has_city();
8375 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8376 city_ = new ::std::string;
8377 }
8378 city_->assign(value);
8379 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionLocation.city)
8380}
8381inline void GameSessionLocation::set_city(const char* value) {
8382 set_has_city();
8383 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8384 city_ = new ::std::string;
8385 }
8386 city_->assign(value);
8387 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameSessionLocation.city)
8388}
8389inline void GameSessionLocation::set_city(const char* value, size_t size) {
8390 set_has_city();
8391 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8392 city_ = new ::std::string;
8393 }
8394 city_->assign(reinterpret_cast<const char*>(value), size);
8395 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameSessionLocation.city)
8396}
8397inline ::std::string* GameSessionLocation::mutable_city() {
8398 set_has_city();
8399 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8400 city_ = new ::std::string;
8401 }
8402 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameSessionLocation.city)
8403 return city_;
8404}
8405inline ::std::string* GameSessionLocation::release_city() {
8406 clear_has_city();
8407 if (city_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8408 return NULL;
8409 } else {
8410 ::std::string* temp = city_;
8411 city_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8412 return temp;
8413 }
8414}
8415inline void GameSessionLocation::set_allocated_city(::std::string* city) {
8416 if (city_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8417 delete city_;
8418 }
8419 if (city) {
8420 set_has_city();
8421 city_ = city;
8422 } else {
8423 clear_has_city();
8424 city_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8425 }
8426 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionLocation.city)
8427}
8428
8429// -------------------------------------------------------------------
8430
8431// CAIS
8432
8433// optional uint32 played_minutes = 1;
8434inline bool CAIS::has_played_minutes() const {
8435 return (_has_bits_[0] & 0x00000001u) != 0;
8436}
8437inline void CAIS::set_has_played_minutes() {
8438 _has_bits_[0] |= 0x00000001u;
8439}
8440inline void CAIS::clear_has_played_minutes() {
8441 _has_bits_[0] &= ~0x00000001u;
8442}
8443inline void CAIS::clear_played_minutes() {
8444 played_minutes_ = 0u;
8445 clear_has_played_minutes();
8446}
8447inline ::google::protobuf::uint32 CAIS::played_minutes() const {
8448 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.played_minutes)
8449 return played_minutes_;
8450}
8451inline void CAIS::set_played_minutes(::google::protobuf::uint32 value) {
8452 set_has_played_minutes();
8453 played_minutes_ = value;
8454 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.played_minutes)
8455}
8456
8457// optional uint32 rested_minutes = 2;
8458inline bool CAIS::has_rested_minutes() const {
8459 return (_has_bits_[0] & 0x00000002u) != 0;
8460}
8461inline void CAIS::set_has_rested_minutes() {
8462 _has_bits_[0] |= 0x00000002u;
8463}
8464inline void CAIS::clear_has_rested_minutes() {
8465 _has_bits_[0] &= ~0x00000002u;
8466}
8467inline void CAIS::clear_rested_minutes() {
8468 rested_minutes_ = 0u;
8469 clear_has_rested_minutes();
8470}
8471inline ::google::protobuf::uint32 CAIS::rested_minutes() const {
8472 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.rested_minutes)
8473 return rested_minutes_;
8474}
8475inline void CAIS::set_rested_minutes(::google::protobuf::uint32 value) {
8476 set_has_rested_minutes();
8477 rested_minutes_ = value;
8478 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.rested_minutes)
8479}
8480
8481// optional uint64 last_heard_time = 3;
8482inline bool CAIS::has_last_heard_time() const {
8483 return (_has_bits_[0] & 0x00000004u) != 0;
8484}
8485inline void CAIS::set_has_last_heard_time() {
8486 _has_bits_[0] |= 0x00000004u;
8487}
8488inline void CAIS::clear_has_last_heard_time() {
8489 _has_bits_[0] &= ~0x00000004u;
8490}
8491inline void CAIS::clear_last_heard_time() {
8492 last_heard_time_ = GOOGLE_ULONGLONG(0);
8493 clear_has_last_heard_time();
8494}
8495inline ::google::protobuf::uint64 CAIS::last_heard_time() const {
8496 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CAIS.last_heard_time)
8497 return last_heard_time_;
8498}
8499inline void CAIS::set_last_heard_time(::google::protobuf::uint64 value) {
8500 set_has_last_heard_time();
8501 last_heard_time_ = value;
8502 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CAIS.last_heard_time)
8503}
8504
8505// -------------------------------------------------------------------
8506
8507// GameAccountList
8508
8509// optional uint32 region = 3;
8510inline bool GameAccountList::has_region() const {
8511 return (_has_bits_[0] & 0x00000001u) != 0;
8512}
8513inline void GameAccountList::set_has_region() {
8514 _has_bits_[0] |= 0x00000001u;
8515}
8516inline void GameAccountList::clear_has_region() {
8517 _has_bits_[0] &= ~0x00000001u;
8518}
8519inline void GameAccountList::clear_region() {
8520 region_ = 0u;
8521 clear_has_region();
8522}
8523inline ::google::protobuf::uint32 GameAccountList::region() const {
8524 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountList.region)
8525 return region_;
8526}
8527inline void GameAccountList::set_region(::google::protobuf::uint32 value) {
8528 set_has_region();
8529 region_ = value;
8530 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountList.region)
8531}
8532
8533// repeated .bgs.protocol.account.v1.GameAccountHandle handle = 4;
8534inline int GameAccountList::handle_size() const {
8535 return handle_.size();
8536}
8537inline void GameAccountList::clear_handle() {
8538 handle_.Clear();
8539}
8540inline const ::bgs::protocol::account::v1::GameAccountHandle& GameAccountList::handle(int index) const {
8541 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountList.handle)
8542 return handle_.Get(index);
8543}
8544inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountList::mutable_handle(int index) {
8545 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountList.handle)
8546 return handle_.Mutable(index);
8547}
8548inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountList::add_handle() {
8549 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GameAccountList.handle)
8550 return handle_.Add();
8551}
8552inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
8553GameAccountList::handle() const {
8554 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GameAccountList.handle)
8555 return handle_;
8556}
8557inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
8558GameAccountList::mutable_handle() {
8559 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GameAccountList.handle)
8560 return &handle_;
8561}
8562
8563// -------------------------------------------------------------------
8564
8565// SecurityStatus
8566
8567// optional bool sms_protect_enabled = 1;
8568inline bool SecurityStatus::has_sms_protect_enabled() const {
8569 return (_has_bits_[0] & 0x00000001u) != 0;
8570}
8571inline void SecurityStatus::set_has_sms_protect_enabled() {
8572 _has_bits_[0] |= 0x00000001u;
8573}
8574inline void SecurityStatus::clear_has_sms_protect_enabled() {
8575 _has_bits_[0] &= ~0x00000001u;
8576}
8577inline void SecurityStatus::clear_sms_protect_enabled() {
8578 sms_protect_enabled_ = false;
8579 clear_has_sms_protect_enabled();
8580}
8581inline bool SecurityStatus::sms_protect_enabled() const {
8582 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.sms_protect_enabled)
8583 return sms_protect_enabled_;
8584}
8585inline void SecurityStatus::set_sms_protect_enabled(bool value) {
8586 set_has_sms_protect_enabled();
8587 sms_protect_enabled_ = value;
8588 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.sms_protect_enabled)
8589}
8590
8591// optional bool email_verified = 2;
8592inline bool SecurityStatus::has_email_verified() const {
8593 return (_has_bits_[0] & 0x00000002u) != 0;
8594}
8595inline void SecurityStatus::set_has_email_verified() {
8596 _has_bits_[0] |= 0x00000002u;
8597}
8598inline void SecurityStatus::clear_has_email_verified() {
8599 _has_bits_[0] &= ~0x00000002u;
8600}
8601inline void SecurityStatus::clear_email_verified() {
8602 email_verified_ = false;
8603 clear_has_email_verified();
8604}
8605inline bool SecurityStatus::email_verified() const {
8606 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.email_verified)
8607 return email_verified_;
8608}
8609inline void SecurityStatus::set_email_verified(bool value) {
8610 set_has_email_verified();
8611 email_verified_ = value;
8612 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.email_verified)
8613}
8614
8615// optional bool authenticator_enabled = 3;
8616inline bool SecurityStatus::has_authenticator_enabled() const {
8617 return (_has_bits_[0] & 0x00000004u) != 0;
8618}
8619inline void SecurityStatus::set_has_authenticator_enabled() {
8620 _has_bits_[0] |= 0x00000004u;
8621}
8622inline void SecurityStatus::clear_has_authenticator_enabled() {
8623 _has_bits_[0] &= ~0x00000004u;
8624}
8625inline void SecurityStatus::clear_authenticator_enabled() {
8626 authenticator_enabled_ = false;
8627 clear_has_authenticator_enabled();
8628}
8629inline bool SecurityStatus::authenticator_enabled() const {
8630 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.authenticator_enabled)
8631 return authenticator_enabled_;
8632}
8633inline void SecurityStatus::set_authenticator_enabled(bool value) {
8634 set_has_authenticator_enabled();
8635 authenticator_enabled_ = value;
8636 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.authenticator_enabled)
8637}
8638
8639// optional bool sqa_enabled = 4;
8640inline bool SecurityStatus::has_sqa_enabled() const {
8641 return (_has_bits_[0] & 0x00000008u) != 0;
8642}
8643inline void SecurityStatus::set_has_sqa_enabled() {
8644 _has_bits_[0] |= 0x00000008u;
8645}
8646inline void SecurityStatus::clear_has_sqa_enabled() {
8647 _has_bits_[0] &= ~0x00000008u;
8648}
8649inline void SecurityStatus::clear_sqa_enabled() {
8650 sqa_enabled_ = false;
8651 clear_has_sqa_enabled();
8652}
8653inline bool SecurityStatus::sqa_enabled() const {
8654 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.sqa_enabled)
8655 return sqa_enabled_;
8656}
8657inline void SecurityStatus::set_sqa_enabled(bool value) {
8658 set_has_sqa_enabled();
8659 sqa_enabled_ = value;
8660 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.sqa_enabled)
8661}
8662
8663// optional bool authenticator_required = 5;
8664inline bool SecurityStatus::has_authenticator_required() const {
8665 return (_has_bits_[0] & 0x00000010u) != 0;
8666}
8667inline void SecurityStatus::set_has_authenticator_required() {
8668 _has_bits_[0] |= 0x00000010u;
8669}
8670inline void SecurityStatus::clear_has_authenticator_required() {
8671 _has_bits_[0] &= ~0x00000010u;
8672}
8673inline void SecurityStatus::clear_authenticator_required() {
8674 authenticator_required_ = false;
8675 clear_has_authenticator_required();
8676}
8677inline bool SecurityStatus::authenticator_required() const {
8678 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SecurityStatus.authenticator_required)
8679 return authenticator_required_;
8680}
8681inline void SecurityStatus::set_authenticator_required(bool value) {
8682 set_has_authenticator_required();
8683 authenticator_required_ = value;
8684 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.SecurityStatus.authenticator_required)
8685}
8686
8687// -------------------------------------------------------------------
8688
8689// AccountState
8690
8691// optional .bgs.protocol.account.v1.AccountLevelInfo account_level_info = 1;
8692inline bool AccountState::has_account_level_info() const {
8693 return (_has_bits_[0] & 0x00000001u) != 0;
8694}
8695inline void AccountState::set_has_account_level_info() {
8696 _has_bits_[0] |= 0x00000001u;
8697}
8698inline void AccountState::clear_has_account_level_info() {
8699 _has_bits_[0] &= ~0x00000001u;
8700}
8701inline void AccountState::clear_account_level_info() {
8702 if (account_level_info_ != NULL) account_level_info_->::bgs::protocol::account::v1::AccountLevelInfo::Clear();
8703 clear_has_account_level_info();
8704}
8705inline const ::bgs::protocol::account::v1::AccountLevelInfo& AccountState::account_level_info() const {
8706 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.account_level_info)
8707 return account_level_info_ != NULL ? *account_level_info_ : *default_instance_->account_level_info_;
8708}
8709inline ::bgs::protocol::account::v1::AccountLevelInfo* AccountState::mutable_account_level_info() {
8710 set_has_account_level_info();
8711 if (account_level_info_ == NULL) account_level_info_ = new ::bgs::protocol::account::v1::AccountLevelInfo;
8712 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.account_level_info)
8713 return account_level_info_;
8714}
8715inline ::bgs::protocol::account::v1::AccountLevelInfo* AccountState::release_account_level_info() {
8716 clear_has_account_level_info();
8717 ::bgs::protocol::account::v1::AccountLevelInfo* temp = account_level_info_;
8718 account_level_info_ = NULL;
8719 return temp;
8720}
8721inline void AccountState::set_allocated_account_level_info(::bgs::protocol::account::v1::AccountLevelInfo* account_level_info) {
8722 delete account_level_info_;
8723 account_level_info_ = account_level_info;
8724 if (account_level_info) {
8725 set_has_account_level_info();
8726 } else {
8727 clear_has_account_level_info();
8728 }
8729 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.account_level_info)
8730}
8731
8732// optional .bgs.protocol.account.v1.PrivacyInfo privacy_info = 2;
8733inline bool AccountState::has_privacy_info() const {
8734 return (_has_bits_[0] & 0x00000002u) != 0;
8735}
8736inline void AccountState::set_has_privacy_info() {
8737 _has_bits_[0] |= 0x00000002u;
8738}
8739inline void AccountState::clear_has_privacy_info() {
8740 _has_bits_[0] &= ~0x00000002u;
8741}
8742inline void AccountState::clear_privacy_info() {
8743 if (privacy_info_ != NULL) privacy_info_->::bgs::protocol::account::v1::PrivacyInfo::Clear();
8744 clear_has_privacy_info();
8745}
8746inline const ::bgs::protocol::account::v1::PrivacyInfo& AccountState::privacy_info() const {
8747 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.privacy_info)
8748 return privacy_info_ != NULL ? *privacy_info_ : *default_instance_->privacy_info_;
8749}
8750inline ::bgs::protocol::account::v1::PrivacyInfo* AccountState::mutable_privacy_info() {
8751 set_has_privacy_info();
8752 if (privacy_info_ == NULL) privacy_info_ = new ::bgs::protocol::account::v1::PrivacyInfo;
8753 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.privacy_info)
8754 return privacy_info_;
8755}
8756inline ::bgs::protocol::account::v1::PrivacyInfo* AccountState::release_privacy_info() {
8757 clear_has_privacy_info();
8758 ::bgs::protocol::account::v1::PrivacyInfo* temp = privacy_info_;
8759 privacy_info_ = NULL;
8760 return temp;
8761}
8762inline void AccountState::set_allocated_privacy_info(::bgs::protocol::account::v1::PrivacyInfo* privacy_info) {
8763 delete privacy_info_;
8764 privacy_info_ = privacy_info;
8765 if (privacy_info) {
8766 set_has_privacy_info();
8767 } else {
8768 clear_has_privacy_info();
8769 }
8770 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.privacy_info)
8771}
8772
8773// optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 3;
8774inline bool AccountState::has_parental_control_info() const {
8775 return (_has_bits_[0] & 0x00000004u) != 0;
8776}
8777inline void AccountState::set_has_parental_control_info() {
8778 _has_bits_[0] |= 0x00000004u;
8779}
8780inline void AccountState::clear_has_parental_control_info() {
8781 _has_bits_[0] &= ~0x00000004u;
8782}
8783inline void AccountState::clear_parental_control_info() {
8784 if (parental_control_info_ != NULL) parental_control_info_->::bgs::protocol::account::v1::ParentalControlInfo::Clear();
8785 clear_has_parental_control_info();
8786}
8787inline const ::bgs::protocol::account::v1::ParentalControlInfo& AccountState::parental_control_info() const {
8788 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.parental_control_info)
8789 return parental_control_info_ != NULL ? *parental_control_info_ : *default_instance_->parental_control_info_;
8790}
8791inline ::bgs::protocol::account::v1::ParentalControlInfo* AccountState::mutable_parental_control_info() {
8792 set_has_parental_control_info();
8793 if (parental_control_info_ == NULL) parental_control_info_ = new ::bgs::protocol::account::v1::ParentalControlInfo;
8794 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.parental_control_info)
8795 return parental_control_info_;
8796}
8797inline ::bgs::protocol::account::v1::ParentalControlInfo* AccountState::release_parental_control_info() {
8798 clear_has_parental_control_info();
8799 ::bgs::protocol::account::v1::ParentalControlInfo* temp = parental_control_info_;
8800 parental_control_info_ = NULL;
8801 return temp;
8802}
8803inline void AccountState::set_allocated_parental_control_info(::bgs::protocol::account::v1::ParentalControlInfo* parental_control_info) {
8804 delete parental_control_info_;
8805 parental_control_info_ = parental_control_info;
8806 if (parental_control_info) {
8807 set_has_parental_control_info();
8808 } else {
8809 clear_has_parental_control_info();
8810 }
8811 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.parental_control_info)
8812}
8813
8814// repeated .bgs.protocol.account.v1.GameLevelInfo game_level_info = 5;
8815inline int AccountState::game_level_info_size() const {
8816 return game_level_info_.size();
8817}
8818inline void AccountState::clear_game_level_info() {
8819 game_level_info_.Clear();
8820}
8821inline const ::bgs::protocol::account::v1::GameLevelInfo& AccountState::game_level_info(int index) const {
8822 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_level_info)
8823 return game_level_info_.Get(index);
8824}
8825inline ::bgs::protocol::account::v1::GameLevelInfo* AccountState::mutable_game_level_info(int index) {
8826 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_level_info)
8827 return game_level_info_.Mutable(index);
8828}
8829inline ::bgs::protocol::account::v1::GameLevelInfo* AccountState::add_game_level_info() {
8830 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_level_info)
8831 return game_level_info_.Add();
8832}
8833inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >&
8834AccountState::game_level_info() const {
8835 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_level_info)
8836 return game_level_info_;
8837}
8838inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo >*
8839AccountState::mutable_game_level_info() {
8840 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_level_info)
8841 return &game_level_info_;
8842}
8843
8844// repeated .bgs.protocol.account.v1.GameStatus game_status = 6;
8845inline int AccountState::game_status_size() const {
8846 return game_status_.size();
8847}
8848inline void AccountState::clear_game_status() {
8849 game_status_.Clear();
8850}
8851inline const ::bgs::protocol::account::v1::GameStatus& AccountState::game_status(int index) const {
8852 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_status)
8853 return game_status_.Get(index);
8854}
8855inline ::bgs::protocol::account::v1::GameStatus* AccountState::mutable_game_status(int index) {
8856 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_status)
8857 return game_status_.Mutable(index);
8858}
8859inline ::bgs::protocol::account::v1::GameStatus* AccountState::add_game_status() {
8860 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_status)
8861 return game_status_.Add();
8862}
8863inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >&
8864AccountState::game_status() const {
8865 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_status)
8866 return game_status_;
8867}
8868inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus >*
8869AccountState::mutable_game_status() {
8870 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_status)
8871 return &game_status_;
8872}
8873
8874// repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 7;
8875inline int AccountState::game_accounts_size() const {
8876 return game_accounts_.size();
8877}
8878inline void AccountState::clear_game_accounts() {
8879 game_accounts_.Clear();
8880}
8881inline const ::bgs::protocol::account::v1::GameAccountList& AccountState::game_accounts(int index) const {
8882 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.game_accounts)
8883 return game_accounts_.Get(index);
8884}
8885inline ::bgs::protocol::account::v1::GameAccountList* AccountState::mutable_game_accounts(int index) {
8886 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.game_accounts)
8887 return game_accounts_.Mutable(index);
8888}
8889inline ::bgs::protocol::account::v1::GameAccountList* AccountState::add_game_accounts() {
8890 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AccountState.game_accounts)
8891 return game_accounts_.Add();
8892}
8893inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
8894AccountState::game_accounts() const {
8895 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AccountState.game_accounts)
8896 return game_accounts_;
8897}
8898inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
8899AccountState::mutable_game_accounts() {
8900 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AccountState.game_accounts)
8901 return &game_accounts_;
8902}
8903
8904// optional .bgs.protocol.account.v1.SecurityStatus security_status = 8;
8905inline bool AccountState::has_security_status() const {
8906 return (_has_bits_[0] & 0x00000040u) != 0;
8907}
8908inline void AccountState::set_has_security_status() {
8909 _has_bits_[0] |= 0x00000040u;
8910}
8911inline void AccountState::clear_has_security_status() {
8912 _has_bits_[0] &= ~0x00000040u;
8913}
8914inline void AccountState::clear_security_status() {
8915 if (security_status_ != NULL) security_status_->::bgs::protocol::account::v1::SecurityStatus::Clear();
8916 clear_has_security_status();
8917}
8918inline const ::bgs::protocol::account::v1::SecurityStatus& AccountState::security_status() const {
8919 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.security_status)
8920 return security_status_ != NULL ? *security_status_ : *default_instance_->security_status_;
8921}
8922inline ::bgs::protocol::account::v1::SecurityStatus* AccountState::mutable_security_status() {
8923 set_has_security_status();
8924 if (security_status_ == NULL) security_status_ = new ::bgs::protocol::account::v1::SecurityStatus;
8925 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.security_status)
8926 return security_status_;
8927}
8928inline ::bgs::protocol::account::v1::SecurityStatus* AccountState::release_security_status() {
8929 clear_has_security_status();
8930 ::bgs::protocol::account::v1::SecurityStatus* temp = security_status_;
8931 security_status_ = NULL;
8932 return temp;
8933}
8934inline void AccountState::set_allocated_security_status(::bgs::protocol::account::v1::SecurityStatus* security_status) {
8935 delete security_status_;
8936 security_status_ = security_status;
8937 if (security_status) {
8938 set_has_security_status();
8939 } else {
8940 clear_has_security_status();
8941 }
8942 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.security_status)
8943}
8944
8945// optional .bgs.protocol.account.v1.PlayScheduleRestriction government_curfew = 9;
8946inline bool AccountState::has_government_curfew() const {
8947 return (_has_bits_[0] & 0x00000080u) != 0;
8948}
8949inline void AccountState::set_has_government_curfew() {
8950 _has_bits_[0] |= 0x00000080u;
8951}
8952inline void AccountState::clear_has_government_curfew() {
8953 _has_bits_[0] &= ~0x00000080u;
8954}
8955inline void AccountState::clear_government_curfew() {
8956 if (government_curfew_ != NULL) government_curfew_->::bgs::protocol::account::v1::PlayScheduleRestriction::Clear();
8957 clear_has_government_curfew();
8958}
8959inline const ::bgs::protocol::account::v1::PlayScheduleRestriction& AccountState::government_curfew() const {
8960 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountState.government_curfew)
8961 return government_curfew_ != NULL ? *government_curfew_ : *default_instance_->government_curfew_;
8962}
8963inline ::bgs::protocol::account::v1::PlayScheduleRestriction* AccountState::mutable_government_curfew() {
8964 set_has_government_curfew();
8965 if (government_curfew_ == NULL) government_curfew_ = new ::bgs::protocol::account::v1::PlayScheduleRestriction;
8966 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountState.government_curfew)
8967 return government_curfew_;
8968}
8969inline ::bgs::protocol::account::v1::PlayScheduleRestriction* AccountState::release_government_curfew() {
8970 clear_has_government_curfew();
8972 government_curfew_ = NULL;
8973 return temp;
8974}
8975inline void AccountState::set_allocated_government_curfew(::bgs::protocol::account::v1::PlayScheduleRestriction* government_curfew) {
8976 delete government_curfew_;
8977 government_curfew_ = government_curfew;
8978 if (government_curfew) {
8979 set_has_government_curfew();
8980 } else {
8981 clear_has_government_curfew();
8982 }
8983 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountState.government_curfew)
8984}
8985
8986// -------------------------------------------------------------------
8987
8988// AccountStateTagged
8989
8990// optional .bgs.protocol.account.v1.AccountState account_state = 1;
8991inline bool AccountStateTagged::has_account_state() const {
8992 return (_has_bits_[0] & 0x00000001u) != 0;
8993}
8994inline void AccountStateTagged::set_has_account_state() {
8995 _has_bits_[0] |= 0x00000001u;
8996}
8997inline void AccountStateTagged::clear_has_account_state() {
8998 _has_bits_[0] &= ~0x00000001u;
8999}
9000inline void AccountStateTagged::clear_account_state() {
9001 if (account_state_ != NULL) account_state_->::bgs::protocol::account::v1::AccountState::Clear();
9002 clear_has_account_state();
9003}
9004inline const ::bgs::protocol::account::v1::AccountState& AccountStateTagged::account_state() const {
9005 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateTagged.account_state)
9006 return account_state_ != NULL ? *account_state_ : *default_instance_->account_state_;
9007}
9008inline ::bgs::protocol::account::v1::AccountState* AccountStateTagged::mutable_account_state() {
9009 set_has_account_state();
9010 if (account_state_ == NULL) account_state_ = new ::bgs::protocol::account::v1::AccountState;
9011 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateTagged.account_state)
9012 return account_state_;
9013}
9014inline ::bgs::protocol::account::v1::AccountState* AccountStateTagged::release_account_state() {
9015 clear_has_account_state();
9016 ::bgs::protocol::account::v1::AccountState* temp = account_state_;
9017 account_state_ = NULL;
9018 return temp;
9019}
9020inline void AccountStateTagged::set_allocated_account_state(::bgs::protocol::account::v1::AccountState* account_state) {
9021 delete account_state_;
9022 account_state_ = account_state;
9023 if (account_state) {
9024 set_has_account_state();
9025 } else {
9026 clear_has_account_state();
9027 }
9028 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateTagged.account_state)
9029}
9030
9031// optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 2;
9032inline bool AccountStateTagged::has_account_tags() const {
9033 return (_has_bits_[0] & 0x00000002u) != 0;
9034}
9035inline void AccountStateTagged::set_has_account_tags() {
9036 _has_bits_[0] |= 0x00000002u;
9037}
9038inline void AccountStateTagged::clear_has_account_tags() {
9039 _has_bits_[0] &= ~0x00000002u;
9040}
9041inline void AccountStateTagged::clear_account_tags() {
9042 if (account_tags_ != NULL) account_tags_->::bgs::protocol::account::v1::AccountFieldTags::Clear();
9043 clear_has_account_tags();
9044}
9045inline const ::bgs::protocol::account::v1::AccountFieldTags& AccountStateTagged::account_tags() const {
9046 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9047 return account_tags_ != NULL ? *account_tags_ : *default_instance_->account_tags_;
9048}
9049inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateTagged::mutable_account_tags() {
9050 set_has_account_tags();
9051 if (account_tags_ == NULL) account_tags_ = new ::bgs::protocol::account::v1::AccountFieldTags;
9052 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9053 return account_tags_;
9054}
9055inline ::bgs::protocol::account::v1::AccountFieldTags* AccountStateTagged::release_account_tags() {
9056 clear_has_account_tags();
9058 account_tags_ = NULL;
9059 return temp;
9060}
9061inline void AccountStateTagged::set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags) {
9062 delete account_tags_;
9063 account_tags_ = account_tags;
9064 if (account_tags) {
9065 set_has_account_tags();
9066 } else {
9067 clear_has_account_tags();
9068 }
9069 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountStateTagged.account_tags)
9070}
9071
9072// -------------------------------------------------------------------
9073
9074// GameAccountState
9075
9076// optional .bgs.protocol.account.v1.GameLevelInfo game_level_info = 1;
9077inline bool GameAccountState::has_game_level_info() const {
9078 return (_has_bits_[0] & 0x00000001u) != 0;
9079}
9080inline void GameAccountState::set_has_game_level_info() {
9081 _has_bits_[0] |= 0x00000001u;
9082}
9083inline void GameAccountState::clear_has_game_level_info() {
9084 _has_bits_[0] &= ~0x00000001u;
9085}
9086inline void GameAccountState::clear_game_level_info() {
9087 if (game_level_info_ != NULL) game_level_info_->::bgs::protocol::account::v1::GameLevelInfo::Clear();
9088 clear_has_game_level_info();
9089}
9090inline const ::bgs::protocol::account::v1::GameLevelInfo& GameAccountState::game_level_info() const {
9091 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_level_info)
9092 return game_level_info_ != NULL ? *game_level_info_ : *default_instance_->game_level_info_;
9093}
9094inline ::bgs::protocol::account::v1::GameLevelInfo* GameAccountState::mutable_game_level_info() {
9095 set_has_game_level_info();
9096 if (game_level_info_ == NULL) game_level_info_ = new ::bgs::protocol::account::v1::GameLevelInfo;
9097 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_level_info)
9098 return game_level_info_;
9099}
9100inline ::bgs::protocol::account::v1::GameLevelInfo* GameAccountState::release_game_level_info() {
9101 clear_has_game_level_info();
9102 ::bgs::protocol::account::v1::GameLevelInfo* temp = game_level_info_;
9103 game_level_info_ = NULL;
9104 return temp;
9105}
9106inline void GameAccountState::set_allocated_game_level_info(::bgs::protocol::account::v1::GameLevelInfo* game_level_info) {
9107 delete game_level_info_;
9108 game_level_info_ = game_level_info;
9109 if (game_level_info) {
9110 set_has_game_level_info();
9111 } else {
9112 clear_has_game_level_info();
9113 }
9114 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_level_info)
9115}
9116
9117// optional .bgs.protocol.account.v1.GameTimeInfo game_time_info = 2;
9118inline bool GameAccountState::has_game_time_info() const {
9119 return (_has_bits_[0] & 0x00000002u) != 0;
9120}
9121inline void GameAccountState::set_has_game_time_info() {
9122 _has_bits_[0] |= 0x00000002u;
9123}
9124inline void GameAccountState::clear_has_game_time_info() {
9125 _has_bits_[0] &= ~0x00000002u;
9126}
9127inline void GameAccountState::clear_game_time_info() {
9128 if (game_time_info_ != NULL) game_time_info_->::bgs::protocol::account::v1::GameTimeInfo::Clear();
9129 clear_has_game_time_info();
9130}
9131inline const ::bgs::protocol::account::v1::GameTimeInfo& GameAccountState::game_time_info() const {
9132 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_time_info)
9133 return game_time_info_ != NULL ? *game_time_info_ : *default_instance_->game_time_info_;
9134}
9135inline ::bgs::protocol::account::v1::GameTimeInfo* GameAccountState::mutable_game_time_info() {
9136 set_has_game_time_info();
9137 if (game_time_info_ == NULL) game_time_info_ = new ::bgs::protocol::account::v1::GameTimeInfo;
9138 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_time_info)
9139 return game_time_info_;
9140}
9141inline ::bgs::protocol::account::v1::GameTimeInfo* GameAccountState::release_game_time_info() {
9142 clear_has_game_time_info();
9143 ::bgs::protocol::account::v1::GameTimeInfo* temp = game_time_info_;
9144 game_time_info_ = NULL;
9145 return temp;
9146}
9147inline void GameAccountState::set_allocated_game_time_info(::bgs::protocol::account::v1::GameTimeInfo* game_time_info) {
9148 delete game_time_info_;
9149 game_time_info_ = game_time_info;
9150 if (game_time_info) {
9151 set_has_game_time_info();
9152 } else {
9153 clear_has_game_time_info();
9154 }
9155 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_time_info)
9156}
9157
9158// optional .bgs.protocol.account.v1.GameStatus game_status = 3;
9159inline bool GameAccountState::has_game_status() const {
9160 return (_has_bits_[0] & 0x00000004u) != 0;
9161}
9162inline void GameAccountState::set_has_game_status() {
9163 _has_bits_[0] |= 0x00000004u;
9164}
9165inline void GameAccountState::clear_has_game_status() {
9166 _has_bits_[0] &= ~0x00000004u;
9167}
9168inline void GameAccountState::clear_game_status() {
9169 if (game_status_ != NULL) game_status_->::bgs::protocol::account::v1::GameStatus::Clear();
9170 clear_has_game_status();
9171}
9172inline const ::bgs::protocol::account::v1::GameStatus& GameAccountState::game_status() const {
9173 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.game_status)
9174 return game_status_ != NULL ? *game_status_ : *default_instance_->game_status_;
9175}
9176inline ::bgs::protocol::account::v1::GameStatus* GameAccountState::mutable_game_status() {
9177 set_has_game_status();
9178 if (game_status_ == NULL) game_status_ = new ::bgs::protocol::account::v1::GameStatus;
9179 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.game_status)
9180 return game_status_;
9181}
9182inline ::bgs::protocol::account::v1::GameStatus* GameAccountState::release_game_status() {
9183 clear_has_game_status();
9184 ::bgs::protocol::account::v1::GameStatus* temp = game_status_;
9185 game_status_ = NULL;
9186 return temp;
9187}
9188inline void GameAccountState::set_allocated_game_status(::bgs::protocol::account::v1::GameStatus* game_status) {
9189 delete game_status_;
9190 game_status_ = game_status;
9191 if (game_status) {
9192 set_has_game_status();
9193 } else {
9194 clear_has_game_status();
9195 }
9196 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_status)
9197}
9198
9199// optional .bgs.protocol.account.v1.RAFInfo raf_info = 4 [deprecated = true];
9200inline bool GameAccountState::has_raf_info() const {
9201 return (_has_bits_[0] & 0x00000008u) != 0;
9202}
9203inline void GameAccountState::set_has_raf_info() {
9204 _has_bits_[0] |= 0x00000008u;
9205}
9206inline void GameAccountState::clear_has_raf_info() {
9207 _has_bits_[0] &= ~0x00000008u;
9208}
9209inline void GameAccountState::clear_raf_info() {
9210 if (raf_info_ != NULL) raf_info_->::bgs::protocol::account::v1::RAFInfo::Clear();
9211 clear_has_raf_info();
9212}
9213inline const ::bgs::protocol::account::v1::RAFInfo& GameAccountState::raf_info() const {
9214 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountState.raf_info)
9215 return raf_info_ != NULL ? *raf_info_ : *default_instance_->raf_info_;
9216}
9217inline ::bgs::protocol::account::v1::RAFInfo* GameAccountState::mutable_raf_info() {
9218 set_has_raf_info();
9219 if (raf_info_ == NULL) raf_info_ = new ::bgs::protocol::account::v1::RAFInfo;
9220 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountState.raf_info)
9221 return raf_info_;
9222}
9223inline ::bgs::protocol::account::v1::RAFInfo* GameAccountState::release_raf_info() {
9224 clear_has_raf_info();
9225 ::bgs::protocol::account::v1::RAFInfo* temp = raf_info_;
9226 raf_info_ = NULL;
9227 return temp;
9228}
9229inline void GameAccountState::set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo* raf_info) {
9230 delete raf_info_;
9231 raf_info_ = raf_info;
9232 if (raf_info) {
9233 set_has_raf_info();
9234 } else {
9235 clear_has_raf_info();
9236 }
9237 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.raf_info)
9238}
9239
9240// -------------------------------------------------------------------
9241
9242// GameAccountStateTagged
9243
9244// optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
9245inline bool GameAccountStateTagged::has_game_account_state() const {
9246 return (_has_bits_[0] & 0x00000001u) != 0;
9247}
9248inline void GameAccountStateTagged::set_has_game_account_state() {
9249 _has_bits_[0] |= 0x00000001u;
9250}
9251inline void GameAccountStateTagged::clear_has_game_account_state() {
9252 _has_bits_[0] &= ~0x00000001u;
9253}
9254inline void GameAccountStateTagged::clear_game_account_state() {
9255 if (game_account_state_ != NULL) game_account_state_->::bgs::protocol::account::v1::GameAccountState::Clear();
9256 clear_has_game_account_state();
9257}
9258inline const ::bgs::protocol::account::v1::GameAccountState& GameAccountStateTagged::game_account_state() const {
9259 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9260 return game_account_state_ != NULL ? *game_account_state_ : *default_instance_->game_account_state_;
9261}
9262inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateTagged::mutable_game_account_state() {
9263 set_has_game_account_state();
9264 if (game_account_state_ == NULL) game_account_state_ = new ::bgs::protocol::account::v1::GameAccountState;
9265 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9266 return game_account_state_;
9267}
9268inline ::bgs::protocol::account::v1::GameAccountState* GameAccountStateTagged::release_game_account_state() {
9269 clear_has_game_account_state();
9270 ::bgs::protocol::account::v1::GameAccountState* temp = game_account_state_;
9271 game_account_state_ = NULL;
9272 return temp;
9273}
9274inline void GameAccountStateTagged::set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState* game_account_state) {
9275 delete game_account_state_;
9276 game_account_state_ = game_account_state;
9277 if (game_account_state) {
9278 set_has_game_account_state();
9279 } else {
9280 clear_has_game_account_state();
9281 }
9282 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateTagged.game_account_state)
9283}
9284
9285// optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 2;
9286inline bool GameAccountStateTagged::has_game_account_tags() const {
9287 return (_has_bits_[0] & 0x00000002u) != 0;
9288}
9289inline void GameAccountStateTagged::set_has_game_account_tags() {
9290 _has_bits_[0] |= 0x00000002u;
9291}
9292inline void GameAccountStateTagged::clear_has_game_account_tags() {
9293 _has_bits_[0] &= ~0x00000002u;
9294}
9295inline void GameAccountStateTagged::clear_game_account_tags() {
9296 if (game_account_tags_ != NULL) game_account_tags_->::bgs::protocol::account::v1::GameAccountFieldTags::Clear();
9297 clear_has_game_account_tags();
9298}
9299inline const ::bgs::protocol::account::v1::GameAccountFieldTags& GameAccountStateTagged::game_account_tags() const {
9300 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9301 return game_account_tags_ != NULL ? *game_account_tags_ : *default_instance_->game_account_tags_;
9302}
9303inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateTagged::mutable_game_account_tags() {
9304 set_has_game_account_tags();
9305 if (game_account_tags_ == NULL) game_account_tags_ = new ::bgs::protocol::account::v1::GameAccountFieldTags;
9306 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9307 return game_account_tags_;
9308}
9309inline ::bgs::protocol::account::v1::GameAccountFieldTags* GameAccountStateTagged::release_game_account_tags() {
9310 clear_has_game_account_tags();
9311 ::bgs::protocol::account::v1::GameAccountFieldTags* temp = game_account_tags_;
9312 game_account_tags_ = NULL;
9313 return temp;
9314}
9315inline void GameAccountStateTagged::set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags) {
9316 delete game_account_tags_;
9317 game_account_tags_ = game_account_tags;
9318 if (game_account_tags) {
9319 set_has_game_account_tags();
9320 } else {
9321 clear_has_game_account_tags();
9322 }
9323 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountStateTagged.game_account_tags)
9324}
9325
9326// -------------------------------------------------------------------
9327
9328// AuthorizedData
9329
9330// optional string data = 1;
9331inline bool AuthorizedData::has_data() const {
9332 return (_has_bits_[0] & 0x00000001u) != 0;
9333}
9334inline void AuthorizedData::set_has_data() {
9335 _has_bits_[0] |= 0x00000001u;
9336}
9337inline void AuthorizedData::clear_has_data() {
9338 _has_bits_[0] &= ~0x00000001u;
9339}
9340inline void AuthorizedData::clear_data() {
9341 if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9342 data_->clear();
9343 }
9344 clear_has_data();
9345}
9346inline const ::std::string& AuthorizedData::data() const {
9347 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AuthorizedData.data)
9348 return *data_;
9349}
9350inline void AuthorizedData::set_data(const ::std::string& value) {
9351 set_has_data();
9352 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9353 data_ = new ::std::string;
9354 }
9355 data_->assign(value);
9356 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AuthorizedData.data)
9357}
9358inline void AuthorizedData::set_data(const char* value) {
9359 set_has_data();
9360 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9361 data_ = new ::std::string;
9362 }
9363 data_->assign(value);
9364 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AuthorizedData.data)
9365}
9366inline void AuthorizedData::set_data(const char* value, size_t size) {
9367 set_has_data();
9368 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9369 data_ = new ::std::string;
9370 }
9371 data_->assign(reinterpret_cast<const char*>(value), size);
9372 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AuthorizedData.data)
9373}
9374inline ::std::string* AuthorizedData::mutable_data() {
9375 set_has_data();
9376 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9377 data_ = new ::std::string;
9378 }
9379 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AuthorizedData.data)
9380 return data_;
9381}
9382inline ::std::string* AuthorizedData::release_data() {
9383 clear_has_data();
9384 if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9385 return NULL;
9386 } else {
9387 ::std::string* temp = data_;
9388 data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9389 return temp;
9390 }
9391}
9392inline void AuthorizedData::set_allocated_data(::std::string* data) {
9393 if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9394 delete data_;
9395 }
9396 if (data) {
9397 set_has_data();
9398 data_ = data;
9399 } else {
9400 clear_has_data();
9401 data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9402 }
9403 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AuthorizedData.data)
9404}
9405
9406// repeated uint32 license = 2;
9407inline int AuthorizedData::license_size() const {
9408 return license_.size();
9409}
9410inline void AuthorizedData::clear_license() {
9411 license_.Clear();
9412}
9413inline ::google::protobuf::uint32 AuthorizedData::license(int index) const {
9414 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AuthorizedData.license)
9415 return license_.Get(index);
9416}
9417inline void AuthorizedData::set_license(int index, ::google::protobuf::uint32 value) {
9418 license_.Set(index, value);
9419 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AuthorizedData.license)
9420}
9421inline void AuthorizedData::add_license(::google::protobuf::uint32 value) {
9422 license_.Add(value);
9423 // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.AuthorizedData.license)
9424}
9425inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
9426AuthorizedData::license() const {
9427 // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.AuthorizedData.license)
9428 return license_;
9429}
9430inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
9431AuthorizedData::mutable_license() {
9432 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.AuthorizedData.license)
9433 return &license_;
9434}
9435
9436// -------------------------------------------------------------------
9437
9438// IgrId
9439
9440// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
9441inline bool IgrId::has_game_account() const {
9442 return type_case() == kGameAccount;
9443}
9444inline void IgrId::set_has_game_account() {
9445 _oneof_case_[0] = kGameAccount;
9446}
9447inline void IgrId::clear_game_account() {
9448 if (has_game_account()) {
9449 delete type_.game_account_;
9450 clear_has_type();
9451 }
9452}
9453inline const ::bgs::protocol::account::v1::GameAccountHandle& IgrId::game_account() const {
9454 return has_game_account() ? *type_.game_account_
9456}
9457inline ::bgs::protocol::account::v1::GameAccountHandle* IgrId::mutable_game_account() {
9458 if (!has_game_account()) {
9459 clear_type();
9460 set_has_game_account();
9461 type_.game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
9462 }
9463 return type_.game_account_;
9464}
9465inline ::bgs::protocol::account::v1::GameAccountHandle* IgrId::release_game_account() {
9466 if (has_game_account()) {
9467 clear_has_type();
9468 ::bgs::protocol::account::v1::GameAccountHandle* temp = type_.game_account_;
9469 type_.game_account_ = NULL;
9470 return temp;
9471 } else {
9472 return NULL;
9473 }
9474}
9475inline void IgrId::set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) {
9476 clear_type();
9477 if (game_account) {
9478 set_has_game_account();
9479 type_.game_account_ = game_account;
9480 }
9481}
9482
9483// optional fixed32 external_id = 2;
9484inline bool IgrId::has_external_id() const {
9485 return type_case() == kExternalId;
9486}
9487inline void IgrId::set_has_external_id() {
9488 _oneof_case_[0] = kExternalId;
9489}
9490inline void IgrId::clear_external_id() {
9491 if (has_external_id()) {
9492 type_.external_id_ = 0u;
9493 clear_has_type();
9494 }
9495}
9496inline ::google::protobuf::uint32 IgrId::external_id() const {
9497 if (has_external_id()) {
9498 return type_.external_id_;
9499 }
9500 return 0u;
9501}
9502inline void IgrId::set_external_id(::google::protobuf::uint32 value) {
9503 if (!has_external_id()) {
9504 clear_type();
9505 set_has_external_id();
9506 }
9507 type_.external_id_ = value;
9508}
9509
9510// optional string uuid = 3;
9511inline bool IgrId::has_uuid() const {
9512 return type_case() == kUuid;
9513}
9514inline void IgrId::set_has_uuid() {
9515 _oneof_case_[0] = kUuid;
9516}
9517inline void IgrId::clear_uuid() {
9518 if (has_uuid()) {
9519 delete type_.uuid_;
9520 clear_has_type();
9521 }
9522}
9523inline const ::std::string& IgrId::uuid() const {
9524 if (has_uuid()) {
9525 return *type_.uuid_;
9526 }
9527 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
9528}
9529inline void IgrId::set_uuid(const ::std::string& value) {
9530 if (!has_uuid()) {
9531 clear_type();
9532 set_has_uuid();
9533 type_.uuid_ = new ::std::string;
9534 }
9535 type_.uuid_->assign(value);
9536}
9537inline void IgrId::set_uuid(const char* value) {
9538 if (!has_uuid()) {
9539 clear_type();
9540 set_has_uuid();
9541 type_.uuid_ = new ::std::string;
9542 }
9543 type_.uuid_->assign(value);
9544}
9545inline void IgrId::set_uuid(const char* value, size_t size) {
9546 if (!has_uuid()) {
9547 clear_type();
9548 set_has_uuid();
9549 type_.uuid_ = new ::std::string;
9550 }
9551 type_.uuid_->assign(
9552 reinterpret_cast<const char*>(value), size);
9553}
9554inline ::std::string* IgrId::mutable_uuid() {
9555 if (!has_uuid()) {
9556 clear_type();
9557 set_has_uuid();
9558 type_.uuid_ = new ::std::string;
9559 }
9560 return type_.uuid_;
9561}
9562inline ::std::string* IgrId::release_uuid() {
9563 if (has_uuid()) {
9564 clear_has_type();
9565 ::std::string* temp = type_.uuid_;
9566 type_.uuid_ = NULL;
9567 return temp;
9568 } else {
9569 return NULL;
9570 }
9571}
9572inline void IgrId::set_allocated_uuid(::std::string* uuid) {
9573 clear_type();
9574 if (uuid) {
9575 set_has_uuid();
9576 type_.uuid_ = uuid;
9577 }
9578}
9579
9580inline bool IgrId::has_type() {
9581 return type_case() != TYPE_NOT_SET;
9582}
9583inline void IgrId::clear_has_type() {
9584 _oneof_case_[0] = TYPE_NOT_SET;
9585}
9586inline IgrId::TypeCase IgrId::type_case() const {
9587 return IgrId::TypeCase(_oneof_case_[0]);
9588}
9589// -------------------------------------------------------------------
9590
9591// IgrAddress
9592
9593// optional string client_address = 1;
9594inline bool IgrAddress::has_client_address() const {
9595 return (_has_bits_[0] & 0x00000001u) != 0;
9596}
9597inline void IgrAddress::set_has_client_address() {
9598 _has_bits_[0] |= 0x00000001u;
9599}
9600inline void IgrAddress::clear_has_client_address() {
9601 _has_bits_[0] &= ~0x00000001u;
9602}
9603inline void IgrAddress::clear_client_address() {
9604 if (client_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9605 client_address_->clear();
9606 }
9607 clear_has_client_address();
9608}
9609inline const ::std::string& IgrAddress::client_address() const {
9610 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.IgrAddress.client_address)
9611 return *client_address_;
9612}
9613inline void IgrAddress::set_client_address(const ::std::string& value) {
9614 set_has_client_address();
9615 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9616 client_address_ = new ::std::string;
9617 }
9618 client_address_->assign(value);
9619 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.IgrAddress.client_address)
9620}
9621inline void IgrAddress::set_client_address(const char* value) {
9622 set_has_client_address();
9623 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9624 client_address_ = new ::std::string;
9625 }
9626 client_address_->assign(value);
9627 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.IgrAddress.client_address)
9628}
9629inline void IgrAddress::set_client_address(const char* value, size_t size) {
9630 set_has_client_address();
9631 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9632 client_address_ = new ::std::string;
9633 }
9634 client_address_->assign(reinterpret_cast<const char*>(value), size);
9635 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.IgrAddress.client_address)
9636}
9637inline ::std::string* IgrAddress::mutable_client_address() {
9638 set_has_client_address();
9639 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9640 client_address_ = new ::std::string;
9641 }
9642 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.IgrAddress.client_address)
9643 return client_address_;
9644}
9645inline ::std::string* IgrAddress::release_client_address() {
9646 clear_has_client_address();
9647 if (client_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9648 return NULL;
9649 } else {
9650 ::std::string* temp = client_address_;
9651 client_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9652 return temp;
9653 }
9654}
9655inline void IgrAddress::set_allocated_client_address(::std::string* client_address) {
9656 if (client_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9657 delete client_address_;
9658 }
9659 if (client_address) {
9660 set_has_client_address();
9661 client_address_ = client_address;
9662 } else {
9663 clear_has_client_address();
9664 client_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9665 }
9666 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.IgrAddress.client_address)
9667}
9668
9669// optional uint32 region = 2;
9670inline bool IgrAddress::has_region() const {
9671 return (_has_bits_[0] & 0x00000002u) != 0;
9672}
9673inline void IgrAddress::set_has_region() {
9674 _has_bits_[0] |= 0x00000002u;
9675}
9676inline void IgrAddress::clear_has_region() {
9677 _has_bits_[0] &= ~0x00000002u;
9678}
9679inline void IgrAddress::clear_region() {
9680 region_ = 0u;
9681 clear_has_region();
9682}
9683inline ::google::protobuf::uint32 IgrAddress::region() const {
9684 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.IgrAddress.region)
9685 return region_;
9686}
9687inline void IgrAddress::set_region(::google::protobuf::uint32 value) {
9688 set_has_region();
9689 region_ = value;
9690 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.IgrAddress.region)
9691}
9692
9693// -------------------------------------------------------------------
9694
9695// AccountPrivacySetting
9696
9697// optional bool is_using_rid = 1;
9698inline bool AccountPrivacySetting::has_is_using_rid() const {
9699 return (_has_bits_[0] & 0x00000001u) != 0;
9700}
9701inline void AccountPrivacySetting::set_has_is_using_rid() {
9702 _has_bits_[0] |= 0x00000001u;
9703}
9704inline void AccountPrivacySetting::clear_has_is_using_rid() {
9705 _has_bits_[0] &= ~0x00000001u;
9706}
9707inline void AccountPrivacySetting::clear_is_using_rid() {
9708 is_using_rid_ = false;
9709 clear_has_is_using_rid();
9710}
9711inline bool AccountPrivacySetting::is_using_rid() const {
9712 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
9713 return is_using_rid_;
9714}
9715inline void AccountPrivacySetting::set_is_using_rid(bool value) {
9716 set_has_is_using_rid();
9717 is_using_rid_ = value;
9718 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
9719}
9720
9721// optional bool is_visible_for_view_friends = 2;
9722inline bool AccountPrivacySetting::has_is_visible_for_view_friends() const {
9723 return (_has_bits_[0] & 0x00000002u) != 0;
9724}
9725inline void AccountPrivacySetting::set_has_is_visible_for_view_friends() {
9726 _has_bits_[0] |= 0x00000002u;
9727}
9728inline void AccountPrivacySetting::clear_has_is_visible_for_view_friends() {
9729 _has_bits_[0] &= ~0x00000002u;
9730}
9731inline void AccountPrivacySetting::clear_is_visible_for_view_friends() {
9732 is_visible_for_view_friends_ = false;
9733 clear_has_is_visible_for_view_friends();
9734}
9735inline bool AccountPrivacySetting::is_visible_for_view_friends() const {
9736 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
9737 return is_visible_for_view_friends_;
9738}
9739inline void AccountPrivacySetting::set_is_visible_for_view_friends(bool value) {
9740 set_has_is_visible_for_view_friends();
9741 is_visible_for_view_friends_ = value;
9742 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
9743}
9744
9745// optional bool is_hidden_from_friend_finder = 3;
9746inline bool AccountPrivacySetting::has_is_hidden_from_friend_finder() const {
9747 return (_has_bits_[0] & 0x00000004u) != 0;
9748}
9749inline void AccountPrivacySetting::set_has_is_hidden_from_friend_finder() {
9750 _has_bits_[0] |= 0x00000004u;
9751}
9752inline void AccountPrivacySetting::clear_has_is_hidden_from_friend_finder() {
9753 _has_bits_[0] &= ~0x00000004u;
9754}
9755inline void AccountPrivacySetting::clear_is_hidden_from_friend_finder() {
9756 is_hidden_from_friend_finder_ = false;
9757 clear_has_is_hidden_from_friend_finder();
9758}
9759inline bool AccountPrivacySetting::is_hidden_from_friend_finder() const {
9760 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
9761 return is_hidden_from_friend_finder_;
9762}
9763inline void AccountPrivacySetting::set_is_hidden_from_friend_finder(bool value) {
9764 set_has_is_hidden_from_friend_finder();
9765 is_hidden_from_friend_finder_ = value;
9766 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
9767}
9768
9769// optional bool only_allow_friend_whispers = 4;
9770inline bool AccountPrivacySetting::has_only_allow_friend_whispers() const {
9771 return (_has_bits_[0] & 0x00000008u) != 0;
9772}
9773inline void AccountPrivacySetting::set_has_only_allow_friend_whispers() {
9774 _has_bits_[0] |= 0x00000008u;
9775}
9776inline void AccountPrivacySetting::clear_has_only_allow_friend_whispers() {
9777 _has_bits_[0] &= ~0x00000008u;
9778}
9779inline void AccountPrivacySetting::clear_only_allow_friend_whispers() {
9780 only_allow_friend_whispers_ = false;
9781 clear_has_only_allow_friend_whispers();
9782}
9783inline bool AccountPrivacySetting::only_allow_friend_whispers() const {
9784 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
9785 return only_allow_friend_whispers_;
9786}
9787inline void AccountPrivacySetting::set_only_allow_friend_whispers(bool value) {
9788 set_has_only_allow_friend_whispers();
9789 only_allow_friend_whispers_ = value;
9790 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
9791}
9792
9793// -------------------------------------------------------------------
9794
9795// AccountInfo
9796
9797// optional string battle_tag = 1;
9798inline bool AccountInfo::has_battle_tag() const {
9799 return (_has_bits_[0] & 0x00000001u) != 0;
9800}
9801inline void AccountInfo::set_has_battle_tag() {
9802 _has_bits_[0] |= 0x00000001u;
9803}
9804inline void AccountInfo::clear_has_battle_tag() {
9805 _has_bits_[0] &= ~0x00000001u;
9806}
9807inline void AccountInfo::clear_battle_tag() {
9808 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9809 battle_tag_->clear();
9810 }
9811 clear_has_battle_tag();
9812}
9813inline const ::std::string& AccountInfo::battle_tag() const {
9814 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.battle_tag)
9815 return *battle_tag_;
9816}
9817inline void AccountInfo::set_battle_tag(const ::std::string& value) {
9818 set_has_battle_tag();
9819 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9820 battle_tag_ = new ::std::string;
9821 }
9822 battle_tag_->assign(value);
9823 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.battle_tag)
9824}
9825inline void AccountInfo::set_battle_tag(const char* value) {
9826 set_has_battle_tag();
9827 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9828 battle_tag_ = new ::std::string;
9829 }
9830 battle_tag_->assign(value);
9831 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.battle_tag)
9832}
9833inline void AccountInfo::set_battle_tag(const char* value, size_t size) {
9834 set_has_battle_tag();
9835 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9836 battle_tag_ = new ::std::string;
9837 }
9838 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
9839 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.battle_tag)
9840}
9841inline ::std::string* AccountInfo::mutable_battle_tag() {
9842 set_has_battle_tag();
9843 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9844 battle_tag_ = new ::std::string;
9845 }
9846 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.battle_tag)
9847 return battle_tag_;
9848}
9849inline ::std::string* AccountInfo::release_battle_tag() {
9850 clear_has_battle_tag();
9851 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9852 return NULL;
9853 } else {
9854 ::std::string* temp = battle_tag_;
9855 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9856 return temp;
9857 }
9858}
9859inline void AccountInfo::set_allocated_battle_tag(::std::string* battle_tag) {
9860 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9861 delete battle_tag_;
9862 }
9863 if (battle_tag) {
9864 set_has_battle_tag();
9865 battle_tag_ = battle_tag;
9866 } else {
9867 clear_has_battle_tag();
9868 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9869 }
9870 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.battle_tag)
9871}
9872
9873// optional string email = 2;
9874inline bool AccountInfo::has_email() const {
9875 return (_has_bits_[0] & 0x00000002u) != 0;
9876}
9877inline void AccountInfo::set_has_email() {
9878 _has_bits_[0] |= 0x00000002u;
9879}
9880inline void AccountInfo::clear_has_email() {
9881 _has_bits_[0] &= ~0x00000002u;
9882}
9883inline void AccountInfo::clear_email() {
9884 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9885 email_->clear();
9886 }
9887 clear_has_email();
9888}
9889inline const ::std::string& AccountInfo::email() const {
9890 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.email)
9891 return *email_;
9892}
9893inline void AccountInfo::set_email(const ::std::string& value) {
9894 set_has_email();
9895 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9896 email_ = new ::std::string;
9897 }
9898 email_->assign(value);
9899 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.email)
9900}
9901inline void AccountInfo::set_email(const char* value) {
9902 set_has_email();
9903 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9904 email_ = new ::std::string;
9905 }
9906 email_->assign(value);
9907 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.email)
9908}
9909inline void AccountInfo::set_email(const char* value, size_t size) {
9910 set_has_email();
9911 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9912 email_ = new ::std::string;
9913 }
9914 email_->assign(reinterpret_cast<const char*>(value), size);
9915 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.email)
9916}
9917inline ::std::string* AccountInfo::mutable_email() {
9918 set_has_email();
9919 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9920 email_ = new ::std::string;
9921 }
9922 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.email)
9923 return email_;
9924}
9925inline ::std::string* AccountInfo::release_email() {
9926 clear_has_email();
9927 if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9928 return NULL;
9929 } else {
9930 ::std::string* temp = email_;
9931 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9932 return temp;
9933 }
9934}
9935inline void AccountInfo::set_allocated_email(::std::string* email) {
9936 if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9937 delete email_;
9938 }
9939 if (email) {
9940 set_has_email();
9941 email_ = email;
9942 } else {
9943 clear_has_email();
9944 email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9945 }
9946 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.email)
9947}
9948
9949// optional string phone_number = 3;
9950inline bool AccountInfo::has_phone_number() const {
9951 return (_has_bits_[0] & 0x00000004u) != 0;
9952}
9953inline void AccountInfo::set_has_phone_number() {
9954 _has_bits_[0] |= 0x00000004u;
9955}
9956inline void AccountInfo::clear_has_phone_number() {
9957 _has_bits_[0] &= ~0x00000004u;
9958}
9959inline void AccountInfo::clear_phone_number() {
9960 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9961 phone_number_->clear();
9962 }
9963 clear_has_phone_number();
9964}
9965inline const ::std::string& AccountInfo::phone_number() const {
9966 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.phone_number)
9967 return *phone_number_;
9968}
9969inline void AccountInfo::set_phone_number(const ::std::string& value) {
9970 set_has_phone_number();
9971 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9972 phone_number_ = new ::std::string;
9973 }
9974 phone_number_->assign(value);
9975 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.phone_number)
9976}
9977inline void AccountInfo::set_phone_number(const char* value) {
9978 set_has_phone_number();
9979 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9980 phone_number_ = new ::std::string;
9981 }
9982 phone_number_->assign(value);
9983 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.phone_number)
9984}
9985inline void AccountInfo::set_phone_number(const char* value, size_t size) {
9986 set_has_phone_number();
9987 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9988 phone_number_ = new ::std::string;
9989 }
9990 phone_number_->assign(reinterpret_cast<const char*>(value), size);
9991 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.phone_number)
9992}
9993inline ::std::string* AccountInfo::mutable_phone_number() {
9994 set_has_phone_number();
9995 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9996 phone_number_ = new ::std::string;
9997 }
9998 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.phone_number)
9999 return phone_number_;
10000}
10001inline ::std::string* AccountInfo::release_phone_number() {
10002 clear_has_phone_number();
10003 if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10004 return NULL;
10005 } else {
10006 ::std::string* temp = phone_number_;
10007 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10008 return temp;
10009 }
10010}
10011inline void AccountInfo::set_allocated_phone_number(::std::string* phone_number) {
10012 if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10013 delete phone_number_;
10014 }
10015 if (phone_number) {
10016 set_has_phone_number();
10017 phone_number_ = phone_number;
10018 } else {
10019 clear_has_phone_number();
10020 phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10021 }
10022 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.phone_number)
10023}
10024
10025// optional string full_name = 4;
10026inline bool AccountInfo::has_full_name() const {
10027 return (_has_bits_[0] & 0x00000008u) != 0;
10028}
10029inline void AccountInfo::set_has_full_name() {
10030 _has_bits_[0] |= 0x00000008u;
10031}
10032inline void AccountInfo::clear_has_full_name() {
10033 _has_bits_[0] &= ~0x00000008u;
10034}
10035inline void AccountInfo::clear_full_name() {
10036 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10037 full_name_->clear();
10038 }
10039 clear_has_full_name();
10040}
10041inline const ::std::string& AccountInfo::full_name() const {
10042 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.full_name)
10043 return *full_name_;
10044}
10045inline void AccountInfo::set_full_name(const ::std::string& value) {
10046 set_has_full_name();
10047 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10048 full_name_ = new ::std::string;
10049 }
10050 full_name_->assign(value);
10051 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.full_name)
10052}
10053inline void AccountInfo::set_full_name(const char* value) {
10054 set_has_full_name();
10055 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10056 full_name_ = new ::std::string;
10057 }
10058 full_name_->assign(value);
10059 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.full_name)
10060}
10061inline void AccountInfo::set_full_name(const char* value, size_t size) {
10062 set_has_full_name();
10063 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10064 full_name_ = new ::std::string;
10065 }
10066 full_name_->assign(reinterpret_cast<const char*>(value), size);
10067 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.full_name)
10068}
10069inline ::std::string* AccountInfo::mutable_full_name() {
10070 set_has_full_name();
10071 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10072 full_name_ = new ::std::string;
10073 }
10074 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.full_name)
10075 return full_name_;
10076}
10077inline ::std::string* AccountInfo::release_full_name() {
10078 clear_has_full_name();
10079 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10080 return NULL;
10081 } else {
10082 ::std::string* temp = full_name_;
10083 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10084 return temp;
10085 }
10086}
10087inline void AccountInfo::set_allocated_full_name(::std::string* full_name) {
10088 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10089 delete full_name_;
10090 }
10091 if (full_name) {
10092 set_has_full_name();
10093 full_name_ = full_name;
10094 } else {
10095 clear_has_full_name();
10096 full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10097 }
10098 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.full_name)
10099}
10100
10101// optional string birthdate = 5;
10102inline bool AccountInfo::has_birthdate() const {
10103 return (_has_bits_[0] & 0x00000010u) != 0;
10104}
10105inline void AccountInfo::set_has_birthdate() {
10106 _has_bits_[0] |= 0x00000010u;
10107}
10108inline void AccountInfo::clear_has_birthdate() {
10109 _has_bits_[0] &= ~0x00000010u;
10110}
10111inline void AccountInfo::clear_birthdate() {
10112 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10113 birthdate_->clear();
10114 }
10115 clear_has_birthdate();
10116}
10117inline const ::std::string& AccountInfo::birthdate() const {
10118 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.birthdate)
10119 return *birthdate_;
10120}
10121inline void AccountInfo::set_birthdate(const ::std::string& value) {
10122 set_has_birthdate();
10123 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10124 birthdate_ = new ::std::string;
10125 }
10126 birthdate_->assign(value);
10127 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.birthdate)
10128}
10129inline void AccountInfo::set_birthdate(const char* value) {
10130 set_has_birthdate();
10131 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10132 birthdate_ = new ::std::string;
10133 }
10134 birthdate_->assign(value);
10135 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.birthdate)
10136}
10137inline void AccountInfo::set_birthdate(const char* value, size_t size) {
10138 set_has_birthdate();
10139 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10140 birthdate_ = new ::std::string;
10141 }
10142 birthdate_->assign(reinterpret_cast<const char*>(value), size);
10143 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.birthdate)
10144}
10145inline ::std::string* AccountInfo::mutable_birthdate() {
10146 set_has_birthdate();
10147 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10148 birthdate_ = new ::std::string;
10149 }
10150 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.birthdate)
10151 return birthdate_;
10152}
10153inline ::std::string* AccountInfo::release_birthdate() {
10154 clear_has_birthdate();
10155 if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10156 return NULL;
10157 } else {
10158 ::std::string* temp = birthdate_;
10159 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10160 return temp;
10161 }
10162}
10163inline void AccountInfo::set_allocated_birthdate(::std::string* birthdate) {
10164 if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10165 delete birthdate_;
10166 }
10167 if (birthdate) {
10168 set_has_birthdate();
10169 birthdate_ = birthdate;
10170 } else {
10171 clear_has_birthdate();
10172 birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10173 }
10174 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.birthdate)
10175}
10176
10177// optional string country = 6;
10178inline bool AccountInfo::has_country() const {
10179 return (_has_bits_[0] & 0x00000020u) != 0;
10180}
10181inline void AccountInfo::set_has_country() {
10182 _has_bits_[0] |= 0x00000020u;
10183}
10184inline void AccountInfo::clear_has_country() {
10185 _has_bits_[0] &= ~0x00000020u;
10186}
10187inline void AccountInfo::clear_country() {
10188 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10189 country_->clear();
10190 }
10191 clear_has_country();
10192}
10193inline const ::std::string& AccountInfo::country() const {
10194 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.country)
10195 return *country_;
10196}
10197inline void AccountInfo::set_country(const ::std::string& value) {
10198 set_has_country();
10199 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10200 country_ = new ::std::string;
10201 }
10202 country_->assign(value);
10203 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.country)
10204}
10205inline void AccountInfo::set_country(const char* value) {
10206 set_has_country();
10207 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10208 country_ = new ::std::string;
10209 }
10210 country_->assign(value);
10211 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.country)
10212}
10213inline void AccountInfo::set_country(const char* value, size_t size) {
10214 set_has_country();
10215 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10216 country_ = new ::std::string;
10217 }
10218 country_->assign(reinterpret_cast<const char*>(value), size);
10219 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.country)
10220}
10221inline ::std::string* AccountInfo::mutable_country() {
10222 set_has_country();
10223 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10224 country_ = new ::std::string;
10225 }
10226 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.country)
10227 return country_;
10228}
10229inline ::std::string* AccountInfo::release_country() {
10230 clear_has_country();
10231 if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10232 return NULL;
10233 } else {
10234 ::std::string* temp = country_;
10235 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10236 return temp;
10237 }
10238}
10239inline void AccountInfo::set_allocated_country(::std::string* country) {
10240 if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10241 delete country_;
10242 }
10243 if (country) {
10244 set_has_country();
10245 country_ = country;
10246 } else {
10247 clear_has_country();
10248 country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10249 }
10250 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.country)
10251}
10252
10253// optional string default_currency = 7;
10254inline bool AccountInfo::has_default_currency() const {
10255 return (_has_bits_[0] & 0x00000040u) != 0;
10256}
10257inline void AccountInfo::set_has_default_currency() {
10258 _has_bits_[0] |= 0x00000040u;
10259}
10260inline void AccountInfo::clear_has_default_currency() {
10261 _has_bits_[0] &= ~0x00000040u;
10262}
10263inline void AccountInfo::clear_default_currency() {
10264 if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10265 default_currency_->clear();
10266 }
10267 clear_has_default_currency();
10268}
10269inline const ::std::string& AccountInfo::default_currency() const {
10270 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.default_currency)
10271 return *default_currency_;
10272}
10273inline void AccountInfo::set_default_currency(const ::std::string& value) {
10274 set_has_default_currency();
10275 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10276 default_currency_ = new ::std::string;
10277 }
10278 default_currency_->assign(value);
10279 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.default_currency)
10280}
10281inline void AccountInfo::set_default_currency(const char* value) {
10282 set_has_default_currency();
10283 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10284 default_currency_ = new ::std::string;
10285 }
10286 default_currency_->assign(value);
10287 // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.default_currency)
10288}
10289inline void AccountInfo::set_default_currency(const char* value, size_t size) {
10290 set_has_default_currency();
10291 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10292 default_currency_ = new ::std::string;
10293 }
10294 default_currency_->assign(reinterpret_cast<const char*>(value), size);
10295 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.default_currency)
10296}
10297inline ::std::string* AccountInfo::mutable_default_currency() {
10298 set_has_default_currency();
10299 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10300 default_currency_ = new ::std::string;
10301 }
10302 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.default_currency)
10303 return default_currency_;
10304}
10305inline ::std::string* AccountInfo::release_default_currency() {
10306 clear_has_default_currency();
10307 if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10308 return NULL;
10309 } else {
10310 ::std::string* temp = default_currency_;
10311 default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10312 return temp;
10313 }
10314}
10315inline void AccountInfo::set_allocated_default_currency(::std::string* default_currency) {
10316 if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10317 delete default_currency_;
10318 }
10319 if (default_currency) {
10320 set_has_default_currency();
10321 default_currency_ = default_currency;
10322 } else {
10323 clear_has_default_currency();
10324 default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10325 }
10326 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.default_currency)
10327}
10328
10329// optional uint32 preferred_region = 8;
10330inline bool AccountInfo::has_preferred_region() const {
10331 return (_has_bits_[0] & 0x00000080u) != 0;
10332}
10333inline void AccountInfo::set_has_preferred_region() {
10334 _has_bits_[0] |= 0x00000080u;
10335}
10336inline void AccountInfo::clear_has_preferred_region() {
10337 _has_bits_[0] &= ~0x00000080u;
10338}
10339inline void AccountInfo::clear_preferred_region() {
10340 preferred_region_ = 0u;
10341 clear_has_preferred_region();
10342}
10343inline ::google::protobuf::uint32 AccountInfo::preferred_region() const {
10344 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.preferred_region)
10345 return preferred_region_;
10346}
10347inline void AccountInfo::set_preferred_region(::google::protobuf::uint32 value) {
10348 set_has_preferred_region();
10349 preferred_region_ = value;
10350 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.preferred_region)
10351}
10352
10353// optional uint32 ratings_board_minimum_age = 9;
10354inline bool AccountInfo::has_ratings_board_minimum_age() const {
10355 return (_has_bits_[0] & 0x00000100u) != 0;
10356}
10357inline void AccountInfo::set_has_ratings_board_minimum_age() {
10358 _has_bits_[0] |= 0x00000100u;
10359}
10360inline void AccountInfo::clear_has_ratings_board_minimum_age() {
10361 _has_bits_[0] &= ~0x00000100u;
10362}
10363inline void AccountInfo::clear_ratings_board_minimum_age() {
10364 ratings_board_minimum_age_ = 0u;
10365 clear_has_ratings_board_minimum_age();
10366}
10367inline ::google::protobuf::uint32 AccountInfo::ratings_board_minimum_age() const {
10368 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
10369 return ratings_board_minimum_age_;
10370}
10371inline void AccountInfo::set_ratings_board_minimum_age(::google::protobuf::uint32 value) {
10372 set_has_ratings_board_minimum_age();
10373 ratings_board_minimum_age_ = value;
10374 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
10375}
10376
10377// optional bool has_parental_control = 10;
10378inline bool AccountInfo::has_has_parental_control() const {
10379 return (_has_bits_[0] & 0x00000200u) != 0;
10380}
10381inline void AccountInfo::set_has_has_parental_control() {
10382 _has_bits_[0] |= 0x00000200u;
10383}
10384inline void AccountInfo::clear_has_has_parental_control() {
10385 _has_bits_[0] &= ~0x00000200u;
10386}
10387inline void AccountInfo::clear_has_parental_control() {
10388 has_parental_control_ = false;
10389 clear_has_has_parental_control();
10390}
10391inline bool AccountInfo::has_parental_control() const {
10392 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.has_parental_control)
10393 return has_parental_control_;
10394}
10395inline void AccountInfo::set_has_parental_control(bool value) {
10396 set_has_has_parental_control();
10397 has_parental_control_ = value;
10398 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.has_parental_control)
10399}
10400
10401// optional bool is_email_verified = 11;
10402inline bool AccountInfo::has_is_email_verified() const {
10403 return (_has_bits_[0] & 0x00000400u) != 0;
10404}
10405inline void AccountInfo::set_has_is_email_verified() {
10406 _has_bits_[0] |= 0x00000400u;
10407}
10408inline void AccountInfo::clear_has_is_email_verified() {
10409 _has_bits_[0] &= ~0x00000400u;
10410}
10411inline void AccountInfo::clear_is_email_verified() {
10412 is_email_verified_ = false;
10413 clear_has_is_email_verified();
10414}
10415inline bool AccountInfo::is_email_verified() const {
10416 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_email_verified)
10417 return is_email_verified_;
10418}
10419inline void AccountInfo::set_is_email_verified(bool value) {
10420 set_has_is_email_verified();
10421 is_email_verified_ = value;
10422 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_email_verified)
10423}
10424
10425// optional bool is_sms_protected = 12;
10426inline bool AccountInfo::has_is_sms_protected() const {
10427 return (_has_bits_[0] & 0x00000800u) != 0;
10428}
10429inline void AccountInfo::set_has_is_sms_protected() {
10430 _has_bits_[0] |= 0x00000800u;
10431}
10432inline void AccountInfo::clear_has_is_sms_protected() {
10433 _has_bits_[0] &= ~0x00000800u;
10434}
10435inline void AccountInfo::clear_is_sms_protected() {
10436 is_sms_protected_ = false;
10437 clear_has_is_sms_protected();
10438}
10439inline bool AccountInfo::is_sms_protected() const {
10440 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
10441 return is_sms_protected_;
10442}
10443inline void AccountInfo::set_is_sms_protected(bool value) {
10444 set_has_is_sms_protected();
10445 is_sms_protected_ = value;
10446 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
10447}
10448
10449// optional bool is_headless_account = 13;
10450inline bool AccountInfo::has_is_headless_account() const {
10451 return (_has_bits_[0] & 0x00001000u) != 0;
10452}
10453inline void AccountInfo::set_has_is_headless_account() {
10454 _has_bits_[0] |= 0x00001000u;
10455}
10456inline void AccountInfo::clear_has_is_headless_account() {
10457 _has_bits_[0] &= ~0x00001000u;
10458}
10459inline void AccountInfo::clear_is_headless_account() {
10460 is_headless_account_ = false;
10461 clear_has_is_headless_account();
10462}
10463inline bool AccountInfo::is_headless_account() const {
10464 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_headless_account)
10465 return is_headless_account_;
10466}
10467inline void AccountInfo::set_is_headless_account(bool value) {
10468 set_has_is_headless_account();
10469 is_headless_account_ = value;
10470 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_headless_account)
10471}
10472
10473// optional bool is_employee = 14;
10474inline bool AccountInfo::has_is_employee() const {
10475 return (_has_bits_[0] & 0x00002000u) != 0;
10476}
10477inline void AccountInfo::set_has_is_employee() {
10478 _has_bits_[0] |= 0x00002000u;
10479}
10480inline void AccountInfo::clear_has_is_employee() {
10481 _has_bits_[0] &= ~0x00002000u;
10482}
10483inline void AccountInfo::clear_is_employee() {
10484 is_employee_ = false;
10485 clear_has_is_employee();
10486}
10487inline bool AccountInfo::is_employee() const {
10488 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_employee)
10489 return is_employee_;
10490}
10491inline void AccountInfo::set_is_employee(bool value) {
10492 set_has_is_employee();
10493 is_employee_ = value;
10494 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_employee)
10495}
10496
10497// optional bool is_test_account = 15;
10498inline bool AccountInfo::has_is_test_account() const {
10499 return (_has_bits_[0] & 0x00004000u) != 0;
10500}
10501inline void AccountInfo::set_has_is_test_account() {
10502 _has_bits_[0] |= 0x00004000u;
10503}
10504inline void AccountInfo::clear_has_is_test_account() {
10505 _has_bits_[0] &= ~0x00004000u;
10506}
10507inline void AccountInfo::clear_is_test_account() {
10508 is_test_account_ = false;
10509 clear_has_is_test_account();
10510}
10511inline bool AccountInfo::is_test_account() const {
10512 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_test_account)
10513 return is_test_account_;
10514}
10515inline void AccountInfo::set_is_test_account(bool value) {
10516 set_has_is_test_account();
10517 is_test_account_ = value;
10518 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_test_account)
10519}
10520
10521// optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
10522inline bool AccountInfo::has_privacy_setting() const {
10523 return (_has_bits_[0] & 0x00008000u) != 0;
10524}
10525inline void AccountInfo::set_has_privacy_setting() {
10526 _has_bits_[0] |= 0x00008000u;
10527}
10528inline void AccountInfo::clear_has_privacy_setting() {
10529 _has_bits_[0] &= ~0x00008000u;
10530}
10531inline void AccountInfo::clear_privacy_setting() {
10532 if (privacy_setting_ != NULL) privacy_setting_->::bgs::protocol::account::v1::AccountPrivacySetting::Clear();
10533 clear_has_privacy_setting();
10534}
10535inline const ::bgs::protocol::account::v1::AccountPrivacySetting& AccountInfo::privacy_setting() const {
10536 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10537 return privacy_setting_ != NULL ? *privacy_setting_ : *default_instance_->privacy_setting_;
10538}
10539inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::mutable_privacy_setting() {
10540 set_has_privacy_setting();
10541 if (privacy_setting_ == NULL) privacy_setting_ = new ::bgs::protocol::account::v1::AccountPrivacySetting;
10542 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10543 return privacy_setting_;
10544}
10545inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::release_privacy_setting() {
10546 clear_has_privacy_setting();
10548 privacy_setting_ = NULL;
10549 return temp;
10550}
10551inline void AccountInfo::set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting) {
10552 delete privacy_setting_;
10553 privacy_setting_ = privacy_setting;
10554 if (privacy_setting) {
10555 set_has_privacy_setting();
10556 } else {
10557 clear_has_privacy_setting();
10558 }
10559 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.privacy_setting)
10560}
10561
10562// -------------------------------------------------------------------
10563
10564// RestrictionStatus
10565
10566// optional bool active = 1;
10567inline bool RestrictionStatus::has_active() const {
10568 return (_has_bits_[0] & 0x00000001u) != 0;
10569}
10570inline void RestrictionStatus::set_has_active() {
10571 _has_bits_[0] |= 0x00000001u;
10572}
10573inline void RestrictionStatus::clear_has_active() {
10574 _has_bits_[0] &= ~0x00000001u;
10575}
10576inline void RestrictionStatus::clear_active() {
10577 active_ = false;
10578 clear_has_active();
10579}
10580inline bool RestrictionStatus::active() const {
10581 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.active)
10582 return active_;
10583}
10584inline void RestrictionStatus::set_active(bool value) {
10585 set_has_active();
10586 active_ = value;
10587 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.active)
10588}
10589
10590// optional uint64 expiration_us = 2;
10591inline bool RestrictionStatus::has_expiration_us() const {
10592 return (_has_bits_[0] & 0x00000002u) != 0;
10593}
10594inline void RestrictionStatus::set_has_expiration_us() {
10595 _has_bits_[0] |= 0x00000002u;
10596}
10597inline void RestrictionStatus::clear_has_expiration_us() {
10598 _has_bits_[0] &= ~0x00000002u;
10599}
10600inline void RestrictionStatus::clear_expiration_us() {
10601 expiration_us_ = GOOGLE_ULONGLONG(0);
10602 clear_has_expiration_us();
10603}
10604inline ::google::protobuf::uint64 RestrictionStatus::expiration_us() const {
10605 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
10606 return expiration_us_;
10607}
10608inline void RestrictionStatus::set_expiration_us(::google::protobuf::uint64 value) {
10609 set_has_expiration_us();
10610 expiration_us_ = value;
10611 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
10612}
10613
10614// -------------------------------------------------------------------
10615
10616// AccountPlatformRestrictionInfo
10617
10618// optional .bgs.protocol.account.v1.RestrictionStatus squelched = 2;
10619inline bool AccountPlatformRestrictionInfo::has_squelched() const {
10620 return (_has_bits_[0] & 0x00000001u) != 0;
10621}
10622inline void AccountPlatformRestrictionInfo::set_has_squelched() {
10623 _has_bits_[0] |= 0x00000001u;
10624}
10625inline void AccountPlatformRestrictionInfo::clear_has_squelched() {
10626 _has_bits_[0] &= ~0x00000001u;
10627}
10628inline void AccountPlatformRestrictionInfo::clear_squelched() {
10629 if (squelched_ != NULL) squelched_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
10630 clear_has_squelched();
10631}
10632inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::squelched() const {
10633 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10634 return squelched_ != NULL ? *squelched_ : *default_instance_->squelched_;
10635}
10636inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_squelched() {
10637 set_has_squelched();
10638 if (squelched_ == NULL) squelched_ = new ::bgs::protocol::account::v1::RestrictionStatus;
10639 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10640 return squelched_;
10641}
10642inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_squelched() {
10643 clear_has_squelched();
10645 squelched_ = NULL;
10646 return temp;
10647}
10648inline void AccountPlatformRestrictionInfo::set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus* squelched) {
10649 delete squelched_;
10650 squelched_ = squelched;
10651 if (squelched) {
10652 set_has_squelched();
10653 } else {
10654 clear_has_squelched();
10655 }
10656 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
10657}
10658
10659// optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
10660inline bool AccountPlatformRestrictionInfo::has_legal_country_feature_restrictions_applied() const {
10661 return (_has_bits_[0] & 0x00000002u) != 0;
10662}
10663inline void AccountPlatformRestrictionInfo::set_has_legal_country_feature_restrictions_applied() {
10664 _has_bits_[0] |= 0x00000002u;
10665}
10666inline void AccountPlatformRestrictionInfo::clear_has_legal_country_feature_restrictions_applied() {
10667 _has_bits_[0] &= ~0x00000002u;
10668}
10669inline void AccountPlatformRestrictionInfo::clear_legal_country_feature_restrictions_applied() {
10670 if (legal_country_feature_restrictions_applied_ != NULL) legal_country_feature_restrictions_applied_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
10671 clear_has_legal_country_feature_restrictions_applied();
10672}
10673inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::legal_country_feature_restrictions_applied() const {
10674 // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10675 return legal_country_feature_restrictions_applied_ != NULL ? *legal_country_feature_restrictions_applied_ : *default_instance_->legal_country_feature_restrictions_applied_;
10676}
10677inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_legal_country_feature_restrictions_applied() {
10678 set_has_legal_country_feature_restrictions_applied();
10679 if (legal_country_feature_restrictions_applied_ == NULL) legal_country_feature_restrictions_applied_ = new ::bgs::protocol::account::v1::RestrictionStatus;
10680 // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10681 return legal_country_feature_restrictions_applied_;
10682}
10683inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_legal_country_feature_restrictions_applied() {
10684 clear_has_legal_country_feature_restrictions_applied();
10685 ::bgs::protocol::account::v1::RestrictionStatus* temp = legal_country_feature_restrictions_applied_;
10686 legal_country_feature_restrictions_applied_ = NULL;
10687 return temp;
10688}
10689inline void AccountPlatformRestrictionInfo::set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied) {
10690 delete legal_country_feature_restrictions_applied_;
10691 legal_country_feature_restrictions_applied_ = legal_country_feature_restrictions_applied;
10692 if (legal_country_feature_restrictions_applied) {
10693 set_has_legal_country_feature_restrictions_applied();
10694 } else {
10695 clear_has_legal_country_feature_restrictions_applied();
10696 }
10697 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
10698}
10699
10700// @@protoc_insertion_point(namespace_scope)
10701
10702} // namespace v1
10703} // namespace account
10704} // namespace protocol
10705} // namespace bgs
10706
10707#ifndef SWIG
10708namespace google {
10709namespace protobuf {
10710template <> struct is_proto_enum< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy> : ::google::protobuf::internal::true_type {};
10711template <>
10712inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy>() {
10713 return ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy_descriptor();
10714}
10715template <> struct is_proto_enum< ::bgs::protocol::account::v1::IdentityVerificationStatus> : ::google::protobuf::internal::true_type {};
10716template <>
10717inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::account::v1::IdentityVerificationStatus>() {
10718 return ::bgs::protocol::account::v1::IdentityVerificationStatus_descriptor();
10719}
10720} // namespace google
10721} // namespace protobuf
10722#endif // SWIG
10723
10724// @@protoc_insertion_point(global_scope)
10725
10726#endif // PROTOBUF_account_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
uint64_t uint64
Definition Define.h:153
uint32_t uint32
Definition Define.h:154
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
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::ProgramTag > game_level_info_tags_
::google::protobuf::uint32 account_level_info_tag_
AccountFieldTags(const AccountFieldTags &from)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::RegionTag > game_account_tags_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 parental_control_info_tag_
::google::protobuf::UnknownFieldSet _unknown_fields_
static const AccountFieldTags & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
AccountFieldTags & operator=(const AccountFieldTags &from)
void Swap(AccountFieldTags *other)
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_
static const ::google::protobuf::Descriptor * descriptor()
static const AccountId & default_instance()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
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()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const AccountInfo & default_instance()
AccountInfo & operator=(const AccountInfo &from)
AccountInfo(const AccountInfo &from)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 preferred_region_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::bgs::protocol::account::v1::AccountPrivacySetting * privacy_setting_
::google::protobuf::uint32 ratings_board_minimum_age_
::bgs::protocol::account::v1::OptIns * opt_ins_
AccountLevelInfo(const AccountLevelInfo &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
AccountLevelInfo & operator=(const AccountLevelInfo &from)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const AccountLevelInfo & default_instance()
void Swap(AccountLevelInfo *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::uint32 ratings_board_minimum_age_
AccountLicense(const AccountLicense &from)
void Swap(AccountLicense *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
static const AccountLicense & default_instance()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() 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_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(AccountPlatformRestrictionInfo *other)
static AccountPlatformRestrictionInfo * default_instance_
AccountPlatformRestrictionInfo & operator=(const AccountPlatformRestrictionInfo &from)
::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()
AccountPlatformRestrictionInfo * New() const
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_
static const AccountReference & default_instance()
AccountReference(const AccountReference &from)
::bgs::protocol::account::v1::GameAccountHandle * handle_
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
AccountReference & operator=(const AccountReference &from)
void Swap(AccountReference *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
AccountStateTagged & operator=(const AccountStateTagged &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(AccountStateTagged *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
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()
::bgs::protocol::account::v1::AccountFieldTags * account_tags_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameStatus > game_status_
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::account::v1::PrivacyInfo * privacy_info_
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::bgs::protocol::account::v1::ParentalControlInfo * parental_control_info_
static const AccountState & default_instance()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList > game_accounts_
::bgs::protocol::account::v1::AccountLevelInfo * account_level_info_
::bgs::protocol::account::v1::SecurityStatus * security_status_
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::account::v1::PlayScheduleRestriction * government_curfew_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameLevelInfo > game_level_info_
static const ::google::protobuf::Descriptor * descriptor()
AccountState(const AccountState &from)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
AccountState & operator=(const AccountState &from)
::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)
AuthorizedData & operator=(const AuthorizedData &from)
static const AuthorizedData & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
AuthorizedData(const AuthorizedData &from)
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)
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
static const CAIS & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint64 last_heard_time_
::google::protobuf::uint32 rested_minutes_
void SetCachedSize(int size) const
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
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
GameAccountFieldOptions(const GameAccountFieldOptions &from)
GameAccountFieldOptions & operator=(const GameAccountFieldOptions &from)
void Swap(GameAccountFieldOptions *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const GameAccountFieldOptions & default_instance()
static const GameAccountFieldTags & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
GameAccountFieldTags & operator=(const GameAccountFieldTags &from)
void Swap(GameAccountFieldTags *other)
GameAccountFieldTags(const GameAccountFieldTags &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() 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)
GameAccountHandle & operator=(const GameAccountHandle &from)
GameAccountHandle(const GameAccountHandle &from)
static const GameAccountHandle & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
GameAccountList & operator=(const GameAccountList &from)
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_
void Swap(GameAccountList *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::account::v1::GameAccountFieldTags * game_account_tags_
static const GameAccountStateTagged & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(GameAccountStateTagged *other)
::google::protobuf::Metadata GetMetadata() const
GameAccountStateTagged(const GameAccountStateTagged &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
GameAccountStateTagged & operator=(const GameAccountStateTagged &from)
::bgs::protocol::account::v1::GameAccountState * game_account_state_
static const GameAccountState & default_instance()
void Swap(GameAccountState *other)
static const ::google::protobuf::Descriptor * descriptor()
GameAccountState & operator=(const GameAccountState &from)
GameAccountState(const GameAccountState &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
GameLevelInfo & operator=(const GameLevelInfo &from)
static const GameLevelInfo & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
GameLevelInfo(const GameLevelInfo &from)
GameSessionInfo & operator=(const GameSessionInfo &from)
GameSessionInfo(const GameSessionInfo &from)
void Swap(GameSessionInfo *other)
::google::protobuf::Metadata GetMetadata() const
static const GameSessionInfo & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
GameSessionLocation & operator=(const GameSessionLocation &from)
void Swap(GameSessionLocation *other)
static const GameSessionLocation & default_instance()
GameSessionLocation(const GameSessionLocation &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::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)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
GameSessionUpdateInfo & operator=(const GameSessionUpdateInfo &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::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::UnknownFieldSet * mutable_unknown_fields()
GameStatus & operator=(const GameStatus &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
GameTimeInfo & operator=(const GameTimeInfo &from)
::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)
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()
::google::protobuf::Metadata GetMetadata() const
GameTimeRemainingInfo(const GameTimeRemainingInfo &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const GameTimeRemainingInfo & default_instance()
GameTimeRemainingInfo & operator=(const GameTimeRemainingInfo &from)
void Swap(GameTimeRemainingInfo *other)
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
::bgs::protocol::account::v1::AccountId * account_
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::bgs::protocol::account::v1::GameAccountHandle * game_account_
::google::protobuf::Metadata GetMetadata() const
Identity & operator=(const Identity &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const Identity & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
IgrAddress & operator=(const IgrAddress &from)
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)
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
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()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() 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::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_account_5ftypes_2eproto()
static const OptIns & default_instance()
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()
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_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
void Swap(ParentalControlInfo *other)
static const ParentalControlInfo & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
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)
::google::protobuf::RepeatedField< bool > play_schedule_
static const PlayScheduleRestriction & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::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()
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)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
PrivacyInfo(const PrivacyInfo &from)
static bool GameInfoPrivacy_Parse(const ::std::string &name, 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()
friend void protobuf_AssignDesc_account_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ProgramTag & default_instance()
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
static const RAFInfo & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::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 SetCachedSize(int size) const
::google::protobuf::UnknownFieldSet _unknown_fields_
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)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
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()
::google::protobuf::UnknownFieldSet _unknown_fields_
RestrictionStatus(const RestrictionStatus &from)
void Swap(RestrictionStatus *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
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()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::account::v1::AccountFieldTags * account_tags_
void Swap(SubscriberReference *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
SubscriberReference & operator=(const SubscriberReference &from)
static const SubscriberReference & default_instance()
::bgs::protocol::account::v1::AccountFieldOptions * account_options_
::bgs::protocol::account::v1::GameAccountFieldTags * game_account_tags_
::bgs::protocol::account::v1::GameAccountFieldOptions * game_account_options_
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto()
SubscriberReference(const SubscriberReference &from)
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 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:37
STL namespace.
::bgs::protocol::account::v1::GameAccountHandle * game_account_