TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
authentication_service.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: authentication_service.proto
3 
4 #ifndef PROTOBUF_authentication_5fservice_2eproto__INCLUDED
5 #define PROTOBUF_authentication_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"
29 #include "entity_types.pb.h"
30 #include "rpc_types.pb.h"
31 #include "ServiceBase.h"
32 #include "MessageBuffer.h"
33 #include <functional>
34 #include <type_traits>
35 // @@protoc_insertion_point(includes)
36 
37 namespace bgs {
38 namespace protocol {
39 namespace authentication {
40 namespace v1 {
41 
42 // Internal implementation detail -- do not call these.
46 
47 class ModuleLoadRequest;
48 class ModuleNotification;
49 class ModuleMessageRequest;
50 class LogonRequest;
51 class LogonResult;
52 class GenerateSSOTokenRequest;
53 class GenerateSSOTokenResponse;
54 class LogonUpdateRequest;
55 class LogonQueueUpdateRequest;
56 class AccountSettingsNotification;
57 class ServerStateChangeRequest;
58 class VersionInfo;
59 class VersionInfoNotification;
60 class MemModuleLoadRequest;
61 class MemModuleLoadResponse;
62 class SelectGameAccountRequest;
63 class GameAccountSelectedRequest;
64 class GenerateWebCredentialsRequest;
65 class GenerateWebCredentialsResponse;
66 class VerifyWebCredentialsRequest;
67 
68 // ===================================================================
69 
71  public:
73  virtual ~ModuleLoadRequest();
74 
76 
78  CopyFrom(from);
79  return *this;
80  }
81 
82  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
83  return _unknown_fields_;
84  }
85 
86  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
87  return &_unknown_fields_;
88  }
89 
90  static const ::google::protobuf::Descriptor* descriptor();
91  static const ModuleLoadRequest& default_instance();
92 
93  void Swap(ModuleLoadRequest* other);
94 
95  // implements Message ----------------------------------------------
96 
97  ModuleLoadRequest* New() const;
98  void CopyFrom(const ::google::protobuf::Message& from);
99  void MergeFrom(const ::google::protobuf::Message& from);
100  void CopyFrom(const ModuleLoadRequest& from);
101  void MergeFrom(const ModuleLoadRequest& from);
102  void Clear();
103  bool IsInitialized() const;
104 
105  int ByteSize() const;
106  bool MergePartialFromCodedStream(
108  void SerializeWithCachedSizes(
110  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
111  int GetCachedSize() const { return _cached_size_; }
112  private:
113  void SharedCtor();
114  void SharedDtor();
115  void SetCachedSize(int size) const;
116  public:
117  ::google::protobuf::Metadata GetMetadata() const;
118 
119  // nested types ----------------------------------------------------
120 
121  // accessors -------------------------------------------------------
122 
123  // required .bgs.protocol.ContentHandle module_handle = 1;
124  inline bool has_module_handle() const;
125  inline void clear_module_handle();
126  static const int kModuleHandleFieldNumber = 1;
127  inline const ::bgs::protocol::ContentHandle& module_handle() const;
128  inline ::bgs::protocol::ContentHandle* mutable_module_handle();
129  inline ::bgs::protocol::ContentHandle* release_module_handle();
130  inline void set_allocated_module_handle(::bgs::protocol::ContentHandle* module_handle);
131 
132  // optional bytes message = 2;
133  inline bool has_message() const;
134  inline void clear_message();
135  static const int kMessageFieldNumber = 2;
136  inline const ::std::string& message() const;
137  inline void set_message(const ::std::string& value);
138  inline void set_message(const char* value);
139  inline void set_message(const void* value, size_t size);
140  inline ::std::string* mutable_message();
141  inline ::std::string* release_message();
142  inline void set_allocated_message(::std::string* message);
143 
144  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleLoadRequest)
145  private:
146  inline void set_has_module_handle();
147  inline void clear_has_module_handle();
148  inline void set_has_message();
149  inline void clear_has_message();
150 
152 
154  mutable int _cached_size_;
156  ::std::string* message_;
160 
161  void InitAsDefaultInstance();
163 };
164 // -------------------------------------------------------------------
165 
167  public:
169  virtual ~ModuleNotification();
170 
172 
174  CopyFrom(from);
175  return *this;
176  }
177 
178  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
179  return _unknown_fields_;
180  }
181 
182  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
183  return &_unknown_fields_;
184  }
185 
186  static const ::google::protobuf::Descriptor* descriptor();
187  static const ModuleNotification& default_instance();
188 
189  void Swap(ModuleNotification* other);
190 
191  // implements Message ----------------------------------------------
192 
193  ModuleNotification* New() const;
194  void CopyFrom(const ::google::protobuf::Message& from);
195  void MergeFrom(const ::google::protobuf::Message& from);
196  void CopyFrom(const ModuleNotification& from);
197  void MergeFrom(const ModuleNotification& from);
198  void Clear();
199  bool IsInitialized() const;
200 
201  int ByteSize() const;
202  bool MergePartialFromCodedStream(
204  void SerializeWithCachedSizes(
206  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
207  int GetCachedSize() const { return _cached_size_; }
208  private:
209  void SharedCtor();
210  void SharedDtor();
211  void SetCachedSize(int size) const;
212  public:
213  ::google::protobuf::Metadata GetMetadata() const;
214 
215  // nested types ----------------------------------------------------
216 
217  // accessors -------------------------------------------------------
218 
219  // optional int32 module_id = 2;
220  inline bool has_module_id() const;
221  inline void clear_module_id();
222  static const int kModuleIdFieldNumber = 2;
223  inline ::google::protobuf::int32 module_id() const;
224  inline void set_module_id(::google::protobuf::int32 value);
225 
226  // optional uint32 result = 3;
227  inline bool has_result() const;
228  inline void clear_result();
229  static const int kResultFieldNumber = 3;
230  inline ::google::protobuf::uint32 result() const;
231  inline void set_result(::google::protobuf::uint32 value);
232 
233  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleNotification)
234  private:
235  inline void set_has_module_id();
236  inline void clear_has_module_id();
237  inline void set_has_result();
238  inline void clear_has_result();
239 
241 
243  mutable int _cached_size_;
249 
250  void InitAsDefaultInstance();
252 };
253 // -------------------------------------------------------------------
254 
256  public:
258  virtual ~ModuleMessageRequest();
259 
261 
263  CopyFrom(from);
264  return *this;
265  }
266 
267  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
268  return _unknown_fields_;
269  }
270 
271  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
272  return &_unknown_fields_;
273  }
274 
275  static const ::google::protobuf::Descriptor* descriptor();
276  static const ModuleMessageRequest& default_instance();
277 
278  void Swap(ModuleMessageRequest* other);
279 
280  // implements Message ----------------------------------------------
281 
282  ModuleMessageRequest* New() const;
283  void CopyFrom(const ::google::protobuf::Message& from);
284  void MergeFrom(const ::google::protobuf::Message& from);
285  void CopyFrom(const ModuleMessageRequest& from);
286  void MergeFrom(const ModuleMessageRequest& from);
287  void Clear();
288  bool IsInitialized() const;
289 
290  int ByteSize() const;
291  bool MergePartialFromCodedStream(
293  void SerializeWithCachedSizes(
295  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
296  int GetCachedSize() const { return _cached_size_; }
297  private:
298  void SharedCtor();
299  void SharedDtor();
300  void SetCachedSize(int size) const;
301  public:
302  ::google::protobuf::Metadata GetMetadata() const;
303 
304  // nested types ----------------------------------------------------
305 
306  // accessors -------------------------------------------------------
307 
308  // required int32 module_id = 1;
309  inline bool has_module_id() const;
310  inline void clear_module_id();
311  static const int kModuleIdFieldNumber = 1;
312  inline ::google::protobuf::int32 module_id() const;
313  inline void set_module_id(::google::protobuf::int32 value);
314 
315  // optional bytes message = 2;
316  inline bool has_message() const;
317  inline void clear_message();
318  static const int kMessageFieldNumber = 2;
319  inline const ::std::string& message() const;
320  inline void set_message(const ::std::string& value);
321  inline void set_message(const char* value);
322  inline void set_message(const void* value, size_t size);
323  inline ::std::string* mutable_message();
324  inline ::std::string* release_message();
325  inline void set_allocated_message(::std::string* message);
326 
327  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleMessageRequest)
328  private:
329  inline void set_has_module_id();
330  inline void clear_has_module_id();
331  inline void set_has_message();
332  inline void clear_has_message();
333 
335 
337  mutable int _cached_size_;
338  ::std::string* message_;
343 
344  void InitAsDefaultInstance();
346 };
347 // -------------------------------------------------------------------
348 
350  public:
351  LogonRequest();
352  virtual ~LogonRequest();
353 
354  LogonRequest(const LogonRequest& from);
355 
356  inline LogonRequest& operator=(const LogonRequest& from) {
357  CopyFrom(from);
358  return *this;
359  }
360 
361  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
362  return _unknown_fields_;
363  }
364 
365  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
366  return &_unknown_fields_;
367  }
368 
369  static const ::google::protobuf::Descriptor* descriptor();
370  static const LogonRequest& default_instance();
371 
372  void Swap(LogonRequest* other);
373 
374  // implements Message ----------------------------------------------
375 
376  LogonRequest* New() const;
377  void CopyFrom(const ::google::protobuf::Message& from);
378  void MergeFrom(const ::google::protobuf::Message& from);
379  void CopyFrom(const LogonRequest& from);
380  void MergeFrom(const LogonRequest& from);
381  void Clear();
382  bool IsInitialized() const;
383 
384  int ByteSize() const;
385  bool MergePartialFromCodedStream(
387  void SerializeWithCachedSizes(
389  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
390  int GetCachedSize() const { return _cached_size_; }
391  private:
392  void SharedCtor();
393  void SharedDtor();
394  void SetCachedSize(int size) const;
395  public:
396  ::google::protobuf::Metadata GetMetadata() const;
397 
398  // nested types ----------------------------------------------------
399 
400  // accessors -------------------------------------------------------
401 
402  // optional string program = 1;
403  inline bool has_program() const;
404  inline void clear_program();
405  static const int kProgramFieldNumber = 1;
406  inline const ::std::string& program() const;
407  inline void set_program(const ::std::string& value);
408  inline void set_program(const char* value);
409  inline void set_program(const char* value, size_t size);
410  inline ::std::string* mutable_program();
411  inline ::std::string* release_program();
412  inline void set_allocated_program(::std::string* program);
413 
414  // optional string platform = 2;
415  inline bool has_platform() const;
416  inline void clear_platform();
417  static const int kPlatformFieldNumber = 2;
418  inline const ::std::string& platform() const;
419  inline void set_platform(const ::std::string& value);
420  inline void set_platform(const char* value);
421  inline void set_platform(const char* value, size_t size);
422  inline ::std::string* mutable_platform();
423  inline ::std::string* release_platform();
424  inline void set_allocated_platform(::std::string* platform);
425 
426  // optional string locale = 3;
427  inline bool has_locale() const;
428  inline void clear_locale();
429  static const int kLocaleFieldNumber = 3;
430  inline const ::std::string& locale() const;
431  inline void set_locale(const ::std::string& value);
432  inline void set_locale(const char* value);
433  inline void set_locale(const char* value, size_t size);
434  inline ::std::string* mutable_locale();
435  inline ::std::string* release_locale();
436  inline void set_allocated_locale(::std::string* locale);
437 
438  // optional string email = 4;
439  inline bool has_email() const;
440  inline void clear_email();
441  static const int kEmailFieldNumber = 4;
442  inline const ::std::string& email() const;
443  inline void set_email(const ::std::string& value);
444  inline void set_email(const char* value);
445  inline void set_email(const char* value, size_t size);
446  inline ::std::string* mutable_email();
447  inline ::std::string* release_email();
448  inline void set_allocated_email(::std::string* email);
449 
450  // optional string version = 5;
451  inline bool has_version() const;
452  inline void clear_version();
453  static const int kVersionFieldNumber = 5;
454  inline const ::std::string& version() const;
455  inline void set_version(const ::std::string& value);
456  inline void set_version(const char* value);
457  inline void set_version(const char* value, size_t size);
458  inline ::std::string* mutable_version();
459  inline ::std::string* release_version();
460  inline void set_allocated_version(::std::string* version);
461 
462  // optional int32 application_version = 6;
463  inline bool has_application_version() const;
464  inline void clear_application_version();
465  static const int kApplicationVersionFieldNumber = 6;
466  inline ::google::protobuf::int32 application_version() const;
467  inline void set_application_version(::google::protobuf::int32 value);
468 
469  // optional bool public_computer = 7;
470  inline bool has_public_computer() const;
471  inline void clear_public_computer();
472  static const int kPublicComputerFieldNumber = 7;
473  inline bool public_computer() const;
474  inline void set_public_computer(bool value);
475 
476  // optional bytes sso_id = 8;
477  inline bool has_sso_id() const;
478  inline void clear_sso_id();
479  static const int kSsoIdFieldNumber = 8;
480  inline const ::std::string& sso_id() const;
481  inline void set_sso_id(const ::std::string& value);
482  inline void set_sso_id(const char* value);
483  inline void set_sso_id(const void* value, size_t size);
484  inline ::std::string* mutable_sso_id();
485  inline ::std::string* release_sso_id();
486  inline void set_allocated_sso_id(::std::string* sso_id);
487 
488  // optional bool disconnect_on_cookie_fail = 9 [default = false];
489  inline bool has_disconnect_on_cookie_fail() const;
490  inline void clear_disconnect_on_cookie_fail();
491  static const int kDisconnectOnCookieFailFieldNumber = 9;
492  inline bool disconnect_on_cookie_fail() const;
493  inline void set_disconnect_on_cookie_fail(bool value);
494 
495  // optional bool allow_logon_queue_notifications = 10 [default = false];
496  inline bool has_allow_logon_queue_notifications() const;
497  inline void clear_allow_logon_queue_notifications();
498  static const int kAllowLogonQueueNotificationsFieldNumber = 10;
499  inline bool allow_logon_queue_notifications() const;
500  inline void set_allow_logon_queue_notifications(bool value);
501 
502  // optional bool web_client_verification = 11 [default = false];
503  inline bool has_web_client_verification() const;
504  inline void clear_web_client_verification();
505  static const int kWebClientVerificationFieldNumber = 11;
506  inline bool web_client_verification() const;
507  inline void set_web_client_verification(bool value);
508 
509  // optional bytes cached_web_credentials = 12;
510  inline bool has_cached_web_credentials() const;
511  inline void clear_cached_web_credentials();
512  static const int kCachedWebCredentialsFieldNumber = 12;
513  inline const ::std::string& cached_web_credentials() const;
514  inline void set_cached_web_credentials(const ::std::string& value);
515  inline void set_cached_web_credentials(const char* value);
516  inline void set_cached_web_credentials(const void* value, size_t size);
517  inline ::std::string* mutable_cached_web_credentials();
518  inline ::std::string* release_cached_web_credentials();
519  inline void set_allocated_cached_web_credentials(::std::string* cached_web_credentials);
520 
521  // optional bool enable_cookie = 13 [default = true];
522  inline bool has_enable_cookie() const;
523  inline void clear_enable_cookie();
524  static const int kEnableCookieFieldNumber = 13;
525  inline bool enable_cookie() const;
526  inline void set_enable_cookie(bool value);
527 
528  // optional string user_agent = 14;
529  inline bool has_user_agent() const;
530  inline void clear_user_agent();
531  static const int kUserAgentFieldNumber = 14;
532  inline const ::std::string& user_agent() const;
533  inline void set_user_agent(const ::std::string& value);
534  inline void set_user_agent(const char* value);
535  inline void set_user_agent(const char* value, size_t size);
536  inline ::std::string* mutable_user_agent();
537  inline ::std::string* release_user_agent();
538  inline void set_allocated_user_agent(::std::string* user_agent);
539 
540  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonRequest)
541  private:
542  inline void set_has_program();
543  inline void clear_has_program();
544  inline void set_has_platform();
545  inline void clear_has_platform();
546  inline void set_has_locale();
547  inline void clear_has_locale();
548  inline void set_has_email();
549  inline void clear_has_email();
550  inline void set_has_version();
551  inline void clear_has_version();
552  inline void set_has_application_version();
553  inline void clear_has_application_version();
554  inline void set_has_public_computer();
555  inline void clear_has_public_computer();
556  inline void set_has_sso_id();
557  inline void clear_has_sso_id();
558  inline void set_has_disconnect_on_cookie_fail();
559  inline void clear_has_disconnect_on_cookie_fail();
560  inline void set_has_allow_logon_queue_notifications();
561  inline void clear_has_allow_logon_queue_notifications();
562  inline void set_has_web_client_verification();
563  inline void clear_has_web_client_verification();
564  inline void set_has_cached_web_credentials();
565  inline void clear_has_cached_web_credentials();
566  inline void set_has_enable_cookie();
567  inline void clear_has_enable_cookie();
568  inline void set_has_user_agent();
569  inline void clear_has_user_agent();
570 
572 
574  mutable int _cached_size_;
575  ::std::string* program_;
576  ::std::string* platform_;
577  ::std::string* locale_;
578  ::std::string* email_;
579  ::std::string* version_;
580  ::std::string* sso_id_;
586  ::std::string* cached_web_credentials_;
587  ::std::string* user_agent_;
592 
593  void InitAsDefaultInstance();
595 };
596 // -------------------------------------------------------------------
597 
599  public:
600  LogonResult();
601  virtual ~LogonResult();
602 
603  LogonResult(const LogonResult& from);
604 
605  inline LogonResult& operator=(const LogonResult& from) {
606  CopyFrom(from);
607  return *this;
608  }
609 
610  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
611  return _unknown_fields_;
612  }
613 
614  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
615  return &_unknown_fields_;
616  }
617 
618  static const ::google::protobuf::Descriptor* descriptor();
619  static const LogonResult& default_instance();
620 
621  void Swap(LogonResult* other);
622 
623  // implements Message ----------------------------------------------
624 
625  LogonResult* New() const;
626  void CopyFrom(const ::google::protobuf::Message& from);
627  void MergeFrom(const ::google::protobuf::Message& from);
628  void CopyFrom(const LogonResult& from);
629  void MergeFrom(const LogonResult& from);
630  void Clear();
631  bool IsInitialized() const;
632 
633  int ByteSize() const;
634  bool MergePartialFromCodedStream(
636  void SerializeWithCachedSizes(
638  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
639  int GetCachedSize() const { return _cached_size_; }
640  private:
641  void SharedCtor();
642  void SharedDtor();
643  void SetCachedSize(int size) const;
644  public:
645  ::google::protobuf::Metadata GetMetadata() const;
646 
647  // nested types ----------------------------------------------------
648 
649  // accessors -------------------------------------------------------
650 
651  // required uint32 error_code = 1;
652  inline bool has_error_code() const;
653  inline void clear_error_code();
654  static const int kErrorCodeFieldNumber = 1;
655  inline ::google::protobuf::uint32 error_code() const;
656  inline void set_error_code(::google::protobuf::uint32 value);
657 
658  // optional .bgs.protocol.EntityId account_id = 2;
659  inline bool has_account_id() const;
660  inline void clear_account_id();
661  static const int kAccountIdFieldNumber = 2;
662  inline const ::bgs::protocol::EntityId& account_id() const;
663  inline ::bgs::protocol::EntityId* mutable_account_id();
664  inline ::bgs::protocol::EntityId* release_account_id();
665  inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
666 
667  // repeated .bgs.protocol.EntityId game_account_id = 3;
668  inline int game_account_id_size() const;
669  inline void clear_game_account_id();
670  static const int kGameAccountIdFieldNumber = 3;
671  inline const ::bgs::protocol::EntityId& game_account_id(int index) const;
672  inline ::bgs::protocol::EntityId* mutable_game_account_id(int index);
673  inline ::bgs::protocol::EntityId* add_game_account_id();
674  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
675  game_account_id() const;
676  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
677  mutable_game_account_id();
678 
679  // optional string email = 4;
680  inline bool has_email() const;
681  inline void clear_email();
682  static const int kEmailFieldNumber = 4;
683  inline const ::std::string& email() const;
684  inline void set_email(const ::std::string& value);
685  inline void set_email(const char* value);
686  inline void set_email(const char* value, size_t size);
687  inline ::std::string* mutable_email();
688  inline ::std::string* release_email();
689  inline void set_allocated_email(::std::string* email);
690 
691  // repeated uint32 available_region = 5;
692  inline int available_region_size() const;
693  inline void clear_available_region();
694  static const int kAvailableRegionFieldNumber = 5;
695  inline ::google::protobuf::uint32 available_region(int index) const;
696  inline void set_available_region(int index, ::google::protobuf::uint32 value);
697  inline void add_available_region(::google::protobuf::uint32 value);
698  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
699  available_region() const;
700  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
701  mutable_available_region();
702 
703  // optional uint32 connected_region = 6;
704  inline bool has_connected_region() const;
705  inline void clear_connected_region();
706  static const int kConnectedRegionFieldNumber = 6;
707  inline ::google::protobuf::uint32 connected_region() const;
708  inline void set_connected_region(::google::protobuf::uint32 value);
709 
710  // optional string battle_tag = 7;
711  inline bool has_battle_tag() const;
712  inline void clear_battle_tag();
713  static const int kBattleTagFieldNumber = 7;
714  inline const ::std::string& battle_tag() const;
715  inline void set_battle_tag(const ::std::string& value);
716  inline void set_battle_tag(const char* value);
717  inline void set_battle_tag(const char* value, size_t size);
718  inline ::std::string* mutable_battle_tag();
719  inline ::std::string* release_battle_tag();
720  inline void set_allocated_battle_tag(::std::string* battle_tag);
721 
722  // optional string geoip_country = 8;
723  inline bool has_geoip_country() const;
724  inline void clear_geoip_country();
725  static const int kGeoipCountryFieldNumber = 8;
726  inline const ::std::string& geoip_country() const;
727  inline void set_geoip_country(const ::std::string& value);
728  inline void set_geoip_country(const char* value);
729  inline void set_geoip_country(const char* value, size_t size);
730  inline ::std::string* mutable_geoip_country();
731  inline ::std::string* release_geoip_country();
732  inline void set_allocated_geoip_country(::std::string* geoip_country);
733 
734  // optional bytes session_key = 9;
735  inline bool has_session_key() const;
736  inline void clear_session_key();
737  static const int kSessionKeyFieldNumber = 9;
738  inline const ::std::string& session_key() const;
739  inline void set_session_key(const ::std::string& value);
740  inline void set_session_key(const char* value);
741  inline void set_session_key(const void* value, size_t size);
742  inline ::std::string* mutable_session_key();
743  inline ::std::string* release_session_key();
744  inline void set_allocated_session_key(::std::string* session_key);
745 
746  // optional bool restricted_mode = 10;
747  inline bool has_restricted_mode() const;
748  inline void clear_restricted_mode();
749  static const int kRestrictedModeFieldNumber = 10;
750  inline bool restricted_mode() const;
751  inline void set_restricted_mode(bool value);
752 
753  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonResult)
754  private:
755  inline void set_has_error_code();
756  inline void clear_has_error_code();
757  inline void set_has_account_id();
758  inline void clear_has_account_id();
759  inline void set_has_email();
760  inline void clear_has_email();
761  inline void set_has_connected_region();
762  inline void clear_has_connected_region();
763  inline void set_has_battle_tag();
764  inline void clear_has_battle_tag();
765  inline void set_has_geoip_country();
766  inline void clear_has_geoip_country();
767  inline void set_has_session_key();
768  inline void clear_has_session_key();
769  inline void set_has_restricted_mode();
770  inline void clear_has_restricted_mode();
771 
773 
775  mutable int _cached_size_;
780  ::std::string* email_;
782  ::std::string* battle_tag_;
783  ::std::string* geoip_country_;
784  ::std::string* session_key_;
789 
790  void InitAsDefaultInstance();
792 };
793 // -------------------------------------------------------------------
794 
796  public:
798  virtual ~GenerateSSOTokenRequest();
799 
801 
803  CopyFrom(from);
804  return *this;
805  }
806 
807  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
808  return _unknown_fields_;
809  }
810 
811  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
812  return &_unknown_fields_;
813  }
814 
815  static const ::google::protobuf::Descriptor* descriptor();
816  static const GenerateSSOTokenRequest& default_instance();
817 
818  void Swap(GenerateSSOTokenRequest* other);
819 
820  // implements Message ----------------------------------------------
821 
822  GenerateSSOTokenRequest* New() const;
823  void CopyFrom(const ::google::protobuf::Message& from);
824  void MergeFrom(const ::google::protobuf::Message& from);
825  void CopyFrom(const GenerateSSOTokenRequest& from);
826  void MergeFrom(const GenerateSSOTokenRequest& from);
827  void Clear();
828  bool IsInitialized() const;
829 
830  int ByteSize() const;
831  bool MergePartialFromCodedStream(
833  void SerializeWithCachedSizes(
835  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
836  int GetCachedSize() const { return _cached_size_; }
837  private:
838  void SharedCtor();
839  void SharedDtor();
840  void SetCachedSize(int size) const;
841  public:
842  ::google::protobuf::Metadata GetMetadata() const;
843 
844  // nested types ----------------------------------------------------
845 
846  // accessors -------------------------------------------------------
847 
848  // optional fixed32 program = 1;
849  inline bool has_program() const;
850  inline void clear_program();
851  static const int kProgramFieldNumber = 1;
852  inline ::google::protobuf::uint32 program() const;
853  inline void set_program(::google::protobuf::uint32 value);
854 
855  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateSSOTokenRequest)
856  private:
857  inline void set_has_program();
858  inline void clear_has_program();
859 
861 
863  mutable int _cached_size_;
868 
869  void InitAsDefaultInstance();
871 };
872 // -------------------------------------------------------------------
873 
875  public:
877  virtual ~GenerateSSOTokenResponse();
878 
880 
882  CopyFrom(from);
883  return *this;
884  }
885 
886  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
887  return _unknown_fields_;
888  }
889 
890  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
891  return &_unknown_fields_;
892  }
893 
894  static const ::google::protobuf::Descriptor* descriptor();
895  static const GenerateSSOTokenResponse& default_instance();
896 
897  void Swap(GenerateSSOTokenResponse* other);
898 
899  // implements Message ----------------------------------------------
900 
901  GenerateSSOTokenResponse* New() const;
902  void CopyFrom(const ::google::protobuf::Message& from);
903  void MergeFrom(const ::google::protobuf::Message& from);
904  void CopyFrom(const GenerateSSOTokenResponse& from);
905  void MergeFrom(const GenerateSSOTokenResponse& from);
906  void Clear();
907  bool IsInitialized() const;
908 
909  int ByteSize() const;
910  bool MergePartialFromCodedStream(
912  void SerializeWithCachedSizes(
914  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
915  int GetCachedSize() const { return _cached_size_; }
916  private:
917  void SharedCtor();
918  void SharedDtor();
919  void SetCachedSize(int size) const;
920  public:
921  ::google::protobuf::Metadata GetMetadata() const;
922 
923  // nested types ----------------------------------------------------
924 
925  // accessors -------------------------------------------------------
926 
927  // optional bytes sso_id = 1;
928  inline bool has_sso_id() const;
929  inline void clear_sso_id();
930  static const int kSsoIdFieldNumber = 1;
931  inline const ::std::string& sso_id() const;
932  inline void set_sso_id(const ::std::string& value);
933  inline void set_sso_id(const char* value);
934  inline void set_sso_id(const void* value, size_t size);
935  inline ::std::string* mutable_sso_id();
936  inline ::std::string* release_sso_id();
937  inline void set_allocated_sso_id(::std::string* sso_id);
938 
939  // optional bytes sso_secret = 2;
940  inline bool has_sso_secret() const;
941  inline void clear_sso_secret();
942  static const int kSsoSecretFieldNumber = 2;
943  inline const ::std::string& sso_secret() const;
944  inline void set_sso_secret(const ::std::string& value);
945  inline void set_sso_secret(const char* value);
946  inline void set_sso_secret(const void* value, size_t size);
947  inline ::std::string* mutable_sso_secret();
948  inline ::std::string* release_sso_secret();
949  inline void set_allocated_sso_secret(::std::string* sso_secret);
950 
951  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateSSOTokenResponse)
952  private:
953  inline void set_has_sso_id();
954  inline void clear_has_sso_id();
955  inline void set_has_sso_secret();
956  inline void clear_has_sso_secret();
957 
959 
961  mutable int _cached_size_;
962  ::std::string* sso_id_;
963  ::std::string* sso_secret_;
967 
968  void InitAsDefaultInstance();
970 };
971 // -------------------------------------------------------------------
972 
974  public:
976  virtual ~LogonUpdateRequest();
977 
979 
981  CopyFrom(from);
982  return *this;
983  }
984 
985  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
986  return _unknown_fields_;
987  }
988 
989  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
990  return &_unknown_fields_;
991  }
992 
993  static const ::google::protobuf::Descriptor* descriptor();
994  static const LogonUpdateRequest& default_instance();
995 
996  void Swap(LogonUpdateRequest* other);
997 
998  // implements Message ----------------------------------------------
999 
1000  LogonUpdateRequest* New() const;
1001  void CopyFrom(const ::google::protobuf::Message& from);
1002  void MergeFrom(const ::google::protobuf::Message& from);
1003  void CopyFrom(const LogonUpdateRequest& from);
1004  void MergeFrom(const LogonUpdateRequest& from);
1005  void Clear();
1006  bool IsInitialized() const;
1007 
1008  int ByteSize() const;
1009  bool MergePartialFromCodedStream(
1011  void SerializeWithCachedSizes(
1013  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1014  int GetCachedSize() const { return _cached_size_; }
1015  private:
1016  void SharedCtor();
1017  void SharedDtor();
1018  void SetCachedSize(int size) const;
1019  public:
1020  ::google::protobuf::Metadata GetMetadata() const;
1021 
1022  // nested types ----------------------------------------------------
1023 
1024  // accessors -------------------------------------------------------
1025 
1026  // required uint32 error_code = 1;
1027  inline bool has_error_code() const;
1028  inline void clear_error_code();
1029  static const int kErrorCodeFieldNumber = 1;
1030  inline ::google::protobuf::uint32 error_code() const;
1031  inline void set_error_code(::google::protobuf::uint32 value);
1032 
1033  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonUpdateRequest)
1034  private:
1035  inline void set_has_error_code();
1036  inline void clear_has_error_code();
1037 
1039 
1041  mutable int _cached_size_;
1046 
1047  void InitAsDefaultInstance();
1049 };
1050 // -------------------------------------------------------------------
1051 
1053  public:
1055  virtual ~LogonQueueUpdateRequest();
1056 
1058 
1060  CopyFrom(from);
1061  return *this;
1062  }
1063 
1064  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1065  return _unknown_fields_;
1066  }
1067 
1068  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1069  return &_unknown_fields_;
1070  }
1071 
1072  static const ::google::protobuf::Descriptor* descriptor();
1073  static const LogonQueueUpdateRequest& default_instance();
1074 
1075  void Swap(LogonQueueUpdateRequest* other);
1076 
1077  // implements Message ----------------------------------------------
1078 
1079  LogonQueueUpdateRequest* New() const;
1080  void CopyFrom(const ::google::protobuf::Message& from);
1081  void MergeFrom(const ::google::protobuf::Message& from);
1082  void CopyFrom(const LogonQueueUpdateRequest& from);
1083  void MergeFrom(const LogonQueueUpdateRequest& from);
1084  void Clear();
1085  bool IsInitialized() const;
1086 
1087  int ByteSize() const;
1088  bool MergePartialFromCodedStream(
1090  void SerializeWithCachedSizes(
1092  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1093  int GetCachedSize() const { return _cached_size_; }
1094  private:
1095  void SharedCtor();
1096  void SharedDtor();
1097  void SetCachedSize(int size) const;
1098  public:
1099  ::google::protobuf::Metadata GetMetadata() const;
1100 
1101  // nested types ----------------------------------------------------
1102 
1103  // accessors -------------------------------------------------------
1104 
1105  // required uint32 position = 1;
1106  inline bool has_position() const;
1107  inline void clear_position();
1108  static const int kPositionFieldNumber = 1;
1109  inline ::google::protobuf::uint32 position() const;
1110  inline void set_position(::google::protobuf::uint32 value);
1111 
1112  // required uint64 estimated_time = 2;
1113  inline bool has_estimated_time() const;
1114  inline void clear_estimated_time();
1115  static const int kEstimatedTimeFieldNumber = 2;
1116  inline ::google::protobuf::uint64 estimated_time() const;
1117  inline void set_estimated_time(::google::protobuf::uint64 value);
1118 
1119  // required uint64 eta_deviation_in_sec = 3;
1120  inline bool has_eta_deviation_in_sec() const;
1121  inline void clear_eta_deviation_in_sec();
1122  static const int kEtaDeviationInSecFieldNumber = 3;
1123  inline ::google::protobuf::uint64 eta_deviation_in_sec() const;
1124  inline void set_eta_deviation_in_sec(::google::protobuf::uint64 value);
1125 
1126  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonQueueUpdateRequest)
1127  private:
1128  inline void set_has_position();
1129  inline void clear_has_position();
1130  inline void set_has_estimated_time();
1131  inline void clear_has_estimated_time();
1132  inline void set_has_eta_deviation_in_sec();
1133  inline void clear_has_eta_deviation_in_sec();
1134 
1136 
1138  mutable int _cached_size_;
1145 
1146  void InitAsDefaultInstance();
1148 };
1149 // -------------------------------------------------------------------
1150 
1152  public:
1154  virtual ~AccountSettingsNotification();
1155 
1157 
1159  CopyFrom(from);
1160  return *this;
1161  }
1162 
1163  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1164  return _unknown_fields_;
1165  }
1166 
1167  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1168  return &_unknown_fields_;
1169  }
1170 
1171  static const ::google::protobuf::Descriptor* descriptor();
1172  static const AccountSettingsNotification& default_instance();
1173 
1174  void Swap(AccountSettingsNotification* other);
1175 
1176  // implements Message ----------------------------------------------
1177 
1178  AccountSettingsNotification* New() const;
1179  void CopyFrom(const ::google::protobuf::Message& from);
1180  void MergeFrom(const ::google::protobuf::Message& from);
1181  void CopyFrom(const AccountSettingsNotification& from);
1182  void MergeFrom(const AccountSettingsNotification& from);
1183  void Clear();
1184  bool IsInitialized() const;
1185 
1186  int ByteSize() const;
1187  bool MergePartialFromCodedStream(
1189  void SerializeWithCachedSizes(
1191  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1192  int GetCachedSize() const { return _cached_size_; }
1193  private:
1194  void SharedCtor();
1195  void SharedDtor();
1196  void SetCachedSize(int size) const;
1197  public:
1198  ::google::protobuf::Metadata GetMetadata() const;
1199 
1200  // nested types ----------------------------------------------------
1201 
1202  // accessors -------------------------------------------------------
1203 
1204  // repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
1205  inline int licenses_size() const;
1206  inline void clear_licenses();
1207  static const int kLicensesFieldNumber = 1;
1208  inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
1209  inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
1210  inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
1211  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
1212  licenses() const;
1213  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
1214  mutable_licenses();
1215 
1216  // optional bool is_using_rid = 2;
1217  inline bool has_is_using_rid() const;
1218  inline void clear_is_using_rid();
1219  static const int kIsUsingRidFieldNumber = 2;
1220  inline bool is_using_rid() const;
1221  inline void set_is_using_rid(bool value);
1222 
1223  // optional bool is_playing_from_igr = 3;
1224  inline bool has_is_playing_from_igr() const;
1225  inline void clear_is_playing_from_igr();
1226  static const int kIsPlayingFromIgrFieldNumber = 3;
1227  inline bool is_playing_from_igr() const;
1228  inline void set_is_playing_from_igr(bool value);
1229 
1230  // optional bool can_receive_voice = 4;
1231  inline bool has_can_receive_voice() const;
1232  inline void clear_can_receive_voice();
1233  static const int kCanReceiveVoiceFieldNumber = 4;
1234  inline bool can_receive_voice() const;
1235  inline void set_can_receive_voice(bool value);
1236 
1237  // optional bool can_send_voice = 5;
1238  inline bool has_can_send_voice() const;
1239  inline void clear_can_send_voice();
1240  static const int kCanSendVoiceFieldNumber = 5;
1241  inline bool can_send_voice() const;
1242  inline void set_can_send_voice(bool value);
1243 
1244  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.AccountSettingsNotification)
1245  private:
1246  inline void set_has_is_using_rid();
1247  inline void clear_has_is_using_rid();
1248  inline void set_has_is_playing_from_igr();
1249  inline void clear_has_is_playing_from_igr();
1250  inline void set_has_can_receive_voice();
1251  inline void clear_has_can_receive_voice();
1252  inline void set_has_can_send_voice();
1253  inline void clear_has_can_send_voice();
1254 
1256 
1258  mutable int _cached_size_;
1267 
1268  void InitAsDefaultInstance();
1270 };
1271 // -------------------------------------------------------------------
1272 
1274  public:
1276  virtual ~ServerStateChangeRequest();
1277 
1279 
1281  CopyFrom(from);
1282  return *this;
1283  }
1284 
1285  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1286  return _unknown_fields_;
1287  }
1288 
1289  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1290  return &_unknown_fields_;
1291  }
1292 
1293  static const ::google::protobuf::Descriptor* descriptor();
1294  static const ServerStateChangeRequest& default_instance();
1295 
1296  void Swap(ServerStateChangeRequest* other);
1297 
1298  // implements Message ----------------------------------------------
1299 
1300  ServerStateChangeRequest* New() const;
1301  void CopyFrom(const ::google::protobuf::Message& from);
1302  void MergeFrom(const ::google::protobuf::Message& from);
1303  void CopyFrom(const ServerStateChangeRequest& from);
1304  void MergeFrom(const ServerStateChangeRequest& from);
1305  void Clear();
1306  bool IsInitialized() const;
1307 
1308  int ByteSize() const;
1309  bool MergePartialFromCodedStream(
1311  void SerializeWithCachedSizes(
1313  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1314  int GetCachedSize() const { return _cached_size_; }
1315  private:
1316  void SharedCtor();
1317  void SharedDtor();
1318  void SetCachedSize(int size) const;
1319  public:
1320  ::google::protobuf::Metadata GetMetadata() const;
1321 
1322  // nested types ----------------------------------------------------
1323 
1324  // accessors -------------------------------------------------------
1325 
1326  // required uint32 state = 1;
1327  inline bool has_state() const;
1328  inline void clear_state();
1329  static const int kStateFieldNumber = 1;
1330  inline ::google::protobuf::uint32 state() const;
1331  inline void set_state(::google::protobuf::uint32 value);
1332 
1333  // required uint64 event_time = 2;
1334  inline bool has_event_time() const;
1335  inline void clear_event_time();
1336  static const int kEventTimeFieldNumber = 2;
1337  inline ::google::protobuf::uint64 event_time() const;
1338  inline void set_event_time(::google::protobuf::uint64 value);
1339 
1340  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ServerStateChangeRequest)
1341  private:
1342  inline void set_has_state();
1343  inline void clear_has_state();
1344  inline void set_has_event_time();
1345  inline void clear_has_event_time();
1346 
1348 
1350  mutable int _cached_size_;
1356 
1357  void InitAsDefaultInstance();
1359 };
1360 // -------------------------------------------------------------------
1361 
1363  public:
1364  VersionInfo();
1365  virtual ~VersionInfo();
1366 
1367  VersionInfo(const VersionInfo& from);
1368 
1369  inline VersionInfo& operator=(const VersionInfo& from) {
1370  CopyFrom(from);
1371  return *this;
1372  }
1373 
1374  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1375  return _unknown_fields_;
1376  }
1377 
1378  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1379  return &_unknown_fields_;
1380  }
1381 
1382  static const ::google::protobuf::Descriptor* descriptor();
1383  static const VersionInfo& default_instance();
1384 
1385  void Swap(VersionInfo* other);
1386 
1387  // implements Message ----------------------------------------------
1388 
1389  VersionInfo* New() const;
1390  void CopyFrom(const ::google::protobuf::Message& from);
1391  void MergeFrom(const ::google::protobuf::Message& from);
1392  void CopyFrom(const VersionInfo& from);
1393  void MergeFrom(const VersionInfo& from);
1394  void Clear();
1395  bool IsInitialized() const;
1396 
1397  int ByteSize() const;
1398  bool MergePartialFromCodedStream(
1400  void SerializeWithCachedSizes(
1402  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1403  int GetCachedSize() const { return _cached_size_; }
1404  private:
1405  void SharedCtor();
1406  void SharedDtor();
1407  void SetCachedSize(int size) const;
1408  public:
1409  ::google::protobuf::Metadata GetMetadata() const;
1410 
1411  // nested types ----------------------------------------------------
1412 
1413  // accessors -------------------------------------------------------
1414 
1415  // optional uint32 number = 1;
1416  inline bool has_number() const;
1417  inline void clear_number();
1418  static const int kNumberFieldNumber = 1;
1419  inline ::google::protobuf::uint32 number() const;
1420  inline void set_number(::google::protobuf::uint32 value);
1421 
1422  // optional string patch = 2;
1423  inline bool has_patch() const;
1424  inline void clear_patch();
1425  static const int kPatchFieldNumber = 2;
1426  inline const ::std::string& patch() const;
1427  inline void set_patch(const ::std::string& value);
1428  inline void set_patch(const char* value);
1429  inline void set_patch(const char* value, size_t size);
1430  inline ::std::string* mutable_patch();
1431  inline ::std::string* release_patch();
1432  inline void set_allocated_patch(::std::string* patch);
1433 
1434  // optional bool is_optional = 3;
1435  inline bool has_is_optional() const;
1436  inline void clear_is_optional();
1437  static const int kIsOptionalFieldNumber = 3;
1438  inline bool is_optional() const;
1439  inline void set_is_optional(bool value);
1440 
1441  // optional uint64 kick_time = 4;
1442  inline bool has_kick_time() const;
1443  inline void clear_kick_time();
1444  static const int kKickTimeFieldNumber = 4;
1445  inline ::google::protobuf::uint64 kick_time() const;
1446  inline void set_kick_time(::google::protobuf::uint64 value);
1447 
1448  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VersionInfo)
1449  private:
1450  inline void set_has_number();
1451  inline void clear_has_number();
1452  inline void set_has_patch();
1453  inline void clear_has_patch();
1454  inline void set_has_is_optional();
1455  inline void clear_has_is_optional();
1456  inline void set_has_kick_time();
1457  inline void clear_has_kick_time();
1458 
1460 
1462  mutable int _cached_size_;
1463  ::std::string* patch_;
1470 
1471  void InitAsDefaultInstance();
1473 };
1474 // -------------------------------------------------------------------
1475 
1477  public:
1479  virtual ~VersionInfoNotification();
1480 
1482 
1484  CopyFrom(from);
1485  return *this;
1486  }
1487 
1488  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1489  return _unknown_fields_;
1490  }
1491 
1492  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1493  return &_unknown_fields_;
1494  }
1495 
1496  static const ::google::protobuf::Descriptor* descriptor();
1497  static const VersionInfoNotification& default_instance();
1498 
1499  void Swap(VersionInfoNotification* other);
1500 
1501  // implements Message ----------------------------------------------
1502 
1503  VersionInfoNotification* New() const;
1504  void CopyFrom(const ::google::protobuf::Message& from);
1505  void MergeFrom(const ::google::protobuf::Message& from);
1506  void CopyFrom(const VersionInfoNotification& from);
1507  void MergeFrom(const VersionInfoNotification& from);
1508  void Clear();
1509  bool IsInitialized() const;
1510 
1511  int ByteSize() const;
1512  bool MergePartialFromCodedStream(
1514  void SerializeWithCachedSizes(
1516  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1517  int GetCachedSize() const { return _cached_size_; }
1518  private:
1519  void SharedCtor();
1520  void SharedDtor();
1521  void SetCachedSize(int size) const;
1522  public:
1523  ::google::protobuf::Metadata GetMetadata() const;
1524 
1525  // nested types ----------------------------------------------------
1526 
1527  // accessors -------------------------------------------------------
1528 
1529  // optional .bgs.protocol.authentication.v1.VersionInfo version_info = 1;
1530  inline bool has_version_info() const;
1531  inline void clear_version_info();
1532  static const int kVersionInfoFieldNumber = 1;
1533  inline const ::bgs::protocol::authentication::v1::VersionInfo& version_info() const;
1534  inline ::bgs::protocol::authentication::v1::VersionInfo* mutable_version_info();
1535  inline ::bgs::protocol::authentication::v1::VersionInfo* release_version_info();
1536  inline void set_allocated_version_info(::bgs::protocol::authentication::v1::VersionInfo* version_info);
1537 
1538  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VersionInfoNotification)
1539  private:
1540  inline void set_has_version_info();
1541  inline void clear_has_version_info();
1542 
1544 
1546  mutable int _cached_size_;
1551 
1552  void InitAsDefaultInstance();
1554 };
1555 // -------------------------------------------------------------------
1556 
1558  public:
1560  virtual ~MemModuleLoadRequest();
1561 
1563 
1565  CopyFrom(from);
1566  return *this;
1567  }
1568 
1569  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1570  return _unknown_fields_;
1571  }
1572 
1573  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1574  return &_unknown_fields_;
1575  }
1576 
1577  static const ::google::protobuf::Descriptor* descriptor();
1578  static const MemModuleLoadRequest& default_instance();
1579 
1580  void Swap(MemModuleLoadRequest* other);
1581 
1582  // implements Message ----------------------------------------------
1583 
1584  MemModuleLoadRequest* New() const;
1585  void CopyFrom(const ::google::protobuf::Message& from);
1586  void MergeFrom(const ::google::protobuf::Message& from);
1587  void CopyFrom(const MemModuleLoadRequest& from);
1588  void MergeFrom(const MemModuleLoadRequest& from);
1589  void Clear();
1590  bool IsInitialized() const;
1591 
1592  int ByteSize() const;
1593  bool MergePartialFromCodedStream(
1595  void SerializeWithCachedSizes(
1597  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1598  int GetCachedSize() const { return _cached_size_; }
1599  private:
1600  void SharedCtor();
1601  void SharedDtor();
1602  void SetCachedSize(int size) const;
1603  public:
1604  ::google::protobuf::Metadata GetMetadata() const;
1605 
1606  // nested types ----------------------------------------------------
1607 
1608  // accessors -------------------------------------------------------
1609 
1610  // required .bgs.protocol.ContentHandle handle = 1;
1611  inline bool has_handle() const;
1612  inline void clear_handle();
1613  static const int kHandleFieldNumber = 1;
1614  inline const ::bgs::protocol::ContentHandle& handle() const;
1615  inline ::bgs::protocol::ContentHandle* mutable_handle();
1616  inline ::bgs::protocol::ContentHandle* release_handle();
1617  inline void set_allocated_handle(::bgs::protocol::ContentHandle* handle);
1618 
1619  // required bytes key = 2;
1620  inline bool has_key() const;
1621  inline void clear_key();
1622  static const int kKeyFieldNumber = 2;
1623  inline const ::std::string& key() const;
1624  inline void set_key(const ::std::string& value);
1625  inline void set_key(const char* value);
1626  inline void set_key(const void* value, size_t size);
1627  inline ::std::string* mutable_key();
1628  inline ::std::string* release_key();
1629  inline void set_allocated_key(::std::string* key);
1630 
1631  // required bytes input = 3;
1632  inline bool has_input() const;
1633  inline void clear_input();
1634  static const int kInputFieldNumber = 3;
1635  inline const ::std::string& input() const;
1636  inline void set_input(const ::std::string& value);
1637  inline void set_input(const char* value);
1638  inline void set_input(const void* value, size_t size);
1639  inline ::std::string* mutable_input();
1640  inline ::std::string* release_input();
1641  inline void set_allocated_input(::std::string* input);
1642 
1643  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.MemModuleLoadRequest)
1644  private:
1645  inline void set_has_handle();
1646  inline void clear_has_handle();
1647  inline void set_has_key();
1648  inline void clear_has_key();
1649  inline void set_has_input();
1650  inline void clear_has_input();
1651 
1653 
1655  mutable int _cached_size_;
1657  ::std::string* key_;
1658  ::std::string* input_;
1662 
1663  void InitAsDefaultInstance();
1665 };
1666 // -------------------------------------------------------------------
1667 
1669  public:
1671  virtual ~MemModuleLoadResponse();
1672 
1674 
1676  CopyFrom(from);
1677  return *this;
1678  }
1679 
1680  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1681  return _unknown_fields_;
1682  }
1683 
1684  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1685  return &_unknown_fields_;
1686  }
1687 
1688  static const ::google::protobuf::Descriptor* descriptor();
1689  static const MemModuleLoadResponse& default_instance();
1690 
1691  void Swap(MemModuleLoadResponse* other);
1692 
1693  // implements Message ----------------------------------------------
1694 
1695  MemModuleLoadResponse* New() const;
1696  void CopyFrom(const ::google::protobuf::Message& from);
1697  void MergeFrom(const ::google::protobuf::Message& from);
1698  void CopyFrom(const MemModuleLoadResponse& from);
1699  void MergeFrom(const MemModuleLoadResponse& from);
1700  void Clear();
1701  bool IsInitialized() const;
1702 
1703  int ByteSize() const;
1704  bool MergePartialFromCodedStream(
1706  void SerializeWithCachedSizes(
1708  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1709  int GetCachedSize() const { return _cached_size_; }
1710  private:
1711  void SharedCtor();
1712  void SharedDtor();
1713  void SetCachedSize(int size) const;
1714  public:
1715  ::google::protobuf::Metadata GetMetadata() const;
1716 
1717  // nested types ----------------------------------------------------
1718 
1719  // accessors -------------------------------------------------------
1720 
1721  // required bytes data = 1;
1722  inline bool has_data() const;
1723  inline void clear_data();
1724  static const int kDataFieldNumber = 1;
1725  inline const ::std::string& data() const;
1726  inline void set_data(const ::std::string& value);
1727  inline void set_data(const char* value);
1728  inline void set_data(const void* value, size_t size);
1729  inline ::std::string* mutable_data();
1730  inline ::std::string* release_data();
1731  inline void set_allocated_data(::std::string* data);
1732 
1733  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.MemModuleLoadResponse)
1734  private:
1735  inline void set_has_data();
1736  inline void clear_has_data();
1737 
1739 
1741  mutable int _cached_size_;
1742  ::std::string* data_;
1746 
1747  void InitAsDefaultInstance();
1749 };
1750 // -------------------------------------------------------------------
1751 
1753  public:
1755  virtual ~SelectGameAccountRequest();
1756 
1758 
1760  CopyFrom(from);
1761  return *this;
1762  }
1763 
1764  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1765  return _unknown_fields_;
1766  }
1767 
1768  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1769  return &_unknown_fields_;
1770  }
1771 
1772  static const ::google::protobuf::Descriptor* descriptor();
1773  static const SelectGameAccountRequest& default_instance();
1774 
1775  void Swap(SelectGameAccountRequest* other);
1776 
1777  // implements Message ----------------------------------------------
1778 
1779  SelectGameAccountRequest* New() const;
1780  void CopyFrom(const ::google::protobuf::Message& from);
1781  void MergeFrom(const ::google::protobuf::Message& from);
1782  void CopyFrom(const SelectGameAccountRequest& from);
1783  void MergeFrom(const SelectGameAccountRequest& from);
1784  void Clear();
1785  bool IsInitialized() const;
1786 
1787  int ByteSize() const;
1788  bool MergePartialFromCodedStream(
1790  void SerializeWithCachedSizes(
1792  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1793  int GetCachedSize() const { return _cached_size_; }
1794  private:
1795  void SharedCtor();
1796  void SharedDtor();
1797  void SetCachedSize(int size) const;
1798  public:
1799  ::google::protobuf::Metadata GetMetadata() const;
1800 
1801  // nested types ----------------------------------------------------
1802 
1803  // accessors -------------------------------------------------------
1804 
1805  // required .bgs.protocol.EntityId game_account_id = 1;
1806  inline bool has_game_account_id() const;
1807  inline void clear_game_account_id();
1808  static const int kGameAccountIdFieldNumber = 1;
1809  inline const ::bgs::protocol::EntityId& game_account_id() const;
1810  inline ::bgs::protocol::EntityId* mutable_game_account_id();
1811  inline ::bgs::protocol::EntityId* release_game_account_id();
1812  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
1813 
1814  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.SelectGameAccountRequest)
1815  private:
1816  inline void set_has_game_account_id();
1817  inline void clear_has_game_account_id();
1818 
1820 
1822  mutable int _cached_size_;
1827 
1828  void InitAsDefaultInstance();
1830 };
1831 // -------------------------------------------------------------------
1832 
1834  public:
1836  virtual ~GameAccountSelectedRequest();
1837 
1839 
1841  CopyFrom(from);
1842  return *this;
1843  }
1844 
1845  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1846  return _unknown_fields_;
1847  }
1848 
1849  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1850  return &_unknown_fields_;
1851  }
1852 
1853  static const ::google::protobuf::Descriptor* descriptor();
1854  static const GameAccountSelectedRequest& default_instance();
1855 
1856  void Swap(GameAccountSelectedRequest* other);
1857 
1858  // implements Message ----------------------------------------------
1859 
1860  GameAccountSelectedRequest* New() const;
1861  void CopyFrom(const ::google::protobuf::Message& from);
1862  void MergeFrom(const ::google::protobuf::Message& from);
1863  void CopyFrom(const GameAccountSelectedRequest& from);
1864  void MergeFrom(const GameAccountSelectedRequest& from);
1865  void Clear();
1866  bool IsInitialized() const;
1867 
1868  int ByteSize() const;
1869  bool MergePartialFromCodedStream(
1871  void SerializeWithCachedSizes(
1873  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1874  int GetCachedSize() const { return _cached_size_; }
1875  private:
1876  void SharedCtor();
1877  void SharedDtor();
1878  void SetCachedSize(int size) const;
1879  public:
1880  ::google::protobuf::Metadata GetMetadata() const;
1881 
1882  // nested types ----------------------------------------------------
1883 
1884  // accessors -------------------------------------------------------
1885 
1886  // required uint32 result = 1;
1887  inline bool has_result() const;
1888  inline void clear_result();
1889  static const int kResultFieldNumber = 1;
1890  inline ::google::protobuf::uint32 result() const;
1891  inline void set_result(::google::protobuf::uint32 value);
1892 
1893  // optional .bgs.protocol.EntityId game_account_id = 2;
1894  inline bool has_game_account_id() const;
1895  inline void clear_game_account_id();
1896  static const int kGameAccountIdFieldNumber = 2;
1897  inline const ::bgs::protocol::EntityId& game_account_id() const;
1898  inline ::bgs::protocol::EntityId* mutable_game_account_id();
1899  inline ::bgs::protocol::EntityId* release_game_account_id();
1900  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
1901 
1902  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GameAccountSelectedRequest)
1903  private:
1904  inline void set_has_result();
1905  inline void clear_has_result();
1906  inline void set_has_game_account_id();
1907  inline void clear_has_game_account_id();
1908 
1910 
1912  mutable int _cached_size_;
1918 
1919  void InitAsDefaultInstance();
1921 };
1922 // -------------------------------------------------------------------
1923 
1925  public:
1927  virtual ~GenerateWebCredentialsRequest();
1928 
1930 
1932  CopyFrom(from);
1933  return *this;
1934  }
1935 
1936  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1937  return _unknown_fields_;
1938  }
1939 
1940  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1941  return &_unknown_fields_;
1942  }
1943 
1944  static const ::google::protobuf::Descriptor* descriptor();
1945  static const GenerateWebCredentialsRequest& default_instance();
1946 
1947  void Swap(GenerateWebCredentialsRequest* other);
1948 
1949  // implements Message ----------------------------------------------
1950 
1951  GenerateWebCredentialsRequest* New() const;
1952  void CopyFrom(const ::google::protobuf::Message& from);
1953  void MergeFrom(const ::google::protobuf::Message& from);
1954  void CopyFrom(const GenerateWebCredentialsRequest& from);
1955  void MergeFrom(const GenerateWebCredentialsRequest& from);
1956  void Clear();
1957  bool IsInitialized() const;
1958 
1959  int ByteSize() const;
1960  bool MergePartialFromCodedStream(
1962  void SerializeWithCachedSizes(
1964  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1965  int GetCachedSize() const { return _cached_size_; }
1966  private:
1967  void SharedCtor();
1968  void SharedDtor();
1969  void SetCachedSize(int size) const;
1970  public:
1971  ::google::protobuf::Metadata GetMetadata() const;
1972 
1973  // nested types ----------------------------------------------------
1974 
1975  // accessors -------------------------------------------------------
1976 
1977  // optional fixed32 program = 1;
1978  inline bool has_program() const;
1979  inline void clear_program();
1980  static const int kProgramFieldNumber = 1;
1981  inline ::google::protobuf::uint32 program() const;
1982  inline void set_program(::google::protobuf::uint32 value);
1983 
1984  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateWebCredentialsRequest)
1985  private:
1986  inline void set_has_program();
1987  inline void clear_has_program();
1988 
1990 
1992  mutable int _cached_size_;
1997 
1998  void InitAsDefaultInstance();
2000 };
2001 // -------------------------------------------------------------------
2002 
2004  public:
2006  virtual ~GenerateWebCredentialsResponse();
2007 
2009 
2011  CopyFrom(from);
2012  return *this;
2013  }
2014 
2015  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2016  return _unknown_fields_;
2017  }
2018 
2019  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2020  return &_unknown_fields_;
2021  }
2022 
2023  static const ::google::protobuf::Descriptor* descriptor();
2024  static const GenerateWebCredentialsResponse& default_instance();
2025 
2026  void Swap(GenerateWebCredentialsResponse* other);
2027 
2028  // implements Message ----------------------------------------------
2029 
2030  GenerateWebCredentialsResponse* New() const;
2031  void CopyFrom(const ::google::protobuf::Message& from);
2032  void MergeFrom(const ::google::protobuf::Message& from);
2033  void CopyFrom(const GenerateWebCredentialsResponse& from);
2034  void MergeFrom(const GenerateWebCredentialsResponse& from);
2035  void Clear();
2036  bool IsInitialized() const;
2037 
2038  int ByteSize() const;
2039  bool MergePartialFromCodedStream(
2041  void SerializeWithCachedSizes(
2043  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2044  int GetCachedSize() const { return _cached_size_; }
2045  private:
2046  void SharedCtor();
2047  void SharedDtor();
2048  void SetCachedSize(int size) const;
2049  public:
2050  ::google::protobuf::Metadata GetMetadata() const;
2051 
2052  // nested types ----------------------------------------------------
2053 
2054  // accessors -------------------------------------------------------
2055 
2056  // optional bytes web_credentials = 1;
2057  inline bool has_web_credentials() const;
2058  inline void clear_web_credentials();
2059  static const int kWebCredentialsFieldNumber = 1;
2060  inline const ::std::string& web_credentials() const;
2061  inline void set_web_credentials(const ::std::string& value);
2062  inline void set_web_credentials(const char* value);
2063  inline void set_web_credentials(const void* value, size_t size);
2064  inline ::std::string* mutable_web_credentials();
2065  inline ::std::string* release_web_credentials();
2066  inline void set_allocated_web_credentials(::std::string* web_credentials);
2067 
2068  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse)
2069  private:
2070  inline void set_has_web_credentials();
2071  inline void clear_has_web_credentials();
2072 
2074 
2076  mutable int _cached_size_;
2077  ::std::string* web_credentials_;
2081 
2082  void InitAsDefaultInstance();
2084 };
2085 // -------------------------------------------------------------------
2086 
2088  public:
2090  virtual ~VerifyWebCredentialsRequest();
2091 
2093 
2095  CopyFrom(from);
2096  return *this;
2097  }
2098 
2099  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2100  return _unknown_fields_;
2101  }
2102 
2103  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2104  return &_unknown_fields_;
2105  }
2106 
2107  static const ::google::protobuf::Descriptor* descriptor();
2108  static const VerifyWebCredentialsRequest& default_instance();
2109 
2110  void Swap(VerifyWebCredentialsRequest* other);
2111 
2112  // implements Message ----------------------------------------------
2113 
2114  VerifyWebCredentialsRequest* New() const;
2115  void CopyFrom(const ::google::protobuf::Message& from);
2116  void MergeFrom(const ::google::protobuf::Message& from);
2117  void CopyFrom(const VerifyWebCredentialsRequest& from);
2118  void MergeFrom(const VerifyWebCredentialsRequest& from);
2119  void Clear();
2120  bool IsInitialized() const;
2121 
2122  int ByteSize() const;
2123  bool MergePartialFromCodedStream(
2125  void SerializeWithCachedSizes(
2127  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2128  int GetCachedSize() const { return _cached_size_; }
2129  private:
2130  void SharedCtor();
2131  void SharedDtor();
2132  void SetCachedSize(int size) const;
2133  public:
2134  ::google::protobuf::Metadata GetMetadata() const;
2135 
2136  // nested types ----------------------------------------------------
2137 
2138  // accessors -------------------------------------------------------
2139 
2140  // optional bytes web_credentials = 1;
2141  inline bool has_web_credentials() const;
2142  inline void clear_web_credentials();
2143  static const int kWebCredentialsFieldNumber = 1;
2144  inline const ::std::string& web_credentials() const;
2145  inline void set_web_credentials(const ::std::string& value);
2146  inline void set_web_credentials(const char* value);
2147  inline void set_web_credentials(const void* value, size_t size);
2148  inline ::std::string* mutable_web_credentials();
2149  inline ::std::string* release_web_credentials();
2150  inline void set_allocated_web_credentials(::std::string* web_credentials);
2151 
2152  // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest)
2153  private:
2154  inline void set_has_web_credentials();
2155  inline void clear_has_web_credentials();
2156 
2158 
2160  mutable int _cached_size_;
2161  ::std::string* web_credentials_;
2165 
2166  void InitAsDefaultInstance();
2168 };
2169 // ===================================================================
2170 
2172 {
2173  public:
2174 
2175  explicit AuthenticationListener(bool use_original_hash);
2176  virtual ~AuthenticationListener();
2177 
2178  typedef std::integral_constant<uint32, 0x71240E35u> OriginalHash;
2179  typedef std::integral_constant<uint32, 0x4DA86228u> NameHash;
2180 
2181  static google::protobuf::ServiceDescriptor const* descriptor();
2182 
2183  // client methods --------------------------------------------------
2184 
2185  void OnModuleLoad(::bgs::protocol::authentication::v1::ModuleLoadRequest const* request);
2186  void OnModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2187  void OnServerStateChange(::bgs::protocol::authentication::v1::ServerStateChangeRequest const* request);
2188  void OnLogonComplete(::bgs::protocol::authentication::v1::LogonResult const* request);
2189  void OnMemModuleLoad(::bgs::protocol::authentication::v1::MemModuleLoadRequest const* request, std::function<void(::bgs::protocol::authentication::v1::MemModuleLoadResponse const*)> responseCallback);
2190  void OnLogonUpdate(::bgs::protocol::authentication::v1::LogonUpdateRequest const* request);
2191  void OnVersionInfoUpdated(::bgs::protocol::authentication::v1::VersionInfoNotification const* request);
2192  void OnLogonQueueUpdate(::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const* request);
2193  void OnLogonQueueEnd(::bgs::protocol::NoData const* request);
2194  void OnGameAccountSelected(::bgs::protocol::authentication::v1::GameAccountSelectedRequest const* request);
2195  // server methods --------------------------------------------------
2196 
2197  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
2198 
2199  protected:
2200  virtual uint32 HandleOnModuleLoad(::bgs::protocol::authentication::v1::ModuleLoadRequest const* request);
2201  virtual uint32 HandleOnModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, ::bgs::protocol::NoData* response);
2202  virtual uint32 HandleOnServerStateChange(::bgs::protocol::authentication::v1::ServerStateChangeRequest const* request);
2203  virtual uint32 HandleOnLogonComplete(::bgs::protocol::authentication::v1::LogonResult const* request);
2205  virtual uint32 HandleOnLogonUpdate(::bgs::protocol::authentication::v1::LogonUpdateRequest const* request);
2206  virtual uint32 HandleOnVersionInfoUpdated(::bgs::protocol::authentication::v1::VersionInfoNotification const* request);
2207  virtual uint32 HandleOnLogonQueueUpdate(::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const* request);
2208  virtual uint32 HandleOnLogonQueueEnd(::bgs::protocol::NoData const* request);
2209  virtual uint32 HandleOnGameAccountSelected(::bgs::protocol::authentication::v1::GameAccountSelectedRequest const* request);
2210 
2211  private:
2213 
2215 };
2216 
2217 // -------------------------------------------------------------------
2218 
2220 {
2221  public:
2222 
2223  explicit AuthenticationService(bool use_original_hash);
2224  virtual ~AuthenticationService();
2225 
2226  typedef std::integral_constant<uint32, 0xDECFC01u> OriginalHash;
2227  typedef std::integral_constant<uint32, 0xFF5A6AC3u> NameHash;
2228 
2229  static google::protobuf::ServiceDescriptor const* descriptor();
2230 
2231  // client methods --------------------------------------------------
2232 
2233  void Logon(::bgs::protocol::authentication::v1::LogonRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2234  void ModuleNotify(::bgs::protocol::authentication::v1::ModuleNotification const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2235  void ModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2236  void SelectGameAccount_DEPRECATED(::bgs::protocol::EntityId const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2237  void GenerateSSOToken(::bgs::protocol::authentication::v1::GenerateSSOTokenRequest const* request, std::function<void(::bgs::protocol::authentication::v1::GenerateSSOTokenResponse const*)> responseCallback);
2238  void SelectGameAccount(::bgs::protocol::authentication::v1::SelectGameAccountRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2239  void VerifyWebCredentials(::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
2240  void GenerateWebCredentials(::bgs::protocol::authentication::v1::GenerateWebCredentialsRequest const* request, std::function<void(::bgs::protocol::authentication::v1::GenerateWebCredentialsResponse const*)> responseCallback);
2241  // server methods --------------------------------------------------
2242 
2243  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
2244 
2245  protected:
2246  virtual uint32 HandleLogon(::bgs::protocol::authentication::v1::LogonRequest const* request, ::bgs::protocol::NoData* response);
2247  virtual uint32 HandleModuleNotify(::bgs::protocol::authentication::v1::ModuleNotification const* request, ::bgs::protocol::NoData* response);
2248  virtual uint32 HandleModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, ::bgs::protocol::NoData* response);
2249  virtual uint32 HandleSelectGameAccount_DEPRECATED(::bgs::protocol::EntityId const* request, ::bgs::protocol::NoData* response);
2251  virtual uint32 HandleSelectGameAccount(::bgs::protocol::authentication::v1::SelectGameAccountRequest const* request, ::bgs::protocol::NoData* response);
2252  virtual uint32 HandleVerifyWebCredentials(::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest const* request, ::bgs::protocol::NoData* response);
2254 
2255  private:
2257 
2259 };
2260 
2261 // ===================================================================
2262 
2263 
2264 // ===================================================================
2265 
2266 // ModuleLoadRequest
2267 
2268 // required .bgs.protocol.ContentHandle module_handle = 1;
2270  return (_has_bits_[0] & 0x00000001u) != 0;
2271 }
2273  _has_bits_[0] |= 0x00000001u;
2274 }
2276  _has_bits_[0] &= ~0x00000001u;
2277 }
2279  if (module_handle_ != NULL) module_handle_->::bgs::protocol::ContentHandle::Clear();
2281 }
2282 inline const ::bgs::protocol::ContentHandle& ModuleLoadRequest::module_handle() const {
2283  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
2285 }
2286 inline ::bgs::protocol::ContentHandle* ModuleLoadRequest::mutable_module_handle() {
2288  if (module_handle_ == NULL) module_handle_ = new ::bgs::protocol::ContentHandle;
2289  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
2290  return module_handle_;
2291 }
2292 inline ::bgs::protocol::ContentHandle* ModuleLoadRequest::release_module_handle() {
2295  module_handle_ = NULL;
2296  return temp;
2297 }
2299  delete module_handle_;
2301  if (module_handle) {
2303  } else {
2305  }
2306  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
2307 }
2308 
2309 // optional bytes message = 2;
2310 inline bool ModuleLoadRequest::has_message() const {
2311  return (_has_bits_[0] & 0x00000002u) != 0;
2312 }
2314  _has_bits_[0] |= 0x00000002u;
2315 }
2317  _has_bits_[0] &= ~0x00000002u;
2318 }
2321  message_->clear();
2322  }
2324 }
2325 inline const ::std::string& ModuleLoadRequest::message() const {
2326  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2327  return *message_;
2328 }
2329 inline void ModuleLoadRequest::set_message(const ::std::string& value) {
2330  set_has_message();
2332  message_ = new ::std::string;
2333  }
2334  message_->assign(value);
2335  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2336 }
2337 inline void ModuleLoadRequest::set_message(const char* value) {
2338  set_has_message();
2340  message_ = new ::std::string;
2341  }
2342  message_->assign(value);
2343  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2344 }
2345 inline void ModuleLoadRequest::set_message(const void* value, size_t size) {
2346  set_has_message();
2348  message_ = new ::std::string;
2349  }
2350  message_->assign(reinterpret_cast<const char*>(value), size);
2351  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2352 }
2353 inline ::std::string* ModuleLoadRequest::mutable_message() {
2354  set_has_message();
2356  message_ = new ::std::string;
2357  }
2358  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2359  return message_;
2360 }
2361 inline ::std::string* ModuleLoadRequest::release_message() {
2364  return NULL;
2365  } else {
2366  ::std::string* temp = message_;
2367  message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2368  return temp;
2369  }
2370 }
2371 inline void ModuleLoadRequest::set_allocated_message(::std::string* message) {
2373  delete message_;
2374  }
2375  if (message) {
2376  set_has_message();
2377  message_ = message;
2378  } else {
2380  message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2381  }
2382  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
2383 }
2384 
2385 // -------------------------------------------------------------------
2386 
2387 // ModuleNotification
2388 
2389 // optional int32 module_id = 2;
2391  return (_has_bits_[0] & 0x00000001u) != 0;
2392 }
2394  _has_bits_[0] |= 0x00000001u;
2395 }
2397  _has_bits_[0] &= ~0x00000001u;
2398 }
2400  module_id_ = 0;
2402 }
2404  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleNotification.module_id)
2405  return module_id_;
2406 }
2409  module_id_ = value;
2410  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleNotification.module_id)
2411 }
2412 
2413 // optional uint32 result = 3;
2414 inline bool ModuleNotification::has_result() const {
2415  return (_has_bits_[0] & 0x00000002u) != 0;
2416 }
2418  _has_bits_[0] |= 0x00000002u;
2419 }
2421  _has_bits_[0] &= ~0x00000002u;
2422 }
2424  result_ = 0u;
2425  clear_has_result();
2426 }
2428  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleNotification.result)
2429  return result_;
2430 }
2432  set_has_result();
2433  result_ = value;
2434  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleNotification.result)
2435 }
2436 
2437 // -------------------------------------------------------------------
2438 
2439 // ModuleMessageRequest
2440 
2441 // required int32 module_id = 1;
2443  return (_has_bits_[0] & 0x00000001u) != 0;
2444 }
2446  _has_bits_[0] |= 0x00000001u;
2447 }
2449  _has_bits_[0] &= ~0x00000001u;
2450 }
2452  module_id_ = 0;
2454 }
2456  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleMessageRequest.module_id)
2457  return module_id_;
2458 }
2461  module_id_ = value;
2462  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleMessageRequest.module_id)
2463 }
2464 
2465 // optional bytes message = 2;
2467  return (_has_bits_[0] & 0x00000002u) != 0;
2468 }
2470  _has_bits_[0] |= 0x00000002u;
2471 }
2473  _has_bits_[0] &= ~0x00000002u;
2474 }
2477  message_->clear();
2478  }
2480 }
2481 inline const ::std::string& ModuleMessageRequest::message() const {
2482  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2483  return *message_;
2484 }
2485 inline void ModuleMessageRequest::set_message(const ::std::string& value) {
2486  set_has_message();
2488  message_ = new ::std::string;
2489  }
2490  message_->assign(value);
2491  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2492 }
2493 inline void ModuleMessageRequest::set_message(const char* value) {
2494  set_has_message();
2496  message_ = new ::std::string;
2497  }
2498  message_->assign(value);
2499  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2500 }
2501 inline void ModuleMessageRequest::set_message(const void* value, size_t size) {
2502  set_has_message();
2504  message_ = new ::std::string;
2505  }
2506  message_->assign(reinterpret_cast<const char*>(value), size);
2507  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2508 }
2509 inline ::std::string* ModuleMessageRequest::mutable_message() {
2510  set_has_message();
2512  message_ = new ::std::string;
2513  }
2514  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2515  return message_;
2516 }
2517 inline ::std::string* ModuleMessageRequest::release_message() {
2520  return NULL;
2521  } else {
2522  ::std::string* temp = message_;
2523  message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2524  return temp;
2525  }
2526 }
2527 inline void ModuleMessageRequest::set_allocated_message(::std::string* message) {
2529  delete message_;
2530  }
2531  if (message) {
2532  set_has_message();
2533  message_ = message;
2534  } else {
2536  message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2537  }
2538  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
2539 }
2540 
2541 // -------------------------------------------------------------------
2542 
2543 // LogonRequest
2544 
2545 // optional string program = 1;
2546 inline bool LogonRequest::has_program() const {
2547  return (_has_bits_[0] & 0x00000001u) != 0;
2548 }
2550  _has_bits_[0] |= 0x00000001u;
2551 }
2553  _has_bits_[0] &= ~0x00000001u;
2554 }
2557  program_->clear();
2558  }
2560 }
2561 inline const ::std::string& LogonRequest::program() const {
2562  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.program)
2563  return *program_;
2564 }
2565 inline void LogonRequest::set_program(const ::std::string& value) {
2566  set_has_program();
2568  program_ = new ::std::string;
2569  }
2570  program_->assign(value);
2571  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.program)
2572 }
2573 inline void LogonRequest::set_program(const char* value) {
2574  set_has_program();
2576  program_ = new ::std::string;
2577  }
2578  program_->assign(value);
2579  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.program)
2580 }
2581 inline void LogonRequest::set_program(const char* value, size_t size) {
2582  set_has_program();
2584  program_ = new ::std::string;
2585  }
2586  program_->assign(reinterpret_cast<const char*>(value), size);
2587  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.program)
2588 }
2589 inline ::std::string* LogonRequest::mutable_program() {
2590  set_has_program();
2592  program_ = new ::std::string;
2593  }
2594  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.program)
2595  return program_;
2596 }
2597 inline ::std::string* LogonRequest::release_program() {
2600  return NULL;
2601  } else {
2602  ::std::string* temp = program_;
2603  program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2604  return temp;
2605  }
2606 }
2607 inline void LogonRequest::set_allocated_program(::std::string* program) {
2609  delete program_;
2610  }
2611  if (program) {
2612  set_has_program();
2613  program_ = program;
2614  } else {
2616  program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2617  }
2618  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.program)
2619 }
2620 
2621 // optional string platform = 2;
2622 inline bool LogonRequest::has_platform() const {
2623  return (_has_bits_[0] & 0x00000002u) != 0;
2624 }
2626  _has_bits_[0] |= 0x00000002u;
2627 }
2629  _has_bits_[0] &= ~0x00000002u;
2630 }
2633  platform_->clear();
2634  }
2636 }
2637 inline const ::std::string& LogonRequest::platform() const {
2638  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.platform)
2639  return *platform_;
2640 }
2641 inline void LogonRequest::set_platform(const ::std::string& value) {
2642  set_has_platform();
2644  platform_ = new ::std::string;
2645  }
2646  platform_->assign(value);
2647  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.platform)
2648 }
2649 inline void LogonRequest::set_platform(const char* value) {
2650  set_has_platform();
2652  platform_ = new ::std::string;
2653  }
2654  platform_->assign(value);
2655  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.platform)
2656 }
2657 inline void LogonRequest::set_platform(const char* value, size_t size) {
2658  set_has_platform();
2660  platform_ = new ::std::string;
2661  }
2662  platform_->assign(reinterpret_cast<const char*>(value), size);
2663  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.platform)
2664 }
2665 inline ::std::string* LogonRequest::mutable_platform() {
2666  set_has_platform();
2668  platform_ = new ::std::string;
2669  }
2670  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.platform)
2671  return platform_;
2672 }
2673 inline ::std::string* LogonRequest::release_platform() {
2676  return NULL;
2677  } else {
2678  ::std::string* temp = platform_;
2679  platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2680  return temp;
2681  }
2682 }
2683 inline void LogonRequest::set_allocated_platform(::std::string* platform) {
2685  delete platform_;
2686  }
2687  if (platform) {
2688  set_has_platform();
2689  platform_ = platform;
2690  } else {
2692  platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2693  }
2694  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.platform)
2695 }
2696 
2697 // optional string locale = 3;
2698 inline bool LogonRequest::has_locale() const {
2699  return (_has_bits_[0] & 0x00000004u) != 0;
2700 }
2702  _has_bits_[0] |= 0x00000004u;
2703 }
2705  _has_bits_[0] &= ~0x00000004u;
2706 }
2709  locale_->clear();
2710  }
2711  clear_has_locale();
2712 }
2713 inline const ::std::string& LogonRequest::locale() const {
2714  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.locale)
2715  return *locale_;
2716 }
2717 inline void LogonRequest::set_locale(const ::std::string& value) {
2718  set_has_locale();
2720  locale_ = new ::std::string;
2721  }
2722  locale_->assign(value);
2723  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.locale)
2724 }
2725 inline void LogonRequest::set_locale(const char* value) {
2726  set_has_locale();
2728  locale_ = new ::std::string;
2729  }
2730  locale_->assign(value);
2731  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.locale)
2732 }
2733 inline void LogonRequest::set_locale(const char* value, size_t size) {
2734  set_has_locale();
2736  locale_ = new ::std::string;
2737  }
2738  locale_->assign(reinterpret_cast<const char*>(value), size);
2739  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.locale)
2740 }
2741 inline ::std::string* LogonRequest::mutable_locale() {
2742  set_has_locale();
2744  locale_ = new ::std::string;
2745  }
2746  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.locale)
2747  return locale_;
2748 }
2749 inline ::std::string* LogonRequest::release_locale() {
2750  clear_has_locale();
2752  return NULL;
2753  } else {
2754  ::std::string* temp = locale_;
2755  locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2756  return temp;
2757  }
2758 }
2759 inline void LogonRequest::set_allocated_locale(::std::string* locale) {
2761  delete locale_;
2762  }
2763  if (locale) {
2764  set_has_locale();
2765  locale_ = locale;
2766  } else {
2767  clear_has_locale();
2768  locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2769  }
2770  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.locale)
2771 }
2772 
2773 // optional string email = 4;
2774 inline bool LogonRequest::has_email() const {
2775  return (_has_bits_[0] & 0x00000008u) != 0;
2776 }
2778  _has_bits_[0] |= 0x00000008u;
2779 }
2781  _has_bits_[0] &= ~0x00000008u;
2782 }
2785  email_->clear();
2786  }
2787  clear_has_email();
2788 }
2789 inline const ::std::string& LogonRequest::email() const {
2790  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.email)
2791  return *email_;
2792 }
2793 inline void LogonRequest::set_email(const ::std::string& value) {
2794  set_has_email();
2796  email_ = new ::std::string;
2797  }
2798  email_->assign(value);
2799  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.email)
2800 }
2801 inline void LogonRequest::set_email(const char* value) {
2802  set_has_email();
2804  email_ = new ::std::string;
2805  }
2806  email_->assign(value);
2807  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.email)
2808 }
2809 inline void LogonRequest::set_email(const char* value, size_t size) {
2810  set_has_email();
2812  email_ = new ::std::string;
2813  }
2814  email_->assign(reinterpret_cast<const char*>(value), size);
2815  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.email)
2816 }
2817 inline ::std::string* LogonRequest::mutable_email() {
2818  set_has_email();
2820  email_ = new ::std::string;
2821  }
2822  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.email)
2823  return email_;
2824 }
2825 inline ::std::string* LogonRequest::release_email() {
2826  clear_has_email();
2828  return NULL;
2829  } else {
2830  ::std::string* temp = email_;
2831  email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2832  return temp;
2833  }
2834 }
2835 inline void LogonRequest::set_allocated_email(::std::string* email) {
2837  delete email_;
2838  }
2839  if (email) {
2840  set_has_email();
2841  email_ = email;
2842  } else {
2843  clear_has_email();
2844  email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2845  }
2846  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.email)
2847 }
2848 
2849 // optional string version = 5;
2850 inline bool LogonRequest::has_version() const {
2851  return (_has_bits_[0] & 0x00000010u) != 0;
2852 }
2854  _has_bits_[0] |= 0x00000010u;
2855 }
2857  _has_bits_[0] &= ~0x00000010u;
2858 }
2861  version_->clear();
2862  }
2864 }
2865 inline const ::std::string& LogonRequest::version() const {
2866  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.version)
2867  return *version_;
2868 }
2869 inline void LogonRequest::set_version(const ::std::string& value) {
2870  set_has_version();
2872  version_ = new ::std::string;
2873  }
2874  version_->assign(value);
2875  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.version)
2876 }
2877 inline void LogonRequest::set_version(const char* value) {
2878  set_has_version();
2880  version_ = new ::std::string;
2881  }
2882  version_->assign(value);
2883  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.version)
2884 }
2885 inline void LogonRequest::set_version(const char* value, size_t size) {
2886  set_has_version();
2888  version_ = new ::std::string;
2889  }
2890  version_->assign(reinterpret_cast<const char*>(value), size);
2891  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.version)
2892 }
2893 inline ::std::string* LogonRequest::mutable_version() {
2894  set_has_version();
2896  version_ = new ::std::string;
2897  }
2898  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.version)
2899  return version_;
2900 }
2901 inline ::std::string* LogonRequest::release_version() {
2904  return NULL;
2905  } else {
2906  ::std::string* temp = version_;
2907  version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2908  return temp;
2909  }
2910 }
2911 inline void LogonRequest::set_allocated_version(::std::string* version) {
2913  delete version_;
2914  }
2915  if (version) {
2916  set_has_version();
2917  version_ = version;
2918  } else {
2920  version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2921  }
2922  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.version)
2923 }
2924 
2925 // optional int32 application_version = 6;
2927  return (_has_bits_[0] & 0x00000020u) != 0;
2928 }
2930  _has_bits_[0] |= 0x00000020u;
2931 }
2933  _has_bits_[0] &= ~0x00000020u;
2934 }
2938 }
2940  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.application_version)
2941  return application_version_;
2942 }
2946  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.application_version)
2947 }
2948 
2949 // optional bool public_computer = 7;
2951  return (_has_bits_[0] & 0x00000040u) != 0;
2952 }
2954  _has_bits_[0] |= 0x00000040u;
2955 }
2957  _has_bits_[0] &= ~0x00000040u;
2958 }
2960  public_computer_ = false;
2962 }
2963 inline bool LogonRequest::public_computer() const {
2964  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.public_computer)
2965  return public_computer_;
2966 }
2970  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.public_computer)
2971 }
2972 
2973 // optional bytes sso_id = 8;
2974 inline bool LogonRequest::has_sso_id() const {
2975  return (_has_bits_[0] & 0x00000080u) != 0;
2976 }
2978  _has_bits_[0] |= 0x00000080u;
2979 }
2981  _has_bits_[0] &= ~0x00000080u;
2982 }
2985  sso_id_->clear();
2986  }
2987  clear_has_sso_id();
2988 }
2989 inline const ::std::string& LogonRequest::sso_id() const {
2990  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.sso_id)
2991  return *sso_id_;
2992 }
2993 inline void LogonRequest::set_sso_id(const ::std::string& value) {
2994  set_has_sso_id();
2996  sso_id_ = new ::std::string;
2997  }
2998  sso_id_->assign(value);
2999  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.sso_id)
3000 }
3001 inline void LogonRequest::set_sso_id(const char* value) {
3002  set_has_sso_id();
3004  sso_id_ = new ::std::string;
3005  }
3006  sso_id_->assign(value);
3007  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.sso_id)
3008 }
3009 inline void LogonRequest::set_sso_id(const void* value, size_t size) {
3010  set_has_sso_id();
3012  sso_id_ = new ::std::string;
3013  }
3014  sso_id_->assign(reinterpret_cast<const char*>(value), size);
3015  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.sso_id)
3016 }
3017 inline ::std::string* LogonRequest::mutable_sso_id() {
3018  set_has_sso_id();
3020  sso_id_ = new ::std::string;
3021  }
3022  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.sso_id)
3023  return sso_id_;
3024 }
3025 inline ::std::string* LogonRequest::release_sso_id() {
3026  clear_has_sso_id();
3028  return NULL;
3029  } else {
3030  ::std::string* temp = sso_id_;
3031  sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3032  return temp;
3033  }
3034 }
3035 inline void LogonRequest::set_allocated_sso_id(::std::string* sso_id) {
3037  delete sso_id_;
3038  }
3039  if (sso_id) {
3040  set_has_sso_id();
3041  sso_id_ = sso_id;
3042  } else {
3043  clear_has_sso_id();
3044  sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3045  }
3046  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.sso_id)
3047 }
3048 
3049 // optional bool disconnect_on_cookie_fail = 9 [default = false];
3051  return (_has_bits_[0] & 0x00000100u) != 0;
3052 }
3054  _has_bits_[0] |= 0x00000100u;
3055 }
3057  _has_bits_[0] &= ~0x00000100u;
3058 }
3062 }
3064  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.disconnect_on_cookie_fail)
3066 }
3070  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.disconnect_on_cookie_fail)
3071 }
3072 
3073 // optional bool allow_logon_queue_notifications = 10 [default = false];
3075  return (_has_bits_[0] & 0x00000200u) != 0;
3076 }
3078  _has_bits_[0] |= 0x00000200u;
3079 }
3081  _has_bits_[0] &= ~0x00000200u;
3082 }
3086 }
3088  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.allow_logon_queue_notifications)
3090 }
3094  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.allow_logon_queue_notifications)
3095 }
3096 
3097 // optional bool web_client_verification = 11 [default = false];
3099  return (_has_bits_[0] & 0x00000400u) != 0;
3100 }
3102  _has_bits_[0] |= 0x00000400u;
3103 }
3105  _has_bits_[0] &= ~0x00000400u;
3106 }
3108  web_client_verification_ = false;
3110 }
3112  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.web_client_verification)
3113  return web_client_verification_;
3114 }
3118  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.web_client_verification)
3119 }
3120 
3121 // optional bytes cached_web_credentials = 12;
3123  return (_has_bits_[0] & 0x00000800u) != 0;
3124 }
3126  _has_bits_[0] |= 0x00000800u;
3127 }
3129  _has_bits_[0] &= ~0x00000800u;
3130 }
3133  cached_web_credentials_->clear();
3134  }
3136 }
3137 inline const ::std::string& LogonRequest::cached_web_credentials() const {
3138  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3139  return *cached_web_credentials_;
3140 }
3141 inline void LogonRequest::set_cached_web_credentials(const ::std::string& value) {
3144  cached_web_credentials_ = new ::std::string;
3145  }
3146  cached_web_credentials_->assign(value);
3147  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3148 }
3152  cached_web_credentials_ = new ::std::string;
3153  }
3154  cached_web_credentials_->assign(value);
3155  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3156 }
3157 inline void LogonRequest::set_cached_web_credentials(const void* value, size_t size) {
3160  cached_web_credentials_ = new ::std::string;
3161  }
3162  cached_web_credentials_->assign(reinterpret_cast<const char*>(value), size);
3163  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3164 }
3168  cached_web_credentials_ = new ::std::string;
3169  }
3170  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3171  return cached_web_credentials_;
3172 }
3176  return NULL;
3177  } else {
3178  ::std::string* temp = cached_web_credentials_;
3180  return temp;
3181  }
3182 }
3183 inline void LogonRequest::set_allocated_cached_web_credentials(::std::string* cached_web_credentials) {
3185  delete cached_web_credentials_;
3186  }
3187  if (cached_web_credentials) {
3190  } else {
3193  }
3194  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials)
3195 }
3196 
3197 // optional bool enable_cookie = 13 [default = true];
3198 inline bool LogonRequest::has_enable_cookie() const {
3199  return (_has_bits_[0] & 0x00001000u) != 0;
3200 }
3202  _has_bits_[0] |= 0x00001000u;
3203 }
3205  _has_bits_[0] &= ~0x00001000u;
3206 }
3208  enable_cookie_ = true;
3210 }
3211 inline bool LogonRequest::enable_cookie() const {
3212  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.enable_cookie)
3213  return enable_cookie_;
3214 }
3218  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.enable_cookie)
3219 }
3220 
3221 // optional string user_agent = 14;
3222 inline bool LogonRequest::has_user_agent() const {
3223  return (_has_bits_[0] & 0x00002000u) != 0;
3224 }
3226  _has_bits_[0] |= 0x00002000u;
3227 }
3229  _has_bits_[0] &= ~0x00002000u;
3230 }
3233  user_agent_->clear();
3234  }
3236 }
3237 inline const ::std::string& LogonRequest::user_agent() const {
3238  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3239  return *user_agent_;
3240 }
3241 inline void LogonRequest::set_user_agent(const ::std::string& value) {
3244  user_agent_ = new ::std::string;
3245  }
3246  user_agent_->assign(value);
3247  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3248 }
3249 inline void LogonRequest::set_user_agent(const char* value) {
3252  user_agent_ = new ::std::string;
3253  }
3254  user_agent_->assign(value);
3255  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3256 }
3257 inline void LogonRequest::set_user_agent(const char* value, size_t size) {
3260  user_agent_ = new ::std::string;
3261  }
3262  user_agent_->assign(reinterpret_cast<const char*>(value), size);
3263  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3264 }
3265 inline ::std::string* LogonRequest::mutable_user_agent() {
3268  user_agent_ = new ::std::string;
3269  }
3270  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3271  return user_agent_;
3272 }
3273 inline ::std::string* LogonRequest::release_user_agent() {
3276  return NULL;
3277  } else {
3278  ::std::string* temp = user_agent_;
3280  return temp;
3281  }
3282 }
3283 inline void LogonRequest::set_allocated_user_agent(::std::string* user_agent) {
3285  delete user_agent_;
3286  }
3287  if (user_agent) {
3290  } else {
3293  }
3294  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.user_agent)
3295 }
3296 
3297 // -------------------------------------------------------------------
3298 
3299 // LogonResult
3300 
3301 // required uint32 error_code = 1;
3302 inline bool LogonResult::has_error_code() const {
3303  return (_has_bits_[0] & 0x00000001u) != 0;
3304 }
3306  _has_bits_[0] |= 0x00000001u;
3307 }
3309  _has_bits_[0] &= ~0x00000001u;
3310 }
3312  error_code_ = 0u;
3314 }
3316  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.error_code)
3317  return error_code_;
3318 }
3321  error_code_ = value;
3322  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.error_code)
3323 }
3324 
3325 // optional .bgs.protocol.EntityId account_id = 2;
3326 inline bool LogonResult::has_account_id() const {
3327  return (_has_bits_[0] & 0x00000002u) != 0;
3328 }
3330  _has_bits_[0] |= 0x00000002u;
3331 }
3333  _has_bits_[0] &= ~0x00000002u;
3334 }
3336  if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
3338 }
3339 inline const ::bgs::protocol::EntityId& LogonResult::account_id() const {
3340  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.account_id)
3342 }
3343 inline ::bgs::protocol::EntityId* LogonResult::mutable_account_id() {
3345  if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
3346  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.account_id)
3347  return account_id_;
3348 }
3349 inline ::bgs::protocol::EntityId* LogonResult::release_account_id() {
3352  account_id_ = NULL;
3353  return temp;
3354 }
3356  delete account_id_;
3358  if (account_id) {
3360  } else {
3362  }
3363  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.account_id)
3364 }
3365 
3366 // repeated .bgs.protocol.EntityId game_account_id = 3;
3368  return game_account_id_.size();
3369 }
3371  game_account_id_.Clear();
3372 }
3373 inline const ::bgs::protocol::EntityId& LogonResult::game_account_id(int index) const {
3374  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.game_account_id)
3375  return game_account_id_.Get(index);
3376 }
3377 inline ::bgs::protocol::EntityId* LogonResult::mutable_game_account_id(int index) {
3378  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.game_account_id)
3379  return game_account_id_.Mutable(index);
3380 }
3381 inline ::bgs::protocol::EntityId* LogonResult::add_game_account_id() {
3382  // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.LogonResult.game_account_id)
3383  return game_account_id_.Add();
3384 }
3385 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >&
3387  // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.LogonResult.game_account_id)
3388  return game_account_id_;
3389 }
3390 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >*
3392  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.LogonResult.game_account_id)
3393  return &game_account_id_;
3394 }
3395 
3396 // optional string email = 4;
3397 inline bool LogonResult::has_email() const {
3398  return (_has_bits_[0] & 0x00000008u) != 0;
3399 }
3401  _has_bits_[0] |= 0x00000008u;
3402 }
3404  _has_bits_[0] &= ~0x00000008u;
3405 }
3408  email_->clear();
3409  }
3410  clear_has_email();
3411 }
3412 inline const ::std::string& LogonResult::email() const {
3413  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.email)
3414  return *email_;
3415 }
3416 inline void LogonResult::set_email(const ::std::string& value) {
3417  set_has_email();
3419  email_ = new ::std::string;
3420  }
3421  email_->assign(value);
3422  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.email)
3423 }
3424 inline void LogonResult::set_email(const char* value) {
3425  set_has_email();
3427  email_ = new ::std::string;
3428  }
3429  email_->assign(value);
3430  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.email)
3431 }
3432 inline void LogonResult::set_email(const char* value, size_t size) {
3433  set_has_email();
3435  email_ = new ::std::string;
3436  }
3437  email_->assign(reinterpret_cast<const char*>(value), size);
3438  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.email)
3439 }
3440 inline ::std::string* LogonResult::mutable_email() {
3441  set_has_email();
3443  email_ = new ::std::string;
3444  }
3445  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.email)
3446  return email_;
3447 }
3448 inline ::std::string* LogonResult::release_email() {
3449  clear_has_email();
3451  return NULL;
3452  } else {
3453  ::std::string* temp = email_;
3454  email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3455  return temp;
3456  }
3457 }
3458 inline void LogonResult::set_allocated_email(::std::string* email) {
3460  delete email_;
3461  }
3462  if (email) {
3463  set_has_email();
3464  email_ = email;
3465  } else {
3466  clear_has_email();
3467  email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3468  }
3469  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.email)
3470 }
3471 
3472 // repeated uint32 available_region = 5;
3474  return available_region_.size();
3475 }
3478 }
3480  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.available_region)
3481  return available_region_.Get(index);
3482 }
3484  available_region_.Set(index, value);
3485  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.available_region)
3486 }
3488  available_region_.Add(value);
3489  // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.LogonResult.available_region)
3490 }
3491 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3493  // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.LogonResult.available_region)
3494  return available_region_;
3495 }
3496 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3498  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.LogonResult.available_region)
3499  return &available_region_;
3500 }
3501 
3502 // optional uint32 connected_region = 6;
3504  return (_has_bits_[0] & 0x00000020u) != 0;
3505 }
3507  _has_bits_[0] |= 0x00000020u;
3508 }
3510  _has_bits_[0] &= ~0x00000020u;
3511 }
3513  connected_region_ = 0u;
3515 }
3517  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.connected_region)
3518  return connected_region_;
3519 }
3523  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.connected_region)
3524 }
3525 
3526 // optional string battle_tag = 7;
3527 inline bool LogonResult::has_battle_tag() const {
3528  return (_has_bits_[0] & 0x00000040u) != 0;
3529 }
3531  _has_bits_[0] |= 0x00000040u;
3532 }
3534  _has_bits_[0] &= ~0x00000040u;
3535 }
3538  battle_tag_->clear();
3539  }
3541 }
3542 inline const ::std::string& LogonResult::battle_tag() const {
3543  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3544  return *battle_tag_;
3545 }
3546 inline void LogonResult::set_battle_tag(const ::std::string& value) {
3549  battle_tag_ = new ::std::string;
3550  }
3551  battle_tag_->assign(value);
3552  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3553 }
3554 inline void LogonResult::set_battle_tag(const char* value) {
3557  battle_tag_ = new ::std::string;
3558  }
3559  battle_tag_->assign(value);
3560  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3561 }
3562 inline void LogonResult::set_battle_tag(const char* value, size_t size) {
3565  battle_tag_ = new ::std::string;
3566  }
3567  battle_tag_->assign(reinterpret_cast<const char*>(value), size);
3568  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3569 }
3570 inline ::std::string* LogonResult::mutable_battle_tag() {
3573  battle_tag_ = new ::std::string;
3574  }
3575  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3576  return battle_tag_;
3577 }
3578 inline ::std::string* LogonResult::release_battle_tag() {
3581  return NULL;
3582  } else {
3583  ::std::string* temp = battle_tag_;
3585  return temp;
3586  }
3587 }
3588 inline void LogonResult::set_allocated_battle_tag(::std::string* battle_tag) {
3590  delete battle_tag_;
3591  }
3592  if (battle_tag) {
3595  } else {
3598  }
3599  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.battle_tag)
3600 }
3601 
3602 // optional string geoip_country = 8;
3603 inline bool LogonResult::has_geoip_country() const {
3604  return (_has_bits_[0] & 0x00000080u) != 0;
3605 }
3607  _has_bits_[0] |= 0x00000080u;
3608 }
3610  _has_bits_[0] &= ~0x00000080u;
3611 }
3614  geoip_country_->clear();
3615  }
3617 }
3618 inline const ::std::string& LogonResult::geoip_country() const {
3619  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3620  return *geoip_country_;
3621 }
3622 inline void LogonResult::set_geoip_country(const ::std::string& value) {
3625  geoip_country_ = new ::std::string;
3626  }
3627  geoip_country_->assign(value);
3628  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3629 }
3630 inline void LogonResult::set_geoip_country(const char* value) {
3633  geoip_country_ = new ::std::string;
3634  }
3635  geoip_country_->assign(value);
3636  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3637 }
3638 inline void LogonResult::set_geoip_country(const char* value, size_t size) {
3641  geoip_country_ = new ::std::string;
3642  }
3643  geoip_country_->assign(reinterpret_cast<const char*>(value), size);
3644  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3645 }
3646 inline ::std::string* LogonResult::mutable_geoip_country() {
3649  geoip_country_ = new ::std::string;
3650  }
3651  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3652  return geoip_country_;
3653 }
3654 inline ::std::string* LogonResult::release_geoip_country() {
3657  return NULL;
3658  } else {
3659  ::std::string* temp = geoip_country_;
3661  return temp;
3662  }
3663 }
3664 inline void LogonResult::set_allocated_geoip_country(::std::string* geoip_country) {
3666  delete geoip_country_;
3667  }
3668  if (geoip_country) {
3671  } else {
3674  }
3675  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.geoip_country)
3676 }
3677 
3678 // optional bytes session_key = 9;
3679 inline bool LogonResult::has_session_key() const {
3680  return (_has_bits_[0] & 0x00000100u) != 0;
3681 }
3683  _has_bits_[0] |= 0x00000100u;
3684 }
3686  _has_bits_[0] &= ~0x00000100u;
3687 }
3690  session_key_->clear();
3691  }
3693 }
3694 inline const ::std::string& LogonResult::session_key() const {
3695  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.session_key)
3696  return *session_key_;
3697 }
3698 inline void LogonResult::set_session_key(const ::std::string& value) {
3701  session_key_ = new ::std::string;
3702  }
3703  session_key_->assign(value);
3704  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.session_key)
3705 }
3706 inline void LogonResult::set_session_key(const char* value) {
3709  session_key_ = new ::std::string;
3710  }
3711  session_key_->assign(value);
3712  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.session_key)
3713 }
3714 inline void LogonResult::set_session_key(const void* value, size_t size) {
3717  session_key_ = new ::std::string;
3718  }
3719  session_key_->assign(reinterpret_cast<const char*>(value), size);
3720  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.session_key)
3721 }
3722 inline ::std::string* LogonResult::mutable_session_key() {
3725  session_key_ = new ::std::string;
3726  }
3727  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.session_key)
3728  return session_key_;
3729 }
3730 inline ::std::string* LogonResult::release_session_key() {
3733  return NULL;
3734  } else {
3735  ::std::string* temp = session_key_;
3737  return temp;
3738  }
3739 }
3740 inline void LogonResult::set_allocated_session_key(::std::string* session_key) {
3742  delete session_key_;
3743  }
3744  if (session_key) {
3747  } else {
3750  }
3751  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.session_key)
3752 }
3753 
3754 // optional bool restricted_mode = 10;
3756  return (_has_bits_[0] & 0x00000200u) != 0;
3757 }
3759  _has_bits_[0] |= 0x00000200u;
3760 }
3762  _has_bits_[0] &= ~0x00000200u;
3763 }
3765  restricted_mode_ = false;
3767 }
3768 inline bool LogonResult::restricted_mode() const {
3769  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.restricted_mode)
3770  return restricted_mode_;
3771 }
3775  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.restricted_mode)
3776 }
3777 
3778 // -------------------------------------------------------------------
3779 
3780 // GenerateSSOTokenRequest
3781 
3782 // optional fixed32 program = 1;
3784  return (_has_bits_[0] & 0x00000001u) != 0;
3785 }
3787  _has_bits_[0] |= 0x00000001u;
3788 }
3790  _has_bits_[0] &= ~0x00000001u;
3791 }
3793  program_ = 0u;
3795 }
3797  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenRequest.program)
3798  return program_;
3799 }
3801  set_has_program();
3802  program_ = value;
3803  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenRequest.program)
3804 }
3805 
3806 // -------------------------------------------------------------------
3807 
3808 // GenerateSSOTokenResponse
3809 
3810 // optional bytes sso_id = 1;
3812  return (_has_bits_[0] & 0x00000001u) != 0;
3813 }
3815  _has_bits_[0] |= 0x00000001u;
3816 }
3818  _has_bits_[0] &= ~0x00000001u;
3819 }
3822  sso_id_->clear();
3823  }
3824  clear_has_sso_id();
3825 }
3826 inline const ::std::string& GenerateSSOTokenResponse::sso_id() const {
3827  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3828  return *sso_id_;
3829 }
3830 inline void GenerateSSOTokenResponse::set_sso_id(const ::std::string& value) {
3831  set_has_sso_id();
3833  sso_id_ = new ::std::string;
3834  }
3835  sso_id_->assign(value);
3836  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3837 }
3839  set_has_sso_id();
3841  sso_id_ = new ::std::string;
3842  }
3843  sso_id_->assign(value);
3844  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3845 }
3846 inline void GenerateSSOTokenResponse::set_sso_id(const void* value, size_t size) {
3847  set_has_sso_id();
3849  sso_id_ = new ::std::string;
3850  }
3851  sso_id_->assign(reinterpret_cast<const char*>(value), size);
3852  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3853 }
3855  set_has_sso_id();
3857  sso_id_ = new ::std::string;
3858  }
3859  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3860  return sso_id_;
3861 }
3863  clear_has_sso_id();
3865  return NULL;
3866  } else {
3867  ::std::string* temp = sso_id_;
3868  sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3869  return temp;
3870  }
3871 }
3872 inline void GenerateSSOTokenResponse::set_allocated_sso_id(::std::string* sso_id) {
3874  delete sso_id_;
3875  }
3876  if (sso_id) {
3877  set_has_sso_id();
3878  sso_id_ = sso_id;
3879  } else {
3880  clear_has_sso_id();
3881  sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3882  }
3883  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
3884 }
3885 
3886 // optional bytes sso_secret = 2;
3888  return (_has_bits_[0] & 0x00000002u) != 0;
3889 }
3891  _has_bits_[0] |= 0x00000002u;
3892 }
3894  _has_bits_[0] &= ~0x00000002u;
3895 }
3898  sso_secret_->clear();
3899  }
3901 }
3902 inline const ::std::string& GenerateSSOTokenResponse::sso_secret() const {
3903  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3904  return *sso_secret_;
3905 }
3906 inline void GenerateSSOTokenResponse::set_sso_secret(const ::std::string& value) {
3909  sso_secret_ = new ::std::string;
3910  }
3911  sso_secret_->assign(value);
3912  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3913 }
3917  sso_secret_ = new ::std::string;
3918  }
3919  sso_secret_->assign(value);
3920  // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3921 }
3922 inline void GenerateSSOTokenResponse::set_sso_secret(const void* value, size_t size) {
3925  sso_secret_ = new ::std::string;
3926  }
3927  sso_secret_->assign(reinterpret_cast<const char*>(value), size);
3928  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3929 }
3933  sso_secret_ = new ::std::string;
3934  }
3935  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3936  return sso_secret_;
3937 }
3941  return NULL;
3942  } else {
3943  ::std::string* temp = sso_secret_;
3945  return temp;
3946  }
3947 }
3948 inline void GenerateSSOTokenResponse::set_allocated_sso_secret(::std::string* sso_secret) {
3950  delete sso_secret_;
3951  }
3952  if (sso_secret) {
3955  } else {
3958  }
3959  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
3960 }
3961 
3962 // -------------------------------------------------------------------
3963 
3964 // LogonUpdateRequest
3965 
3966 // required uint32 error_code = 1;
3968  return (_has_bits_[0] & 0x00000001u) != 0;
3969 }
3971  _has_bits_[0] |= 0x00000001u;
3972 }
3974  _has_bits_[0] &= ~0x00000001u;
3975 }
3977  error_code_ = 0u;
3979 }
3981  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonUpdateRequest.error_code)
3982  return error_code_;
3983 }
3986  error_code_ = value;
3987  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonUpdateRequest.error_code)
3988 }
3989 
3990 // -------------------------------------------------------------------
3991 
3992 // LogonQueueUpdateRequest
3993 
3994 // required uint32 position = 1;
3996  return (_has_bits_[0] & 0x00000001u) != 0;
3997 }
3999  _has_bits_[0] |= 0x00000001u;
4000 }
4002  _has_bits_[0] &= ~0x00000001u;
4003 }
4005  position_ = 0u;
4007 }
4009  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.position)
4010  return position_;
4011 }
4013  set_has_position();
4014  position_ = value;
4015  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.position)
4016 }
4017 
4018 // required uint64 estimated_time = 2;
4020  return (_has_bits_[0] & 0x00000002u) != 0;
4021 }
4023  _has_bits_[0] |= 0x00000002u;
4024 }
4026  _has_bits_[0] &= ~0x00000002u;
4027 }
4031 }
4033  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.estimated_time)
4034  return estimated_time_;
4035 }
4039  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.estimated_time)
4040 }
4041 
4042 // required uint64 eta_deviation_in_sec = 3;
4044  return (_has_bits_[0] & 0x00000004u) != 0;
4045 }
4047  _has_bits_[0] |= 0x00000004u;
4048 }
4050  _has_bits_[0] &= ~0x00000004u;
4051 }
4055 }
4057  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.eta_deviation_in_sec)
4058  return eta_deviation_in_sec_;
4059 }
4063  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.eta_deviation_in_sec)
4064 }
4065 
4066 // -------------------------------------------------------------------
4067 
4068 // AccountSettingsNotification
4069 
4070 // repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
4072  return licenses_.size();
4073 }
4075  licenses_.Clear();
4076 }
4077 inline const ::bgs::protocol::account::v1::AccountLicense& AccountSettingsNotification::licenses(int index) const {
4078  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
4079  return licenses_.Get(index);
4080 }
4081 inline ::bgs::protocol::account::v1::AccountLicense* AccountSettingsNotification::mutable_licenses(int index) {
4082  // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
4083  return licenses_.Mutable(index);
4084 }
4085 inline ::bgs::protocol::account::v1::AccountLicense* AccountSettingsNotification::add_licenses() {
4086  // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
4087  return licenses_.Add();
4088 }
4089 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
4091  // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
4092  return licenses_;
4093 }
4094 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
4096  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
4097  return &licenses_;
4098 }
4099 
4100 // optional bool is_using_rid = 2;
4102  return (_has_bits_[0] & 0x00000002u) != 0;
4103 }
4105  _has_bits_[0] |= 0x00000002u;
4106 }
4108  _has_bits_[0] &= ~0x00000002u;
4109 }
4111  is_using_rid_ = false;
4113 }
4115  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.is_using_rid)
4116  return is_using_rid_;
4117 }
4120  is_using_rid_ = value;
4121  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.is_using_rid)
4122 }
4123 
4124 // optional bool is_playing_from_igr = 3;
4126  return (_has_bits_[0] & 0x00000004u) != 0;
4127 }
4129  _has_bits_[0] |= 0x00000004u;
4130 }
4132  _has_bits_[0] &= ~0x00000004u;
4133 }
4135  is_playing_from_igr_ = false;
4137 }
4139  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.is_playing_from_igr)
4140  return is_playing_from_igr_;
4141 }
4145  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.is_playing_from_igr)
4146 }
4147 
4148 // optional bool can_receive_voice = 4;
4150  return (_has_bits_[0] & 0x00000008u) != 0;
4151 }
4153  _has_bits_[0] |= 0x00000008u;
4154 }
4156  _has_bits_[0] &= ~0x00000008u;
4157 }
4159  can_receive_voice_ = false;
4161 }
4163  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.can_receive_voice)
4164  return can_receive_voice_;
4165 }
4169  // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.can_receive_voice)
4170 }
4171 
4172 // optional bool can_send_voice = 5;
4174  return (_has_bits_[0] & 0x00000010u) != 0;
4175 }
4177  _has_bits_[0] |= 0x00000010u;
4178 }
4180  _has_bits_[0] &= ~0x00000010u;
4181 }
4183  can_send_voice_ = false;
4185 }
4187  // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.can_send_voice)
4188  return can_send_voice_;
4189 }