// Generated by the protocol buffer compiler. DO NOT EDIT! // source: authentication_service.proto #ifndef PROTOBUF_authentication_5fservice_2eproto__INCLUDED #define PROTOBUF_authentication_5fservice_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2006000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include "entity_types.pb.h" #include "rpc_types.pb.h" #include "ServiceBase.h" #include "MessageBuffer.h" #include #include // @@protoc_insertion_point(includes) namespace bgs { namespace protocol { namespace authentication { namespace v1 { // Internal implementation detail -- do not call these. void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); void protobuf_AssignDesc_authentication_5fservice_2eproto(); void protobuf_ShutdownFile_authentication_5fservice_2eproto(); class LogonRequest; class LogonResult; class LogonUpdateRequest; class LogonQueueUpdateRequest; class ServerStateChangeRequest; class VersionInfo; class VersionInfoNotification; class GenerateWebCredentialsRequest; class GenerateWebCredentialsResponse; class VerifyWebCredentialsRequest; // =================================================================== class TC_PROTO_API LogonRequest : public ::google::protobuf::Message { public: LogonRequest(); virtual ~LogonRequest(); LogonRequest(const LogonRequest& from); inline LogonRequest& operator=(const LogonRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const LogonRequest& default_instance(); void Swap(LogonRequest* other); // implements Message ---------------------------------------------- LogonRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string program = 1; inline bool has_program() const; inline void clear_program(); static const int kProgramFieldNumber = 1; inline const ::std::string& program() const; inline void set_program(const ::std::string& value); inline void set_program(const char* value); inline void set_program(const char* value, size_t size); inline ::std::string* mutable_program(); inline ::std::string* release_program(); inline void set_allocated_program(::std::string* program); // optional string platform = 2; inline bool has_platform() const; inline void clear_platform(); static const int kPlatformFieldNumber = 2; inline const ::std::string& platform() const; inline void set_platform(const ::std::string& value); inline void set_platform(const char* value); inline void set_platform(const char* value, size_t size); inline ::std::string* mutable_platform(); inline ::std::string* release_platform(); inline void set_allocated_platform(::std::string* platform); // optional string locale = 3; inline bool has_locale() const; inline void clear_locale(); static const int kLocaleFieldNumber = 3; inline const ::std::string& locale() const; inline void set_locale(const ::std::string& value); inline void set_locale(const char* value); inline void set_locale(const char* value, size_t size); inline ::std::string* mutable_locale(); inline ::std::string* release_locale(); inline void set_allocated_locale(::std::string* locale); // optional string email = 4; inline bool has_email() const; inline void clear_email(); static const int kEmailFieldNumber = 4; inline const ::std::string& email() const; inline void set_email(const ::std::string& value); inline void set_email(const char* value); inline void set_email(const char* value, size_t size); inline ::std::string* mutable_email(); inline ::std::string* release_email(); inline void set_allocated_email(::std::string* email); // optional string version = 5; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 5; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const char* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // optional int32 application_version = 6; inline bool has_application_version() const; inline void clear_application_version(); static const int kApplicationVersionFieldNumber = 6; inline ::google::protobuf::int32 application_version() const; inline void set_application_version(::google::protobuf::int32 value); // optional bool public_computer = 7; inline bool has_public_computer() const; inline void clear_public_computer(); static const int kPublicComputerFieldNumber = 7; inline bool public_computer() const; inline void set_public_computer(bool value); // optional bool allow_logon_queue_notifications = 10 [default = false]; inline bool has_allow_logon_queue_notifications() const; inline void clear_allow_logon_queue_notifications(); static const int kAllowLogonQueueNotificationsFieldNumber = 10; inline bool allow_logon_queue_notifications() const; inline void set_allow_logon_queue_notifications(bool value); // optional bytes cached_web_credentials = 12; inline bool has_cached_web_credentials() const; inline void clear_cached_web_credentials(); static const int kCachedWebCredentialsFieldNumber = 12; inline const ::std::string& cached_web_credentials() const; inline void set_cached_web_credentials(const ::std::string& value); inline void set_cached_web_credentials(const char* value); inline void set_cached_web_credentials(const void* value, size_t size); inline ::std::string* mutable_cached_web_credentials(); inline ::std::string* release_cached_web_credentials(); inline void set_allocated_cached_web_credentials(::std::string* cached_web_credentials); // optional string user_agent = 14; inline bool has_user_agent() const; inline void clear_user_agent(); static const int kUserAgentFieldNumber = 14; inline const ::std::string& user_agent() const; inline void set_user_agent(const ::std::string& value); inline void set_user_agent(const char* value); inline void set_user_agent(const char* value, size_t size); inline ::std::string* mutable_user_agent(); inline ::std::string* release_user_agent(); inline void set_allocated_user_agent(::std::string* user_agent); // optional string device_id = 15; inline bool has_device_id() const; inline void clear_device_id(); static const int kDeviceIdFieldNumber = 15; inline const ::std::string& device_id() const; inline void set_device_id(const ::std::string& value); inline void set_device_id(const char* value); inline void set_device_id(const char* value, size_t size); inline ::std::string* mutable_device_id(); inline ::std::string* release_device_id(); inline void set_allocated_device_id(::std::string* device_id); // optional string phone_number = 16; inline bool has_phone_number() const; inline void clear_phone_number(); static const int kPhoneNumberFieldNumber = 16; inline const ::std::string& phone_number() const; inline void set_phone_number(const ::std::string& value); inline void set_phone_number(const char* value); inline void set_phone_number(const char* value, size_t size); inline ::std::string* mutable_phone_number(); inline ::std::string* release_phone_number(); inline void set_allocated_phone_number(::std::string* phone_number); // optional string auth_platform = 17; inline bool has_auth_platform() const; inline void clear_auth_platform(); static const int kAuthPlatformFieldNumber = 17; inline const ::std::string& auth_platform() const; inline void set_auth_platform(const ::std::string& value); inline void set_auth_platform(const char* value); inline void set_auth_platform(const char* value, size_t size); inline ::std::string* mutable_auth_platform(); inline ::std::string* release_auth_platform(); inline void set_allocated_auth_platform(::std::string* auth_platform); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonRequest) private: inline void set_has_program(); inline void clear_has_program(); inline void set_has_platform(); inline void clear_has_platform(); inline void set_has_locale(); inline void clear_has_locale(); inline void set_has_email(); inline void clear_has_email(); inline void set_has_version(); inline void clear_has_version(); inline void set_has_application_version(); inline void clear_has_application_version(); inline void set_has_public_computer(); inline void clear_has_public_computer(); inline void set_has_allow_logon_queue_notifications(); inline void clear_has_allow_logon_queue_notifications(); inline void set_has_cached_web_credentials(); inline void clear_has_cached_web_credentials(); inline void set_has_user_agent(); inline void clear_has_user_agent(); inline void set_has_device_id(); inline void clear_has_device_id(); inline void set_has_phone_number(); inline void clear_has_phone_number(); inline void set_has_auth_platform(); inline void clear_has_auth_platform(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* program_; ::std::string* platform_; ::std::string* locale_; ::std::string* email_; ::std::string* version_; ::google::protobuf::int32 application_version_; bool public_computer_; bool allow_logon_queue_notifications_; ::std::string* cached_web_credentials_; ::std::string* user_agent_; ::std::string* device_id_; ::std::string* phone_number_; ::std::string* auth_platform_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static LogonRequest* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API LogonResult : public ::google::protobuf::Message { public: LogonResult(); virtual ~LogonResult(); LogonResult(const LogonResult& from); inline LogonResult& operator=(const LogonResult& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const LogonResult& default_instance(); void Swap(LogonResult* other); // implements Message ---------------------------------------------- LogonResult* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required uint32 error_code = 1; inline bool has_error_code() const; inline void clear_error_code(); static const int kErrorCodeFieldNumber = 1; inline ::google::protobuf::uint32 error_code() const; inline void set_error_code(::google::protobuf::uint32 value); // optional .bgs.protocol.EntityId account_id = 2; inline bool has_account_id() const; inline void clear_account_id(); static const int kAccountIdFieldNumber = 2; inline const ::bgs::protocol::EntityId& account_id() const; inline ::bgs::protocol::EntityId* mutable_account_id(); inline ::bgs::protocol::EntityId* release_account_id(); inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id); // repeated .bgs.protocol.EntityId game_account_id = 3; inline int game_account_id_size() const; inline void clear_game_account_id(); static const int kGameAccountIdFieldNumber = 3; inline const ::bgs::protocol::EntityId& game_account_id(int index) const; inline ::bgs::protocol::EntityId* mutable_game_account_id(int index); inline ::bgs::protocol::EntityId* add_game_account_id(); inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >& game_account_id() const; inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >* mutable_game_account_id(); // optional string email = 4; inline bool has_email() const; inline void clear_email(); static const int kEmailFieldNumber = 4; inline const ::std::string& email() const; inline void set_email(const ::std::string& value); inline void set_email(const char* value); inline void set_email(const char* value, size_t size); inline ::std::string* mutable_email(); inline ::std::string* release_email(); inline void set_allocated_email(::std::string* email); // repeated uint32 available_region = 5; inline int available_region_size() const; inline void clear_available_region(); static const int kAvailableRegionFieldNumber = 5; inline ::google::protobuf::uint32 available_region(int index) const; inline void set_available_region(int index, ::google::protobuf::uint32 value); inline void add_available_region(::google::protobuf::uint32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& available_region() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_available_region(); // optional uint32 connected_region = 6; inline bool has_connected_region() const; inline void clear_connected_region(); static const int kConnectedRegionFieldNumber = 6; inline ::google::protobuf::uint32 connected_region() const; inline void set_connected_region(::google::protobuf::uint32 value); // optional string battle_tag = 7; inline bool has_battle_tag() const; inline void clear_battle_tag(); static const int kBattleTagFieldNumber = 7; inline const ::std::string& battle_tag() const; inline void set_battle_tag(const ::std::string& value); inline void set_battle_tag(const char* value); inline void set_battle_tag(const char* value, size_t size); inline ::std::string* mutable_battle_tag(); inline ::std::string* release_battle_tag(); inline void set_allocated_battle_tag(::std::string* battle_tag); // optional string geoip_country = 8; inline bool has_geoip_country() const; inline void clear_geoip_country(); static const int kGeoipCountryFieldNumber = 8; inline const ::std::string& geoip_country() const; inline void set_geoip_country(const ::std::string& value); inline void set_geoip_country(const char* value); inline void set_geoip_country(const char* value, size_t size); inline ::std::string* mutable_geoip_country(); inline ::std::string* release_geoip_country(); inline void set_allocated_geoip_country(::std::string* geoip_country); // optional bytes session_key = 9; inline bool has_session_key() const; inline void clear_session_key(); static const int kSessionKeyFieldNumber = 9; inline const ::std::string& session_key() const; inline void set_session_key(const ::std::string& value); inline void set_session_key(const char* value); inline void set_session_key(const void* value, size_t size); inline ::std::string* mutable_session_key(); inline ::std::string* release_session_key(); inline void set_allocated_session_key(::std::string* session_key); // optional bool restricted_mode = 10; inline bool has_restricted_mode() const; inline void clear_restricted_mode(); static const int kRestrictedModeFieldNumber = 10; inline bool restricted_mode() const; inline void set_restricted_mode(bool value); // optional string client_id = 11; inline bool has_client_id() const; inline void clear_client_id(); static const int kClientIdFieldNumber = 11; inline const ::std::string& client_id() const; inline void set_client_id(const ::std::string& value); inline void set_client_id(const char* value); inline void set_client_id(const char* value, size_t size); inline ::std::string* mutable_client_id(); inline ::std::string* release_client_id(); inline void set_allocated_client_id(::std::string* client_id); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonResult) private: inline void set_has_error_code(); inline void clear_has_error_code(); inline void set_has_account_id(); inline void clear_has_account_id(); inline void set_has_email(); inline void clear_has_email(); inline void set_has_connected_region(); inline void clear_has_connected_region(); inline void set_has_battle_tag(); inline void clear_has_battle_tag(); inline void set_has_geoip_country(); inline void clear_has_geoip_country(); inline void set_has_session_key(); inline void clear_has_session_key(); inline void set_has_restricted_mode(); inline void clear_has_restricted_mode(); inline void set_has_client_id(); inline void clear_has_client_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::EntityId* account_id_; ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > game_account_id_; ::google::protobuf::uint32 error_code_; ::google::protobuf::uint32 connected_region_; ::std::string* email_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > available_region_; ::std::string* battle_tag_; ::std::string* geoip_country_; ::std::string* session_key_; ::std::string* client_id_; bool restricted_mode_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static LogonResult* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API LogonUpdateRequest : public ::google::protobuf::Message { public: LogonUpdateRequest(); virtual ~LogonUpdateRequest(); LogonUpdateRequest(const LogonUpdateRequest& from); inline LogonUpdateRequest& operator=(const LogonUpdateRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const LogonUpdateRequest& default_instance(); void Swap(LogonUpdateRequest* other); // implements Message ---------------------------------------------- LogonUpdateRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required uint32 error_code = 1; inline bool has_error_code() const; inline void clear_error_code(); static const int kErrorCodeFieldNumber = 1; inline ::google::protobuf::uint32 error_code() const; inline void set_error_code(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonUpdateRequest) private: inline void set_has_error_code(); inline void clear_has_error_code(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint32 error_code_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static LogonUpdateRequest* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API LogonQueueUpdateRequest : public ::google::protobuf::Message { public: LogonQueueUpdateRequest(); virtual ~LogonQueueUpdateRequest(); LogonQueueUpdateRequest(const LogonQueueUpdateRequest& from); inline LogonQueueUpdateRequest& operator=(const LogonQueueUpdateRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const LogonQueueUpdateRequest& default_instance(); void Swap(LogonQueueUpdateRequest* other); // implements Message ---------------------------------------------- LogonQueueUpdateRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required uint32 position = 1; inline bool has_position() const; inline void clear_position(); static const int kPositionFieldNumber = 1; inline ::google::protobuf::uint32 position() const; inline void set_position(::google::protobuf::uint32 value); // required uint64 estimated_time = 2; inline bool has_estimated_time() const; inline void clear_estimated_time(); static const int kEstimatedTimeFieldNumber = 2; inline ::google::protobuf::uint64 estimated_time() const; inline void set_estimated_time(::google::protobuf::uint64 value); // required uint64 eta_deviation_in_sec = 3; inline bool has_eta_deviation_in_sec() const; inline void clear_eta_deviation_in_sec(); static const int kEtaDeviationInSecFieldNumber = 3; inline ::google::protobuf::uint64 eta_deviation_in_sec() const; inline void set_eta_deviation_in_sec(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonQueueUpdateRequest) private: inline void set_has_position(); inline void clear_has_position(); inline void set_has_estimated_time(); inline void clear_has_estimated_time(); inline void set_has_eta_deviation_in_sec(); inline void clear_has_eta_deviation_in_sec(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint64 estimated_time_; ::google::protobuf::uint64 eta_deviation_in_sec_; ::google::protobuf::uint32 position_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static LogonQueueUpdateRequest* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API ServerStateChangeRequest : public ::google::protobuf::Message { public: ServerStateChangeRequest(); virtual ~ServerStateChangeRequest(); ServerStateChangeRequest(const ServerStateChangeRequest& from); inline ServerStateChangeRequest& operator=(const ServerStateChangeRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const ServerStateChangeRequest& default_instance(); void Swap(ServerStateChangeRequest* other); // implements Message ---------------------------------------------- ServerStateChangeRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required uint32 state = 1; inline bool has_state() const; inline void clear_state(); static const int kStateFieldNumber = 1; inline ::google::protobuf::uint32 state() const; inline void set_state(::google::protobuf::uint32 value); // required uint64 event_time = 2; inline bool has_event_time() const; inline void clear_event_time(); static const int kEventTimeFieldNumber = 2; inline ::google::protobuf::uint64 event_time() const; inline void set_event_time(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ServerStateChangeRequest) private: inline void set_has_state(); inline void clear_has_state(); inline void set_has_event_time(); inline void clear_has_event_time(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint64 event_time_; ::google::protobuf::uint32 state_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static ServerStateChangeRequest* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API VersionInfo : public ::google::protobuf::Message { public: VersionInfo(); virtual ~VersionInfo(); VersionInfo(const VersionInfo& from); inline VersionInfo& operator=(const VersionInfo& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const VersionInfo& default_instance(); void Swap(VersionInfo* other); // implements Message ---------------------------------------------- VersionInfo* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional uint32 number = 1; inline bool has_number() const; inline void clear_number(); static const int kNumberFieldNumber = 1; inline ::google::protobuf::uint32 number() const; inline void set_number(::google::protobuf::uint32 value); // optional string patch = 2; inline bool has_patch() const; inline void clear_patch(); static const int kPatchFieldNumber = 2; inline const ::std::string& patch() const; inline void set_patch(const ::std::string& value); inline void set_patch(const char* value); inline void set_patch(const char* value, size_t size); inline ::std::string* mutable_patch(); inline ::std::string* release_patch(); inline void set_allocated_patch(::std::string* patch); // optional bool is_optional = 3; inline bool has_is_optional() const; inline void clear_is_optional(); static const int kIsOptionalFieldNumber = 3; inline bool is_optional() const; inline void set_is_optional(bool value); // optional uint64 kick_time = 4; inline bool has_kick_time() const; inline void clear_kick_time(); static const int kKickTimeFieldNumber = 4; inline ::google::protobuf::uint64 kick_time() const; inline void set_kick_time(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VersionInfo) private: inline void set_has_number(); inline void clear_has_number(); inline void set_has_patch(); inline void clear_has_patch(); inline void set_has_is_optional(); inline void clear_has_is_optional(); inline void set_has_kick_time(); inline void clear_has_kick_time(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* patch_; ::google::protobuf::uint32 number_; bool is_optional_; ::google::protobuf::uint64 kick_time_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static VersionInfo* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API VersionInfoNotification : public ::google::protobuf::Message { public: VersionInfoNotification(); virtual ~VersionInfoNotification(); VersionInfoNotification(const VersionInfoNotification& from); inline VersionInfoNotification& operator=(const VersionInfoNotification& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const VersionInfoNotification& default_instance(); void Swap(VersionInfoNotification* other); // implements Message ---------------------------------------------- VersionInfoNotification* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .bgs.protocol.authentication.v1.VersionInfo version_info = 1; inline bool has_version_info() const; inline void clear_version_info(); static const int kVersionInfoFieldNumber = 1; inline const ::bgs::protocol::authentication::v1::VersionInfo& version_info() const; inline ::bgs::protocol::authentication::v1::VersionInfo* mutable_version_info(); inline ::bgs::protocol::authentication::v1::VersionInfo* release_version_info(); inline void set_allocated_version_info(::bgs::protocol::authentication::v1::VersionInfo* version_info); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VersionInfoNotification) private: inline void set_has_version_info(); inline void clear_has_version_info(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::bgs::protocol::authentication::v1::VersionInfo* version_info_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static VersionInfoNotification* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API GenerateWebCredentialsRequest : public ::google::protobuf::Message { public: GenerateWebCredentialsRequest(); virtual ~GenerateWebCredentialsRequest(); GenerateWebCredentialsRequest(const GenerateWebCredentialsRequest& from); inline GenerateWebCredentialsRequest& operator=(const GenerateWebCredentialsRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const GenerateWebCredentialsRequest& default_instance(); void Swap(GenerateWebCredentialsRequest* other); // implements Message ---------------------------------------------- GenerateWebCredentialsRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional fixed32 program = 1; inline bool has_program() const; inline void clear_program(); static const int kProgramFieldNumber = 1; inline ::google::protobuf::uint32 program() const; inline void set_program(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateWebCredentialsRequest) private: inline void set_has_program(); inline void clear_has_program(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint32 program_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static GenerateWebCredentialsRequest* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API GenerateWebCredentialsResponse : public ::google::protobuf::Message { public: GenerateWebCredentialsResponse(); virtual ~GenerateWebCredentialsResponse(); GenerateWebCredentialsResponse(const GenerateWebCredentialsResponse& from); inline GenerateWebCredentialsResponse& operator=(const GenerateWebCredentialsResponse& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const GenerateWebCredentialsResponse& default_instance(); void Swap(GenerateWebCredentialsResponse* other); // implements Message ---------------------------------------------- GenerateWebCredentialsResponse* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes web_credentials = 1; inline bool has_web_credentials() const; inline void clear_web_credentials(); static const int kWebCredentialsFieldNumber = 1; inline const ::std::string& web_credentials() const; inline void set_web_credentials(const ::std::string& value); inline void set_web_credentials(const char* value); inline void set_web_credentials(const void* value, size_t size); inline ::std::string* mutable_web_credentials(); inline ::std::string* release_web_credentials(); inline void set_allocated_web_credentials(::std::string* web_credentials); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse) private: inline void set_has_web_credentials(); inline void clear_has_web_credentials(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* web_credentials_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static GenerateWebCredentialsResponse* default_instance_; }; // ------------------------------------------------------------------- class TC_PROTO_API VerifyWebCredentialsRequest : public ::google::protobuf::Message { public: VerifyWebCredentialsRequest(); virtual ~VerifyWebCredentialsRequest(); VerifyWebCredentialsRequest(const VerifyWebCredentialsRequest& from); inline VerifyWebCredentialsRequest& operator=(const VerifyWebCredentialsRequest& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const VerifyWebCredentialsRequest& default_instance(); void Swap(VerifyWebCredentialsRequest* other); // implements Message ---------------------------------------------- VerifyWebCredentialsRequest* New() const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes web_credentials = 1; inline bool has_web_credentials() const; inline void clear_web_credentials(); static const int kWebCredentialsFieldNumber = 1; inline const ::std::string& web_credentials() const; inline void set_web_credentials(const ::std::string& value); inline void set_web_credentials(const char* value); inline void set_web_credentials(const void* value, size_t size); inline ::std::string* mutable_web_credentials(); inline ::std::string* release_web_credentials(); inline void set_allocated_web_credentials(::std::string* web_credentials); // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest) private: inline void set_has_web_credentials(); inline void clear_has_web_credentials(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* web_credentials_; friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto(); friend void protobuf_AssignDesc_authentication_5fservice_2eproto(); friend void protobuf_ShutdownFile_authentication_5fservice_2eproto(); void InitAsDefaultInstance(); static VerifyWebCredentialsRequest* default_instance_; }; // =================================================================== class TC_PROTO_API AuthenticationListener : public ServiceBase { public: explicit AuthenticationListener(bool use_original_hash); AuthenticationListener(AuthenticationListener const&) = delete; AuthenticationListener(AuthenticationListener&&) = delete; AuthenticationListener& operator=(AuthenticationListener const&) = delete; AuthenticationListener& operator=(AuthenticationListener&&) = delete; virtual ~AuthenticationListener(); typedef std::integral_constant OriginalHash; typedef std::integral_constant NameHash; static google::protobuf::ServiceDescriptor const* descriptor(); // client methods -------------------------------------------------- void OnServerStateChange(::bgs::protocol::authentication::v1::ServerStateChangeRequest const* request, bool client = false, bool server = false); void OnLogonComplete(::bgs::protocol::authentication::v1::LogonResult const* request, bool client = false, bool server = false); void OnLogonUpdate(::bgs::protocol::authentication::v1::LogonUpdateRequest const* request, bool client = false, bool server = false); void OnVersionInfoUpdated(::bgs::protocol::authentication::v1::VersionInfoNotification const* request, bool client = false, bool server = false); void OnLogonQueueUpdate(::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const* request, bool client = false, bool server = false); void OnLogonQueueEnd(::bgs::protocol::NoData const* request, bool client = false, bool server = false); void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; }; // ------------------------------------------------------------------- class TC_PROTO_API AuthenticationService : public ServiceBase { public: explicit AuthenticationService(bool use_original_hash); AuthenticationService(AuthenticationService const&) = delete; AuthenticationService(AuthenticationService&&) = delete; AuthenticationService& operator=(AuthenticationService const&) = delete; AuthenticationService& operator=(AuthenticationService&&) = delete; virtual ~AuthenticationService(); typedef std::integral_constant OriginalHash; typedef std::integral_constant NameHash; static google::protobuf::ServiceDescriptor const* descriptor(); void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; protected: // server methods -------------------------------------------------- virtual uint32 HandleLogon(::bgs::protocol::authentication::v1::LogonRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); virtual uint32 HandleVerifyWebCredentials(::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); virtual uint32 HandleGenerateWebCredentials(::bgs::protocol::authentication::v1::GenerateWebCredentialsRequest const* request, ::bgs::protocol::authentication::v1::GenerateWebCredentialsResponse* response, std::function& continuation); private: void ParseAndHandleLogon(uint32 token, uint32 methodId, MessageBuffer& buffer); void ParseAndHandleVerifyWebCredentials(uint32 token, uint32 methodId, MessageBuffer& buffer); void ParseAndHandleGenerateWebCredentials(uint32 token, uint32 methodId, MessageBuffer& buffer); }; // =================================================================== // =================================================================== // LogonRequest // optional string program = 1; inline bool LogonRequest::has_program() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void LogonRequest::set_has_program() { _has_bits_[0] |= 0x00000001u; } inline void LogonRequest::clear_has_program() { _has_bits_[0] &= ~0x00000001u; } inline void LogonRequest::clear_program() { if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { program_->clear(); } clear_has_program(); } inline const ::std::string& LogonRequest::program() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.program) return *program_; } inline void LogonRequest::set_program(const ::std::string& value) { set_has_program(); if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { program_ = new ::std::string; } program_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.program) } inline void LogonRequest::set_program(const char* value) { set_has_program(); if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { program_ = new ::std::string; } program_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.program) } inline void LogonRequest::set_program(const char* value, size_t size) { set_has_program(); if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { program_ = new ::std::string; } program_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.program) } inline ::std::string* LogonRequest::mutable_program() { set_has_program(); if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { program_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.program) return program_; } inline ::std::string* LogonRequest::release_program() { clear_has_program(); if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = program_; program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_program(::std::string* program) { if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete program_; } if (program) { set_has_program(); program_ = program; } else { clear_has_program(); program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.program) } // optional string platform = 2; inline bool LogonRequest::has_platform() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void LogonRequest::set_has_platform() { _has_bits_[0] |= 0x00000002u; } inline void LogonRequest::clear_has_platform() { _has_bits_[0] &= ~0x00000002u; } inline void LogonRequest::clear_platform() { if (platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { platform_->clear(); } clear_has_platform(); } inline const ::std::string& LogonRequest::platform() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.platform) return *platform_; } inline void LogonRequest::set_platform(const ::std::string& value) { set_has_platform(); if (platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { platform_ = new ::std::string; } platform_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.platform) } inline void LogonRequest::set_platform(const char* value) { set_has_platform(); if (platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { platform_ = new ::std::string; } platform_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.platform) } inline void LogonRequest::set_platform(const char* value, size_t size) { set_has_platform(); if (platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { platform_ = new ::std::string; } platform_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.platform) } inline ::std::string* LogonRequest::mutable_platform() { set_has_platform(); if (platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { platform_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.platform) return platform_; } inline ::std::string* LogonRequest::release_platform() { clear_has_platform(); if (platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = platform_; platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_platform(::std::string* platform) { if (platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete platform_; } if (platform) { set_has_platform(); platform_ = platform; } else { clear_has_platform(); platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.platform) } // optional string locale = 3; inline bool LogonRequest::has_locale() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void LogonRequest::set_has_locale() { _has_bits_[0] |= 0x00000004u; } inline void LogonRequest::clear_has_locale() { _has_bits_[0] &= ~0x00000004u; } inline void LogonRequest::clear_locale() { if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_->clear(); } clear_has_locale(); } inline const ::std::string& LogonRequest::locale() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.locale) return *locale_; } inline void LogonRequest::set_locale(const ::std::string& value) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.locale) } inline void LogonRequest::set_locale(const char* value) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.locale) } inline void LogonRequest::set_locale(const char* value, size_t size) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.locale) } inline ::std::string* LogonRequest::mutable_locale() { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.locale) return locale_; } inline ::std::string* LogonRequest::release_locale() { clear_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = locale_; locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_locale(::std::string* locale) { if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete locale_; } if (locale) { set_has_locale(); locale_ = locale; } else { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.locale) } // optional string email = 4; inline bool LogonRequest::has_email() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void LogonRequest::set_has_email() { _has_bits_[0] |= 0x00000008u; } inline void LogonRequest::clear_has_email() { _has_bits_[0] &= ~0x00000008u; } inline void LogonRequest::clear_email() { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_->clear(); } clear_has_email(); } inline const ::std::string& LogonRequest::email() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.email) return *email_; } inline void LogonRequest::set_email(const ::std::string& value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.email) } inline void LogonRequest::set_email(const char* value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.email) } inline void LogonRequest::set_email(const char* value, size_t size) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.email) } inline ::std::string* LogonRequest::mutable_email() { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.email) return email_; } inline ::std::string* LogonRequest::release_email() { clear_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = email_; email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_email(::std::string* email) { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete email_; } if (email) { set_has_email(); email_ = email; } else { clear_has_email(); email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.email) } // optional string version = 5; inline bool LogonRequest::has_version() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void LogonRequest::set_has_version() { _has_bits_[0] |= 0x00000010u; } inline void LogonRequest::clear_has_version() { _has_bits_[0] &= ~0x00000010u; } inline void LogonRequest::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& LogonRequest::version() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.version) return *version_; } inline void LogonRequest::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.version) } inline void LogonRequest::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.version) } inline void LogonRequest::set_version(const char* value, size_t size) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.version) } inline ::std::string* LogonRequest::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.version) return version_; } inline ::std::string* LogonRequest::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.version) } // optional int32 application_version = 6; inline bool LogonRequest::has_application_version() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void LogonRequest::set_has_application_version() { _has_bits_[0] |= 0x00000020u; } inline void LogonRequest::clear_has_application_version() { _has_bits_[0] &= ~0x00000020u; } inline void LogonRequest::clear_application_version() { application_version_ = 0; clear_has_application_version(); } inline ::google::protobuf::int32 LogonRequest::application_version() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.application_version) return application_version_; } inline void LogonRequest::set_application_version(::google::protobuf::int32 value) { set_has_application_version(); application_version_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.application_version) } // optional bool public_computer = 7; inline bool LogonRequest::has_public_computer() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void LogonRequest::set_has_public_computer() { _has_bits_[0] |= 0x00000040u; } inline void LogonRequest::clear_has_public_computer() { _has_bits_[0] &= ~0x00000040u; } inline void LogonRequest::clear_public_computer() { public_computer_ = false; clear_has_public_computer(); } inline bool LogonRequest::public_computer() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.public_computer) return public_computer_; } inline void LogonRequest::set_public_computer(bool value) { set_has_public_computer(); public_computer_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.public_computer) } // optional bool allow_logon_queue_notifications = 10 [default = false]; inline bool LogonRequest::has_allow_logon_queue_notifications() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void LogonRequest::set_has_allow_logon_queue_notifications() { _has_bits_[0] |= 0x00000080u; } inline void LogonRequest::clear_has_allow_logon_queue_notifications() { _has_bits_[0] &= ~0x00000080u; } inline void LogonRequest::clear_allow_logon_queue_notifications() { allow_logon_queue_notifications_ = false; clear_has_allow_logon_queue_notifications(); } inline bool LogonRequest::allow_logon_queue_notifications() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.allow_logon_queue_notifications) return allow_logon_queue_notifications_; } inline void LogonRequest::set_allow_logon_queue_notifications(bool value) { set_has_allow_logon_queue_notifications(); allow_logon_queue_notifications_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.allow_logon_queue_notifications) } // optional bytes cached_web_credentials = 12; inline bool LogonRequest::has_cached_web_credentials() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void LogonRequest::set_has_cached_web_credentials() { _has_bits_[0] |= 0x00000100u; } inline void LogonRequest::clear_has_cached_web_credentials() { _has_bits_[0] &= ~0x00000100u; } inline void LogonRequest::clear_cached_web_credentials() { if (cached_web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cached_web_credentials_->clear(); } clear_has_cached_web_credentials(); } inline const ::std::string& LogonRequest::cached_web_credentials() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) return *cached_web_credentials_; } inline void LogonRequest::set_cached_web_credentials(const ::std::string& value) { set_has_cached_web_credentials(); if (cached_web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cached_web_credentials_ = new ::std::string; } cached_web_credentials_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) } inline void LogonRequest::set_cached_web_credentials(const char* value) { set_has_cached_web_credentials(); if (cached_web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cached_web_credentials_ = new ::std::string; } cached_web_credentials_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) } inline void LogonRequest::set_cached_web_credentials(const void* value, size_t size) { set_has_cached_web_credentials(); if (cached_web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cached_web_credentials_ = new ::std::string; } cached_web_credentials_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) } inline ::std::string* LogonRequest::mutable_cached_web_credentials() { set_has_cached_web_credentials(); if (cached_web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cached_web_credentials_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) return cached_web_credentials_; } inline ::std::string* LogonRequest::release_cached_web_credentials() { clear_has_cached_web_credentials(); if (cached_web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = cached_web_credentials_; cached_web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_cached_web_credentials(::std::string* cached_web_credentials) { if (cached_web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete cached_web_credentials_; } if (cached_web_credentials) { set_has_cached_web_credentials(); cached_web_credentials_ = cached_web_credentials; } else { clear_has_cached_web_credentials(); cached_web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.cached_web_credentials) } // optional string user_agent = 14; inline bool LogonRequest::has_user_agent() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void LogonRequest::set_has_user_agent() { _has_bits_[0] |= 0x00000200u; } inline void LogonRequest::clear_has_user_agent() { _has_bits_[0] &= ~0x00000200u; } inline void LogonRequest::clear_user_agent() { if (user_agent_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { user_agent_->clear(); } clear_has_user_agent(); } inline const ::std::string& LogonRequest::user_agent() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.user_agent) return *user_agent_; } inline void LogonRequest::set_user_agent(const ::std::string& value) { set_has_user_agent(); if (user_agent_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { user_agent_ = new ::std::string; } user_agent_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.user_agent) } inline void LogonRequest::set_user_agent(const char* value) { set_has_user_agent(); if (user_agent_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { user_agent_ = new ::std::string; } user_agent_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.user_agent) } inline void LogonRequest::set_user_agent(const char* value, size_t size) { set_has_user_agent(); if (user_agent_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { user_agent_ = new ::std::string; } user_agent_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.user_agent) } inline ::std::string* LogonRequest::mutable_user_agent() { set_has_user_agent(); if (user_agent_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { user_agent_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.user_agent) return user_agent_; } inline ::std::string* LogonRequest::release_user_agent() { clear_has_user_agent(); if (user_agent_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = user_agent_; user_agent_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_user_agent(::std::string* user_agent) { if (user_agent_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete user_agent_; } if (user_agent) { set_has_user_agent(); user_agent_ = user_agent; } else { clear_has_user_agent(); user_agent_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.user_agent) } // optional string device_id = 15; inline bool LogonRequest::has_device_id() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void LogonRequest::set_has_device_id() { _has_bits_[0] |= 0x00000400u; } inline void LogonRequest::clear_has_device_id() { _has_bits_[0] &= ~0x00000400u; } inline void LogonRequest::clear_device_id() { if (device_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { device_id_->clear(); } clear_has_device_id(); } inline const ::std::string& LogonRequest::device_id() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.device_id) return *device_id_; } inline void LogonRequest::set_device_id(const ::std::string& value) { set_has_device_id(); if (device_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { device_id_ = new ::std::string; } device_id_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.device_id) } inline void LogonRequest::set_device_id(const char* value) { set_has_device_id(); if (device_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { device_id_ = new ::std::string; } device_id_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.device_id) } inline void LogonRequest::set_device_id(const char* value, size_t size) { set_has_device_id(); if (device_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { device_id_ = new ::std::string; } device_id_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.device_id) } inline ::std::string* LogonRequest::mutable_device_id() { set_has_device_id(); if (device_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { device_id_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.device_id) return device_id_; } inline ::std::string* LogonRequest::release_device_id() { clear_has_device_id(); if (device_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = device_id_; device_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_device_id(::std::string* device_id) { if (device_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete device_id_; } if (device_id) { set_has_device_id(); device_id_ = device_id; } else { clear_has_device_id(); device_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.device_id) } // optional string phone_number = 16; inline bool LogonRequest::has_phone_number() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void LogonRequest::set_has_phone_number() { _has_bits_[0] |= 0x00000800u; } inline void LogonRequest::clear_has_phone_number() { _has_bits_[0] &= ~0x00000800u; } inline void LogonRequest::clear_phone_number() { if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { phone_number_->clear(); } clear_has_phone_number(); } inline const ::std::string& LogonRequest::phone_number() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.phone_number) return *phone_number_; } inline void LogonRequest::set_phone_number(const ::std::string& value) { set_has_phone_number(); if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { phone_number_ = new ::std::string; } phone_number_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.phone_number) } inline void LogonRequest::set_phone_number(const char* value) { set_has_phone_number(); if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { phone_number_ = new ::std::string; } phone_number_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.phone_number) } inline void LogonRequest::set_phone_number(const char* value, size_t size) { set_has_phone_number(); if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { phone_number_ = new ::std::string; } phone_number_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.phone_number) } inline ::std::string* LogonRequest::mutable_phone_number() { set_has_phone_number(); if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { phone_number_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.phone_number) return phone_number_; } inline ::std::string* LogonRequest::release_phone_number() { clear_has_phone_number(); if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = phone_number_; phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_phone_number(::std::string* phone_number) { if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete phone_number_; } if (phone_number) { set_has_phone_number(); phone_number_ = phone_number; } else { clear_has_phone_number(); phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.phone_number) } // optional string auth_platform = 17; inline bool LogonRequest::has_auth_platform() const { return (_has_bits_[0] & 0x00001000u) != 0; } inline void LogonRequest::set_has_auth_platform() { _has_bits_[0] |= 0x00001000u; } inline void LogonRequest::clear_has_auth_platform() { _has_bits_[0] &= ~0x00001000u; } inline void LogonRequest::clear_auth_platform() { if (auth_platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { auth_platform_->clear(); } clear_has_auth_platform(); } inline const ::std::string& LogonRequest::auth_platform() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.auth_platform) return *auth_platform_; } inline void LogonRequest::set_auth_platform(const ::std::string& value) { set_has_auth_platform(); if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { auth_platform_ = new ::std::string; } auth_platform_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.auth_platform) } inline void LogonRequest::set_auth_platform(const char* value) { set_has_auth_platform(); if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { auth_platform_ = new ::std::string; } auth_platform_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.auth_platform) } inline void LogonRequest::set_auth_platform(const char* value, size_t size) { set_has_auth_platform(); if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { auth_platform_ = new ::std::string; } auth_platform_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.auth_platform) } inline ::std::string* LogonRequest::mutable_auth_platform() { set_has_auth_platform(); if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { auth_platform_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.auth_platform) return auth_platform_; } inline ::std::string* LogonRequest::release_auth_platform() { clear_has_auth_platform(); if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = auth_platform_; auth_platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonRequest::set_allocated_auth_platform(::std::string* auth_platform) { if (auth_platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete auth_platform_; } if (auth_platform) { set_has_auth_platform(); auth_platform_ = auth_platform; } else { clear_has_auth_platform(); auth_platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.auth_platform) } // ------------------------------------------------------------------- // LogonResult // required uint32 error_code = 1; inline bool LogonResult::has_error_code() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void LogonResult::set_has_error_code() { _has_bits_[0] |= 0x00000001u; } inline void LogonResult::clear_has_error_code() { _has_bits_[0] &= ~0x00000001u; } inline void LogonResult::clear_error_code() { error_code_ = 0u; clear_has_error_code(); } inline ::google::protobuf::uint32 LogonResult::error_code() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.error_code) return error_code_; } inline void LogonResult::set_error_code(::google::protobuf::uint32 value) { set_has_error_code(); error_code_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.error_code) } // optional .bgs.protocol.EntityId account_id = 2; inline bool LogonResult::has_account_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void LogonResult::set_has_account_id() { _has_bits_[0] |= 0x00000002u; } inline void LogonResult::clear_has_account_id() { _has_bits_[0] &= ~0x00000002u; } inline void LogonResult::clear_account_id() { if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear(); clear_has_account_id(); } inline const ::bgs::protocol::EntityId& LogonResult::account_id() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.account_id) return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; } inline ::bgs::protocol::EntityId* LogonResult::mutable_account_id() { set_has_account_id(); if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId; // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.account_id) return account_id_; } inline ::bgs::protocol::EntityId* LogonResult::release_account_id() { clear_has_account_id(); ::bgs::protocol::EntityId* temp = account_id_; account_id_ = NULL; return temp; } inline void LogonResult::set_allocated_account_id(::bgs::protocol::EntityId* account_id) { delete account_id_; account_id_ = account_id; if (account_id) { set_has_account_id(); } else { clear_has_account_id(); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.account_id) } // repeated .bgs.protocol.EntityId game_account_id = 3; inline int LogonResult::game_account_id_size() const { return game_account_id_.size(); } inline void LogonResult::clear_game_account_id() { game_account_id_.Clear(); } inline const ::bgs::protocol::EntityId& LogonResult::game_account_id(int index) const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.game_account_id) return game_account_id_.Get(index); } inline ::bgs::protocol::EntityId* LogonResult::mutable_game_account_id(int index) { // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.game_account_id) return game_account_id_.Mutable(index); } inline ::bgs::protocol::EntityId* LogonResult::add_game_account_id() { // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.LogonResult.game_account_id) return game_account_id_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >& LogonResult::game_account_id() const { // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.LogonResult.game_account_id) return game_account_id_; } inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId >* LogonResult::mutable_game_account_id() { // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.LogonResult.game_account_id) return &game_account_id_; } // optional string email = 4; inline bool LogonResult::has_email() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void LogonResult::set_has_email() { _has_bits_[0] |= 0x00000008u; } inline void LogonResult::clear_has_email() { _has_bits_[0] &= ~0x00000008u; } inline void LogonResult::clear_email() { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_->clear(); } clear_has_email(); } inline const ::std::string& LogonResult::email() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.email) return *email_; } inline void LogonResult::set_email(const ::std::string& value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.email) } inline void LogonResult::set_email(const char* value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.email) } inline void LogonResult::set_email(const char* value, size_t size) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.email) } inline ::std::string* LogonResult::mutable_email() { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.email) return email_; } inline ::std::string* LogonResult::release_email() { clear_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = email_; email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonResult::set_allocated_email(::std::string* email) { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete email_; } if (email) { set_has_email(); email_ = email; } else { clear_has_email(); email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.email) } // repeated uint32 available_region = 5; inline int LogonResult::available_region_size() const { return available_region_.size(); } inline void LogonResult::clear_available_region() { available_region_.Clear(); } inline ::google::protobuf::uint32 LogonResult::available_region(int index) const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.available_region) return available_region_.Get(index); } inline void LogonResult::set_available_region(int index, ::google::protobuf::uint32 value) { available_region_.Set(index, value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.available_region) } inline void LogonResult::add_available_region(::google::protobuf::uint32 value) { available_region_.Add(value); // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.LogonResult.available_region) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& LogonResult::available_region() const { // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.LogonResult.available_region) return available_region_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* LogonResult::mutable_available_region() { // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.LogonResult.available_region) return &available_region_; } // optional uint32 connected_region = 6; inline bool LogonResult::has_connected_region() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void LogonResult::set_has_connected_region() { _has_bits_[0] |= 0x00000020u; } inline void LogonResult::clear_has_connected_region() { _has_bits_[0] &= ~0x00000020u; } inline void LogonResult::clear_connected_region() { connected_region_ = 0u; clear_has_connected_region(); } inline ::google::protobuf::uint32 LogonResult::connected_region() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.connected_region) return connected_region_; } inline void LogonResult::set_connected_region(::google::protobuf::uint32 value) { set_has_connected_region(); connected_region_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.connected_region) } // optional string battle_tag = 7; inline bool LogonResult::has_battle_tag() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void LogonResult::set_has_battle_tag() { _has_bits_[0] |= 0x00000040u; } inline void LogonResult::clear_has_battle_tag() { _has_bits_[0] &= ~0x00000040u; } inline void LogonResult::clear_battle_tag() { if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { battle_tag_->clear(); } clear_has_battle_tag(); } inline const ::std::string& LogonResult::battle_tag() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.battle_tag) return *battle_tag_; } inline void LogonResult::set_battle_tag(const ::std::string& value) { set_has_battle_tag(); if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.battle_tag) } inline void LogonResult::set_battle_tag(const char* value) { set_has_battle_tag(); if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { battle_tag_ = new ::std::string; } battle_tag_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.battle_tag) } inline void LogonResult::set_battle_tag(const char* value, size_t size) { set_has_battle_tag(); if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { battle_tag_ = new ::std::string; } battle_tag_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.battle_tag) } inline ::std::string* LogonResult::mutable_battle_tag() { set_has_battle_tag(); if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { battle_tag_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.battle_tag) return battle_tag_; } inline ::std::string* LogonResult::release_battle_tag() { clear_has_battle_tag(); if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = battle_tag_; battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonResult::set_allocated_battle_tag(::std::string* battle_tag) { if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete battle_tag_; } if (battle_tag) { set_has_battle_tag(); battle_tag_ = battle_tag; } else { clear_has_battle_tag(); battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.battle_tag) } // optional string geoip_country = 8; inline bool LogonResult::has_geoip_country() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void LogonResult::set_has_geoip_country() { _has_bits_[0] |= 0x00000080u; } inline void LogonResult::clear_has_geoip_country() { _has_bits_[0] &= ~0x00000080u; } inline void LogonResult::clear_geoip_country() { if (geoip_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { geoip_country_->clear(); } clear_has_geoip_country(); } inline const ::std::string& LogonResult::geoip_country() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.geoip_country) return *geoip_country_; } inline void LogonResult::set_geoip_country(const ::std::string& value) { set_has_geoip_country(); if (geoip_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { geoip_country_ = new ::std::string; } geoip_country_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.geoip_country) } inline void LogonResult::set_geoip_country(const char* value) { set_has_geoip_country(); if (geoip_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { geoip_country_ = new ::std::string; } geoip_country_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.geoip_country) } inline void LogonResult::set_geoip_country(const char* value, size_t size) { set_has_geoip_country(); if (geoip_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { geoip_country_ = new ::std::string; } geoip_country_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.geoip_country) } inline ::std::string* LogonResult::mutable_geoip_country() { set_has_geoip_country(); if (geoip_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { geoip_country_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.geoip_country) return geoip_country_; } inline ::std::string* LogonResult::release_geoip_country() { clear_has_geoip_country(); if (geoip_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = geoip_country_; geoip_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonResult::set_allocated_geoip_country(::std::string* geoip_country) { if (geoip_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete geoip_country_; } if (geoip_country) { set_has_geoip_country(); geoip_country_ = geoip_country; } else { clear_has_geoip_country(); geoip_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.geoip_country) } // optional bytes session_key = 9; inline bool LogonResult::has_session_key() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void LogonResult::set_has_session_key() { _has_bits_[0] |= 0x00000100u; } inline void LogonResult::clear_has_session_key() { _has_bits_[0] &= ~0x00000100u; } inline void LogonResult::clear_session_key() { if (session_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { session_key_->clear(); } clear_has_session_key(); } inline const ::std::string& LogonResult::session_key() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.session_key) return *session_key_; } inline void LogonResult::set_session_key(const ::std::string& value) { set_has_session_key(); if (session_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { session_key_ = new ::std::string; } session_key_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.session_key) } inline void LogonResult::set_session_key(const char* value) { set_has_session_key(); if (session_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { session_key_ = new ::std::string; } session_key_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.session_key) } inline void LogonResult::set_session_key(const void* value, size_t size) { set_has_session_key(); if (session_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { session_key_ = new ::std::string; } session_key_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.session_key) } inline ::std::string* LogonResult::mutable_session_key() { set_has_session_key(); if (session_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { session_key_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.session_key) return session_key_; } inline ::std::string* LogonResult::release_session_key() { clear_has_session_key(); if (session_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = session_key_; session_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonResult::set_allocated_session_key(::std::string* session_key) { if (session_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete session_key_; } if (session_key) { set_has_session_key(); session_key_ = session_key; } else { clear_has_session_key(); session_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.session_key) } // optional bool restricted_mode = 10; inline bool LogonResult::has_restricted_mode() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void LogonResult::set_has_restricted_mode() { _has_bits_[0] |= 0x00000200u; } inline void LogonResult::clear_has_restricted_mode() { _has_bits_[0] &= ~0x00000200u; } inline void LogonResult::clear_restricted_mode() { restricted_mode_ = false; clear_has_restricted_mode(); } inline bool LogonResult::restricted_mode() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.restricted_mode) return restricted_mode_; } inline void LogonResult::set_restricted_mode(bool value) { set_has_restricted_mode(); restricted_mode_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.restricted_mode) } // optional string client_id = 11; inline bool LogonResult::has_client_id() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void LogonResult::set_has_client_id() { _has_bits_[0] |= 0x00000400u; } inline void LogonResult::clear_has_client_id() { _has_bits_[0] &= ~0x00000400u; } inline void LogonResult::clear_client_id() { if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_id_->clear(); } clear_has_client_id(); } inline const ::std::string& LogonResult::client_id() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonResult.client_id) return *client_id_; } inline void LogonResult::set_client_id(const ::std::string& value) { set_has_client_id(); if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_id_ = new ::std::string; } client_id_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonResult.client_id) } inline void LogonResult::set_client_id(const char* value) { set_has_client_id(); if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_id_ = new ::std::string; } client_id_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonResult.client_id) } inline void LogonResult::set_client_id(const char* value, size_t size) { set_has_client_id(); if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_id_ = new ::std::string; } client_id_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonResult.client_id) } inline ::std::string* LogonResult::mutable_client_id() { set_has_client_id(); if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_id_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonResult.client_id) return client_id_; } inline ::std::string* LogonResult::release_client_id() { clear_has_client_id(); if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = client_id_; client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void LogonResult::set_allocated_client_id(::std::string* client_id) { if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete client_id_; } if (client_id) { set_has_client_id(); client_id_ = client_id; } else { clear_has_client_id(); client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonResult.client_id) } // ------------------------------------------------------------------- // LogonUpdateRequest // required uint32 error_code = 1; inline bool LogonUpdateRequest::has_error_code() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void LogonUpdateRequest::set_has_error_code() { _has_bits_[0] |= 0x00000001u; } inline void LogonUpdateRequest::clear_has_error_code() { _has_bits_[0] &= ~0x00000001u; } inline void LogonUpdateRequest::clear_error_code() { error_code_ = 0u; clear_has_error_code(); } inline ::google::protobuf::uint32 LogonUpdateRequest::error_code() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonUpdateRequest.error_code) return error_code_; } inline void LogonUpdateRequest::set_error_code(::google::protobuf::uint32 value) { set_has_error_code(); error_code_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonUpdateRequest.error_code) } // ------------------------------------------------------------------- // LogonQueueUpdateRequest // required uint32 position = 1; inline bool LogonQueueUpdateRequest::has_position() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void LogonQueueUpdateRequest::set_has_position() { _has_bits_[0] |= 0x00000001u; } inline void LogonQueueUpdateRequest::clear_has_position() { _has_bits_[0] &= ~0x00000001u; } inline void LogonQueueUpdateRequest::clear_position() { position_ = 0u; clear_has_position(); } inline ::google::protobuf::uint32 LogonQueueUpdateRequest::position() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.position) return position_; } inline void LogonQueueUpdateRequest::set_position(::google::protobuf::uint32 value) { set_has_position(); position_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.position) } // required uint64 estimated_time = 2; inline bool LogonQueueUpdateRequest::has_estimated_time() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void LogonQueueUpdateRequest::set_has_estimated_time() { _has_bits_[0] |= 0x00000002u; } inline void LogonQueueUpdateRequest::clear_has_estimated_time() { _has_bits_[0] &= ~0x00000002u; } inline void LogonQueueUpdateRequest::clear_estimated_time() { estimated_time_ = GOOGLE_ULONGLONG(0); clear_has_estimated_time(); } inline ::google::protobuf::uint64 LogonQueueUpdateRequest::estimated_time() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.estimated_time) return estimated_time_; } inline void LogonQueueUpdateRequest::set_estimated_time(::google::protobuf::uint64 value) { set_has_estimated_time(); estimated_time_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.estimated_time) } // required uint64 eta_deviation_in_sec = 3; inline bool LogonQueueUpdateRequest::has_eta_deviation_in_sec() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void LogonQueueUpdateRequest::set_has_eta_deviation_in_sec() { _has_bits_[0] |= 0x00000004u; } inline void LogonQueueUpdateRequest::clear_has_eta_deviation_in_sec() { _has_bits_[0] &= ~0x00000004u; } inline void LogonQueueUpdateRequest::clear_eta_deviation_in_sec() { eta_deviation_in_sec_ = GOOGLE_ULONGLONG(0); clear_has_eta_deviation_in_sec(); } inline ::google::protobuf::uint64 LogonQueueUpdateRequest::eta_deviation_in_sec() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.eta_deviation_in_sec) return eta_deviation_in_sec_; } inline void LogonQueueUpdateRequest::set_eta_deviation_in_sec(::google::protobuf::uint64 value) { set_has_eta_deviation_in_sec(); eta_deviation_in_sec_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonQueueUpdateRequest.eta_deviation_in_sec) } // ------------------------------------------------------------------- // ServerStateChangeRequest // required uint32 state = 1; inline bool ServerStateChangeRequest::has_state() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ServerStateChangeRequest::set_has_state() { _has_bits_[0] |= 0x00000001u; } inline void ServerStateChangeRequest::clear_has_state() { _has_bits_[0] &= ~0x00000001u; } inline void ServerStateChangeRequest::clear_state() { state_ = 0u; clear_has_state(); } inline ::google::protobuf::uint32 ServerStateChangeRequest::state() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ServerStateChangeRequest.state) return state_; } inline void ServerStateChangeRequest::set_state(::google::protobuf::uint32 value) { set_has_state(); state_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ServerStateChangeRequest.state) } // required uint64 event_time = 2; inline bool ServerStateChangeRequest::has_event_time() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ServerStateChangeRequest::set_has_event_time() { _has_bits_[0] |= 0x00000002u; } inline void ServerStateChangeRequest::clear_has_event_time() { _has_bits_[0] &= ~0x00000002u; } inline void ServerStateChangeRequest::clear_event_time() { event_time_ = GOOGLE_ULONGLONG(0); clear_has_event_time(); } inline ::google::protobuf::uint64 ServerStateChangeRequest::event_time() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ServerStateChangeRequest.event_time) return event_time_; } inline void ServerStateChangeRequest::set_event_time(::google::protobuf::uint64 value) { set_has_event_time(); event_time_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ServerStateChangeRequest.event_time) } // ------------------------------------------------------------------- // VersionInfo // optional uint32 number = 1; inline bool VersionInfo::has_number() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void VersionInfo::set_has_number() { _has_bits_[0] |= 0x00000001u; } inline void VersionInfo::clear_has_number() { _has_bits_[0] &= ~0x00000001u; } inline void VersionInfo::clear_number() { number_ = 0u; clear_has_number(); } inline ::google::protobuf::uint32 VersionInfo::number() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VersionInfo.number) return number_; } inline void VersionInfo::set_number(::google::protobuf::uint32 value) { set_has_number(); number_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.VersionInfo.number) } // optional string patch = 2; inline bool VersionInfo::has_patch() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void VersionInfo::set_has_patch() { _has_bits_[0] |= 0x00000002u; } inline void VersionInfo::clear_has_patch() { _has_bits_[0] &= ~0x00000002u; } inline void VersionInfo::clear_patch() { if (patch_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { patch_->clear(); } clear_has_patch(); } inline const ::std::string& VersionInfo::patch() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VersionInfo.patch) return *patch_; } inline void VersionInfo::set_patch(const ::std::string& value) { set_has_patch(); if (patch_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { patch_ = new ::std::string; } patch_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.VersionInfo.patch) } inline void VersionInfo::set_patch(const char* value) { set_has_patch(); if (patch_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { patch_ = new ::std::string; } patch_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.VersionInfo.patch) } inline void VersionInfo::set_patch(const char* value, size_t size) { set_has_patch(); if (patch_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { patch_ = new ::std::string; } patch_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.VersionInfo.patch) } inline ::std::string* VersionInfo::mutable_patch() { set_has_patch(); if (patch_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { patch_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.VersionInfo.patch) return patch_; } inline ::std::string* VersionInfo::release_patch() { clear_has_patch(); if (patch_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = patch_; patch_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void VersionInfo::set_allocated_patch(::std::string* patch) { if (patch_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete patch_; } if (patch) { set_has_patch(); patch_ = patch; } else { clear_has_patch(); patch_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.VersionInfo.patch) } // optional bool is_optional = 3; inline bool VersionInfo::has_is_optional() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void VersionInfo::set_has_is_optional() { _has_bits_[0] |= 0x00000004u; } inline void VersionInfo::clear_has_is_optional() { _has_bits_[0] &= ~0x00000004u; } inline void VersionInfo::clear_is_optional() { is_optional_ = false; clear_has_is_optional(); } inline bool VersionInfo::is_optional() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VersionInfo.is_optional) return is_optional_; } inline void VersionInfo::set_is_optional(bool value) { set_has_is_optional(); is_optional_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.VersionInfo.is_optional) } // optional uint64 kick_time = 4; inline bool VersionInfo::has_kick_time() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void VersionInfo::set_has_kick_time() { _has_bits_[0] |= 0x00000008u; } inline void VersionInfo::clear_has_kick_time() { _has_bits_[0] &= ~0x00000008u; } inline void VersionInfo::clear_kick_time() { kick_time_ = GOOGLE_ULONGLONG(0); clear_has_kick_time(); } inline ::google::protobuf::uint64 VersionInfo::kick_time() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VersionInfo.kick_time) return kick_time_; } inline void VersionInfo::set_kick_time(::google::protobuf::uint64 value) { set_has_kick_time(); kick_time_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.VersionInfo.kick_time) } // ------------------------------------------------------------------- // VersionInfoNotification // optional .bgs.protocol.authentication.v1.VersionInfo version_info = 1; inline bool VersionInfoNotification::has_version_info() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void VersionInfoNotification::set_has_version_info() { _has_bits_[0] |= 0x00000001u; } inline void VersionInfoNotification::clear_has_version_info() { _has_bits_[0] &= ~0x00000001u; } inline void VersionInfoNotification::clear_version_info() { if (version_info_ != NULL) version_info_->::bgs::protocol::authentication::v1::VersionInfo::Clear(); clear_has_version_info(); } inline const ::bgs::protocol::authentication::v1::VersionInfo& VersionInfoNotification::version_info() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VersionInfoNotification.version_info) return version_info_ != NULL ? *version_info_ : *default_instance_->version_info_; } inline ::bgs::protocol::authentication::v1::VersionInfo* VersionInfoNotification::mutable_version_info() { set_has_version_info(); if (version_info_ == NULL) version_info_ = new ::bgs::protocol::authentication::v1::VersionInfo; // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.VersionInfoNotification.version_info) return version_info_; } inline ::bgs::protocol::authentication::v1::VersionInfo* VersionInfoNotification::release_version_info() { clear_has_version_info(); ::bgs::protocol::authentication::v1::VersionInfo* temp = version_info_; version_info_ = NULL; return temp; } inline void VersionInfoNotification::set_allocated_version_info(::bgs::protocol::authentication::v1::VersionInfo* version_info) { delete version_info_; version_info_ = version_info; if (version_info) { set_has_version_info(); } else { clear_has_version_info(); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.VersionInfoNotification.version_info) } // ------------------------------------------------------------------- // GenerateWebCredentialsRequest // optional fixed32 program = 1; inline bool GenerateWebCredentialsRequest::has_program() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void GenerateWebCredentialsRequest::set_has_program() { _has_bits_[0] |= 0x00000001u; } inline void GenerateWebCredentialsRequest::clear_has_program() { _has_bits_[0] &= ~0x00000001u; } inline void GenerateWebCredentialsRequest::clear_program() { program_ = 0u; clear_has_program(); } inline ::google::protobuf::uint32 GenerateWebCredentialsRequest::program() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateWebCredentialsRequest.program) return program_; } inline void GenerateWebCredentialsRequest::set_program(::google::protobuf::uint32 value) { set_has_program(); program_ = value; // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateWebCredentialsRequest.program) } // ------------------------------------------------------------------- // GenerateWebCredentialsResponse // optional bytes web_credentials = 1; inline bool GenerateWebCredentialsResponse::has_web_credentials() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void GenerateWebCredentialsResponse::set_has_web_credentials() { _has_bits_[0] |= 0x00000001u; } inline void GenerateWebCredentialsResponse::clear_has_web_credentials() { _has_bits_[0] &= ~0x00000001u; } inline void GenerateWebCredentialsResponse::clear_web_credentials() { if (web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_->clear(); } clear_has_web_credentials(); } inline const ::std::string& GenerateWebCredentialsResponse::web_credentials() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) return *web_credentials_; } inline void GenerateWebCredentialsResponse::set_web_credentials(const ::std::string& value) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) } inline void GenerateWebCredentialsResponse::set_web_credentials(const char* value) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) } inline void GenerateWebCredentialsResponse::set_web_credentials(const void* value, size_t size) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) } inline ::std::string* GenerateWebCredentialsResponse::mutable_web_credentials() { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) return web_credentials_; } inline ::std::string* GenerateWebCredentialsResponse::release_web_credentials() { clear_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = web_credentials_; web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void GenerateWebCredentialsResponse::set_allocated_web_credentials(::std::string* web_credentials) { if (web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete web_credentials_; } if (web_credentials) { set_has_web_credentials(); web_credentials_ = web_credentials; } else { clear_has_web_credentials(); web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GenerateWebCredentialsResponse.web_credentials) } // ------------------------------------------------------------------- // VerifyWebCredentialsRequest // optional bytes web_credentials = 1; inline bool VerifyWebCredentialsRequest::has_web_credentials() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void VerifyWebCredentialsRequest::set_has_web_credentials() { _has_bits_[0] |= 0x00000001u; } inline void VerifyWebCredentialsRequest::clear_has_web_credentials() { _has_bits_[0] &= ~0x00000001u; } inline void VerifyWebCredentialsRequest::clear_web_credentials() { if (web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_->clear(); } clear_has_web_credentials(); } inline const ::std::string& VerifyWebCredentialsRequest::web_credentials() const { // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) return *web_credentials_; } inline void VerifyWebCredentialsRequest::set_web_credentials(const ::std::string& value) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(value); // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) } inline void VerifyWebCredentialsRequest::set_web_credentials(const char* value) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(value); // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) } inline void VerifyWebCredentialsRequest::set_web_credentials(const void* value, size_t size) { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } web_credentials_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) } inline ::std::string* VerifyWebCredentialsRequest::mutable_web_credentials() { set_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { web_credentials_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) return web_credentials_; } inline ::std::string* VerifyWebCredentialsRequest::release_web_credentials() { clear_has_web_credentials(); if (web_credentials_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = web_credentials_; web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void VerifyWebCredentialsRequest::set_allocated_web_credentials(::std::string* web_credentials) { if (web_credentials_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete web_credentials_; } if (web_credentials) { set_has_web_credentials(); web_credentials_ = web_credentials; } else { clear_has_web_credentials(); web_credentials_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.VerifyWebCredentialsRequest.web_credentials) } // @@protoc_insertion_point(namespace_scope) } // namespace v1 } // namespace authentication } // namespace protocol } // namespace bgs #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_authentication_5fservice_2eproto__INCLUDED