4 #ifndef PROTOBUF_Login_2eproto__INCLUDED
5 #define PROTOBUF_Login_2eproto__INCLUDED
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
61 return ::google::protobuf::internal::ParseNamedEnum<FormType>(
82 return ::google::protobuf::internal::ParseNamedEnum<AuthenticationState>(
100 return _unknown_fields_;
104 return &_unknown_fields_;
107 static const ::google::protobuf::Descriptor* descriptor();
108 static const FormInput& default_instance();
119 void SetCachedSize(
int size)
const;
128 inline bool has_input_id()
const;
129 inline void clear_input_id();
130 static const int kInputIdFieldNumber = 1;
131 inline const ::std::string& input_id()
const;
132 inline void set_input_id(const ::std::string&
value);
133 inline void set_input_id(
const char*
value);
134 inline void set_input_id(
const char*
value,
size_t size);
135 inline ::std::string* mutable_input_id();
136 inline ::std::string* release_input_id();
137 inline void set_allocated_input_id(::std::string* input_id);
140 inline bool has_type()
const;
141 inline void clear_type();
142 static const int kTypeFieldNumber = 2;
143 inline const ::std::string& type()
const;
144 inline void set_type(const ::std::string&
value);
145 inline void set_type(
const char*
value);
146 inline void set_type(
const char*
value,
size_t size);
147 inline ::std::string* mutable_type();
148 inline ::std::string* release_type();
149 inline void set_allocated_type(::std::string* type);
152 inline bool has_label()
const;
153 inline void clear_label();
154 static const int kLabelFieldNumber = 3;
155 inline const ::std::string& label()
const;
156 inline void set_label(const ::std::string&
value);
157 inline void set_label(
const char*
value);
158 inline void set_label(
const char*
value,
size_t size);
159 inline ::std::string* mutable_label();
160 inline ::std::string* release_label();
161 inline void set_allocated_label(::std::string* label);
164 inline bool has_max_length()
const;
165 inline void clear_max_length();
166 static const int kMaxLengthFieldNumber = 4;
172 inline void set_has_input_id();
173 inline void clear_has_input_id();
174 inline void set_has_type();
175 inline void clear_has_type();
176 inline void set_has_label();
177 inline void clear_has_label();
178 inline void set_has_max_length();
179 inline void clear_has_max_length();
193 void InitAsDefaultInstance();
211 return _unknown_fields_;
215 return &_unknown_fields_;
218 static const ::google::protobuf::Descriptor* descriptor();
230 void SetCachedSize(
int size)
const;
239 inline bool has_type()
const;
240 inline void clear_type();
241 static const int kTypeFieldNumber = 1;
246 inline int inputs_size()
const;
247 inline void clear_inputs();
248 static const int kInputsFieldNumber = 2;
249 inline const ::Battlenet::JSON::Login::FormInput& inputs(
int index)
const;
250 inline ::Battlenet::JSON::Login::FormInput* mutable_inputs(
int index);
251 inline ::Battlenet::JSON::Login::FormInput* add_inputs();
252 inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >&
254 inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >*
259 inline void set_has_type();
260 inline void clear_has_type();
272 void InitAsDefaultInstance();
290 return _unknown_fields_;
294 return &_unknown_fields_;
297 static const ::google::protobuf::Descriptor* descriptor();
309 void SetCachedSize(
int size)
const;
318 inline bool has_input_id()
const;
319 inline void clear_input_id();
320 static const int kInputIdFieldNumber = 1;
321 inline const ::std::string& input_id()
const;
322 inline void set_input_id(const ::std::string&
value);
323 inline void set_input_id(
const char*
value);
324 inline void set_input_id(
const char*
value,
size_t size);
325 inline ::std::string* mutable_input_id();
326 inline ::std::string* release_input_id();
327 inline void set_allocated_input_id(::std::string* input_id);
330 inline bool has_value()
const;
331 inline void clear_value();
332 static const int kValueFieldNumber = 2;
333 inline const ::std::string&
value()
const;
334 inline void set_value(const ::std::string&
value);
335 inline void set_value(
const char*
value);
336 inline void set_value(
const char*
value,
size_t size);
337 inline ::std::string* mutable_value();
338 inline ::std::string* release_value();
339 inline void set_allocated_value(::std::string*
value);
343 inline void set_has_input_id();
344 inline void clear_has_input_id();
345 inline void set_has_value();
346 inline void clear_has_value();
358 void InitAsDefaultInstance();
376 return _unknown_fields_;
380 return &_unknown_fields_;
383 static const ::google::protobuf::Descriptor* descriptor();
384 static const LoginForm& default_instance();
395 void SetCachedSize(
int size)
const;
404 inline bool has_platform_id()
const;
405 inline void clear_platform_id();
406 static const int kPlatformIdFieldNumber = 1;
407 inline const ::std::string& platform_id()
const;
408 inline void set_platform_id(const ::std::string&
value);
409 inline void set_platform_id(
const char*
value);
410 inline void set_platform_id(
const char*
value,
size_t size);
411 inline ::std::string* mutable_platform_id();
412 inline ::std::string* release_platform_id();
413 inline void set_allocated_platform_id(::std::string* platform_id);
416 inline bool has_program_id()
const;
417 inline void clear_program_id();
418 static const int kProgramIdFieldNumber = 2;
419 inline const ::std::string& program_id()
const;
420 inline void set_program_id(const ::std::string&
value);
421 inline void set_program_id(
const char*
value);
422 inline void set_program_id(
const char*
value,
size_t size);
423 inline ::std::string* mutable_program_id();
424 inline ::std::string* release_program_id();
425 inline void set_allocated_program_id(::std::string* program_id);
428 inline bool has_version()
const;
429 inline void clear_version();
430 static const int kVersionFieldNumber = 3;
431 inline const ::std::string& version()
const;
432 inline void set_version(const ::std::string&
value);
433 inline void set_version(
const char*
value);
434 inline void set_version(
const char*
value,
size_t size);
435 inline ::std::string* mutable_version();
436 inline ::std::string* release_version();
437 inline void set_allocated_version(::std::string* version);
440 inline int inputs_size()
const;
441 inline void clear_inputs();
442 static const int kInputsFieldNumber = 4;
443 inline const ::Battlenet::JSON::Login::FormInputValue& inputs(
int index)
const;
444 inline ::Battlenet::JSON::Login::FormInputValue* mutable_inputs(
int index);
445 inline ::Battlenet::JSON::Login::FormInputValue* add_inputs();
446 inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >&
448 inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >*
453 inline void set_has_platform_id();
454 inline void clear_has_platform_id();
455 inline void set_has_program_id();
456 inline void clear_has_program_id();
457 inline void set_has_version();
458 inline void clear_has_version();
472 void InitAsDefaultInstance();
490 return _unknown_fields_;
494 return &_unknown_fields_;
497 static const ::google::protobuf::Descriptor* descriptor();
509 void SetCachedSize(
int size)
const;
518 inline bool has_authentication_state()
const;
519 inline void clear_authentication_state();
520 static const int kAuthenticationStateFieldNumber = 1;
525 inline bool has_error_code()
const;
526 inline void clear_error_code();
527 static const int kErrorCodeFieldNumber = 2;
528 inline const ::std::string& error_code()
const;
529 inline void set_error_code(const ::std::string&
value);
530 inline void set_error_code(
const char*
value);
531 inline void set_error_code(
const char*
value,
size_t size);
532 inline ::std::string* mutable_error_code();
533 inline ::std::string* release_error_code();
534 inline void set_allocated_error_code(::std::string* error_code);
537 inline bool has_error_message()
const;
538 inline void clear_error_message();
539 static const int kErrorMessageFieldNumber = 3;
540 inline const ::std::string& error_message()
const;
541 inline void set_error_message(const ::std::string&
value);
542 inline void set_error_message(
const char*
value);
543 inline void set_error_message(
const char*
value,
size_t size);
544 inline ::std::string* mutable_error_message();
545 inline ::std::string* release_error_message();
546 inline void set_allocated_error_message(::std::string* error_message);
549 inline bool has_url()
const;
550 inline void clear_url();
551 static const int kUrlFieldNumber = 4;
552 inline const ::std::string& url()
const;
553 inline void set_url(const ::std::string&
value);
554 inline void set_url(
const char*
value);
555 inline void set_url(
const char*
value,
size_t size);
556 inline ::std::string* mutable_url();
557 inline ::std::string* release_url();
558 inline void set_allocated_url(::std::string* url);
561 inline bool has_login_ticket()
const;
562 inline void clear_login_ticket();
563 static const int kLoginTicketFieldNumber = 5;
564 inline const ::std::string& login_ticket()
const;
565 inline void set_login_ticket(const ::std::string&
value);
566 inline void set_login_ticket(
const char*
value);
567 inline void set_login_ticket(
const char*
value,
size_t size);
568 inline ::std::string* mutable_login_ticket();
569 inline ::std::string* release_login_ticket();
570 inline void set_allocated_login_ticket(::std::string* login_ticket);
574 inline void set_has_authentication_state();
575 inline void clear_has_authentication_state();
576 inline void set_has_error_code();
577 inline void clear_has_error_code();
578 inline void set_has_error_message();
579 inline void clear_has_error_message();
580 inline void set_has_url();
581 inline void clear_has_url();
582 inline void set_has_login_ticket();
583 inline void clear_has_login_ticket();
598 void InitAsDefaultInstance();
652 input_id_->assign(reinterpret_cast<const char*>(value), size);
710 type_ = new ::std::string;
712 type_->assign(value);
718 type_ = new ::std::string;
720 type_->assign(value);
726 type_ = new ::std::string;
728 type_->assign(reinterpret_cast<const char*>(value), size);
734 type_ = new ::std::string;
744 ::std::string* temp =
type_;
786 label_ = new ::std::string;
794 label_ = new ::std::string;
802 label_ = new ::std::string;
804 label_->assign(reinterpret_cast<const char*>(value), size);
810 label_ = new ::std::string;
820 ::std::string* temp =
label_;
911 inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >&
916 inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >*
967 input_id_->assign(reinterpret_cast<const char*>(value), size);
1025 value_ = new ::std::string;
1033 value_ = new ::std::string;
1041 value_ = new ::std::string;
1043 value_->assign(reinterpret_cast<const char*>(value), size);
1049 value_ = new ::std::string;
1059 ::std::string* temp =
value_;
1123 platform_id_->assign(reinterpret_cast<const char*>(value), size);
1199 program_id_->assign(reinterpret_cast<const char*>(value), size);
1275 version_->assign(reinterpret_cast<const char*>(value), size);
1323 return inputs_.Mutable(index);
1329 inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >&
1334 inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >*
1410 error_code_->assign(reinterpret_cast<const char*>(value), size);
1486 error_message_->assign(reinterpret_cast<const char*>(value), size);
1511 if (error_message) {
1544 url_ = new ::std::string;
1546 url_->assign(value);
1552 url_ = new ::std::string;
1554 url_->assign(value);
1560 url_ = new ::std::string;
1562 url_->assign(reinterpret_cast<const char*>(value), size);
1568 url_ = new ::std::string;
1578 ::std::string* temp =
url_;
1638 login_ticket_->assign(reinterpret_cast<const char*>(value), size);
1682 namespace protobuf {
1686 inline const EnumDescriptor* GetEnumDescriptor< ::Battlenet::JSON::Login::FormType>() {
1691 inline const EnumDescriptor* GetEnumDescriptor< ::Battlenet::JSON::Login::AuthenticationState>() {
1701 #endif // PROTOBUF_Login_2eproto__INCLUDED
Definition: Login.pb.h:66
int authentication_state_
Definition: Login.pb.h:593
Definition: Login.pb.h:68
void set_error_message(const ::std::string &value)
Definition: Login.pb.h:1465
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: Login.pb.h:585
::std::string * url_
Definition: Login.pb.h:591
void set_allocated_login_ticket(::std::string *login_ticket)
Definition: Login.pb.h:1659
AuthenticationState
Definition: Login.pb.h:64
const AuthenticationState AuthenticationState_MIN
Definition: Login.pb.h:71
void clear_has_url()
Definition: Login.pb.h:1528
void clear_url()
Definition: Login.pb.h:1531
const AuthenticationState AuthenticationState_MAX
Definition: Login.pb.h:72
void clear_login_ticket()
Definition: Login.pb.h:1607
void clear_error_code()
Definition: Login.pb.h:1379
const int AuthenticationState_ARRAYSIZE
Definition: Login.pb.h:73
inline::std::string * release_url()
Definition: Login.pb.h:1573
bool FormType_Parse(const ::std::string &name, FormType *value)
Definition: Login.pb.h:59
void clear_has_error_code()
Definition: Login.pb.h:1376
void set_allocated_error_message(::std::string *error_message)
Definition: Login.pb.h:1507
inline::std::string * mutable_error_message()
Definition: Login.pb.h:1489
LIBPROTOBUF_EXPORT const string & NameOfEnum(const EnumDescriptor *descriptor, int value)
Definition: method_options.pb.h:28
void set_allocated_error_code(::std::string *error_code)
Definition: Login.pb.h:1431
void TC_SHARED_API protobuf_AddDesc_Login_2eproto()
Definition: unknown_field_set.h:74
void set_has_url()
Definition: Login.pb.h:1525
bool has_error_message() const
Definition: Login.pb.h:1446
TC_SHARED_APIconst::google::protobuf::EnumDescriptor * FormType_descriptor()
inline::std::string * release_login_ticket()
Definition: Login.pb.h:1649
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: descriptor.h:683
Definition: Login.pb.h:65
FormType
Definition: Login.pb.h:46
Definition: message.h:147
void clear_authentication_state()
Definition: Login.pb.h:1354
int _cached_size_
Definition: Login.pb.h:588
::google::protobuf::uint32 _has_bits_[1]
Definition: Login.pb.h:587
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
static LoginResult * default_instance_
Definition: Login.pb.h:599
void set_allocated_url(::std::string *url)
Definition: Login.pb.h:1583
bool has_authentication_state() const
Definition: Login.pb.h:1345
void set_url(const ::std::string &value)
Definition: Login.pb.h:1541
void clear_has_login_ticket()
Definition: Login.pb.h:1604
Definition: Login.pb.h:47
const FormType FormType_MAX
Definition: Login.pb.h:51
TC_SHARED_APIconst::google::protobuf::EnumDescriptor * AuthenticationState_descriptor()
Definition: message.h:165
inline::std::string * release_error_message()
Definition: Login.pb.h:1497
void set_error_code(const ::std::string &value)
Definition: Login.pb.h:1389
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Login.pb.h:493
void set_has_authentication_state()
Definition: Login.pb.h:1348
Definition: template_util.h:77
::std::string * error_code_
Definition: Login.pb.h:589
const ::std::string & FormType_Name(FormType value)
Definition: Login.pb.h:55
void clear_has_authentication_state()
Definition: Login.pb.h:1351
void set_has_error_code()
Definition: Login.pb.h:1373
void clear_has_error_message()
Definition: Login.pb.h:1452
int GetCachedSize() const
Definition: Login.pb.h:505
inline::std::string * release_error_code()
Definition: Login.pb.h:1421
::std::string * error_message_
Definition: Login.pb.h:590
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Login.pb.h:489
void set_login_ticket(const ::std::string &value)
Definition: Login.pb.h:1617
bool has_url() const
Definition: Login.pb.h:1522
void set_has_error_message()
Definition: Login.pb.h:1449
TC_SHARED_API bool AuthenticationState_IsValid(int value)
Definition: generated_enum_reflection.h:55
uint32_t uint32
Definition: common.h:177
#define TC_SHARED_API
Definition: Define.h:128
void protobuf_AssignDesc_Login_2eproto()
const ::std::string & login_ticket() const
Definition: Login.pb.h:1613
inline::std::string * mutable_url()
Definition: Login.pb.h:1565
::std::string * login_ticket_
Definition: Login.pb.h:592
void protobuf_ShutdownFile_Login_2eproto()
void set_authentication_state(::Battlenet::JSON::Login::AuthenticationState value)
Definition: Login.pb.h:1362
inline::std::string * mutable_login_ticket()
Definition: Login.pb.h:1641
const int FormType_ARRAYSIZE
Definition: Login.pb.h:52
bool has_error_code() const
Definition: Login.pb.h:1370
LoginResult & operator=(const LoginResult &from)
Definition: Login.pb.h:484
bool AuthenticationState_Parse(const ::std::string &name, AuthenticationState *value)
Definition: Login.pb.h:80
bool has_login_ticket() const
Definition: Login.pb.h:1598
Definition: Login.pb.h:477
const ::std::string & error_message() const
Definition: Login.pb.h:1461
Definition: BnetFileGenerator.h:47
inline::Battlenet::JSON::Login::AuthenticationState authentication_state() const
Definition: Login.pb.h:1358
const FieldDescriptor value
Definition: descriptor.h:1522
uint32_t uint32
Definition: g3dmath.h:168
const ::std::string & error_code() const
Definition: Login.pb.h:1385
void set_has_login_ticket()
Definition: Login.pb.h:1601
TC_SHARED_API bool FormType_IsValid(int value)
const ::std::string & AuthenticationState_Name(AuthenticationState value)
Definition: Login.pb.h:76
const ::std::string & url() const
Definition: Login.pb.h:1537
const FormType FormType_MIN
Definition: Login.pb.h:50
inline::std::string * mutable_error_code()
Definition: Login.pb.h:1413
void clear_error_message()
Definition: Login.pb.h:1455
Definition: RealmList.pb.h:30
Definition: Login.pb.h:67