TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
account_service.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: account_service.proto
3 
4 #ifndef PROTOBUF_account_5fservice_2eproto__INCLUDED
5 #define PROTOBUF_account_5fservice_2eproto__INCLUDED
6 
7 #include <string>
8 
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 
27 #include "account_types.pb.h"
28 #include "entity_types.pb.h"
29 #include "rpc_types.pb.h"
30 #include "ServiceBase.h"
31 #include "MessageBuffer.h"
32 #include <functional>
33 #include <type_traits>
34 // @@protoc_insertion_point(includes)
35 
36 namespace bgs {
37 namespace protocol {
38 namespace account {
39 namespace v1 {
40 
41 // Internal implementation detail -- do not call these.
45 
46 class GetAccountRequest;
47 class GetAccountResponse;
48 class CreateGameAccountRequest;
49 class CacheExpireRequest;
50 class CredentialUpdateRequest;
51 class CredentialUpdateResponse;
52 class AccountFlagUpdateRequest;
53 class GameAccountFlagUpdateRequest;
54 class SubscriptionUpdateRequest;
55 class SubscriptionUpdateResponse;
56 class IsIgrAddressRequest;
57 class AccountServiceRegion;
58 class AccountServiceConfig;
59 class GetAccountStateRequest;
60 class GetAccountStateResponse;
61 class GetGameAccountStateRequest;
62 class GetGameAccountStateResponse;
63 class GetLicensesRequest;
64 class GetLicensesResponse;
65 class GetGameSessionInfoRequest;
66 class GetGameSessionInfoResponse;
67 class GetGameTimeRemainingInfoRequest;
68 class GetGameTimeRemainingInfoResponse;
69 class GetCAISInfoRequest;
70 class GetCAISInfoResponse;
71 class ForwardCacheExpireRequest;
72 class GetAuthorizedDataRequest;
73 class GetAuthorizedDataResponse;
74 class AccountStateNotification;
75 class GameAccountStateNotification;
76 class GameAccountNotification;
77 class GameAccountSessionNotification;
78 
79 // ===================================================================
80 
82  public:
84  virtual ~GetAccountRequest();
85 
87 
89  CopyFrom(from);
90  return *this;
91  }
92 
93  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
94  return _unknown_fields_;
95  }
96 
97  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
98  return &_unknown_fields_;
99  }
100 
101  static const ::google::protobuf::Descriptor* descriptor();
102  static const GetAccountRequest& default_instance();
103 
104  void Swap(GetAccountRequest* other);
105 
106  // implements Message ----------------------------------------------
107 
108  GetAccountRequest* New() const;
109  void CopyFrom(const ::google::protobuf::Message& from);
110  void MergeFrom(const ::google::protobuf::Message& from);
111  void CopyFrom(const GetAccountRequest& from);
112  void MergeFrom(const GetAccountRequest& from);
113  void Clear();
114  bool IsInitialized() const;
115 
116  int ByteSize() const;
117  bool MergePartialFromCodedStream(
119  void SerializeWithCachedSizes(
121  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
122  int GetCachedSize() const { return _cached_size_; }
123  private:
124  void SharedCtor();
125  void SharedDtor();
126  void SetCachedSize(int size) const;
127  public:
128  ::google::protobuf::Metadata GetMetadata() const;
129 
130  // nested types ----------------------------------------------------
131 
132  // accessors -------------------------------------------------------
133 
134  // optional .bgs.protocol.account.v1.AccountReference ref = 1;
135  inline bool has_ref() const;
136  inline void clear_ref();
137  static const int kRefFieldNumber = 1;
138  inline const ::bgs::protocol::account::v1::AccountReference& ref() const;
139  inline ::bgs::protocol::account::v1::AccountReference* mutable_ref();
140  inline ::bgs::protocol::account::v1::AccountReference* release_ref();
141  inline void set_allocated_ref(::bgs::protocol::account::v1::AccountReference* ref);
142 
143  // optional bool fetch_all = 10 [default = false];
144  inline bool has_fetch_all() const;
145  inline void clear_fetch_all();
146  static const int kFetchAllFieldNumber = 10;
147  inline bool fetch_all() const;
148  inline void set_fetch_all(bool value);
149 
150  // optional bool fetch_blob = 11 [default = false];
151  inline bool has_fetch_blob() const;
152  inline void clear_fetch_blob();
153  static const int kFetchBlobFieldNumber = 11;
154  inline bool fetch_blob() const;
155  inline void set_fetch_blob(bool value);
156 
157  // optional bool fetch_id = 12 [default = false];
158  inline bool has_fetch_id() const;
159  inline void clear_fetch_id();
160  static const int kFetchIdFieldNumber = 12;
161  inline bool fetch_id() const;
162  inline void set_fetch_id(bool value);
163 
164  // optional bool fetch_email = 13 [default = false];
165  inline bool has_fetch_email() const;
166  inline void clear_fetch_email();
167  static const int kFetchEmailFieldNumber = 13;
168  inline bool fetch_email() const;
169  inline void set_fetch_email(bool value);
170 
171  // optional bool fetch_battle_tag = 14 [default = false];
172  inline bool has_fetch_battle_tag() const;
173  inline void clear_fetch_battle_tag();
174  static const int kFetchBattleTagFieldNumber = 14;
175  inline bool fetch_battle_tag() const;
176  inline void set_fetch_battle_tag(bool value);
177 
178  // optional bool fetch_full_name = 15 [default = false];
179  inline bool has_fetch_full_name() const;
180  inline void clear_fetch_full_name();
181  static const int kFetchFullNameFieldNumber = 15;
182  inline bool fetch_full_name() const;
183  inline void set_fetch_full_name(bool value);
184 
185  // optional bool fetch_links = 16 [default = false];
186  inline bool has_fetch_links() const;
187  inline void clear_fetch_links();
188  static const int kFetchLinksFieldNumber = 16;
189  inline bool fetch_links() const;
190  inline void set_fetch_links(bool value);
191 
192  // optional bool fetch_parental_controls = 17 [default = false];
193  inline bool has_fetch_parental_controls() const;
194  inline void clear_fetch_parental_controls();
195  static const int kFetchParentalControlsFieldNumber = 17;
196  inline bool fetch_parental_controls() const;
197  inline void set_fetch_parental_controls(bool value);
198 
199  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountRequest)
200  private:
201  inline void set_has_ref();
202  inline void clear_has_ref();
203  inline void set_has_fetch_all();
204  inline void clear_has_fetch_all();
205  inline void set_has_fetch_blob();
206  inline void clear_has_fetch_blob();
207  inline void set_has_fetch_id();
208  inline void clear_has_fetch_id();
209  inline void set_has_fetch_email();
210  inline void clear_has_fetch_email();
211  inline void set_has_fetch_battle_tag();
212  inline void clear_has_fetch_battle_tag();
213  inline void set_has_fetch_full_name();
214  inline void clear_has_fetch_full_name();
215  inline void set_has_fetch_links();
216  inline void clear_has_fetch_links();
217  inline void set_has_fetch_parental_controls();
218  inline void clear_has_fetch_parental_controls();
219 
221 
223  mutable int _cached_size_;
227  bool fetch_id_;
236 
237  void InitAsDefaultInstance();
239 };
240 // -------------------------------------------------------------------
241 
243  public:
245  virtual ~GetAccountResponse();
246 
248 
250  CopyFrom(from);
251  return *this;
252  }
253 
254  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
255  return _unknown_fields_;
256  }
257 
258  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
259  return &_unknown_fields_;
260  }
261 
262  static const ::google::protobuf::Descriptor* descriptor();
263  static const GetAccountResponse& default_instance();
264 
265  void Swap(GetAccountResponse* other);
266 
267  // implements Message ----------------------------------------------
268 
269  GetAccountResponse* New() const;
270  void CopyFrom(const ::google::protobuf::Message& from);
271  void MergeFrom(const ::google::protobuf::Message& from);
272  void CopyFrom(const GetAccountResponse& from);
273  void MergeFrom(const GetAccountResponse& from);
274  void Clear();
275  bool IsInitialized() const;
276 
277  int ByteSize() const;
278  bool MergePartialFromCodedStream(
280  void SerializeWithCachedSizes(
282  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
283  int GetCachedSize() const { return _cached_size_; }
284  private:
285  void SharedCtor();
286  void SharedDtor();
287  void SetCachedSize(int size) const;
288  public:
289  ::google::protobuf::Metadata GetMetadata() const;
290 
291  // nested types ----------------------------------------------------
292 
293  // accessors -------------------------------------------------------
294 
295  // optional .bgs.protocol.account.v1.AccountBlob blob = 11;
296  inline bool has_blob() const;
297  inline void clear_blob();
298  static const int kBlobFieldNumber = 11;
299  inline const ::bgs::protocol::account::v1::AccountBlob& blob() const;
300  inline ::bgs::protocol::account::v1::AccountBlob* mutable_blob();
301  inline ::bgs::protocol::account::v1::AccountBlob* release_blob();
302  inline void set_allocated_blob(::bgs::protocol::account::v1::AccountBlob* blob);
303 
304  // optional .bgs.protocol.account.v1.AccountId id = 12;
305  inline bool has_id() const;
306  inline void clear_id();
307  static const int kIdFieldNumber = 12;
308  inline const ::bgs::protocol::account::v1::AccountId& id() const;
309  inline ::bgs::protocol::account::v1::AccountId* mutable_id();
310  inline ::bgs::protocol::account::v1::AccountId* release_id();
311  inline void set_allocated_id(::bgs::protocol::account::v1::AccountId* id);
312 
313  // repeated string email = 13;
314  inline int email_size() const;
315  inline void clear_email();
316  static const int kEmailFieldNumber = 13;
317  inline const ::std::string& email(int index) const;
318  inline ::std::string* mutable_email(int index);
319  inline void set_email(int index, const ::std::string& value);
320  inline void set_email(int index, const char* value);
321  inline void set_email(int index, const char* value, size_t size);
322  inline ::std::string* add_email();
323  inline void add_email(const ::std::string& value);
324  inline void add_email(const char* value);
325  inline void add_email(const char* value, size_t size);
326  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& email() const;
327  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_email();
328 
329  // optional string battle_tag = 14;
330  inline bool has_battle_tag() const;
331  inline void clear_battle_tag();
332  static const int kBattleTagFieldNumber = 14;
333  inline const ::std::string& battle_tag() const;
334  inline void set_battle_tag(const ::std::string& value);
335  inline void set_battle_tag(const char* value);
336  inline void set_battle_tag(const char* value, size_t size);
337  inline ::std::string* mutable_battle_tag();
338  inline ::std::string* release_battle_tag();
339  inline void set_allocated_battle_tag(::std::string* battle_tag);
340 
341  // optional string full_name = 15;
342  inline bool has_full_name() const;
343  inline void clear_full_name();
344  static const int kFullNameFieldNumber = 15;
345  inline const ::std::string& full_name() const;
346  inline void set_full_name(const ::std::string& value);
347  inline void set_full_name(const char* value);
348  inline void set_full_name(const char* value, size_t size);
349  inline ::std::string* mutable_full_name();
350  inline ::std::string* release_full_name();
351  inline void set_allocated_full_name(::std::string* full_name);
352 
353  // repeated .bgs.protocol.account.v1.GameAccountLink links = 16;
354  inline int links_size() const;
355  inline void clear_links();
356  static const int kLinksFieldNumber = 16;
357  inline const ::bgs::protocol::account::v1::GameAccountLink& links(int index) const;
358  inline ::bgs::protocol::account::v1::GameAccountLink* mutable_links(int index);
359  inline ::bgs::protocol::account::v1::GameAccountLink* add_links();
360  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountLink >&
361  links() const;
362  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountLink >*
363  mutable_links();
364 
365  // optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 17;
366  inline bool has_parental_control_info() const;
367  inline void clear_parental_control_info();
368  static const int kParentalControlInfoFieldNumber = 17;
369  inline const ::bgs::protocol::account::v1::ParentalControlInfo& parental_control_info() const;
370  inline ::bgs::protocol::account::v1::ParentalControlInfo* mutable_parental_control_info();
371  inline ::bgs::protocol::account::v1::ParentalControlInfo* release_parental_control_info();
372  inline void set_allocated_parental_control_info(::bgs::protocol::account::v1::ParentalControlInfo* parental_control_info);
373 
374  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountResponse)
375  private:
376  inline void set_has_blob();
377  inline void clear_has_blob();
378  inline void set_has_id();
379  inline void clear_has_id();
380  inline void set_has_battle_tag();
381  inline void clear_has_battle_tag();
382  inline void set_has_full_name();
383  inline void clear_has_full_name();
384  inline void set_has_parental_control_info();
385  inline void clear_has_parental_control_info();
386 
388 
390  mutable int _cached_size_;
394  ::std::string* battle_tag_;
395  ::std::string* full_name_;
401 
402  void InitAsDefaultInstance();
404 };
405 // -------------------------------------------------------------------
406 
408  public:
410  virtual ~CreateGameAccountRequest();
411 
413 
415  CopyFrom(from);
416  return *this;
417  }
418 
419  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
420  return _unknown_fields_;
421  }
422 
423  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
424  return &_unknown_fields_;
425  }
426 
427  static const ::google::protobuf::Descriptor* descriptor();
428  static const CreateGameAccountRequest& default_instance();
429 
430  void Swap(CreateGameAccountRequest* other);
431 
432  // implements Message ----------------------------------------------
433 
434  CreateGameAccountRequest* New() const;
435  void CopyFrom(const ::google::protobuf::Message& from);
436  void MergeFrom(const ::google::protobuf::Message& from);
437  void CopyFrom(const CreateGameAccountRequest& from);
438  void MergeFrom(const CreateGameAccountRequest& from);
439  void Clear();
440  bool IsInitialized() const;
441 
442  int ByteSize() const;
443  bool MergePartialFromCodedStream(
445  void SerializeWithCachedSizes(
447  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
448  int GetCachedSize() const { return _cached_size_; }
449  private:
450  void SharedCtor();
451  void SharedDtor();
452  void SetCachedSize(int size) const;
453  public:
454  ::google::protobuf::Metadata GetMetadata() const;
455 
456  // nested types ----------------------------------------------------
457 
458  // accessors -------------------------------------------------------
459 
460  // optional .bgs.protocol.account.v1.AccountId account = 1;
461  inline bool has_account() const;
462  inline void clear_account();
463  static const int kAccountFieldNumber = 1;
464  inline const ::bgs::protocol::account::v1::AccountId& account() const;
465  inline ::bgs::protocol::account::v1::AccountId* mutable_account();
466  inline ::bgs::protocol::account::v1::AccountId* release_account();
467  inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
468 
469  // optional uint32 region = 2;
470  inline bool has_region() const;
471  inline void clear_region();
472  static const int kRegionFieldNumber = 2;
473  inline ::google::protobuf::uint32 region() const;
474  inline void set_region(::google::protobuf::uint32 value);
475 
476  // optional fixed32 program = 3;
477  inline bool has_program() const;
478  inline void clear_program();
479  static const int kProgramFieldNumber = 3;
480  inline ::google::protobuf::uint32 program() const;
481  inline void set_program(::google::protobuf::uint32 value);
482 
483  // optional uint32 realm_permissions = 4 [default = 1];
484  inline bool has_realm_permissions() const;
485  inline void clear_realm_permissions();
486  static const int kRealmPermissionsFieldNumber = 4;
487  inline ::google::protobuf::uint32 realm_permissions() const;
488  inline void set_realm_permissions(::google::protobuf::uint32 value);
489 
490  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CreateGameAccountRequest)
491  private:
492  inline void set_has_account();
493  inline void clear_has_account();
494  inline void set_has_region();
495  inline void clear_has_region();
496  inline void set_has_program();
497  inline void clear_has_program();
498  inline void set_has_realm_permissions();
499  inline void clear_has_realm_permissions();
500 
502 
504  mutable int _cached_size_;
512 
513  void InitAsDefaultInstance();
515 };
516 // -------------------------------------------------------------------
517 
519  public:
521  virtual ~CacheExpireRequest();
522 
524 
526  CopyFrom(from);
527  return *this;
528  }
529 
530  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
531  return _unknown_fields_;
532  }
533 
534  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
535  return &_unknown_fields_;
536  }
537 
538  static const ::google::protobuf::Descriptor* descriptor();
539  static const CacheExpireRequest& default_instance();
540 
541  void Swap(CacheExpireRequest* other);
542 
543  // implements Message ----------------------------------------------
544 
545  CacheExpireRequest* New() const;
546  void CopyFrom(const ::google::protobuf::Message& from);
547  void MergeFrom(const ::google::protobuf::Message& from);
548  void CopyFrom(const CacheExpireRequest& from);
549  void MergeFrom(const CacheExpireRequest& from);
550  void Clear();
551  bool IsInitialized() const;
552 
553  int ByteSize() const;
554  bool MergePartialFromCodedStream(
556  void SerializeWithCachedSizes(
558  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
559  int GetCachedSize() const { return _cached_size_; }
560  private:
561  void SharedCtor();
562  void SharedDtor();
563  void SetCachedSize(int size) const;
564  public:
565  ::google::protobuf::Metadata GetMetadata() const;
566 
567  // nested types ----------------------------------------------------
568 
569  // accessors -------------------------------------------------------
570 
571  // repeated .bgs.protocol.account.v1.AccountId account = 1;
572  inline int account_size() const;
573  inline void clear_account();
574  static const int kAccountFieldNumber = 1;
575  inline const ::bgs::protocol::account::v1::AccountId& account(int index) const;
576  inline ::bgs::protocol::account::v1::AccountId* mutable_account(int index);
577  inline ::bgs::protocol::account::v1::AccountId* add_account();
578  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountId >&
579  account() const;
580  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountId >*
581  mutable_account();
582 
583  // repeated .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
584  inline int game_account_size() const;
585  inline void clear_game_account();
586  static const int kGameAccountFieldNumber = 2;
587  inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account(int index) const;
588  inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account(int index);
589  inline ::bgs::protocol::account::v1::GameAccountHandle* add_game_account();
590  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
591  game_account() const;
592  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
593  mutable_game_account();
594 
595  // repeated string email = 3;
596  inline int email_size() const;
597  inline void clear_email();
598  static const int kEmailFieldNumber = 3;
599  inline const ::std::string& email(int index) const;
600  inline ::std::string* mutable_email(int index);
601  inline void set_email(int index, const ::std::string& value);
602  inline void set_email(int index, const char* value);
603  inline void set_email(int index, const char* value, size_t size);
604  inline ::std::string* add_email();
605  inline void add_email(const ::std::string& value);
606  inline void add_email(const char* value);
607  inline void add_email(const char* value, size_t size);
608  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& email() const;
609  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_email();
610 
611  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CacheExpireRequest)
612  private:
613 
615 
617  mutable int _cached_size_;
624 
625  void InitAsDefaultInstance();
627 };
628 // -------------------------------------------------------------------
629 
631  public:
633  virtual ~CredentialUpdateRequest();
634 
636 
638  CopyFrom(from);
639  return *this;
640  }
641 
642  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
643  return _unknown_fields_;
644  }
645 
646  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
647  return &_unknown_fields_;
648  }
649 
650  static const ::google::protobuf::Descriptor* descriptor();
651  static const CredentialUpdateRequest& default_instance();
652 
653  void Swap(CredentialUpdateRequest* other);
654 
655  // implements Message ----------------------------------------------
656 
657  CredentialUpdateRequest* New() const;
658  void CopyFrom(const ::google::protobuf::Message& from);
659  void MergeFrom(const ::google::protobuf::Message& from);
660  void CopyFrom(const CredentialUpdateRequest& from);
661  void MergeFrom(const CredentialUpdateRequest& from);
662  void Clear();
663  bool IsInitialized() const;
664 
665  int ByteSize() const;
666  bool MergePartialFromCodedStream(
668  void SerializeWithCachedSizes(
670  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
671  int GetCachedSize() const { return _cached_size_; }
672  private:
673  void SharedCtor();
674  void SharedDtor();
675  void SetCachedSize(int size) const;
676  public:
677  ::google::protobuf::Metadata GetMetadata() const;
678 
679  // nested types ----------------------------------------------------
680 
681  // accessors -------------------------------------------------------
682 
683  // required .bgs.protocol.account.v1.AccountId account = 1;
684  inline bool has_account() const;
685  inline void clear_account();
686  static const int kAccountFieldNumber = 1;
687  inline const ::bgs::protocol::account::v1::AccountId& account() const;
688  inline ::bgs::protocol::account::v1::AccountId* mutable_account();
689  inline ::bgs::protocol::account::v1::AccountId* release_account();
690  inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
691 
692  // repeated .bgs.protocol.account.v1.AccountCredential old_credentials = 2;
693  inline int old_credentials_size() const;
694  inline void clear_old_credentials();
695  static const int kOldCredentialsFieldNumber = 2;
696  inline const ::bgs::protocol::account::v1::AccountCredential& old_credentials(int index) const;
697  inline ::bgs::protocol::account::v1::AccountCredential* mutable_old_credentials(int index);
698  inline ::bgs::protocol::account::v1::AccountCredential* add_old_credentials();
699  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >&
700  old_credentials() const;
701  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >*
702  mutable_old_credentials();
703 
704  // repeated .bgs.protocol.account.v1.AccountCredential new_credentials = 3;
705  inline int new_credentials_size() const;
706  inline void clear_new_credentials();
707  static const int kNewCredentialsFieldNumber = 3;
708  inline const ::bgs::protocol::account::v1::AccountCredential& new_credentials(int index) const;
709  inline ::bgs::protocol::account::v1::AccountCredential* mutable_new_credentials(int index);
710  inline ::bgs::protocol::account::v1::AccountCredential* add_new_credentials();
711  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >&
712  new_credentials() const;
713  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >*
714  mutable_new_credentials();
715 
716  // optional uint32 region = 4;
717  inline bool has_region() const;
718  inline void clear_region();
719  static const int kRegionFieldNumber = 4;
720  inline ::google::protobuf::uint32 region() const;
721  inline void set_region(::google::protobuf::uint32 value);
722 
723  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CredentialUpdateRequest)
724  private:
725  inline void set_has_account();
726  inline void clear_has_account();
727  inline void set_has_region();
728  inline void clear_has_region();
729 
731 
733  mutable int _cached_size_;
741 
742  void InitAsDefaultInstance();
744 };
745 // -------------------------------------------------------------------
746 
748  public:
750  virtual ~CredentialUpdateResponse();
751 
753 
755  CopyFrom(from);
756  return *this;
757  }
758 
759  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
760  return _unknown_fields_;
761  }
762 
763  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
764  return &_unknown_fields_;
765  }
766 
767  static const ::google::protobuf::Descriptor* descriptor();
768  static const CredentialUpdateResponse& default_instance();
769 
770  void Swap(CredentialUpdateResponse* other);
771 
772  // implements Message ----------------------------------------------
773 
774  CredentialUpdateResponse* New() const;
775  void CopyFrom(const ::google::protobuf::Message& from);
776  void MergeFrom(const ::google::protobuf::Message& from);
777  void CopyFrom(const CredentialUpdateResponse& from);
778  void MergeFrom(const CredentialUpdateResponse& from);
779  void Clear();
780  bool IsInitialized() const;
781 
782  int ByteSize() const;
783  bool MergePartialFromCodedStream(
785  void SerializeWithCachedSizes(
787  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
788  int GetCachedSize() const { return _cached_size_; }
789  private:
790  void SharedCtor();
791  void SharedDtor();
792  void SetCachedSize(int size) const;
793  public:
794  ::google::protobuf::Metadata GetMetadata() const;
795 
796  // nested types ----------------------------------------------------
797 
798  // accessors -------------------------------------------------------
799 
800  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.CredentialUpdateResponse)
801  private:
802 
804 
806  mutable int _cached_size_;
810 
811  void InitAsDefaultInstance();
813 };
814 // -------------------------------------------------------------------
815 
817  public:
819  virtual ~AccountFlagUpdateRequest();
820 
822 
824  CopyFrom(from);
825  return *this;
826  }
827 
828  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
829  return _unknown_fields_;
830  }
831 
832  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
833  return &_unknown_fields_;
834  }
835 
836  static const ::google::protobuf::Descriptor* descriptor();
837  static const AccountFlagUpdateRequest& default_instance();
838 
839  void Swap(AccountFlagUpdateRequest* other);
840 
841  // implements Message ----------------------------------------------
842 
843  AccountFlagUpdateRequest* New() const;
844  void CopyFrom(const ::google::protobuf::Message& from);
845  void MergeFrom(const ::google::protobuf::Message& from);
846  void CopyFrom(const AccountFlagUpdateRequest& from);
847  void MergeFrom(const AccountFlagUpdateRequest& from);
848  void Clear();
849  bool IsInitialized() const;
850 
851  int ByteSize() const;
852  bool MergePartialFromCodedStream(
854  void SerializeWithCachedSizes(
856  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
857  int GetCachedSize() const { return _cached_size_; }
858  private:
859  void SharedCtor();
860  void SharedDtor();
861  void SetCachedSize(int size) const;
862  public:
863  ::google::protobuf::Metadata GetMetadata() const;
864 
865  // nested types ----------------------------------------------------
866 
867  // accessors -------------------------------------------------------
868 
869  // optional .bgs.protocol.account.v1.AccountId account = 1;
870  inline bool has_account() const;
871  inline void clear_account();
872  static const int kAccountFieldNumber = 1;
873  inline const ::bgs::protocol::account::v1::AccountId& account() const;
874  inline ::bgs::protocol::account::v1::AccountId* mutable_account();
875  inline ::bgs::protocol::account::v1::AccountId* release_account();
876  inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
877 
878  // optional uint32 region = 2;
879  inline bool has_region() const;
880  inline void clear_region();
881  static const int kRegionFieldNumber = 2;
882  inline ::google::protobuf::uint32 region() const;
883  inline void set_region(::google::protobuf::uint32 value);
884 
885  // optional uint64 flag = 3;
886  inline bool has_flag() const;
887  inline void clear_flag();
888  static const int kFlagFieldNumber = 3;
890  inline void set_flag(::google::protobuf::uint64 value);
891 
892  // optional bool active = 4;
893  inline bool has_active() const;
894  inline void clear_active();
895  static const int kActiveFieldNumber = 4;
896  inline bool active() const;
897  inline void set_active(bool value);
898 
899  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountFlagUpdateRequest)
900  private:
901  inline void set_has_account();
902  inline void clear_has_account();
903  inline void set_has_region();
904  inline void clear_has_region();
905  inline void set_has_flag();
906  inline void clear_has_flag();
907  inline void set_has_active();
908  inline void clear_has_active();
909 
911 
913  mutable int _cached_size_;
917  bool active_;
921 
922  void InitAsDefaultInstance();
924 };
925 // -------------------------------------------------------------------
926 
928  public:
930  virtual ~GameAccountFlagUpdateRequest();
931 
933 
935  CopyFrom(from);
936  return *this;
937  }
938 
939  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
940  return _unknown_fields_;
941  }
942 
943  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
944  return &_unknown_fields_;
945  }
946 
947  static const ::google::protobuf::Descriptor* descriptor();
948  static const GameAccountFlagUpdateRequest& default_instance();
949 
950  void Swap(GameAccountFlagUpdateRequest* other);
951 
952  // implements Message ----------------------------------------------
953 
954  GameAccountFlagUpdateRequest* New() const;
955  void CopyFrom(const ::google::protobuf::Message& from);
956  void MergeFrom(const ::google::protobuf::Message& from);
957  void CopyFrom(const GameAccountFlagUpdateRequest& from);
958  void MergeFrom(const GameAccountFlagUpdateRequest& from);
959  void Clear();
960  bool IsInitialized() const;
961 
962  int ByteSize() const;
963  bool MergePartialFromCodedStream(
965  void SerializeWithCachedSizes(
967  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
968  int GetCachedSize() const { return _cached_size_; }
969  private:
970  void SharedCtor();
971  void SharedDtor();
972  void SetCachedSize(int size) const;
973  public:
974  ::google::protobuf::Metadata GetMetadata() const;
975 
976  // nested types ----------------------------------------------------
977 
978  // accessors -------------------------------------------------------
979 
980  // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
981  inline bool has_game_account() const;
982  inline void clear_game_account();
983  static const int kGameAccountFieldNumber = 1;
984  inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
985  inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
986  inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
987  inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
988 
989  // optional uint64 flag = 2;
990  inline bool has_flag() const;
991  inline void clear_flag();
992  static const int kFlagFieldNumber = 2;
994  inline void set_flag(::google::protobuf::uint64 value);
995 
996  // optional bool active = 3;
997  inline bool has_active() const;
998  inline void clear_active();
999  static const int kActiveFieldNumber = 3;
1000  inline bool active() const;
1001  inline void set_active(bool value);
1002 
1003  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFlagUpdateRequest)
1004  private:
1005  inline void set_has_game_account();
1006  inline void clear_has_game_account();
1007  inline void set_has_flag();
1008  inline void clear_has_flag();
1009  inline void set_has_active();
1010  inline void clear_has_active();
1011 
1013 
1015  mutable int _cached_size_;
1018  bool active_;
1022 
1023  void InitAsDefaultInstance();
1025 };
1026 // -------------------------------------------------------------------
1027 
1029  public:
1031  virtual ~SubscriptionUpdateRequest();
1032 
1034 
1036  CopyFrom(from);
1037  return *this;
1038  }
1039 
1040  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1041  return _unknown_fields_;
1042  }
1043 
1044  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1045  return &_unknown_fields_;
1046  }
1047 
1048  static const ::google::protobuf::Descriptor* descriptor();
1049  static const SubscriptionUpdateRequest& default_instance();
1050 
1051  void Swap(SubscriptionUpdateRequest* other);
1052 
1053  // implements Message ----------------------------------------------
1054 
1055  SubscriptionUpdateRequest* New() const;
1056  void CopyFrom(const ::google::protobuf::Message& from);
1057  void MergeFrom(const ::google::protobuf::Message& from);
1058  void CopyFrom(const SubscriptionUpdateRequest& from);
1059  void MergeFrom(const SubscriptionUpdateRequest& from);
1060  void Clear();
1061  bool IsInitialized() const;
1062 
1063  int ByteSize() const;
1064  bool MergePartialFromCodedStream(
1066  void SerializeWithCachedSizes(
1068  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1069  int GetCachedSize() const { return _cached_size_; }
1070  private:
1071  void SharedCtor();
1072  void SharedDtor();
1073  void SetCachedSize(int size) const;
1074  public:
1075  ::google::protobuf::Metadata GetMetadata() const;
1076 
1077  // nested types ----------------------------------------------------
1078 
1079  // accessors -------------------------------------------------------
1080 
1081  // repeated .bgs.protocol.account.v1.SubscriberReference ref = 2;
1082  inline int ref_size() const;
1083  inline void clear_ref();
1084  static const int kRefFieldNumber = 2;
1085  inline const ::bgs::protocol::account::v1::SubscriberReference& ref(int index) const;
1086  inline ::bgs::protocol::account::v1::SubscriberReference* mutable_ref(int index);
1087  inline ::bgs::protocol::account::v1::SubscriberReference* add_ref();
1088  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
1089  ref() const;
1090  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
1091  mutable_ref();
1092 
1093  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SubscriptionUpdateRequest)
1094  private:
1095 
1097 
1099  mutable int _cached_size_;
1104 
1105  void InitAsDefaultInstance();
1107 };
1108 // -------------------------------------------------------------------
1109 
1111  public:
1113  virtual ~SubscriptionUpdateResponse();
1114 
1116 
1118  CopyFrom(from);
1119  return *this;
1120  }
1121 
1122  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1123  return _unknown_fields_;
1124  }
1125 
1126  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1127  return &_unknown_fields_;
1128  }
1129 
1130  static const ::google::protobuf::Descriptor* descriptor();
1131  static const SubscriptionUpdateResponse& default_instance();
1132 
1133  void Swap(SubscriptionUpdateResponse* other);
1134 
1135  // implements Message ----------------------------------------------
1136 
1137  SubscriptionUpdateResponse* New() const;
1138  void CopyFrom(const ::google::protobuf::Message& from);
1139  void MergeFrom(const ::google::protobuf::Message& from);
1140  void CopyFrom(const SubscriptionUpdateResponse& from);
1141  void MergeFrom(const SubscriptionUpdateResponse& from);
1142  void Clear();
1143  bool IsInitialized() const;
1144 
1145  int ByteSize() const;
1146  bool MergePartialFromCodedStream(
1148  void SerializeWithCachedSizes(
1150  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1151  int GetCachedSize() const { return _cached_size_; }
1152  private:
1153  void SharedCtor();
1154  void SharedDtor();
1155  void SetCachedSize(int size) const;
1156  public:
1157  ::google::protobuf::Metadata GetMetadata() const;
1158 
1159  // nested types ----------------------------------------------------
1160 
1161  // accessors -------------------------------------------------------
1162 
1163  // repeated .bgs.protocol.account.v1.SubscriberReference ref = 1;
1164  inline int ref_size() const;
1165  inline void clear_ref();
1166  static const int kRefFieldNumber = 1;
1167  inline const ::bgs::protocol::account::v1::SubscriberReference& ref(int index) const;
1168  inline ::bgs::protocol::account::v1::SubscriberReference* mutable_ref(int index);
1169  inline ::bgs::protocol::account::v1::SubscriberReference* add_ref();
1170  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
1171  ref() const;
1172  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
1173  mutable_ref();
1174 
1175  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.SubscriptionUpdateResponse)
1176  private:
1177 
1179 
1181  mutable int _cached_size_;
1186 
1187  void InitAsDefaultInstance();
1189 };
1190 // -------------------------------------------------------------------
1191 
1193  public:
1195  virtual ~IsIgrAddressRequest();
1196 
1198 
1200  CopyFrom(from);
1201  return *this;
1202  }
1203 
1204  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1205  return _unknown_fields_;
1206  }
1207 
1208  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1209  return &_unknown_fields_;
1210  }
1211 
1212  static const ::google::protobuf::Descriptor* descriptor();
1213  static const IsIgrAddressRequest& default_instance();
1214 
1215  void Swap(IsIgrAddressRequest* other);
1216 
1217  // implements Message ----------------------------------------------
1218 
1219  IsIgrAddressRequest* New() const;
1220  void CopyFrom(const ::google::protobuf::Message& from);
1221  void MergeFrom(const ::google::protobuf::Message& from);
1222  void CopyFrom(const IsIgrAddressRequest& from);
1223  void MergeFrom(const IsIgrAddressRequest& from);
1224  void Clear();
1225  bool IsInitialized() const;
1226 
1227  int ByteSize() const;
1228  bool MergePartialFromCodedStream(
1230  void SerializeWithCachedSizes(
1232  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1233  int GetCachedSize() const { return _cached_size_; }
1234  private:
1235  void SharedCtor();
1236  void SharedDtor();
1237  void SetCachedSize(int size) const;
1238  public:
1239  ::google::protobuf::Metadata GetMetadata() const;
1240 
1241  // nested types ----------------------------------------------------
1242 
1243  // accessors -------------------------------------------------------
1244 
1245  // optional string client_address = 1;
1246  inline bool has_client_address() const;
1247  inline void clear_client_address();
1248  static const int kClientAddressFieldNumber = 1;
1249  inline const ::std::string& client_address() const;
1250  inline void set_client_address(const ::std::string& value);
1251  inline void set_client_address(const char* value);
1252  inline void set_client_address(const char* value, size_t size);
1253  inline ::std::string* mutable_client_address();
1254  inline ::std::string* release_client_address();
1255  inline void set_allocated_client_address(::std::string* client_address);
1256 
1257  // optional uint32 region = 2;
1258  inline bool has_region() const;
1259  inline void clear_region();
1260  static const int kRegionFieldNumber = 2;
1261  inline ::google::protobuf::uint32 region() const;
1262  inline void set_region(::google::protobuf::uint32 value);
1263 
1264  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.IsIgrAddressRequest)
1265  private:
1266  inline void set_has_client_address();
1267  inline void clear_has_client_address();
1268  inline void set_has_region();
1269  inline void clear_has_region();
1270 
1272 
1274  mutable int _cached_size_;
1275  ::std::string* client_address_;
1280 
1281  void InitAsDefaultInstance();
1283 };
1284 // -------------------------------------------------------------------
1285 
1287  public:
1289  virtual ~AccountServiceRegion();
1290 
1292 
1294  CopyFrom(from);
1295  return *this;
1296  }
1297 
1298  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1299  return _unknown_fields_;
1300  }
1301 
1302  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1303  return &_unknown_fields_;
1304  }
1305 
1306  static const ::google::protobuf::Descriptor* descriptor();
1307  static const AccountServiceRegion& default_instance();
1308 
1309  void Swap(AccountServiceRegion* other);
1310 
1311  // implements Message ----------------------------------------------
1312 
1313  AccountServiceRegion* New() const;
1314  void CopyFrom(const ::google::protobuf::Message& from);
1315  void MergeFrom(const ::google::protobuf::Message& from);
1316  void CopyFrom(const AccountServiceRegion& from);
1317  void MergeFrom(const AccountServiceRegion& from);
1318  void Clear();
1319  bool IsInitialized() const;
1320 
1321  int ByteSize() const;
1322  bool MergePartialFromCodedStream(
1324  void SerializeWithCachedSizes(
1326  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1327  int GetCachedSize() const { return _cached_size_; }
1328  private:
1329  void SharedCtor();
1330  void SharedDtor();
1331  void SetCachedSize(int size) const;
1332  public:
1333  ::google::protobuf::Metadata GetMetadata() const;
1334 
1335  // nested types ----------------------------------------------------
1336 
1337  // accessors -------------------------------------------------------
1338 
1339  // required uint32 id = 1;
1340  inline bool has_id() const;
1341  inline void clear_id();
1342  static const int kIdFieldNumber = 1;
1344  inline void set_id(::google::protobuf::uint32 value);
1345 
1346  // required string shard = 2;
1347  inline bool has_shard() const;
1348  inline void clear_shard();
1349  static const int kShardFieldNumber = 2;
1350  inline const ::std::string& shard() const;
1351  inline void set_shard(const ::std::string& value);
1352  inline void set_shard(const char* value);
1353  inline void set_shard(const char* value, size_t size);
1354  inline ::std::string* mutable_shard();
1355  inline ::std::string* release_shard();
1356  inline void set_allocated_shard(::std::string* shard);
1357 
1358  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountServiceRegion)
1359  private:
1360  inline void set_has_id();
1361  inline void clear_has_id();
1362  inline void set_has_shard();
1363  inline void clear_has_shard();
1364 
1366 
1368  mutable int _cached_size_;
1369  ::std::string* shard_;
1374 
1375  void InitAsDefaultInstance();
1377 };
1378 // -------------------------------------------------------------------
1379 
1381  public:
1383  virtual ~AccountServiceConfig();
1384 
1386 
1388  CopyFrom(from);
1389  return *this;
1390  }
1391 
1392  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1393  return _unknown_fields_;
1394  }
1395 
1396  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1397  return &_unknown_fields_;
1398  }
1399 
1400  static const ::google::protobuf::Descriptor* descriptor();
1401  static const AccountServiceConfig& default_instance();
1402 
1403  void Swap(AccountServiceConfig* other);
1404 
1405  // implements Message ----------------------------------------------
1406 
1407  AccountServiceConfig* New() const;
1408  void CopyFrom(const ::google::protobuf::Message& from);
1409  void MergeFrom(const ::google::protobuf::Message& from);
1410  void CopyFrom(const AccountServiceConfig& from);
1411  void MergeFrom(const AccountServiceConfig& from);
1412  void Clear();
1413  bool IsInitialized() const;
1414 
1415  int ByteSize() const;
1416  bool MergePartialFromCodedStream(
1418  void SerializeWithCachedSizes(
1420  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1421  int GetCachedSize() const { return _cached_size_; }
1422  private:
1423  void SharedCtor();
1424  void SharedDtor();
1425  void SetCachedSize(int size) const;
1426  public:
1427  ::google::protobuf::Metadata GetMetadata() const;
1428 
1429  // nested types ----------------------------------------------------
1430 
1431  // accessors -------------------------------------------------------
1432 
1433  // repeated .bgs.protocol.account.v1.AccountServiceRegion region = 1;
1434  inline int region_size() const;
1435  inline void clear_region();
1436  static const int kRegionFieldNumber = 1;
1437  inline const ::bgs::protocol::account::v1::AccountServiceRegion& region(int index) const;
1438  inline ::bgs::protocol::account::v1::AccountServiceRegion* mutable_region(int index);
1439  inline ::bgs::protocol::account::v1::AccountServiceRegion* add_region();
1440  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountServiceRegion >&
1441  region() const;
1442  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountServiceRegion >*
1443  mutable_region();
1444 
1445  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountServiceConfig)
1446  private:
1447 
1449 
1451  mutable int _cached_size_;
1456 
1457  void InitAsDefaultInstance();
1459 };
1460 // -------------------------------------------------------------------
1461 
1463  public:
1465  virtual ~GetAccountStateRequest();
1466 
1468 
1470  CopyFrom(from);
1471  return *this;
1472  }
1473 
1474  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1475  return _unknown_fields_;
1476  }
1477 
1478  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1479  return &_unknown_fields_;
1480  }
1481 
1482  static const ::google::protobuf::Descriptor* descriptor();
1483  static const GetAccountStateRequest& default_instance();
1484 
1485  void Swap(GetAccountStateRequest* other);
1486 
1487  // implements Message ----------------------------------------------
1488 
1489  GetAccountStateRequest* New() const;
1490  void CopyFrom(const ::google::protobuf::Message& from);
1491  void MergeFrom(const ::google::protobuf::Message& from);
1492  void CopyFrom(const GetAccountStateRequest& from);
1493  void MergeFrom(const GetAccountStateRequest& from);
1494  void Clear();
1495  bool IsInitialized() const;
1496 
1497  int ByteSize() const;
1498  bool MergePartialFromCodedStream(
1500  void SerializeWithCachedSizes(
1502  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1503  int GetCachedSize() const { return _cached_size_; }
1504  private:
1505  void SharedCtor();
1506  void SharedDtor();
1507  void SetCachedSize(int size) const;
1508  public:
1509  ::google::protobuf::Metadata GetMetadata() const;
1510 
1511  // nested types ----------------------------------------------------
1512 
1513  // accessors -------------------------------------------------------
1514 
1515  // optional .bgs.protocol.EntityId entity_id = 1;
1516  inline bool has_entity_id() const;
1517  inline void clear_entity_id();
1518  static const int kEntityIdFieldNumber = 1;
1519  inline const ::bgs::protocol::EntityId& entity_id() const;
1520  inline ::bgs::protocol::EntityId* mutable_entity_id();
1521  inline ::bgs::protocol::EntityId* release_entity_id();
1522  inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
1523 
1524  // optional uint32 program = 2;
1525  inline bool has_program() const;
1526  inline void clear_program();
1527  static const int kProgramFieldNumber = 2;
1528  inline ::google::protobuf::uint32 program() const;
1529  inline void set_program(::google::protobuf::uint32 value);
1530 
1531  // optional uint32 region = 3;
1532  inline bool has_region() const;
1533  inline void clear_region();
1534  static const int kRegionFieldNumber = 3;
1535  inline ::google::protobuf::uint32 region() const;
1536  inline void set_region(::google::protobuf::uint32 value);
1537 
1538  // optional .bgs.protocol.account.v1.AccountFieldOptions options = 10;
1539  inline bool has_options() const;
1540  inline void clear_options();
1541  static const int kOptionsFieldNumber = 10;
1542  inline const ::bgs::protocol::account::v1::AccountFieldOptions& options() const;
1543  inline ::bgs::protocol::account::v1::AccountFieldOptions* mutable_options();
1544  inline ::bgs::protocol::account::v1::AccountFieldOptions* release_options();
1545  inline void set_allocated_options(::bgs::protocol::account::v1::AccountFieldOptions* options);
1546 
1547  // optional .bgs.protocol.account.v1.AccountFieldTags tags = 11;
1548  inline bool has_tags() const;
1549  inline void clear_tags();
1550  static const int kTagsFieldNumber = 11;
1551  inline const ::bgs::protocol::account::v1::AccountFieldTags& tags() const;
1552  inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_tags();
1553  inline ::bgs::protocol::account::v1::AccountFieldTags* release_tags();
1554  inline void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags* tags);
1555 
1556  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountStateRequest)
1557  private:
1558  inline void set_has_entity_id();
1559  inline void clear_has_entity_id();
1560  inline void set_has_program();
1561  inline void clear_has_program();
1562  inline void set_has_region();
1563  inline void clear_has_region();
1564  inline void set_has_options();
1565  inline void clear_has_options();
1566  inline void set_has_tags();
1567  inline void clear_has_tags();
1568 
1570 
1572  mutable int _cached_size_;
1581 
1582  void InitAsDefaultInstance();
1584 };
1585 // -------------------------------------------------------------------
1586 
1588  public:
1590  virtual ~GetAccountStateResponse();
1591 
1593 
1595  CopyFrom(from);
1596  return *this;
1597  }
1598 
1599  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1600  return _unknown_fields_;
1601  }
1602 
1603  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1604  return &_unknown_fields_;
1605  }
1606 
1607  static const ::google::protobuf::Descriptor* descriptor();
1608  static const GetAccountStateResponse& default_instance();
1609 
1610  void Swap(GetAccountStateResponse* other);
1611 
1612  // implements Message ----------------------------------------------
1613 
1614  GetAccountStateResponse* New() const;
1615  void CopyFrom(const ::google::protobuf::Message& from);
1616  void MergeFrom(const ::google::protobuf::Message& from);
1617  void CopyFrom(const GetAccountStateResponse& from);
1618  void MergeFrom(const GetAccountStateResponse& from);
1619  void Clear();
1620  bool IsInitialized() const;
1621 
1622  int ByteSize() const;
1623  bool MergePartialFromCodedStream(
1625  void SerializeWithCachedSizes(
1627  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1628  int GetCachedSize() const { return _cached_size_; }
1629  private:
1630  void SharedCtor();
1631  void SharedDtor();
1632  void SetCachedSize(int size) const;
1633  public:
1634  ::google::protobuf::Metadata GetMetadata() const;
1635 
1636  // nested types ----------------------------------------------------
1637 
1638  // accessors -------------------------------------------------------
1639 
1640  // optional .bgs.protocol.account.v1.AccountState state = 1;
1641  inline bool has_state() const;
1642  inline void clear_state();
1643  static const int kStateFieldNumber = 1;
1644  inline const ::bgs::protocol::account::v1::AccountState& state() const;
1645  inline ::bgs::protocol::account::v1::AccountState* mutable_state();
1646  inline ::bgs::protocol::account::v1::AccountState* release_state();
1647  inline void set_allocated_state(::bgs::protocol::account::v1::AccountState* state);
1648 
1649  // optional .bgs.protocol.account.v1.AccountFieldTags tags = 2;
1650  inline bool has_tags() const;
1651  inline void clear_tags();
1652  static const int kTagsFieldNumber = 2;
1653  inline const ::bgs::protocol::account::v1::AccountFieldTags& tags() const;
1654  inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_tags();
1655  inline ::bgs::protocol::account::v1::AccountFieldTags* release_tags();
1656  inline void set_allocated_tags(::bgs::protocol::account::v1::AccountFieldTags* tags);
1657 
1658  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountStateResponse)
1659  private:
1660  inline void set_has_state();
1661  inline void clear_has_state();
1662  inline void set_has_tags();
1663  inline void clear_has_tags();
1664 
1666 
1668  mutable int _cached_size_;
1674 
1675  void InitAsDefaultInstance();
1677 };
1678 // -------------------------------------------------------------------
1679 
1681  public:
1683  virtual ~GetGameAccountStateRequest();
1684 
1686 
1688  CopyFrom(from);
1689  return *this;
1690  }
1691 
1692  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1693  return _unknown_fields_;
1694  }
1695 
1696  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1697  return &_unknown_fields_;
1698  }
1699 
1700  static const ::google::protobuf::Descriptor* descriptor();
1701  static const GetGameAccountStateRequest& default_instance();
1702 
1703  void Swap(GetGameAccountStateRequest* other);
1704 
1705  // implements Message ----------------------------------------------
1706 
1707  GetGameAccountStateRequest* New() const;
1708  void CopyFrom(const ::google::protobuf::Message& from);
1709  void MergeFrom(const ::google::protobuf::Message& from);
1710  void CopyFrom(const GetGameAccountStateRequest& from);
1711  void MergeFrom(const GetGameAccountStateRequest& from);
1712  void Clear();
1713  bool IsInitialized() const;
1714 
1715  int ByteSize() const;
1716  bool MergePartialFromCodedStream(
1718  void SerializeWithCachedSizes(
1720  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1721  int GetCachedSize() const { return _cached_size_; }
1722  private:
1723  void SharedCtor();
1724  void SharedDtor();
1725  void SetCachedSize(int size) const;
1726  public:
1727  ::google::protobuf::Metadata GetMetadata() const;
1728 
1729  // nested types ----------------------------------------------------
1730 
1731  // accessors -------------------------------------------------------
1732 
1733  // optional .bgs.protocol.EntityId account_id = 1 [deprecated = true];
1734  inline bool has_account_id() const PROTOBUF_DEPRECATED;
1735  inline void clear_account_id() PROTOBUF_DEPRECATED;
1736  static const int kAccountIdFieldNumber = 1;
1737  inline const ::bgs::protocol::EntityId& account_id() const PROTOBUF_DEPRECATED;
1738  inline ::bgs::protocol::EntityId* mutable_account_id() PROTOBUF_DEPRECATED;
1739  inline ::bgs::protocol::EntityId* release_account_id() PROTOBUF_DEPRECATED;
1740  inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id) PROTOBUF_DEPRECATED;
1741 
1742  // optional .bgs.protocol.EntityId game_account_id = 2;
1743  inline bool has_game_account_id() const;
1744  inline void clear_game_account_id();
1745  static const int kGameAccountIdFieldNumber = 2;
1746  inline const ::bgs::protocol::EntityId& game_account_id() const;
1747  inline ::bgs::protocol::EntityId* mutable_game_account_id();
1748  inline ::bgs::protocol::EntityId* release_game_account_id();
1749  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
1750 
1751  // optional .bgs.protocol.account.v1.GameAccountFieldOptions options = 10;
1752  inline bool has_options() const;
1753  inline void clear_options();
1754  static const int kOptionsFieldNumber = 10;
1755  inline const ::bgs::protocol::account::v1::GameAccountFieldOptions& options() const;
1756  inline ::bgs::protocol::account::v1::GameAccountFieldOptions* mutable_options();
1757  inline ::bgs::protocol::account::v1::GameAccountFieldOptions* release_options();
1758  inline void set_allocated_options(::bgs::protocol::account::v1::GameAccountFieldOptions* options);
1759 
1760  // optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 11;
1761  inline bool has_tags() const;
1762  inline void clear_tags();
1763  static const int kTagsFieldNumber = 11;
1764  inline const ::bgs::protocol::account::v1::GameAccountFieldTags& tags() const;
1765  inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_tags();
1766  inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_tags();
1767  inline void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags* tags);
1768 
1769  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameAccountStateRequest)
1770  private:
1771  inline void set_has_account_id();
1772  inline void clear_has_account_id();
1773  inline void set_has_game_account_id();
1774  inline void clear_has_game_account_id();
1775  inline void set_has_options();
1776  inline void clear_has_options();
1777  inline void set_has_tags();
1778  inline void clear_has_tags();
1779 
1780  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1781 
1782  ::google::protobuf::uint32 _has_bits_[1];
1783  mutable int _cached_size_;
1784  ::bgs::protocol::EntityId* account_id_;
1785  ::bgs::protocol::EntityId* game_account_id_;
1786  ::bgs::protocol::account::v1::GameAccountFieldOptions* options_;
1787  ::bgs::protocol::account::v1::GameAccountFieldTags* tags_;
1791 
1792  void InitAsDefaultInstance();
1793  static GetGameAccountStateRequest* default_instance_;
1794 };
1795 // -------------------------------------------------------------------
1796 
1797 class TC_SHARED_API GetGameAccountStateResponse : public ::google::protobuf::Message {
1798  public:
1800  virtual ~GetGameAccountStateResponse();
1801 
1803 
1805  CopyFrom(from);
1806  return *this;
1807  }
1808 
1809  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1810  return _unknown_fields_;
1811  }
1812 
1813  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1814  return &_unknown_fields_;
1815  }
1816 
1817  static const ::google::protobuf::Descriptor* descriptor();
1818  static const GetGameAccountStateResponse& default_instance();
1819 
1820  void Swap(GetGameAccountStateResponse* other);
1821 
1822  // implements Message ----------------------------------------------
1823 
1824  GetGameAccountStateResponse* New() const;
1825  void CopyFrom(const ::google::protobuf::Message& from);
1826  void MergeFrom(const ::google::protobuf::Message& from);
1827  void CopyFrom(const GetGameAccountStateResponse& from);
1828  void MergeFrom(const GetGameAccountStateResponse& from);
1829  void Clear();
1830  bool IsInitialized() const;
1831 
1832  int ByteSize() const;
1833  bool MergePartialFromCodedStream(
1835  void SerializeWithCachedSizes(
1837  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1838  int GetCachedSize() const { return _cached_size_; }
1839  private:
1840  void SharedCtor();
1841  void SharedDtor();
1842  void SetCachedSize(int size) const;
1843  public:
1844  ::google::protobuf::Metadata GetMetadata() const;
1845 
1846  // nested types ----------------------------------------------------
1847 
1848  // accessors -------------------------------------------------------
1849 
1850  // optional .bgs.protocol.account.v1.GameAccountState state = 1;
1851  inline bool has_state() const;
1852  inline void clear_state();
1853  static const int kStateFieldNumber = 1;
1854  inline const ::bgs::protocol::account::v1::GameAccountState& state() const;
1855  inline ::bgs::protocol::account::v1::GameAccountState* mutable_state();
1856  inline ::bgs::protocol::account::v1::GameAccountState* release_state();
1857  inline void set_allocated_state(::bgs::protocol::account::v1::GameAccountState* state);
1858 
1859  // optional .bgs.protocol.account.v1.GameAccountFieldTags tags = 2;
1860  inline bool has_tags() const;
1861  inline void clear_tags();
1862  static const int kTagsFieldNumber = 2;
1863  inline const ::bgs::protocol::account::v1::GameAccountFieldTags& tags() const;
1864  inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_tags();
1865  inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_tags();
1866  inline void set_allocated_tags(::bgs::protocol::account::v1::GameAccountFieldTags* tags);
1867 
1868  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameAccountStateResponse)
1869  private:
1870  inline void set_has_state();
1871  inline void clear_has_state();
1872  inline void set_has_tags();
1873  inline void clear_has_tags();
1874 
1876 
1878  mutable int _cached_size_;
1884 
1885  void InitAsDefaultInstance();
1887 };
1888 // -------------------------------------------------------------------
1889 
1891  public:
1893  virtual ~GetLicensesRequest();
1894 
1896 
1898  CopyFrom(from);
1899  return *this;
1900  }
1901 
1902  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1903  return _unknown_fields_;
1904  }
1905 
1906  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1907  return &_unknown_fields_;
1908  }
1909 
1910  static const ::google::protobuf::Descriptor* descriptor();
1911  static const GetLicensesRequest& default_instance();
1912 
1913  void Swap(GetLicensesRequest* other);
1914 
1915  // implements Message ----------------------------------------------
1916 
1917  GetLicensesRequest* New() const;
1918  void CopyFrom(const ::google::protobuf::Message& from);
1919  void MergeFrom(const ::google::protobuf::Message& from);
1920  void CopyFrom(const GetLicensesRequest& from);
1921  void MergeFrom(const GetLicensesRequest& from);
1922  void Clear();
1923  bool IsInitialized() const;
1924 
1925  int ByteSize() const;
1926  bool MergePartialFromCodedStream(
1928  void SerializeWithCachedSizes(
1930  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1931  int GetCachedSize() const { return _cached_size_; }
1932  private:
1933  void SharedCtor();
1934  void SharedDtor();
1935  void SetCachedSize(int size) const;
1936  public:
1937  ::google::protobuf::Metadata GetMetadata() const;
1938 
1939  // nested types ----------------------------------------------------
1940 
1941  // accessors -------------------------------------------------------
1942 
1943  // optional .bgs.protocol.EntityId target_id = 1;
1944  inline bool has_target_id() const;
1945  inline void clear_target_id();
1946  static const int kTargetIdFieldNumber = 1;
1947  inline const ::bgs::protocol::EntityId& target_id() const;
1948  inline ::bgs::protocol::EntityId* mutable_target_id();
1949  inline ::bgs::protocol::EntityId* release_target_id();
1950  inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id);
1951 
1952  // optional bool fetch_account_licenses = 2;
1953  inline bool has_fetch_account_licenses() const;
1954  inline void clear_fetch_account_licenses();
1955  static const int kFetchAccountLicensesFieldNumber = 2;
1956  inline bool fetch_account_licenses() const;
1957  inline void set_fetch_account_licenses(bool value);
1958 
1959  // optional bool fetch_game_account_licenses = 3;
1960  inline bool has_fetch_game_account_licenses() const;
1961  inline void clear_fetch_game_account_licenses();
1962  static const int kFetchGameAccountLicensesFieldNumber = 3;
1963  inline bool fetch_game_account_licenses() const;
1964  inline void set_fetch_game_account_licenses(bool value);
1965 
1966  // optional bool fetch_dynamic_account_licenses = 4;
1967  inline bool has_fetch_dynamic_account_licenses() const;
1968  inline void clear_fetch_dynamic_account_licenses();
1969  static const int kFetchDynamicAccountLicensesFieldNumber = 4;
1970  inline bool fetch_dynamic_account_licenses() const;
1971  inline void set_fetch_dynamic_account_licenses(bool value);
1972 
1973  // optional fixed32 program = 5;
1974  inline bool has_program() const;
1975  inline void clear_program();
1976  static const int kProgramFieldNumber = 5;
1977  inline ::google::protobuf::uint32 program() const;
1978  inline void set_program(::google::protobuf::uint32 value);
1979 
1980  // optional bool exclude_unknown_program = 6 [default = false];
1981  inline bool has_exclude_unknown_program() const;
1982  inline void clear_exclude_unknown_program();
1983  static const int kExcludeUnknownProgramFieldNumber = 6;
1984  inline bool exclude_unknown_program() const;
1985  inline void set_exclude_unknown_program(bool value);
1986 
1987  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetLicensesRequest)
1988  private:
1989  inline void set_has_target_id();
1990  inline void clear_has_target_id();
1991  inline void set_has_fetch_account_licenses();
1992  inline void clear_has_fetch_account_licenses();
1993  inline void set_has_fetch_game_account_licenses();
1994  inline void clear_has_fetch_game_account_licenses();
1995  inline void set_has_fetch_dynamic_account_licenses();
1996  inline void clear_has_fetch_dynamic_account_licenses();
1997  inline void set_has_program();
1998  inline void clear_has_program();
1999  inline void set_has_exclude_unknown_program();
2000  inline void clear_has_exclude_unknown_program();
2001 
2003 
2005  mutable int _cached_size_;
2015 
2016  void InitAsDefaultInstance();
2018 };
2019 // -------------------------------------------------------------------
2020 
2022  public:
2024  virtual ~GetLicensesResponse();
2025 
2027 
2029  CopyFrom(from);
2030  return *this;
2031  }
2032 
2033  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2034  return _unknown_fields_;
2035  }
2036 
2037  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2038  return &_unknown_fields_;
2039  }
2040 
2041  static const ::google::protobuf::Descriptor* descriptor();
2042  static const GetLicensesResponse& default_instance();
2043 
2044  void Swap(GetLicensesResponse* other);
2045 
2046  // implements Message ----------------------------------------------
2047 
2048  GetLicensesResponse* New() const;
2049  void CopyFrom(const ::google::protobuf::Message& from);
2050  void MergeFrom(const ::google::protobuf::Message& from);
2051  void CopyFrom(const GetLicensesResponse& from);
2052  void MergeFrom(const GetLicensesResponse& from);
2053  void Clear();
2054  bool IsInitialized() const;
2055 
2056  int ByteSize() const;
2057  bool MergePartialFromCodedStream(
2059  void SerializeWithCachedSizes(
2061  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2062  int GetCachedSize() const { return _cached_size_; }
2063  private:
2064  void SharedCtor();
2065  void SharedDtor();
2066  void SetCachedSize(int size) const;
2067  public:
2068  ::google::protobuf::Metadata GetMetadata() const;
2069 
2070  // nested types ----------------------------------------------------
2071 
2072  // accessors -------------------------------------------------------
2073 
2074  // repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
2075  inline int licenses_size() const;
2076  inline void clear_licenses();
2077  static const int kLicensesFieldNumber = 1;
2078  inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
2079  inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
2080  inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
2081  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
2082  licenses() const;
2083  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
2084  mutable_licenses();
2085 
2086  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetLicensesResponse)
2087  private:
2088 
2090 
2092  mutable int _cached_size_;
2097 
2098  void InitAsDefaultInstance();
2100 };
2101 // -------------------------------------------------------------------
2102 
2104  public:
2106  virtual ~GetGameSessionInfoRequest();
2107 
2109 
2111  CopyFrom(from);
2112  return *this;
2113  }
2114 
2115  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2116  return _unknown_fields_;
2117  }
2118 
2119  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2120  return &_unknown_fields_;
2121  }
2122 
2123  static const ::google::protobuf::Descriptor* descriptor();
2124  static const GetGameSessionInfoRequest& default_instance();
2125 
2126  void Swap(GetGameSessionInfoRequest* other);
2127 
2128  // implements Message ----------------------------------------------
2129 
2130  GetGameSessionInfoRequest* New() const;
2131  void CopyFrom(const ::google::protobuf::Message& from);
2132  void MergeFrom(const ::google::protobuf::Message& from);
2133  void CopyFrom(const GetGameSessionInfoRequest& from);
2134  void MergeFrom(const GetGameSessionInfoRequest& from);
2135  void Clear();
2136  bool IsInitialized() const;
2137 
2138  int ByteSize() const;
2139  bool MergePartialFromCodedStream(
2141  void SerializeWithCachedSizes(
2143  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2144  int GetCachedSize() const { return _cached_size_; }
2145  private:
2146  void SharedCtor();
2147  void SharedDtor();
2148  void SetCachedSize(int size) const;
2149  public:
2150  ::google::protobuf::Metadata GetMetadata() const;
2151 
2152  // nested types ----------------------------------------------------
2153 
2154  // accessors -------------------------------------------------------
2155 
2156  // optional .bgs.protocol.EntityId entity_id = 1;
2157  inline bool has_entity_id() const;
2158  inline void clear_entity_id();
2159  static const int kEntityIdFieldNumber = 1;
2160  inline const ::bgs::protocol::EntityId& entity_id() const;
2161  inline ::bgs::protocol::EntityId* mutable_entity_id();
2162  inline ::bgs::protocol::EntityId* release_entity_id();
2163  inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
2164 
2165  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameSessionInfoRequest)
2166  private:
2167  inline void set_has_entity_id();
2168  inline void clear_has_entity_id();
2169 
2171 
2173  mutable int _cached_size_;
2178 
2179  void InitAsDefaultInstance();
2181 };
2182 // -------------------------------------------------------------------
2183 
2185  public:
2187  virtual ~GetGameSessionInfoResponse();
2188 
2190 
2192  CopyFrom(from);
2193  return *this;
2194  }
2195 
2196  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2197  return _unknown_fields_;
2198  }
2199 
2200  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2201  return &_unknown_fields_;
2202  }
2203 
2204  static const ::google::protobuf::Descriptor* descriptor();
2205  static const GetGameSessionInfoResponse& default_instance();
2206 
2207  void Swap(GetGameSessionInfoResponse* other);
2208 
2209  // implements Message ----------------------------------------------
2210 
2211  GetGameSessionInfoResponse* New() const;
2212  void CopyFrom(const ::google::protobuf::Message& from);
2213  void MergeFrom(const ::google::protobuf::Message& from);
2214  void CopyFrom(const GetGameSessionInfoResponse& from);
2215  void MergeFrom(const GetGameSessionInfoResponse& from);
2216  void Clear();
2217  bool IsInitialized() const;
2218 
2219  int ByteSize() const;
2220  bool MergePartialFromCodedStream(
2222  void SerializeWithCachedSizes(
2224  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2225  int GetCachedSize() const { return _cached_size_; }
2226  private:
2227  void SharedCtor();
2228  void SharedDtor();
2229  void SetCachedSize(int size) const;
2230  public:
2231  ::google::protobuf::Metadata GetMetadata() const;
2232 
2233  // nested types ----------------------------------------------------
2234 
2235  // accessors -------------------------------------------------------
2236 
2237  // optional .bgs.protocol.account.v1.GameSessionInfo session_info = 2;
2238  inline bool has_session_info() const;
2239  inline void clear_session_info();
2240  static const int kSessionInfoFieldNumber = 2;
2241  inline const ::bgs::protocol::account::v1::GameSessionInfo& session_info() const;
2242  inline ::bgs::protocol::account::v1::GameSessionInfo* mutable_session_info();
2243  inline ::bgs::protocol::account::v1::GameSessionInfo* release_session_info();
2244  inline void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionInfo* session_info);
2245 
2246  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameSessionInfoResponse)
2247  private:
2248  inline void set_has_session_info();
2249  inline void clear_has_session_info();
2250 
2252 
2254  mutable int _cached_size_;
2259 
2260  void InitAsDefaultInstance();
2262 };
2263 // -------------------------------------------------------------------
2264 
2266  public:
2269 
2271 
2273  CopyFrom(from);
2274  return *this;
2275  }
2276 
2277  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2278  return _unknown_fields_;
2279  }
2280 
2281  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2282  return &_unknown_fields_;
2283  }
2284 
2285  static const ::google::protobuf::Descriptor* descriptor();
2286  static const GetGameTimeRemainingInfoRequest& default_instance();
2287 
2288  void Swap(GetGameTimeRemainingInfoRequest* other);
2289 
2290  // implements Message ----------------------------------------------
2291 
2292  GetGameTimeRemainingInfoRequest* New() const;
2293  void CopyFrom(const ::google::protobuf::Message& from);
2294  void MergeFrom(const ::google::protobuf::Message& from);
2295  void CopyFrom(const GetGameTimeRemainingInfoRequest& from);
2296  void MergeFrom(const GetGameTimeRemainingInfoRequest& from);
2297  void Clear();
2298  bool IsInitialized() const;
2299 
2300  int ByteSize() const;
2301  bool MergePartialFromCodedStream(
2303  void SerializeWithCachedSizes(
2305  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2306  int GetCachedSize() const { return _cached_size_; }
2307  private:
2308  void SharedCtor();
2309  void SharedDtor();
2310  void SetCachedSize(int size) const;
2311  public:
2312  ::google::protobuf::Metadata GetMetadata() const;
2313 
2314  // nested types ----------------------------------------------------
2315 
2316  // accessors -------------------------------------------------------
2317 
2318  // optional .bgs.protocol.EntityId game_account_id = 1;
2319  inline bool has_game_account_id() const;
2320  inline void clear_game_account_id();
2321  static const int kGameAccountIdFieldNumber = 1;
2322  inline const ::bgs::protocol::EntityId& game_account_id() const;
2323  inline ::bgs::protocol::EntityId* mutable_game_account_id();
2324  inline ::bgs::protocol::EntityId* release_game_account_id();
2325  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
2326 
2327  // optional .bgs.protocol.EntityId account_id = 2;
2328  inline bool has_account_id() const;
2329  inline void clear_account_id();
2330  static const int kAccountIdFieldNumber = 2;
2331  inline const ::bgs::protocol::EntityId& account_id() const;
2332  inline ::bgs::protocol::EntityId* mutable_account_id();
2333  inline ::bgs::protocol::EntityId* release_account_id();
2334  inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
2335 
2336  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameTimeRemainingInfoRequest)
2337  private:
2338  inline void set_has_game_account_id();
2339  inline void clear_has_game_account_id();
2340  inline void set_has_account_id();
2341  inline void clear_has_account_id();
2342 
2344 
2346  mutable int _cached_size_;
2352 
2353  void InitAsDefaultInstance();
2355 };
2356 // -------------------------------------------------------------------
2357 
2359  public:
2362 
2364 
2366  CopyFrom(from);
2367  return *this;
2368  }
2369 
2370  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2371  return _unknown_fields_;
2372  }
2373 
2374  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2375  return &_unknown_fields_;
2376  }
2377 
2378  static const ::google::protobuf::Descriptor* descriptor();
2379  static const GetGameTimeRemainingInfoResponse& default_instance();
2380 
2381  void Swap(GetGameTimeRemainingInfoResponse* other);
2382 
2383  // implements Message ----------------------------------------------
2384 
2385  GetGameTimeRemainingInfoResponse* New() const;
2386  void CopyFrom(const ::google::protobuf::Message& from);
2387  void MergeFrom(const ::google::protobuf::Message& from);
2388  void CopyFrom(const GetGameTimeRemainingInfoResponse& from);
2389  void MergeFrom(const GetGameTimeRemainingInfoResponse& from);
2390  void Clear();
2391  bool IsInitialized() const;
2392 
2393  int ByteSize() const;
2394  bool MergePartialFromCodedStream(
2396  void SerializeWithCachedSizes(
2398  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2399  int GetCachedSize() const { return _cached_size_; }
2400  private:
2401  void SharedCtor();
2402  void SharedDtor();
2403  void SetCachedSize(int size) const;
2404  public:
2405  ::google::protobuf::Metadata GetMetadata() const;
2406 
2407  // nested types ----------------------------------------------------
2408 
2409  // accessors -------------------------------------------------------
2410 
2411  // optional .bgs.protocol.account.v1.GameTimeRemainingInfo game_time_remaining_info = 1;
2412  inline bool has_game_time_remaining_info() const;
2413  inline void clear_game_time_remaining_info();
2414  static const int kGameTimeRemainingInfoFieldNumber = 1;
2415  inline const ::bgs::protocol::account::v1::GameTimeRemainingInfo& game_time_remaining_info() const;
2416  inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* mutable_game_time_remaining_info();
2417  inline ::bgs::protocol::account::v1::GameTimeRemainingInfo* release_game_time_remaining_info();
2418  inline void set_allocated_game_time_remaining_info(::bgs::protocol::account::v1::GameTimeRemainingInfo* game_time_remaining_info);
2419 
2420  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetGameTimeRemainingInfoResponse)
2421  private:
2422  inline void set_has_game_time_remaining_info();
2423  inline void clear_has_game_time_remaining_info();
2424 
2426 
2428  mutable int _cached_size_;
2433 
2434  void InitAsDefaultInstance();
2436 };
2437 // -------------------------------------------------------------------
2438 
2440  public:
2442  virtual ~GetCAISInfoRequest();
2443 
2445 
2447  CopyFrom(from);
2448  return *this;
2449  }
2450 
2451  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2452  return _unknown_fields_;
2453  }
2454 
2455  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2456  return &_unknown_fields_;
2457  }
2458 
2459  static const ::google::protobuf::Descriptor* descriptor();
2460  static const GetCAISInfoRequest& default_instance();
2461 
2462  void Swap(GetCAISInfoRequest* other);
2463 
2464  // implements Message ----------------------------------------------
2465 
2466  GetCAISInfoRequest* New() const;
2467  void CopyFrom(const ::google::protobuf::Message& from);
2468  void MergeFrom(const ::google::protobuf::Message& from);
2469  void CopyFrom(const GetCAISInfoRequest& from);
2470  void MergeFrom(const GetCAISInfoRequest& from);
2471  void Clear();
2472  bool IsInitialized() const;
2473 
2474  int ByteSize() const;
2475  bool MergePartialFromCodedStream(
2477  void SerializeWithCachedSizes(
2479  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2480  int GetCachedSize() const { return _cached_size_; }
2481  private:
2482  void SharedCtor();
2483  void SharedDtor();
2484  void SetCachedSize(int size) const;
2485  public:
2486  ::google::protobuf::Metadata GetMetadata() const;
2487 
2488  // nested types ----------------------------------------------------
2489 
2490  // accessors -------------------------------------------------------
2491 
2492  // optional .bgs.protocol.EntityId entity_id = 1;
2493  inline bool has_entity_id() const;
2494  inline void clear_entity_id();
2495  static const int kEntityIdFieldNumber = 1;
2496  inline const ::bgs::protocol::EntityId& entity_id() const;
2497  inline ::bgs::protocol::EntityId* mutable_entity_id();
2498  inline ::bgs::protocol::EntityId* release_entity_id();
2499  inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
2500 
2501  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetCAISInfoRequest)
2502  private:
2503  inline void set_has_entity_id();
2504  inline void clear_has_entity_id();
2505 
2507 
2509  mutable int _cached_size_;
2514 
2515  void InitAsDefaultInstance();
2517 };
2518 // -------------------------------------------------------------------
2519 
2521  public:
2523  virtual ~GetCAISInfoResponse();
2524 
2526 
2528  CopyFrom(from);
2529  return *this;
2530  }
2531 
2532  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2533  return _unknown_fields_;
2534  }
2535 
2536  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2537  return &_unknown_fields_;
2538  }
2539 
2540  static const ::google::protobuf::Descriptor* descriptor();
2541  static const GetCAISInfoResponse& default_instance();
2542 
2543  void Swap(GetCAISInfoResponse* other);
2544 
2545  // implements Message ----------------------------------------------
2546 
2547  GetCAISInfoResponse* New() const;
2548  void CopyFrom(const ::google::protobuf::Message& from);
2549  void MergeFrom(const ::google::protobuf::Message& from);
2550  void CopyFrom(const GetCAISInfoResponse& from);
2551  void MergeFrom(const GetCAISInfoResponse& from);
2552  void Clear();
2553  bool IsInitialized() const;
2554 
2555  int ByteSize() const;
2556  bool MergePartialFromCodedStream(
2558  void SerializeWithCachedSizes(
2560  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2561  int GetCachedSize() const { return _cached_size_; }
2562  private:
2563  void SharedCtor();
2564  void SharedDtor();
2565  void SetCachedSize(int size) const;
2566  public:
2567  ::google::protobuf::Metadata GetMetadata() const;
2568 
2569  // nested types ----------------------------------------------------
2570 
2571  // accessors -------------------------------------------------------
2572 
2573  // optional .bgs.protocol.account.v1.CAIS cais_info = 1;
2574  inline bool has_cais_info() const;
2575  inline void clear_cais_info();
2576  static const int kCaisInfoFieldNumber = 1;
2577  inline const ::bgs::protocol::account::v1::CAIS& cais_info() const;
2578  inline ::bgs::protocol::account::v1::CAIS* mutable_cais_info();
2579  inline ::bgs::protocol::account::v1::CAIS* release_cais_info();
2580  inline void set_allocated_cais_info(::bgs::protocol::account::v1::CAIS* cais_info);
2581 
2582  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetCAISInfoResponse)
2583  private:
2584  inline void set_has_cais_info();
2585  inline void clear_has_cais_info();
2586 
2588 
2590  mutable int _cached_size_;
2595 
2596  void InitAsDefaultInstance();
2598 };
2599 // -------------------------------------------------------------------
2600 
2602  public:
2604  virtual ~ForwardCacheExpireRequest();
2605 
2607 
2609  CopyFrom(from);
2610  return *this;
2611  }
2612 
2613  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2614  return _unknown_fields_;
2615  }
2616 
2617  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2618  return &_unknown_fields_;
2619  }
2620 
2621  static const ::google::protobuf::Descriptor* descriptor();
2622  static const ForwardCacheExpireRequest& default_instance();
2623 
2624  void Swap(ForwardCacheExpireRequest* other);
2625 
2626  // implements Message ----------------------------------------------
2627 
2628  ForwardCacheExpireRequest* New() const;
2629  void CopyFrom(const ::google::protobuf::Message& from);
2630  void MergeFrom(const ::google::protobuf::Message& from);
2631  void CopyFrom(const ForwardCacheExpireRequest& from);
2632  void MergeFrom(const ForwardCacheExpireRequest& from);
2633  void Clear();
2634  bool IsInitialized() const;
2635 
2636  int ByteSize() const;
2637  bool MergePartialFromCodedStream(
2639  void SerializeWithCachedSizes(
2641  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2642  int GetCachedSize() const { return _cached_size_; }
2643  private:
2644  void SharedCtor();
2645  void SharedDtor();
2646  void SetCachedSize(int size) const;
2647  public:
2648  ::google::protobuf::Metadata GetMetadata() const;
2649 
2650  // nested types ----------------------------------------------------
2651 
2652  // accessors -------------------------------------------------------
2653 
2654  // optional .bgs.protocol.EntityId entity_id = 1;
2655  inline bool has_entity_id() const;
2656  inline void clear_entity_id();
2657  static const int kEntityIdFieldNumber = 1;
2658  inline const ::bgs::protocol::EntityId& entity_id() const;
2659  inline ::bgs::protocol::EntityId* mutable_entity_id();
2660  inline ::bgs::protocol::EntityId* release_entity_id();
2661  inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
2662 
2663  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ForwardCacheExpireRequest)
2664  private:
2665  inline void set_has_entity_id();
2666  inline void clear_has_entity_id();
2667 
2669 
2671  mutable int _cached_size_;
2676 
2677  void InitAsDefaultInstance();
2679 };
2680 // -------------------------------------------------------------------
2681 
2683  public:
2685  virtual ~GetAuthorizedDataRequest();
2686 
2688 
2690  CopyFrom(from);
2691  return *this;
2692  }
2693 
2694  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2695  return _unknown_fields_;
2696  }
2697 
2698  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2699  return &_unknown_fields_;
2700  }
2701 
2702  static const ::google::protobuf::Descriptor* descriptor();
2703  static const GetAuthorizedDataRequest& default_instance();
2704 
2705  void Swap(GetAuthorizedDataRequest* other);
2706 
2707  // implements Message ----------------------------------------------
2708 
2709  GetAuthorizedDataRequest* New() const;
2710  void CopyFrom(const ::google::protobuf::Message& from);
2711  void MergeFrom(const ::google::protobuf::Message& from);
2712  void CopyFrom(const GetAuthorizedDataRequest& from);
2713  void MergeFrom(const GetAuthorizedDataRequest& from);
2714  void Clear();
2715  bool IsInitialized() const;
2716 
2717  int ByteSize() const;
2718  bool MergePartialFromCodedStream(
2720  void SerializeWithCachedSizes(
2722  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2723  int GetCachedSize() const { return _cached_size_; }
2724  private:
2725  void SharedCtor();
2726  void SharedDtor();
2727  void SetCachedSize(int size) const;
2728  public:
2729  ::google::protobuf::Metadata GetMetadata() const;
2730 
2731  // nested types ----------------------------------------------------
2732 
2733  // accessors -------------------------------------------------------
2734 
2735  // optional .bgs.protocol.EntityId entity_id = 1;
2736  inline bool has_entity_id() const;
2737  inline void clear_entity_id();
2738  static const int kEntityIdFieldNumber = 1;
2739  inline const ::bgs::protocol::EntityId& entity_id() const;
2740  inline ::bgs::protocol::EntityId* mutable_entity_id();
2741  inline ::bgs::protocol::EntityId* release_entity_id();
2742  inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
2743 
2744  // repeated string tag = 2;
2745  inline int tag_size() const;
2746  inline void clear_tag();
2747  static const int kTagFieldNumber = 2;
2748  inline const ::std::string& tag(int index) const;
2749  inline ::std::string* mutable_tag(int index);
2750  inline void set_tag(int index, const ::std::string& value);
2751  inline void set_tag(int index, const char* value);
2752  inline void set_tag(int index, const char* value, size_t size);
2753  inline ::std::string* add_tag();
2754  inline void add_tag(const ::std::string& value);
2755  inline void add_tag(const char* value);
2756  inline void add_tag(const char* value, size_t size);
2757  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& tag() const;
2758  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tag();
2759 
2760  // optional bool privileged_network = 3;
2761  inline bool has_privileged_network() const;
2762  inline void clear_privileged_network();
2763  static const int kPrivilegedNetworkFieldNumber = 3;
2764  inline bool privileged_network() const;
2765  inline void set_privileged_network(bool value);
2766 
2767  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAuthorizedDataRequest)
2768  private:
2769  inline void set_has_entity_id();
2770  inline void clear_has_entity_id();
2771  inline void set_has_privileged_network();
2772  inline void clear_has_privileged_network();
2773 
2775 
2777  mutable int _cached_size_;
2784 
2785  void InitAsDefaultInstance();
2787 };
2788 // -------------------------------------------------------------------
2789 
2791  public:
2793  virtual ~GetAuthorizedDataResponse();
2794 
2796 
2798  CopyFrom(from);
2799  return *this;
2800  }
2801 
2802  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2803  return _unknown_fields_;
2804  }
2805 
2806  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2807  return &_unknown_fields_;
2808  }
2809 
2810  static const ::google::protobuf::Descriptor* descriptor();
2811  static const GetAuthorizedDataResponse& default_instance();
2812 
2813  void Swap(GetAuthorizedDataResponse* other);
2814 
2815  // implements Message ----------------------------------------------
2816 
2817  GetAuthorizedDataResponse* New() const;
2818  void CopyFrom(const ::google::protobuf::Message& from);
2819  void MergeFrom(const ::google::protobuf::Message& from);
2820  void CopyFrom(const GetAuthorizedDataResponse& from);
2821  void MergeFrom(const GetAuthorizedDataResponse& from);
2822  void Clear();
2823  bool IsInitialized() const;
2824 
2825  int ByteSize() const;
2826  bool MergePartialFromCodedStream(
2828  void SerializeWithCachedSizes(
2830  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2831  int GetCachedSize() const { return _cached_size_; }
2832  private:
2833  void SharedCtor();
2834  void SharedDtor();
2835  void SetCachedSize(int size) const;
2836  public:
2837  ::google::protobuf::Metadata GetMetadata() const;
2838 
2839  // nested types ----------------------------------------------------
2840 
2841  // accessors -------------------------------------------------------
2842 
2843  // repeated .bgs.protocol.account.v1.AuthorizedData data = 1;
2844  inline int data_size() const;
2845  inline void clear_data();
2846  static const int kDataFieldNumber = 1;
2847  inline const ::bgs::protocol::account::v1::AuthorizedData& data(int index) const;
2848  inline ::bgs::protocol::account::v1::AuthorizedData* mutable_data(int index);
2849  inline ::bgs::protocol::account::v1::AuthorizedData* add_data();
2850  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >&
2851  data() const;
2852  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AuthorizedData >*
2853  mutable_data();
2854 
2855  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAuthorizedDataResponse)
2856  private:
2857 
2859 
2861  mutable int _cached_size_;
2866 
2867  void InitAsDefaultInstance();
2869 };
2870 // -------------------------------------------------------------------
2871 
2873  public:
2875  virtual ~AccountStateNotification();
2876 
2878 
2880  CopyFrom(from);
2881  return *this;
2882  }
2883 
2884  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2885  return _unknown_fields_;
2886  }
2887 
2888  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2889  return &_unknown_fields_;
2890  }
2891 
2892  static const ::google::protobuf::Descriptor* descriptor();
2893  static const AccountStateNotification& default_instance();
2894 
2895  void Swap(AccountStateNotification* other);
2896 
2897  // implements Message ----------------------------------------------
2898 
2899  AccountStateNotification* New() const;
2900  void CopyFrom(const ::google::protobuf::Message& from);
2901  void MergeFrom(const ::google::protobuf::Message& from);
2902  void CopyFrom(const AccountStateNotification& from);
2903  void MergeFrom(const AccountStateNotification& from);
2904  void Clear();
2905  bool IsInitialized() const;
2906 
2907  int ByteSize() const;
2908  bool MergePartialFromCodedStream(
2910  void SerializeWithCachedSizes(
2912  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2913  int GetCachedSize() const { return _cached_size_; }
2914  private:
2915  void SharedCtor();
2916  void SharedDtor();
2917  void SetCachedSize(int size) const;
2918  public:
2919  ::google::protobuf::Metadata GetMetadata() const;
2920 
2921  // nested types ----------------------------------------------------
2922 
2923  // accessors -------------------------------------------------------
2924 
2925  // optional .bgs.protocol.account.v1.AccountState account_state = 1;
2926  inline bool has_account_state() const;
2927  inline void clear_account_state();
2928  static const int kAccountStateFieldNumber = 1;
2929  inline const ::bgs::protocol::account::v1::AccountState& account_state() const;
2930  inline ::bgs::protocol::account::v1::AccountState* mutable_account_state();
2931  inline ::bgs::protocol::account::v1::AccountState* release_account_state();
2932  inline void set_allocated_account_state(::bgs::protocol::account::v1::AccountState* account_state);
2933 
2934  // optional uint64 subscriber_id = 2;
2935  inline bool has_subscriber_id() const;
2936  inline void clear_subscriber_id();
2937  static const int kSubscriberIdFieldNumber = 2;
2938  inline ::google::protobuf::uint64 subscriber_id() const;
2939  inline void set_subscriber_id(::google::protobuf::uint64 value);
2940 
2941  // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
2942  inline bool has_account_tags() const;
2943  inline void clear_account_tags();
2944  static const int kAccountTagsFieldNumber = 3;
2945  inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
2946  inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
2947  inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
2948  inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
2949 
2950  // optional bool subscription_completed = 4;
2951  inline bool has_subscription_completed() const;
2952  inline void clear_subscription_completed();
2953  static const int kSubscriptionCompletedFieldNumber = 4;
2954  inline bool subscription_completed() const;
2955  inline void set_subscription_completed(bool value);
2956 
2957  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountStateNotification)
2958  private:
2959  inline void set_has_account_state();
2960  inline void clear_has_account_state();
2961  inline void set_has_subscriber_id();
2962  inline void clear_has_subscriber_id();
2963  inline void set_has_account_tags();
2964  inline void clear_has_account_tags();
2965  inline void set_has_subscription_completed();
2966  inline void clear_has_subscription_completed();
2967 
2969 
2971  mutable int _cached_size_;
2979 
2980  void InitAsDefaultInstance();
2982 };
2983 // -------------------------------------------------------------------
2984 
2986  public:
2988  virtual ~GameAccountStateNotification();
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();
3006  static const GameAccountStateNotification& default_instance();
3007 
3008  void Swap(GameAccountStateNotification* other);
3009 
3010  // implements Message ----------------------------------------------
3011 
3012  GameAccountStateNotification* New() const;
3013  void CopyFrom(const ::google::protobuf::Message& from);
3014  void MergeFrom(const ::google::protobuf::Message& from);
3015  void CopyFrom(const GameAccountStateNotification& from);
3016  void MergeFrom(const GameAccountStateNotification& from);
3017  void Clear();
3018  bool IsInitialized() const;
3019 
3020  int ByteSize() const;
3021  bool MergePartialFromCodedStream(
3023  void SerializeWithCachedSizes(
3025  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3026  int GetCachedSize() const { return _cached_size_; }
3027  private:
3028  void SharedCtor();
3029  void SharedDtor();
3030  void SetCachedSize(int size) const;
3031  public:
3032  ::google::protobuf::Metadata GetMetadata() const;
3033 
3034  // nested types ----------------------------------------------------
3035 
3036  // accessors -------------------------------------------------------
3037 
3038  // optional .bgs.protocol.account.v1.GameAccountState game_account_state = 1;
3039  inline bool has_game_account_state() const;
3040  inline void clear_game_account_state();
3041  static const int kGameAccountStateFieldNumber = 1;
3042  inline const ::bgs::protocol::account::v1::GameAccountState& game_account_state() const;
3043  inline ::bgs::protocol::account::v1::GameAccountState* mutable_game_account_state();
3044  inline ::bgs::protocol::account::v1::GameAccountState* release_game_account_state();
3045  inline void set_allocated_game_account_state(::bgs::protocol::account::v1::GameAccountState* game_account_state);
3046 
3047  // optional uint64 subscriber_id = 2;
3048  inline bool has_subscriber_id() const;
3049  inline void clear_subscriber_id();
3050  static const int kSubscriberIdFieldNumber = 2;
3051  inline ::google::protobuf::uint64 subscriber_id() const;
3052  inline void set_subscriber_id(::google::protobuf::uint64 value);
3053 
3054  // optional .bgs.protocol.account.v1.GameAccountFieldTags game_account_tags = 3;
3055  inline bool has_game_account_tags() const;
3056  inline void clear_game_account_tags();
3057  static const int kGameAccountTagsFieldNumber = 3;
3058  inline const ::bgs::protocol::account::v1::GameAccountFieldTags& game_account_tags() const;
3059  inline ::bgs::protocol::account::v1::GameAccountFieldTags* mutable_game_account_tags();
3060  inline ::bgs::protocol::account::v1::GameAccountFieldTags* release_game_account_tags();
3061  inline void set_allocated_game_account_tags(::bgs::protocol::account::v1::GameAccountFieldTags* game_account_tags);
3062 
3063  // optional bool subscription_completed = 4;
3064  inline bool has_subscription_completed() const;
3065  inline void clear_subscription_completed();
3066  static const int kSubscriptionCompletedFieldNumber = 4;
3067  inline bool subscription_completed() const;
3068  inline void set_subscription_completed(bool value);
3069 
3070  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountStateNotification)
3071  private:
3072  inline void set_has_game_account_state();
3073  inline void clear_has_game_account_state();
3074  inline void set_has_subscriber_id();
3075  inline void clear_has_subscriber_id();
3076  inline void set_has_game_account_tags();
3077  inline void clear_has_game_account_tags();
3078  inline void set_has_subscription_completed();
3079  inline void clear_has_subscription_completed();
3080 
3082 
3084  mutable int _cached_size_;
3092 
3093  void InitAsDefaultInstance();
3095 };
3096 // -------------------------------------------------------------------
3097 
3099  public:
3101  virtual ~GameAccountNotification();
3102 
3104 
3106  CopyFrom(from);
3107  return *this;
3108  }
3109 
3110  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3111  return _unknown_fields_;
3112  }
3113 
3114  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3115  return &_unknown_fields_;
3116  }
3117 
3118  static const ::google::protobuf::Descriptor* descriptor();
3119  static const GameAccountNotification& default_instance();
3120 
3121  void Swap(GameAccountNotification* other);
3122 
3123  // implements Message ----------------------------------------------
3124 
3125  GameAccountNotification* New() const;
3126  void CopyFrom(const ::google::protobuf::Message& from);
3127  void MergeFrom(const ::google::protobuf::Message& from);
3128  void CopyFrom(const GameAccountNotification& from);
3129  void MergeFrom(const GameAccountNotification& from);
3130  void Clear();
3131  bool IsInitialized() const;
3132 
3133  int ByteSize() const;
3134  bool MergePartialFromCodedStream(
3136  void SerializeWithCachedSizes(
3138  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3139  int GetCachedSize() const { return _cached_size_; }
3140  private:
3141  void SharedCtor();
3142  void SharedDtor();
3143  void SetCachedSize(int size) const;
3144  public:
3145  ::google::protobuf::Metadata GetMetadata() const;
3146 
3147  // nested types ----------------------------------------------------
3148 
3149  // accessors -------------------------------------------------------
3150 
3151  // repeated .bgs.protocol.account.v1.GameAccountList game_accounts = 1;
3152  inline int game_accounts_size() const;
3153  inline void clear_game_accounts();
3154  static const int kGameAccountsFieldNumber = 1;
3155  inline const ::bgs::protocol::account::v1::GameAccountList& game_accounts(int index) const;
3156  inline ::bgs::protocol::account::v1::GameAccountList* mutable_game_accounts(int index);
3157  inline ::bgs::protocol::account::v1::GameAccountList* add_game_accounts();
3158  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >&
3159  game_accounts() const;
3160  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountList >*
3161  mutable_game_accounts();
3162 
3163  // optional uint64 subscriber_id = 2;
3164  inline bool has_subscriber_id() const;
3165  inline void clear_subscriber_id();
3166  static const int kSubscriberIdFieldNumber = 2;
3167  inline ::google::protobuf::uint64 subscriber_id() const;
3168  inline void set_subscriber_id(::google::protobuf::uint64 value);
3169 
3170  // optional .bgs.protocol.account.v1.AccountFieldTags account_tags = 3;
3171  inline bool has_account_tags() const;
3172  inline void clear_account_tags();
3173  static const int kAccountTagsFieldNumber = 3;
3174  inline const ::bgs::protocol::account::v1::AccountFieldTags& account_tags() const;
3175  inline ::bgs::protocol::account::v1::AccountFieldTags* mutable_account_tags();
3176  inline ::bgs::protocol::account::v1::AccountFieldTags* release_account_tags();
3177  inline void set_allocated_account_tags(::bgs::protocol::account::v1::AccountFieldTags* account_tags);
3178 
3179  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountNotification)
3180  private:
3181  inline void set_has_subscriber_id();
3182  inline void clear_has_subscriber_id();
3183  inline void set_has_account_tags();
3184  inline void clear_has_account_tags();
3185 
3187 
3189  mutable int _cached_size_;
3196 
3197  void InitAsDefaultInstance();
3199 };
3200 // -------------------------------------------------------------------
3201 
3203  public:
3205  virtual ~GameAccountSessionNotification();
3206 
3208 
3210  CopyFrom(from);
3211  return *this;
3212  }
3213 
3214  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3215  return _unknown_fields_;
3216  }
3217 
3218  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3219  return &_unknown_fields_;
3220  }
3221 
3222  static const ::google::protobuf::Descriptor* descriptor();
3223  static const GameAccountSessionNotification& default_instance();
3224 
3225  void Swap(GameAccountSessionNotification* other);
3226 
3227  // implements Message ----------------------------------------------
3228 
3229  GameAccountSessionNotification* New() const;
3230  void CopyFrom(const ::google::protobuf::Message& from);
3231  void MergeFrom(const ::google::protobuf::Message& from);
3232  void CopyFrom(const GameAccountSessionNotification& from);
3233  void MergeFrom(const GameAccountSessionNotification& from);
3234  void Clear();
3235  bool IsInitialized() const;
3236 
3237  int ByteSize() const;
3238  bool MergePartialFromCodedStream(
3240  void SerializeWithCachedSizes(
3242  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3243  int GetCachedSize() const { return _cached_size_; }
3244  private:
3245  void SharedCtor();
3246  void SharedDtor();
3247  void SetCachedSize(int size) const;
3248  public:
3249  ::google::protobuf::Metadata GetMetadata() const;
3250 
3251  // nested types ----------------------------------------------------
3252 
3253  // accessors -------------------------------------------------------
3254 
3255  // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
3256  inline bool has_game_account() const;
3257  inline void clear_game_account();
3258  static const int kGameAccountFieldNumber = 1;
3259  inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
3260  inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
3261  inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
3262  inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
3263 
3264  // optional .bgs.protocol.account.v1.GameSessionUpdateInfo session_info = 2;
3265  inline bool has_session_info() const;
3266  inline void clear_session_info();
3267  static const int kSessionInfoFieldNumber = 2;
3268  inline const ::bgs::protocol::account::v1::GameSessionUpdateInfo& session_info() const;
3269  inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* mutable_session_info();
3270  inline ::bgs::protocol::account::v1::GameSessionUpdateInfo* release_session_info();
3271  inline void set_allocated_session_info(::bgs::protocol::account::v1::GameSessionUpdateInfo* session_info);
3272 
3273  // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountSessionNotification)
3274  private:
3275  inline void set_has_game_account();
3276  inline void clear_has_game_account();
3277  inline void set_has_session_info();
3278  inline void clear_has_session_info();
3279 
3281 
3283  mutable int _cached_size_;
3289 
3290  void InitAsDefaultInstance();
3292 };
3293 // ===================================================================
3294 
3296 {
3297  public:
3298 
3299  explicit AccountService(bool use_original_hash);
3300  virtual ~AccountService();
3301 
3302  typedef std::integral_constant<uint32, 0x62DA0891u> OriginalHash;
3303  typedef std::integral_constant<uint32, 0x1E4DC42Fu> NameHash;
3304 
3305  static google::protobuf::ServiceDescriptor const* descriptor();
3306 
3307  // client methods --------------------------------------------------
3308 
3309  void GetGameAccount(::bgs::protocol::account::v1::GameAccountHandle const* request, std::function<void(::bgs::protocol::account::v1::GameAccountBlob const*)> responseCallback);
3310  void GetAccount(::bgs::protocol::account::v1::GetAccountRequest const* request, std::function<void(::bgs::protocol::account::v1::GetAccountResponse const*)> responseCallback);
3311  void CreateGameAccount(::bgs::protocol::account::v1::CreateGameAccountRequest const* request, std::function<void(::bgs::protocol::account::v1::GameAccountHandle const*)> responseCallback);
3312  void IsIgrAddress(::bgs::protocol::account::v1::IsIgrAddressRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
3313  void CacheExpire(::bgs::protocol::account::v1::CacheExpireRequest const* request);
3314  void CredentialUpdate(::bgs::protocol::account::v1::CredentialUpdateRequest const* request, std::function<void(::bgs::protocol::account::v1::CredentialUpdateResponse const*)> responseCallback);
3315  void Subscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const* request, std::function<void(::bgs::protocol::account::v1::SubscriptionUpdateResponse const*)> responseCallback);
3316  void Unsubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
3317  void GetAccountState(::bgs::protocol::account::v1::GetAccountStateRequest const* request, std::function<void(::bgs::protocol::account::v1::GetAccountStateResponse const*)> responseCallback);
3318  void GetGameAccountState(::bgs::protocol::account::v1::GetGameAccountStateRequest const* request, std::function<void(::bgs::protocol::account::v1::GetGameAccountStateResponse const*)> responseCallback);
3319  void GetLicenses(::bgs::protocol::account::v1::GetLicensesRequest const* request, std::function<void(::bgs::protocol::account::v1::GetLicensesResponse const*)> responseCallback);
3320  void GetGameTimeRemainingInfo(::bgs::protocol::account::v1::GetGameTimeRemainingInfoRequest const* request, std::function<void(::bgs::protocol::account::v1::GetGameTimeRemainingInfoResponse const*)> responseCallback);
3321  void GetGameSessionInfo(::bgs::protocol::account::v1::GetGameSessionInfoRequest const* request, std::function<void(::bgs::protocol::account::v1::GetGameSessionInfoResponse const*)> responseCallback);
3322  void GetCAISInfo(::bgs::protocol::account::v1::GetCAISInfoRequest const* request, std::function<void(::bgs::protocol::account::v1::GetCAISInfoResponse const*)> responseCallback);
3323  void ForwardCacheExpire(::bgs::protocol::account::v1::ForwardCacheExpireRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
3324  void GetAuthorizedData(::bgs::protocol::account::v1::GetAuthorizedDataRequest const* request, std::function<void(::bgs::protocol::account::v1::GetAuthorizedDataResponse const*)> responseCallback);
3325  void AccountFlagUpdate(::bgs::protocol::account::v1::AccountFlagUpdateRequest const* request);
3326  void GameAccountFlagUpdate(::bgs::protocol::account::v1::GameAccountFlagUpdateRequest const* request);
3327  // server methods --------------------------------------------------
3328 
3329  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
3330 
3331  protected:
3332  virtual uint32 HandleGetGameAccount(::bgs::protocol::account::v1::GameAccountHandle const* request, ::bgs::protocol::account::v1::GameAccountBlob* response);
3333  virtual uint32 HandleGetAccount(::bgs::protocol::account::v1::GetAccountRequest const* request, ::bgs::protocol::account::v1::GetAccountResponse* response);
3334  virtual uint32 HandleCreateGameAccount(::bgs::protocol::account::v1::CreateGameAccountRequest const* request, ::bgs::protocol::account::v1::GameAccountHandle* response);
3335  virtual uint32 HandleIsIgrAddress(::bgs::protocol::account::v1::IsIgrAddressRequest const* request, ::bgs::protocol::NoData* response);
3336  virtual uint32 HandleCacheExpire(::bgs::protocol::account::v1::CacheExpireRequest const* request);
3337  virtual uint32 HandleCredentialUpdate(::bgs::protocol::account::v1::CredentialUpdateRequest const* request, ::bgs::protocol::account::v1::CredentialUpdateResponse* response);
3339  virtual uint32 HandleUnsubscribe(::bgs::protocol::account::v1::SubscriptionUpdateRequest const* request, ::bgs::protocol::NoData* response);
3340  virtual uint32 HandleGetAccountState(::bgs::protocol::account::v1::GetAccountStateRequest const* request, ::bgs::protocol::account::v1::GetAccountStateResponse* response);
3342  virtual uint32 HandleGetLicenses(::bgs::protocol::account::v1::GetLicensesRequest const* request, ::bgs::protocol::account::v1::GetLicensesResponse* response);
3345  virtual uint32 HandleGetCAISInfo(::bgs::protocol::account::v1::GetCAISInfoRequest const* request, ::bgs::protocol::account::v1::GetCAISInfoResponse* response);
3346  virtual uint32 HandleForwardCacheExpire(::bgs::protocol::account::v1::ForwardCacheExpireRequest const* request, ::bgs::protocol::NoData* response);
3347  virtual uint32 HandleGetAuthorizedData(::bgs::protocol::account::v1::GetAuthorizedDataRequest const* request, ::bgs::protocol::account::v1::GetAuthorizedDataResponse* response);
3348  virtual uint32 HandleAccountFlagUpdate(::bgs::protocol::account::v1::AccountFlagUpdateRequest const* request);
3349  virtual uint32 HandleGameAccountFlagUpdate(::bgs::protocol::account::v1::GameAccountFlagUpdateRequest const* request);
3350 
3351  private:
3353 
3355 };
3356 
3357 // -------------------------------------------------------------------
3358 
3360 {
3361  public:
3362 
3363  explicit AccountListener(bool use_original_hash);
3364  virtual ~AccountListener();
3365 
3366  typedef std::integral_constant<uint32, 0x54DFDA17u> OriginalHash;
3367  typedef std::integral_constant<uint32, 0x7807483Cu> NameHash;
3368 
3369  static google::protobuf::ServiceDescriptor const* descriptor();
3370 
3371  // client methods --------------------------------------------------
3372 
3373  void OnAccountStateUpdated(::bgs::protocol::account::v1::AccountStateNotification const* request);
3374  void OnGameAccountStateUpdated(::bgs::protocol::account::v1::GameAccountStateNotification const* request);
3375  void OnGameAccountsUpdated(::bgs::protocol::account::v1::GameAccountNotification const* request);
3376  void OnGameSessionUpdated(::bgs::protocol::account::v1::GameAccountSessionNotification const* request);
3377  // server methods --------------------------------------------------
3378 
3379  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
3380 
3381  protected:
3382  virtual uint32 HandleOnAccountStateUpdated(::bgs::protocol::account::v1::AccountStateNotification const* request);
3383  virtual uint32 HandleOnGameAccountStateUpdated(::bgs::protocol::account::v1::GameAccountStateNotification const* request);
3384  virtual uint32 HandleOnGameAccountsUpdated(::bgs::protocol::account::v1::GameAccountNotification const* request);
3385  virtual uint32 HandleOnGameSessionUpdated(::bgs::protocol::account::v1::GameAccountSessionNotification const* request);
3386 
3387  private:
3389 
3391 };
3392 
3393 // ===================================================================
3394 
3395 
3396 // ===================================================================
3397 
3398 // GetAccountRequest
3399 
3400 // optional .bgs.protocol.account.v1.AccountReference ref = 1;
3401 inline bool GetAccountRequest::has_ref() const {
3402  return (_has_bits_[0] & 0x00000001u) != 0;
3403 }
3405  _has_bits_[0] |= 0x00000001u;
3406 }
3408  _has_bits_[0] &= ~0x00000001u;
3409 }
3411  if (ref_ != NULL) ref_->::bgs::protocol::account::v1::AccountReference::Clear();
3412  clear_has_ref();
3413 }
3414 inline const ::bgs::protocol::account::v1::AccountReference& GetAccountRequest::ref() const {
3415  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.ref)
3416  return ref_ != NULL ? *ref_ : *default_instance_->ref_;
3417 }
3418 inline ::bgs::protocol::account::v1::AccountReference* GetAccountRequest::mutable_ref() {
3419  set_has_ref();
3420  if (ref_ == NULL) ref_ = new ::bgs::protocol::account::v1::AccountReference;
3421  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountRequest.ref)
3422  return ref_;
3423 }
3424 inline ::bgs::protocol::account::v1::AccountReference* GetAccountRequest::release_ref() {
3425  clear_has_ref();
3427  ref_ = NULL;
3428  return temp;
3429 }
3431  delete ref_;
3432  ref_ = ref;
3433  if (ref) {
3434  set_has_ref();
3435  } else {
3436  clear_has_ref();
3437  }
3438  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountRequest.ref)
3439 }
3440 
3441 // optional bool fetch_all = 10 [default = false];
3443  return (_has_bits_[0] & 0x00000002u) != 0;
3444 }
3446  _has_bits_[0] |= 0x00000002u;
3447 }
3449  _has_bits_[0] &= ~0x00000002u;
3450 }
3452  fetch_all_ = false;
3453  clear_has_fetch_all();
3454 }
3455 inline bool GetAccountRequest::fetch_all() const {
3456  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_all)
3457  return fetch_all_;
3458 }
3460  set_has_fetch_all();
3461  fetch_all_ = value;
3462  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_all)
3463 }
3464 
3465 // optional bool fetch_blob = 11 [default = false];
3467  return (_has_bits_[0] & 0x00000004u) != 0;
3468 }
3470  _has_bits_[0] |= 0x00000004u;
3471 }
3473  _has_bits_[0] &= ~0x00000004u;
3474 }
3476  fetch_blob_ = false;
3477  clear_has_fetch_blob();
3478 }
3479 inline bool GetAccountRequest::fetch_blob() const {
3480  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_blob)
3481  return fetch_blob_;
3482 }
3484  set_has_fetch_blob();
3485  fetch_blob_ = value;
3486  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_blob)
3487 }
3488 
3489 // optional bool fetch_id = 12 [default = false];
3490 inline bool GetAccountRequest::has_fetch_id() const {
3491  return (_has_bits_[0] & 0x00000008u) != 0;
3492 }
3494  _has_bits_[0] |= 0x00000008u;
3495 }
3497  _has_bits_[0] &= ~0x00000008u;
3498 }
3500  fetch_id_ = false;
3501  clear_has_fetch_id();
3502 }
3503 inline bool GetAccountRequest::fetch_id() const {
3504  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_id)
3505  return fetch_id_;
3506 }
3508  set_has_fetch_id();
3509  fetch_id_ = value;
3510  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_id)
3511 }
3512 
3513 // optional bool fetch_email = 13 [default = false];
3515  return (_has_bits_[0] & 0x00000010u) != 0;
3516 }
3518  _has_bits_[0] |= 0x00000010u;
3519 }
3521  _has_bits_[0] &= ~0x00000010u;
3522 }
3524  fetch_email_ = false;
3525  clear_has_fetch_email();
3526 }
3527 inline bool GetAccountRequest::fetch_email() const {
3528  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_email)
3529  return fetch_email_;
3530 }
3532  set_has_fetch_email();
3533  fetch_email_ = value;
3534  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_email)
3535 }
3536 
3537 // optional bool fetch_battle_tag = 14 [default = false];
3539  return (_has_bits_[0] & 0x00000020u) != 0;
3540 }
3542  _has_bits_[0] |= 0x00000020u;
3543 }
3545  _has_bits_[0] &= ~0x00000020u;
3546 }
3548  fetch_battle_tag_ = false;
3549  clear_has_fetch_battle_tag();
3550 }
3552  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_battle_tag)
3553  return fetch_battle_tag_;
3554 }
3556  set_has_fetch_battle_tag();
3557  fetch_battle_tag_ = value;
3558  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_battle_tag)
3559 }
3560 
3561 // optional bool fetch_full_name = 15 [default = false];
3563  return (_has_bits_[0] & 0x00000040u) != 0;
3564 }
3566  _has_bits_[0] |= 0x00000040u;
3567 }
3569  _has_bits_[0] &= ~0x00000040u;
3570 }
3572  fetch_full_name_ = false;
3573  clear_has_fetch_full_name();
3574 }
3576  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_full_name)
3577  return fetch_full_name_;
3578 }
3580  set_has_fetch_full_name();
3581  fetch_full_name_ = value;
3582  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_full_name)
3583 }
3584 
3585 // optional bool fetch_links = 16 [default = false];
3587  return (_has_bits_[0] & 0x00000080u) != 0;
3588 }
3590  _has_bits_[0] |= 0x00000080u;
3591 }
3593  _has_bits_[0] &= ~0x00000080u;
3594 }
3596  fetch_links_ = false;
3597  clear_has_fetch_links();
3598 }
3599 inline bool GetAccountRequest::fetch_links() const {
3600  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_links)
3601  return fetch_links_;
3602 }
3604  set_has_fetch_links();
3605  fetch_links_ = value;
3606  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_links)
3607 }
3608 
3609 // optional bool fetch_parental_controls = 17 [default = false];
3611  return (_has_bits_[0] & 0x00000100u) != 0;
3612 }
3614  _has_bits_[0] |= 0x00000100u;
3615 }
3617  _has_bits_[0] &= ~0x00000100u;
3618 }
3620  fetch_parental_controls_ = false;
3621  clear_has_fetch_parental_controls();
3622 }
3624  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountRequest.fetch_parental_controls)
3625  return fetch_parental_controls_;
3626 }
3628  set_has_fetch_parental_controls();
3629  fetch_parental_controls_ = value;
3630  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountRequest.fetch_parental_controls)
3631 }
3632 
3633 // -------------------------------------------------------------------
3634 
3635 // GetAccountResponse
3636 
3637 // optional .bgs.protocol.account.v1.AccountBlob blob = 11;
3638 inline bool GetAccountResponse::has_blob() const {
3639  return (_has_bits_[0] & 0x00000001u) != 0;
3640 }
3642  _has_bits_[0] |= 0x00000001u;
3643 }
3645  _has_bits_[0] &= ~0x00000001u;
3646 }
3648  if (blob_ != NULL) blob_->::bgs::protocol::account::v1::AccountBlob::Clear();
3649  clear_has_blob();
3650 }
3651 inline const ::bgs::protocol::account::v1::AccountBlob& GetAccountResponse::blob() const {
3652  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.blob)
3653  return blob_ != NULL ? *blob_ : *default_instance_->blob_;
3654 }
3655 inline ::bgs::protocol::account::v1::AccountBlob* GetAccountResponse::mutable_blob() {
3656  set_has_blob();
3657  if (blob_ == NULL) blob_ = new ::bgs::protocol::account::v1::AccountBlob;
3658  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.blob)
3659  return blob_;
3660 }
3661 inline ::bgs::protocol::account::v1::AccountBlob* GetAccountResponse::release_blob() {
3662  clear_has_blob();
3664  blob_ = NULL;
3665  return temp;
3666 }
3668  delete blob_;
3669  blob_ = blob;
3670  if (blob) {
3671  set_has_blob();
3672  } else {
3673  clear_has_blob();
3674  }
3675  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountResponse.blob)
3676 }
3677 
3678 // optional .bgs.protocol.account.v1.AccountId id = 12;
3679 inline bool GetAccountResponse::has_id() const {
3680  return (_has_bits_[0] & 0x00000002u) != 0;
3681 }
3683  _has_bits_[0] |= 0x00000002u;
3684 }
3686  _has_bits_[0] &= ~0x00000002u;
3687 }
3689  if (id_ != NULL) id_->::bgs::protocol::account::v1::AccountId::Clear();
3690  clear_has_id();
3691 }
3692 inline const ::bgs::protocol::account::v1::AccountId& GetAccountResponse::id() const {
3693  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.id)
3694  return id_ != NULL ? *id_ : *default_instance_->id_;
3695 }
3696 inline ::bgs::protocol::account::v1::AccountId* GetAccountResponse::mutable_id() {
3697  set_has_id();
3698  if (id_ == NULL) id_ = new ::bgs::protocol::account::v1::AccountId;
3699  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.id)
3700  return id_;
3701 }
3702 inline ::bgs::protocol::account::v1::AccountId* GetAccountResponse::release_id() {
3703  clear_has_id();
3705  id_ = NULL;
3706  return temp;
3707 }
3709  delete id_;
3710  id_ = id;
3711  if (id) {
3712  set_has_id();
3713  } else {
3714  clear_has_id();
3715  }
3716  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountResponse.id)
3717 }
3718 
3719 // repeated string email = 13;
3721  return email_.size();
3722 }
3724  email_.Clear();
3725 }
3726 inline const ::std::string& GetAccountResponse::email(int index) const {
3727  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.email)
3728  return email_.Get(index);
3729 }
3730 inline ::std::string* GetAccountResponse::mutable_email(int index) {
3731  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.email)
3732  return email_.Mutable(index);
3733 }
3734 inline void GetAccountResponse::set_email(int index, const ::std::string& value) {
3735  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountResponse.email)
3736  email_.Mutable(index)->assign(value);
3737 }
3738 inline void GetAccountResponse::set_email(int index, const char* value) {
3739  email_.Mutable(index)->assign(value);
3740  // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetAccountResponse.email)
3741 }
3742 inline void GetAccountResponse::set_email(int index, const char* value, size_t size) {
3743  email_.Mutable(index)->assign(
3744  reinterpret_cast<const char*>(value), size);
3745  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetAccountResponse.email)
3746 }
3747 inline ::std::string* GetAccountResponse::add_email() {
3748  return email_.Add();
3749 }
3750 inline void GetAccountResponse::add_email(const ::std::string& value) {
3751  email_.Add()->assign(value);
3752  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GetAccountResponse.email)
3753 }
3754 inline void GetAccountResponse::add_email(const char* value) {
3755  email_.Add()->assign(value);
3756  // @@protoc_insertion_point(field_add_char:bgs.protocol.account.v1.GetAccountResponse.email)
3757 }
3758 inline void GetAccountResponse::add_email(const char* value, size_t size) {
3759  email_.Add()->assign(reinterpret_cast<const char*>(value), size);
3760  // @@protoc_insertion_point(field_add_pointer:bgs.protocol.account.v1.GetAccountResponse.email)
3761 }
3762 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3764  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GetAccountResponse.email)
3765  return email_;
3766 }
3767 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3769  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GetAccountResponse.email)
3770  return &email_;
3771 }
3772 
3773 // optional string battle_tag = 14;
3775  return (_has_bits_[0] & 0x00000008u) != 0;
3776 }
3778  _has_bits_[0] |= 0x00000008u;
3779 }
3781  _has_bits_[0] &= ~0x00000008u;
3782 }
3785  battle_tag_->clear();
3786  }
3787  clear_has_battle_tag();
3788 }
3789 inline const ::std::string& GetAccountResponse::battle_tag() const {
3790  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3791  return *battle_tag_;
3792 }
3793 inline void GetAccountResponse::set_battle_tag(const ::std::string& value) {
3794  set_has_battle_tag();
3796  battle_tag_ = new ::std::string;
3797  }
3798  battle_tag_->assign(value);
3799  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3800 }
3801 inline void GetAccountResponse::set_battle_tag(const char* value) {
3802  set_has_battle_tag();
3804  battle_tag_ = new ::std::string;
3805  }
3806  battle_tag_->assign(value);
3807  // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3808 }
3809 inline void GetAccountResponse::set_battle_tag(const char* value, size_t size) {
3810  set_has_battle_tag();
3812  battle_tag_ = new ::std::string;
3813  }
3814  battle_tag_->assign(reinterpret_cast<const char*>(value), size);
3815  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3816 }
3818  set_has_battle_tag();
3820  battle_tag_ = new ::std::string;
3821  }
3822  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3823  return battle_tag_;
3824 }
3826  clear_has_battle_tag();
3828  return NULL;
3829  } else {
3830  ::std::string* temp = battle_tag_;
3831  battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3832  return temp;
3833  }
3834 }
3835 inline void GetAccountResponse::set_allocated_battle_tag(::std::string* battle_tag) {
3837  delete battle_tag_;
3838  }
3839  if (battle_tag) {
3840  set_has_battle_tag();
3841  battle_tag_ = battle_tag;
3842  } else {
3843  clear_has_battle_tag();
3844  battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3845  }
3846  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountResponse.battle_tag)
3847 }
3848 
3849 // optional string full_name = 15;
3851  return (_has_bits_[0] & 0x00000010u) != 0;
3852 }
3854  _has_bits_[0] |= 0x00000010u;
3855 }
3857  _has_bits_[0] &= ~0x00000010u;
3858 }
3861  full_name_->clear();
3862  }
3863  clear_has_full_name();
3864 }
3865 inline const ::std::string& GetAccountResponse::full_name() const {
3866  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.full_name)
3867  return *full_name_;
3868 }
3869 inline void GetAccountResponse::set_full_name(const ::std::string& value) {
3870  set_has_full_name();
3872  full_name_ = new ::std::string;
3873  }
3874  full_name_->assign(value);
3875  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GetAccountResponse.full_name)
3876 }
3877 inline void GetAccountResponse::set_full_name(const char* value) {
3878  set_has_full_name();
3880  full_name_ = new ::std::string;
3881  }
3882  full_name_->assign(value);
3883  // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GetAccountResponse.full_name)
3884 }
3885 inline void GetAccountResponse::set_full_name(const char* value, size_t size) {
3886  set_has_full_name();
3888  full_name_ = new ::std::string;
3889  }
3890  full_name_->assign(reinterpret_cast<const char*>(value), size);
3891  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GetAccountResponse.full_name)
3892 }
3893 inline ::std::string* GetAccountResponse::mutable_full_name() {
3894  set_has_full_name();
3896  full_name_ = new ::std::string;
3897  }
3898  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.full_name)
3899  return full_name_;
3900 }
3901 inline ::std::string* GetAccountResponse::release_full_name() {
3902  clear_has_full_name();
3904  return NULL;
3905  } else {
3906  ::std::string* temp = full_name_;
3907  full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3908  return temp;
3909  }
3910 }
3911 inline void GetAccountResponse::set_allocated_full_name(::std::string* full_name) {
3913  delete full_name_;
3914  }
3915  if (full_name) {
3916  set_has_full_name();
3917  full_name_ = full_name;
3918  } else {
3919  clear_has_full_name();
3920  full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3921  }
3922  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountResponse.full_name)
3923 }
3924 
3925 // repeated .bgs.protocol.account.v1.GameAccountLink links = 16;
3927  return links_.size();
3928 }
3930  links_.Clear();
3931 }
3932 inline const ::bgs::protocol::account::v1::GameAccountLink& GetAccountResponse::links(int index) const {
3933  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.links)
3934  return links_.Get(index);
3935 }
3936 inline ::bgs::protocol::account::v1::GameAccountLink* GetAccountResponse::mutable_links(int index) {
3937  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.links)
3938  return links_.Mutable(index);
3939 }
3940 inline ::bgs::protocol::account::v1::GameAccountLink* GetAccountResponse::add_links() {
3941  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.GetAccountResponse.links)
3942  return links_.Add();
3943 }
3944 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountLink >&
3946  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.GetAccountResponse.links)
3947  return links_;
3948 }
3949 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountLink >*
3951  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.GetAccountResponse.links)
3952  return &links_;
3953 }
3954 
3955 // optional .bgs.protocol.account.v1.ParentalControlInfo parental_control_info = 17;
3957  return (_has_bits_[0] & 0x00000040u) != 0;
3958 }
3960  _has_bits_[0] |= 0x00000040u;
3961 }
3963  _has_bits_[0] &= ~0x00000040u;
3964 }
3966  if (parental_control_info_ != NULL) parental_control_info_->::bgs::protocol::account::v1::ParentalControlInfo::Clear();
3967  clear_has_parental_control_info();
3968 }
3969 inline const ::bgs::protocol::account::v1::ParentalControlInfo& GetAccountResponse::parental_control_info() const {
3970  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountResponse.parental_control_info)
3971  return parental_control_info_ != NULL ? *parental_control_info_ : *default_instance_->parental_control_info_;
3972 }
3973 inline ::bgs::protocol::account::v1::ParentalControlInfo* GetAccountResponse::mutable_parental_control_info() {
3974  set_has_parental_control_info();
3975  if (parental_control_info_ == NULL) parental_control_info_ = new ::bgs::protocol::account::v1::ParentalControlInfo;
3976  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountResponse.parental_control_info)
3977  return parental_control_info_;
3978 }
3979 inline ::bgs::protocol::account::v1::ParentalControlInfo* GetAccountResponse::release_parental_control_info() {
3980  clear_has_parental_control_info();
3981  ::bgs::protocol::account::v1::ParentalControlInfo* temp = parental_control_info_;
3982  parental_control_info_ = NULL;
3983  return temp;
3984 }
3986  delete parental_control_info_;
3987  parental_control_info_ = parental_control_info;
3988  if (parental_control_info) {
3989  set_has_parental_control_info();
3990  } else {
3991  clear_has_parental_control_info();
3992  }
3993  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountResponse.parental_control_info)
3994 }
3995 
3996 // -------------------------------------------------------------------
3997 
3998 // CreateGameAccountRequest
3999 
4000 // optional .bgs.protocol.account.v1.AccountId account = 1;
4002  return (_has_bits_[0] & 0x00000001u) != 0;
4003 }
4005  _has_bits_[0] |= 0x00000001u;
4006 }
4008  _has_bits_[0] &= ~0x00000001u;
4009 }
4011  if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
4012  clear_has_account();
4013 }
4014 inline const ::bgs::protocol::account::v1::AccountId& CreateGameAccountRequest::account() const {
4015  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CreateGameAccountRequest.account)
4016  return account_ != NULL ? *account_ : *default_instance_->account_;
4017 }
4018 inline ::bgs::protocol::account::v1::AccountId* CreateGameAccountRequest::mutable_account() {
4019  set_has_account();
4020  if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
4021  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CreateGameAccountRequest.account)
4022  return account_;
4023 }
4024 inline ::bgs::protocol::account::v1::AccountId* CreateGameAccountRequest::release_account() {
4025  clear_has_account();
4026  ::bgs::protocol::account::v1::AccountId* temp = account_;
4027  account_ = NULL;
4028  return temp;
4029 }
4031  delete account_;
4032  account_ = account;
4033  if (account) {
4034  set_has_account();
4035  } else {
4036  clear_has_account();
4037  }
4038  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.CreateGameAccountRequest.account)
4039 }
4040 
4041 // optional uint32 region = 2;
4043  return (_has_bits_[0] & 0x00000002u) != 0;
4044 }
4046  _has_bits_[0] |= 0x00000002u;
4047 }
4049  _has_bits_[0] &= ~0x00000002u;
4050 }
4052  region_ = 0u;
4053  clear_has_region();
4054 }
4056  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CreateGameAccountRequest.region)
4057  return region_;
4058 }
4060  set_has_region();
4061  region_ = value;
4062  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CreateGameAccountRequest.region)
4063 }
4064 
4065 // optional fixed32 program = 3;
4067  return (_has_bits_[0] & 0x00000004u) != 0;
4068 }
4070  _has_bits_[0] |= 0x00000004u;
4071 }
4073  _has_bits_[0] &= ~0x00000004u;
4074 }
4076  program_ = 0u;
4077  clear_has_program();
4078 }
4080  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CreateGameAccountRequest.program)
4081  return program_;
4082 }
4084  set_has_program();
4085  program_ = value;
4086  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CreateGameAccountRequest.program)
4087 }
4088 
4089 // optional uint32 realm_permissions = 4 [default = 1];
4091  return (_has_bits_[0] & 0x00000008u) != 0;
4092 }
4094  _has_bits_[0] |= 0x00000008u;
4095 }
4097  _has_bits_[0] &= ~0x00000008u;
4098 }
4100  realm_permissions_ = 1u;
4101  clear_has_realm_permissions();
4102 }
4104  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CreateGameAccountRequest.realm_permissions)
4105  return realm_permissions_;
4106 }
4108  set_has_realm_permissions();
4109  realm_permissions_ = value;
4110  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CreateGameAccountRequest.realm_permissions)
4111 }
4112 
4113 // -------------------------------------------------------------------
4114 
4115 // CacheExpireRequest
4116 
4117 // repeated .bgs.protocol.account.v1.AccountId account = 1;
4119  return account_.size();
4120 }
4122  account_.Clear();
4123 }
4124 inline const ::bgs::protocol::account::v1::AccountId& CacheExpireRequest::account(int index) const {
4125  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CacheExpireRequest.account)
4126  return account_.Get(index);
4127 }
4128 inline ::bgs::protocol::account::v1::AccountId* CacheExpireRequest::mutable_account(int index) {
4129  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CacheExpireRequest.account)
4130  return account_.Mutable(index);
4131 }
4132 inline ::bgs::protocol::account::v1::AccountId* CacheExpireRequest::add_account() {
4133  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.CacheExpireRequest.account)
4134  return account_.Add();
4135 }
4136 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountId >&
4138  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.CacheExpireRequest.account)
4139  return account_;
4140 }
4141 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountId >*
4143  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.CacheExpireRequest.account)
4144  return &account_;
4145 }
4146 
4147 // repeated .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
4149  return game_account_.size();
4150 }
4152  game_account_.Clear();
4153 }
4154 inline const ::bgs::protocol::account::v1::GameAccountHandle& CacheExpireRequest::game_account(int index) const {
4155  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CacheExpireRequest.game_account)
4156  return game_account_.Get(index);
4157 }
4158 inline ::bgs::protocol::account::v1::GameAccountHandle* CacheExpireRequest::mutable_game_account(int index) {
4159  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CacheExpireRequest.game_account)
4160  return game_account_.Mutable(index);
4161 }
4162 inline ::bgs::protocol::account::v1::GameAccountHandle* CacheExpireRequest::add_game_account() {
4163  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.CacheExpireRequest.game_account)
4164  return game_account_.Add();
4165 }
4166 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >&
4168  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.CacheExpireRequest.game_account)
4169  return game_account_;
4170 }
4171 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::GameAccountHandle >*
4173  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.CacheExpireRequest.game_account)
4174  return &game_account_;
4175 }
4176 
4177 // repeated string email = 3;
4179  return email_.size();
4180 }
4182  email_.Clear();
4183 }
4184 inline const ::std::string& CacheExpireRequest::email(int index) const {
4185  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CacheExpireRequest.email)
4186  return email_.Get(index);
4187 }
4188 inline ::std::string* CacheExpireRequest::mutable_email(int index) {
4189  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CacheExpireRequest.email)
4190  return email_.Mutable(index);
4191 }
4192 inline void CacheExpireRequest::set_email(int index, const ::std::string& value) {
4193  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CacheExpireRequest.email)
4194  email_.Mutable(index)->assign(value);
4195 }
4196 inline void CacheExpireRequest::set_email(int index, const char* value) {
4197  email_.Mutable(index)->assign(value);
4198  // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.CacheExpireRequest.email)
4199 }
4200 inline void CacheExpireRequest::set_email(int index, const char* value, size_t size) {
4201  email_.Mutable(index)->assign(
4202  reinterpret_cast<const char*>(value), size);
4203  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.CacheExpireRequest.email)
4204 }
4205 inline ::std::string* CacheExpireRequest::add_email() {
4206  return email_.Add();
4207 }
4208 inline void CacheExpireRequest::add_email(const ::std::string& value) {
4209  email_.Add()->assign(value);
4210  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.CacheExpireRequest.email)
4211 }
4212 inline void CacheExpireRequest::add_email(const char* value) {
4213  email_.Add()->assign(value);
4214  // @@protoc_insertion_point(field_add_char:bgs.protocol.account.v1.CacheExpireRequest.email)
4215 }
4216 inline void CacheExpireRequest::add_email(const char* value, size_t size) {
4217  email_.Add()->assign(reinterpret_cast<const char*>(value), size);
4218  // @@protoc_insertion_point(field_add_pointer:bgs.protocol.account.v1.CacheExpireRequest.email)
4219 }
4220 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4222  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.CacheExpireRequest.email)
4223  return email_;
4224 }
4225 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4227  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.CacheExpireRequest.email)
4228  return &email_;
4229 }
4230 
4231 // -------------------------------------------------------------------
4232 
4233 // CredentialUpdateRequest
4234 
4235 // required .bgs.protocol.account.v1.AccountId account = 1;
4237  return (_has_bits_[0] & 0x00000001u) != 0;
4238 }
4240  _has_bits_[0] |= 0x00000001u;
4241 }
4243  _has_bits_[0] &= ~0x00000001u;
4244 }
4246  if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
4247  clear_has_account();
4248 }
4249 inline const ::bgs::protocol::account::v1::AccountId& CredentialUpdateRequest::account() const {
4250  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CredentialUpdateRequest.account)
4251  return account_ != NULL ? *account_ : *default_instance_->account_;
4252 }
4253 inline ::bgs::protocol::account::v1::AccountId* CredentialUpdateRequest::mutable_account() {
4254  set_has_account();
4255  if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
4256  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CredentialUpdateRequest.account)
4257  return account_;
4258 }
4259 inline ::bgs::protocol::account::v1::AccountId* CredentialUpdateRequest::release_account() {
4260  clear_has_account();
4261  ::bgs::protocol::account::v1::AccountId* temp = account_;
4262  account_ = NULL;
4263  return temp;
4264 }
4266  delete account_;
4267  account_ = account;
4268  if (account) {
4269  set_has_account();
4270  } else {
4271  clear_has_account();
4272  }
4273  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.CredentialUpdateRequest.account)
4274 }
4275 
4276 // repeated .bgs.protocol.account.v1.AccountCredential old_credentials = 2;
4278  return old_credentials_.size();
4279 }
4281  old_credentials_.Clear();
4282 }
4283 inline const ::bgs::protocol::account::v1::AccountCredential& CredentialUpdateRequest::old_credentials(int index) const {
4284  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CredentialUpdateRequest.old_credentials)
4285  return old_credentials_.Get(index);
4286 }
4287 inline ::bgs::protocol::account::v1::AccountCredential* CredentialUpdateRequest::mutable_old_credentials(int index) {
4288  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CredentialUpdateRequest.old_credentials)
4289  return old_credentials_.Mutable(index);
4290 }
4291 inline ::bgs::protocol::account::v1::AccountCredential* CredentialUpdateRequest::add_old_credentials() {
4292  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.CredentialUpdateRequest.old_credentials)
4293  return old_credentials_.Add();
4294 }
4295 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >&
4297  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.CredentialUpdateRequest.old_credentials)
4298  return old_credentials_;
4299 }
4300 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >*
4302  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.CredentialUpdateRequest.old_credentials)
4303  return &old_credentials_;
4304 }
4305 
4306 // repeated .bgs.protocol.account.v1.AccountCredential new_credentials = 3;
4308  return new_credentials_.size();
4309 }
4311  new_credentials_.Clear();
4312 }
4313 inline const ::bgs::protocol::account::v1::AccountCredential& CredentialUpdateRequest::new_credentials(int index) const {
4314  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CredentialUpdateRequest.new_credentials)
4315  return new_credentials_.Get(index);
4316 }
4317 inline ::bgs::protocol::account::v1::AccountCredential* CredentialUpdateRequest::mutable_new_credentials(int index) {
4318  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.CredentialUpdateRequest.new_credentials)
4319  return new_credentials_.Mutable(index);
4320 }
4321 inline ::bgs::protocol::account::v1::AccountCredential* CredentialUpdateRequest::add_new_credentials() {
4322  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.CredentialUpdateRequest.new_credentials)
4323  return new_credentials_.Add();
4324 }
4325 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >&
4327  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.CredentialUpdateRequest.new_credentials)
4328  return new_credentials_;
4329 }
4330 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountCredential >*
4332  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.CredentialUpdateRequest.new_credentials)
4333  return &new_credentials_;
4334 }
4335 
4336 // optional uint32 region = 4;
4338  return (_has_bits_[0] & 0x00000008u) != 0;
4339 }
4341  _has_bits_[0] |= 0x00000008u;
4342 }
4344  _has_bits_[0] &= ~0x00000008u;
4345 }
4347  region_ = 0u;
4348  clear_has_region();
4349 }
4351  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.CredentialUpdateRequest.region)
4352  return region_;
4353 }
4355  set_has_region();
4356  region_ = value;
4357  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.CredentialUpdateRequest.region)
4358 }
4359 
4360 // -------------------------------------------------------------------
4361 
4362 // CredentialUpdateResponse
4363 
4364 // -------------------------------------------------------------------
4365 
4366 // AccountFlagUpdateRequest
4367 
4368 // optional .bgs.protocol.account.v1.AccountId account = 1;
4370  return (_has_bits_[0] & 0x00000001u) != 0;
4371 }
4373  _has_bits_[0] |= 0x00000001u;
4374 }
4376  _has_bits_[0] &= ~0x00000001u;
4377 }
4379  if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
4380  clear_has_account();
4381 }
4382 inline const ::bgs::protocol::account::v1::AccountId& AccountFlagUpdateRequest::account() const {
4383  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFlagUpdateRequest.account)
4384  return account_ != NULL ? *account_ : *default_instance_->account_;
4385 }
4386 inline ::bgs::protocol::account::v1::AccountId* AccountFlagUpdateRequest::mutable_account() {
4387  set_has_account();
4388  if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
4389  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountFlagUpdateRequest.account)
4390  return account_;
4391 }
4392 inline ::bgs::protocol::account::v1::AccountId* AccountFlagUpdateRequest::release_account() {
4393  clear_has_account();
4394  ::bgs::protocol::account::v1::AccountId* temp = account_;
4395  account_ = NULL;
4396  return temp;
4397 }
4399  delete account_;
4400  account_ = account;
4401  if (account) {
4402  set_has_account();
4403  } else {
4404  clear_has_account();
4405  }
4406  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountFlagUpdateRequest.account)
4407 }
4408 
4409 // optional uint32 region = 2;
4411  return (_has_bits_[0] & 0x00000002u) != 0;
4412 }
4414  _has_bits_[0] |= 0x00000002u;
4415 }
4417  _has_bits_[0] &= ~0x00000002u;
4418 }
4420  region_ = 0u;
4421  clear_has_region();
4422 }
4424  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFlagUpdateRequest.region)
4425  return region_;
4426 }
4428  set_has_region();
4429  region_ = value;
4430  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFlagUpdateRequest.region)
4431 }
4432 
4433 // optional uint64 flag = 3;
4435  return (_has_bits_[0] & 0x00000004u) != 0;
4436 }
4438  _has_bits_[0] |= 0x00000004u;
4439 }
4441  _has_bits_[0] &= ~0x00000004u;
4442 }
4444  flag_ = GOOGLE_ULONGLONG(0);
4445  clear_has_flag();
4446 }
4448  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFlagUpdateRequest.flag)
4449  return flag_;
4450 }
4452  set_has_flag();
4453  flag_ = value;
4454  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFlagUpdateRequest.flag)
4455 }
4456 
4457 // optional bool active = 4;
4459  return (_has_bits_[0] & 0x00000008u) != 0;
4460 }
4462  _has_bits_[0] |= 0x00000008u;
4463 }
4465  _has_bits_[0] &= ~0x00000008u;
4466 }
4468  active_ = false;
4469  clear_has_active();
4470 }
4472  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountFlagUpdateRequest.active)
4473  return active_;
4474 }
4476  set_has_active();
4477  active_ = value;
4478  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountFlagUpdateRequest.active)
4479 }
4480 
4481 // -------------------------------------------------------------------
4482 
4483 // GameAccountFlagUpdateRequest
4484 
4485 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
4487  return (_has_bits_[0] & 0x00000001u) != 0;
4488 }
4490  _has_bits_[0] |= 0x00000001u;
4491 }
4493  _has_bits_[0] &= ~0x00000001u;
4494 }
4496  if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
4497  clear_has_game_account();
4498 }
4499 inline const ::bgs::protocol::account::v1::GameAccountHandle& GameAccountFlagUpdateRequest::game_account() const {
4500  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
4501  return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
4502 }
4503 inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountFlagUpdateRequest::mutable_game_account() {
4504  set_has_game_account();
4505  if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
4506  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
4507  return game_account_;
4508 }
4509 inline ::bgs::protocol::account::v1::GameAccountHandle* GameAccountFlagUpdateRequest::release_game_account() {
4510  clear_has_game_account();
4512  game_account_ = NULL;
4513  return temp;
4514 }
4516  delete game_account_;
4517  game_account_ = game_account;
4518  if (game_account) {
4519  set_has_game_account();
4520  } else {
4521  clear_has_game_account();
4522  }
4523  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.game_account)
4524 }
4525 
4526 // optional uint64 flag = 2;
4528  return (_has_bits_[0] & 0x00000002u) != 0;
4529 }
4531  _has_bits_[0] |= 0x00000002u;
4532 }
4534  _has_bits_[0] &= ~0x00000002u;
4535 }
4537  flag_ = GOOGLE_ULONGLONG(0);
4538  clear_has_flag();
4539 }
4541  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.flag)
4542  return flag_;
4543 }
4545  set_has_flag();
4546  flag_ = value;
4547  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.flag)
4548 }
4549 
4550 // optional bool active = 3;
4552  return (_has_bits_[0] & 0x00000004u) != 0;
4553 }
4555  _has_bits_[0] |= 0x00000004u;
4556 }
4558  _has_bits_[0] &= ~0x00000004u;
4559 }
4561  active_ = false;
4562  clear_has_active();
4563 }
4565  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.active)
4566  return active_;
4567 }
4569  set_has_active();
4570  active_ = value;
4571  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFlagUpdateRequest.active)
4572 }
4573 
4574 // -------------------------------------------------------------------
4575 
4576 // SubscriptionUpdateRequest
4577 
4578 // repeated .bgs.protocol.account.v1.SubscriberReference ref = 2;
4580  return ref_.size();
4581 }
4583  ref_.Clear();
4584 }
4585 inline const ::bgs::protocol::account::v1::SubscriberReference& SubscriptionUpdateRequest::ref(int index) const {
4586  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
4587  return ref_.Get(index);
4588 }
4589 inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateRequest::mutable_ref(int index) {
4590  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
4591  return ref_.Mutable(index);
4592 }
4593 inline ::bgs::protocol::account::v1::SubscriberReference* SubscriptionUpdateRequest::add_ref() {
4594  // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
4595  return ref_.Add();
4596 }
4597 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >&
4599  // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
4600  return ref_;
4601 }
4602 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::SubscriberReference >*
4604  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.SubscriptionUpdateRequest.ref)
4605  return &ref_;
4606 }
4607 
4608 // -------------------------------------------------------------------
4609 
4610 // SubscriptionUpdateResponse
4611 
4612 // repeated .bgs.protocol.account.v1.SubscriberReference ref = 1;
4614  return ref_.size();
4615 }
4616 inline void