TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
challenge_service.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: challenge_service.proto
3 
4 #ifndef PROTOBUF_challenge_5fservice_2eproto__INCLUDED
5 #define PROTOBUF_challenge_5fservice_2eproto__INCLUDED
6 
7 #include <string>
8 
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
27 #include "attribute_types.pb.h"
28 #include "entity_types.pb.h"
29 #include "rpc_types.pb.h"
30 #include "ServiceBase.h"
31 #include "MessageBuffer.h"
32 #include <functional>
33 #include <type_traits>
34 // @@protoc_insertion_point(includes)
35 
36 namespace bgs {
37 namespace protocol {
38 namespace challenge {
39 namespace v1 {
40 
41 // Internal implementation detail -- do not call these.
45 
46 class Challenge;
58 
59 // ===================================================================
60 
62  public:
63  Challenge();
64  virtual ~Challenge();
65 
66  Challenge(const Challenge& from);
67 
68  inline Challenge& operator=(const Challenge& from) {
69  CopyFrom(from);
70  return *this;
71  }
72 
73  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
74  return _unknown_fields_;
75  }
76 
77  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
78  return &_unknown_fields_;
79  }
80 
81  static const ::google::protobuf::Descriptor* descriptor();
82  static const Challenge& default_instance();
83 
84  void Swap(Challenge* other);
85 
86  // implements Message ----------------------------------------------
87 
88  Challenge* New() const;
89  void CopyFrom(const ::google::protobuf::Message& from);
90  void MergeFrom(const ::google::protobuf::Message& from);
91  void CopyFrom(const Challenge& from);
92  void MergeFrom(const Challenge& from);
93  void Clear();
94  bool IsInitialized() const;
95 
96  int ByteSize() const;
97  bool MergePartialFromCodedStream(
99  void SerializeWithCachedSizes(
101  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
102  int GetCachedSize() const { return _cached_size_; }
103  private:
104  void SharedCtor();
105  void SharedDtor();
106  void SetCachedSize(int size) const;
107  public:
108  ::google::protobuf::Metadata GetMetadata() const;
109 
110  // nested types ----------------------------------------------------
111 
112  // accessors -------------------------------------------------------
113 
114  // required fixed32 type = 1;
115  inline bool has_type() const;
116  inline void clear_type();
117  static const int kTypeFieldNumber = 1;
119  inline void set_type(::google::protobuf::uint32 value);
120 
121  // optional string info = 2;
122  inline bool has_info() const;
123  inline void clear_info();
124  static const int kInfoFieldNumber = 2;
125  inline const ::std::string& info() const;
126  inline void set_info(const ::std::string& value);
127  inline void set_info(const char* value);
128  inline void set_info(const char* value, size_t size);
129  inline ::std::string* mutable_info();
130  inline ::std::string* release_info();
131  inline void set_allocated_info(::std::string* info);
132 
133  // optional string answer = 3;
134  inline bool has_answer() const;
135  inline void clear_answer();
136  static const int kAnswerFieldNumber = 3;
137  inline const ::std::string& answer() const;
138  inline void set_answer(const ::std::string& value);
139  inline void set_answer(const char* value);
140  inline void set_answer(const char* value, size_t size);
141  inline ::std::string* mutable_answer();
142  inline ::std::string* release_answer();
143  inline void set_allocated_answer(::std::string* answer);
144 
145  // optional uint32 retries = 4;
146  inline bool has_retries() const;
147  inline void clear_retries();
148  static const int kRetriesFieldNumber = 4;
149  inline ::google::protobuf::uint32 retries() const;
150  inline void set_retries(::google::protobuf::uint32 value);
151 
152  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.Challenge)
153  private:
154  inline void set_has_type();
155  inline void clear_has_type();
156  inline void set_has_info();
157  inline void clear_has_info();
158  inline void set_has_answer();
159  inline void clear_has_answer();
160  inline void set_has_retries();
161  inline void clear_has_retries();
162 
164 
166  mutable int _cached_size_;
167  ::std::string* info_;
170  ::std::string* answer_;
174 
175  void InitAsDefaultInstance();
177 };
178 // -------------------------------------------------------------------
179 
181  public:
183  virtual ~ChallengePickedRequest();
184 
186 
188  CopyFrom(from);
189  return *this;
190  }
191 
192  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
193  return _unknown_fields_;
194  }
195 
196  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
197  return &_unknown_fields_;
198  }
199 
200  static const ::google::protobuf::Descriptor* descriptor();
201  static const ChallengePickedRequest& default_instance();
202 
203  void Swap(ChallengePickedRequest* other);
204 
205  // implements Message ----------------------------------------------
206 
207  ChallengePickedRequest* New() const;
208  void CopyFrom(const ::google::protobuf::Message& from);
209  void MergeFrom(const ::google::protobuf::Message& from);
210  void CopyFrom(const ChallengePickedRequest& from);
211  void MergeFrom(const ChallengePickedRequest& from);
212  void Clear();
213  bool IsInitialized() const;
214 
215  int ByteSize() const;
216  bool MergePartialFromCodedStream(
218  void SerializeWithCachedSizes(
220  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
221  int GetCachedSize() const { return _cached_size_; }
222  private:
223  void SharedCtor();
224  void SharedDtor();
225  void SetCachedSize(int size) const;
226  public:
227  ::google::protobuf::Metadata GetMetadata() const;
228 
229  // nested types ----------------------------------------------------
230 
231  // accessors -------------------------------------------------------
232 
233  // required fixed32 challenge = 1;
234  inline bool has_challenge() const;
235  inline void clear_challenge();
236  static const int kChallengeFieldNumber = 1;
237  inline ::google::protobuf::uint32 challenge() const;
238  inline void set_challenge(::google::protobuf::uint32 value);
239 
240  // optional uint32 id = 2;
241  inline bool has_id() const;
242  inline void clear_id();
243  static const int kIdFieldNumber = 2;
245  inline void set_id(::google::protobuf::uint32 value);
246 
247  // optional bool new_challenge_protocol = 3 [default = false];
248  inline bool has_new_challenge_protocol() const;
249  inline void clear_new_challenge_protocol();
250  static const int kNewChallengeProtocolFieldNumber = 3;
251  inline bool new_challenge_protocol() const;
252  inline void set_new_challenge_protocol(bool value);
253 
254  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengePickedRequest)
255  private:
256  inline void set_has_challenge();
257  inline void clear_has_challenge();
258  inline void set_has_id();
259  inline void clear_has_id();
260  inline void set_has_new_challenge_protocol();
261  inline void clear_has_new_challenge_protocol();
262 
264 
266  mutable int _cached_size_;
273 
274  void InitAsDefaultInstance();
276 };
277 // -------------------------------------------------------------------
278 
280  public:
282  virtual ~ChallengePickedResponse();
283 
285 
287  CopyFrom(from);
288  return *this;
289  }
290 
291  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
292  return _unknown_fields_;
293  }
294 
295  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
296  return &_unknown_fields_;
297  }
298 
299  static const ::google::protobuf::Descriptor* descriptor();
300  static const ChallengePickedResponse& default_instance();
301 
302  void Swap(ChallengePickedResponse* other);
303 
304  // implements Message ----------------------------------------------
305 
306  ChallengePickedResponse* New() const;
307  void CopyFrom(const ::google::protobuf::Message& from);
308  void MergeFrom(const ::google::protobuf::Message& from);
309  void CopyFrom(const ChallengePickedResponse& from);
310  void MergeFrom(const ChallengePickedResponse& from);
311  void Clear();
312  bool IsInitialized() const;
313 
314  int ByteSize() const;
315  bool MergePartialFromCodedStream(
317  void SerializeWithCachedSizes(
319  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
320  int GetCachedSize() const { return _cached_size_; }
321  private:
322  void SharedCtor();
323  void SharedDtor();
324  void SetCachedSize(int size) const;
325  public:
326  ::google::protobuf::Metadata GetMetadata() const;
327 
328  // nested types ----------------------------------------------------
329 
330  // accessors -------------------------------------------------------
331 
332  // optional bytes data = 1;
333  inline bool has_data() const;
334  inline void clear_data();
335  static const int kDataFieldNumber = 1;
336  inline const ::std::string& data() const;
337  inline void set_data(const ::std::string& value);
338  inline void set_data(const char* value);
339  inline void set_data(const void* value, size_t size);
340  inline ::std::string* mutable_data();
341  inline ::std::string* release_data();
342  inline void set_allocated_data(::std::string* data);
343 
344  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengePickedResponse)
345  private:
346  inline void set_has_data();
347  inline void clear_has_data();
348 
350 
352  mutable int _cached_size_;
353  ::std::string* data_;
357 
358  void InitAsDefaultInstance();
360 };
361 // -------------------------------------------------------------------
362 
364  public:
366  virtual ~ChallengeAnsweredRequest();
367 
369 
371  CopyFrom(from);
372  return *this;
373  }
374 
375  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
376  return _unknown_fields_;
377  }
378 
379  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
380  return &_unknown_fields_;
381  }
382 
383  static const ::google::protobuf::Descriptor* descriptor();
384  static const ChallengeAnsweredRequest& default_instance();
385 
386  void Swap(ChallengeAnsweredRequest* other);
387 
388  // implements Message ----------------------------------------------
389 
390  ChallengeAnsweredRequest* New() const;
391  void CopyFrom(const ::google::protobuf::Message& from);
392  void MergeFrom(const ::google::protobuf::Message& from);
393  void CopyFrom(const ChallengeAnsweredRequest& from);
394  void MergeFrom(const ChallengeAnsweredRequest& from);
395  void Clear();
396  bool IsInitialized() const;
397 
398  int ByteSize() const;
399  bool MergePartialFromCodedStream(
401  void SerializeWithCachedSizes(
403  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
404  int GetCachedSize() const { return _cached_size_; }
405  private:
406  void SharedCtor();
407  void SharedDtor();
408  void SetCachedSize(int size) const;
409  public:
410  ::google::protobuf::Metadata GetMetadata() const;
411 
412  // nested types ----------------------------------------------------
413 
414  // accessors -------------------------------------------------------
415 
416  // required string answer = 1;
417  inline bool has_answer() const;
418  inline void clear_answer();
419  static const int kAnswerFieldNumber = 1;
420  inline const ::std::string& answer() const;
421  inline void set_answer(const ::std::string& value);
422  inline void set_answer(const char* value);
423  inline void set_answer(const char* value, size_t size);
424  inline ::std::string* mutable_answer();
425  inline ::std::string* release_answer();
426  inline void set_allocated_answer(::std::string* answer);
427 
428  // optional bytes data = 2;
429  inline bool has_data() const;
430  inline void clear_data();
431  static const int kDataFieldNumber = 2;
432  inline const ::std::string& data() const;
433  inline void set_data(const ::std::string& value);
434  inline void set_data(const char* value);
435  inline void set_data(const void* value, size_t size);
436  inline ::std::string* mutable_data();
437  inline ::std::string* release_data();
438  inline void set_allocated_data(::std::string* data);
439 
440  // optional uint32 id = 3;
441  inline bool has_id() const;
442  inline void clear_id();
443  static const int kIdFieldNumber = 3;
445  inline void set_id(::google::protobuf::uint32 value);
446 
447  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeAnsweredRequest)
448  private:
449  inline void set_has_answer();
450  inline void clear_has_answer();
451  inline void set_has_data();
452  inline void clear_has_data();
453  inline void set_has_id();
454  inline void clear_has_id();
455 
457 
459  mutable int _cached_size_;
460  ::std::string* answer_;
461  ::std::string* data_;
466 
467  void InitAsDefaultInstance();
469 };
470 // -------------------------------------------------------------------
471 
473  public:
475  virtual ~ChallengeAnsweredResponse();
476 
478 
480  CopyFrom(from);
481  return *this;
482  }
483 
484  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
485  return _unknown_fields_;
486  }
487 
488  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
489  return &_unknown_fields_;
490  }
491 
492  static const ::google::protobuf::Descriptor* descriptor();
493  static const ChallengeAnsweredResponse& default_instance();
494 
495  void Swap(ChallengeAnsweredResponse* other);
496 
497  // implements Message ----------------------------------------------
498 
499  ChallengeAnsweredResponse* New() const;
500  void CopyFrom(const ::google::protobuf::Message& from);
501  void MergeFrom(const ::google::protobuf::Message& from);
502  void CopyFrom(const ChallengeAnsweredResponse& from);
503  void MergeFrom(const ChallengeAnsweredResponse& from);
504  void Clear();
505  bool IsInitialized() const;
506 
507  int ByteSize() const;
508  bool MergePartialFromCodedStream(
510  void SerializeWithCachedSizes(
512  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
513  int GetCachedSize() const { return _cached_size_; }
514  private:
515  void SharedCtor();
516  void SharedDtor();
517  void SetCachedSize(int size) const;
518  public:
519  ::google::protobuf::Metadata GetMetadata() const;
520 
521  // nested types ----------------------------------------------------
522 
523  // accessors -------------------------------------------------------
524 
525  // optional bytes data = 1;
526  inline bool has_data() const;
527  inline void clear_data();
528  static const int kDataFieldNumber = 1;
529  inline const ::std::string& data() const;
530  inline void set_data(const ::std::string& value);
531  inline void set_data(const char* value);
532  inline void set_data(const void* value, size_t size);
533  inline ::std::string* mutable_data();
534  inline ::std::string* release_data();
535  inline void set_allocated_data(::std::string* data);
536 
537  // optional bool do_retry = 2;
538  inline bool has_do_retry() const;
539  inline void clear_do_retry();
540  static const int kDoRetryFieldNumber = 2;
541  inline bool do_retry() const;
542  inline void set_do_retry(bool value);
543 
544  // optional bool record_not_found = 3;
545  inline bool has_record_not_found() const;
546  inline void clear_record_not_found();
547  static const int kRecordNotFoundFieldNumber = 3;
548  inline bool record_not_found() const;
549  inline void set_record_not_found(bool value);
550 
551  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeAnsweredResponse)
552  private:
553  inline void set_has_data();
554  inline void clear_has_data();
555  inline void set_has_do_retry();
556  inline void clear_has_do_retry();
557  inline void set_has_record_not_found();
558  inline void clear_has_record_not_found();
559 
561 
563  mutable int _cached_size_;
564  ::std::string* data_;
565  bool do_retry_;
570 
571  void InitAsDefaultInstance();
573 };
574 // -------------------------------------------------------------------
575 
577  public:
579  virtual ~ChallengeCancelledRequest();
580 
582 
584  CopyFrom(from);
585  return *this;
586  }
587 
588  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
589  return _unknown_fields_;
590  }
591 
592  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
593  return &_unknown_fields_;
594  }
595 
596  static const ::google::protobuf::Descriptor* descriptor();
597  static const ChallengeCancelledRequest& default_instance();
598 
599  void Swap(ChallengeCancelledRequest* other);
600 
601  // implements Message ----------------------------------------------
602 
603  ChallengeCancelledRequest* New() const;
604  void CopyFrom(const ::google::protobuf::Message& from);
605  void MergeFrom(const ::google::protobuf::Message& from);
606  void CopyFrom(const ChallengeCancelledRequest& from);
607  void MergeFrom(const ChallengeCancelledRequest& from);
608  void Clear();
609  bool IsInitialized() const;
610 
611  int ByteSize() const;
612  bool MergePartialFromCodedStream(
614  void SerializeWithCachedSizes(
616  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
617  int GetCachedSize() const { return _cached_size_; }
618  private:
619  void SharedCtor();
620  void SharedDtor();
621  void SetCachedSize(int size) const;
622  public:
623  ::google::protobuf::Metadata GetMetadata() const;
624 
625  // nested types ----------------------------------------------------
626 
627  // accessors -------------------------------------------------------
628 
629  // optional uint32 id = 1;
630  inline bool has_id() const;
631  inline void clear_id();
632  static const int kIdFieldNumber = 1;
634  inline void set_id(::google::protobuf::uint32 value);
635 
636  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeCancelledRequest)
637  private:
638  inline void set_has_id();
639  inline void clear_has_id();
640 
642 
644  mutable int _cached_size_;
649 
650  void InitAsDefaultInstance();
652 };
653 // -------------------------------------------------------------------
654 
656  public:
658  virtual ~SendChallengeToUserRequest();
659 
661 
663  CopyFrom(from);
664  return *this;
665  }
666 
667  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
668  return _unknown_fields_;
669  }
670 
671  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
672  return &_unknown_fields_;
673  }
674 
675  static const ::google::protobuf::Descriptor* descriptor();
676  static const SendChallengeToUserRequest& default_instance();
677 
678  void Swap(SendChallengeToUserRequest* other);
679 
680  // implements Message ----------------------------------------------
681 
682  SendChallengeToUserRequest* New() const;
683  void CopyFrom(const ::google::protobuf::Message& from);
684  void MergeFrom(const ::google::protobuf::Message& from);
685  void CopyFrom(const SendChallengeToUserRequest& from);
686  void MergeFrom(const SendChallengeToUserRequest& from);
687  void Clear();
688  bool IsInitialized() const;
689 
690  int ByteSize() const;
691  bool MergePartialFromCodedStream(
693  void SerializeWithCachedSizes(
695  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
696  int GetCachedSize() const { return _cached_size_; }
697  private:
698  void SharedCtor();
699  void SharedDtor();
700  void SetCachedSize(int size) const;
701  public:
702  ::google::protobuf::Metadata GetMetadata() const;
703 
704  // nested types ----------------------------------------------------
705 
706  // accessors -------------------------------------------------------
707 
708  // optional .bgs.protocol.ProcessId peer_id = 1;
709  inline bool has_peer_id() const;
710  inline void clear_peer_id();
711  static const int kPeerIdFieldNumber = 1;
712  inline const ::bgs::protocol::ProcessId& peer_id() const;
713  inline ::bgs::protocol::ProcessId* mutable_peer_id();
714  inline ::bgs::protocol::ProcessId* release_peer_id();
715  inline void set_allocated_peer_id(::bgs::protocol::ProcessId* peer_id);
716 
717  // optional .bgs.protocol.EntityId game_account_id = 2;
718  inline bool has_game_account_id() const;
719  inline void clear_game_account_id();
720  static const int kGameAccountIdFieldNumber = 2;
721  inline const ::bgs::protocol::EntityId& game_account_id() const;
722  inline ::bgs::protocol::EntityId* mutable_game_account_id();
723  inline ::bgs::protocol::EntityId* release_game_account_id();
724  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
725 
726  // repeated .bgs.protocol.challenge.v1.Challenge challenges = 3;
727  inline int challenges_size() const;
728  inline void clear_challenges();
729  static const int kChallengesFieldNumber = 3;
730  inline const ::bgs::protocol::challenge::v1::Challenge& challenges(int index) const;
731  inline ::bgs::protocol::challenge::v1::Challenge* mutable_challenges(int index);
732  inline ::bgs::protocol::challenge::v1::Challenge* add_challenges();
733  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >&
734  challenges() const;
735  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >*
736  mutable_challenges();
737 
738  // required fixed32 context = 4;
739  inline bool has_context() const;
740  inline void clear_context();
741  static const int kContextFieldNumber = 4;
742  inline ::google::protobuf::uint32 context() const;
743  inline void set_context(::google::protobuf::uint32 value);
744 
745  // optional uint64 timeout = 5;
746  inline bool has_timeout() const;
747  inline void clear_timeout();
748  static const int kTimeoutFieldNumber = 5;
749  inline ::google::protobuf::uint64 timeout() const;
750  inline void set_timeout(::google::protobuf::uint64 value);
751 
752  // repeated .bgs.protocol.Attribute attributes = 6;
753  inline int attributes_size() const;
754  inline void clear_attributes();
755  static const int kAttributesFieldNumber = 6;
756  inline const ::bgs::protocol::Attribute& attributes(int index) const;
757  inline ::bgs::protocol::Attribute* mutable_attributes(int index);
758  inline ::bgs::protocol::Attribute* add_attributes();
759  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
760  attributes() const;
761  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
762  mutable_attributes();
763 
764  // optional .bgs.protocol.ProcessId host = 7;
765  inline bool has_host() const;
766  inline void clear_host();
767  static const int kHostFieldNumber = 7;
768  inline const ::bgs::protocol::ProcessId& host() const;
769  inline ::bgs::protocol::ProcessId* mutable_host();
770  inline ::bgs::protocol::ProcessId* release_host();
771  inline void set_allocated_host(::bgs::protocol::ProcessId* host);
772 
773  // optional .bgs.protocol.EntityId account_id = 8;
774  inline bool has_account_id() const;
775  inline void clear_account_id();
776  static const int kAccountIdFieldNumber = 8;
777  inline const ::bgs::protocol::EntityId& account_id() const;
778  inline ::bgs::protocol::EntityId* mutable_account_id();
779  inline ::bgs::protocol::EntityId* release_account_id();
780  inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
781 
782  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.SendChallengeToUserRequest)
783  private:
784  inline void set_has_peer_id();
785  inline void clear_has_peer_id();
786  inline void set_has_game_account_id();
787  inline void clear_has_game_account_id();
788  inline void set_has_context();
789  inline void clear_has_context();
790  inline void set_has_timeout();
791  inline void clear_has_timeout();
792  inline void set_has_host();
793  inline void clear_has_host();
794  inline void set_has_account_id();
795  inline void clear_has_account_id();
796 
798 
800  mutable int _cached_size_;
812 
813  void InitAsDefaultInstance();
815 };
816 // -------------------------------------------------------------------
817 
819  public:
821  virtual ~SendChallengeToUserResponse();
822 
824 
826  CopyFrom(from);
827  return *this;
828  }
829 
830  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
831  return _unknown_fields_;
832  }
833 
834  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
835  return &_unknown_fields_;
836  }
837 
838  static const ::google::protobuf::Descriptor* descriptor();
839  static const SendChallengeToUserResponse& default_instance();
840 
841  void Swap(SendChallengeToUserResponse* other);
842 
843  // implements Message ----------------------------------------------
844 
845  SendChallengeToUserResponse* New() const;
846  void CopyFrom(const ::google::protobuf::Message& from);
847  void MergeFrom(const ::google::protobuf::Message& from);
848  void CopyFrom(const SendChallengeToUserResponse& from);
849  void MergeFrom(const SendChallengeToUserResponse& from);
850  void Clear();
851  bool IsInitialized() const;
852 
853  int ByteSize() const;
854  bool MergePartialFromCodedStream(
856  void SerializeWithCachedSizes(
858  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
859  int GetCachedSize() const { return _cached_size_; }
860  private:
861  void SharedCtor();
862  void SharedDtor();
863  void SetCachedSize(int size) const;
864  public:
865  ::google::protobuf::Metadata GetMetadata() const;
866 
867  // nested types ----------------------------------------------------
868 
869  // accessors -------------------------------------------------------
870 
871  // optional uint32 id = 1;
872  inline bool has_id() const;
873  inline void clear_id();
874  static const int kIdFieldNumber = 1;
876  inline void set_id(::google::protobuf::uint32 value);
877 
878  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.SendChallengeToUserResponse)
879  private:
880  inline void set_has_id();
881  inline void clear_has_id();
882 
884 
886  mutable int _cached_size_;
891 
892  void InitAsDefaultInstance();
894 };
895 // -------------------------------------------------------------------
896 
898  public:
900  virtual ~ChallengeUserRequest();
901 
903 
905  CopyFrom(from);
906  return *this;
907  }
908 
909  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
910  return _unknown_fields_;
911  }
912 
913  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
914  return &_unknown_fields_;
915  }
916 
917  static const ::google::protobuf::Descriptor* descriptor();
918  static const ChallengeUserRequest& default_instance();
919 
920  void Swap(ChallengeUserRequest* other);
921 
922  // implements Message ----------------------------------------------
923 
924  ChallengeUserRequest* New() const;
925  void CopyFrom(const ::google::protobuf::Message& from);
926  void MergeFrom(const ::google::protobuf::Message& from);
927  void CopyFrom(const ChallengeUserRequest& from);
928  void MergeFrom(const ChallengeUserRequest& from);
929  void Clear();
930  bool IsInitialized() const;
931 
932  int ByteSize() const;
933  bool MergePartialFromCodedStream(
935  void SerializeWithCachedSizes(
937  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
938  int GetCachedSize() const { return _cached_size_; }
939  private:
940  void SharedCtor();
941  void SharedDtor();
942  void SetCachedSize(int size) const;
943  public:
944  ::google::protobuf::Metadata GetMetadata() const;
945 
946  // nested types ----------------------------------------------------
947 
948  // accessors -------------------------------------------------------
949 
950  // repeated .bgs.protocol.challenge.v1.Challenge challenges = 1;
951  inline int challenges_size() const;
952  inline void clear_challenges();
953  static const int kChallengesFieldNumber = 1;
954  inline const ::bgs::protocol::challenge::v1::Challenge& challenges(int index) const;
955  inline ::bgs::protocol::challenge::v1::Challenge* mutable_challenges(int index);
956  inline ::bgs::protocol::challenge::v1::Challenge* add_challenges();
957  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >&
958  challenges() const;
959  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >*
960  mutable_challenges();
961 
962  // required fixed32 context = 2;
963  inline bool has_context() const;
964  inline void clear_context();
965  static const int kContextFieldNumber = 2;
966  inline ::google::protobuf::uint32 context() const;
967  inline void set_context(::google::protobuf::uint32 value);
968 
969  // optional uint32 id = 3;
970  inline bool has_id() const;
971  inline void clear_id();
972  static const int kIdFieldNumber = 3;
974  inline void set_id(::google::protobuf::uint32 value);
975 
976  // optional uint64 deadline = 4;
977  inline bool has_deadline() const;
978  inline void clear_deadline();
979  static const int kDeadlineFieldNumber = 4;
980  inline ::google::protobuf::uint64 deadline() const;
981  inline void set_deadline(::google::protobuf::uint64 value);
982 
983  // repeated .bgs.protocol.Attribute attributes = 5;
984  inline int attributes_size() const;
985  inline void clear_attributes();
986  static const int kAttributesFieldNumber = 5;
987  inline const ::bgs::protocol::Attribute& attributes(int index) const;
988  inline ::bgs::protocol::Attribute* mutable_attributes(int index);
989  inline ::bgs::protocol::Attribute* add_attributes();
990  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
991  attributes() const;
992  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
993  mutable_attributes();
994 
995  // optional .bgs.protocol.EntityId game_account_id = 6;
996  inline bool has_game_account_id() const;
997  inline void clear_game_account_id();
998  static const int kGameAccountIdFieldNumber = 6;
999  inline const ::bgs::protocol::EntityId& game_account_id() const;
1000  inline ::bgs::protocol::EntityId* mutable_game_account_id();
1001  inline ::bgs::protocol::EntityId* release_game_account_id();
1002  inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
1003 
1004  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeUserRequest)
1005  private:
1006  inline void set_has_context();
1007  inline void clear_has_context();
1008  inline void set_has_id();
1009  inline void clear_has_id();
1010  inline void set_has_deadline();
1011  inline void clear_has_deadline();
1012  inline void set_has_game_account_id();
1013  inline void clear_has_game_account_id();
1014 
1016 
1018  mutable int _cached_size_;
1028 
1029  void InitAsDefaultInstance();
1031 };
1032 // -------------------------------------------------------------------
1033 
1035  public:
1037  virtual ~ChallengeResultRequest();
1038 
1040 
1042  CopyFrom(from);
1043  return *this;
1044  }
1045 
1046  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1047  return _unknown_fields_;
1048  }
1049 
1050  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1051  return &_unknown_fields_;
1052  }
1053 
1054  static const ::google::protobuf::Descriptor* descriptor();
1055  static const ChallengeResultRequest& default_instance();
1056 
1057  void Swap(ChallengeResultRequest* other);
1058 
1059  // implements Message ----------------------------------------------
1060 
1061  ChallengeResultRequest* New() const;
1062  void CopyFrom(const ::google::protobuf::Message& from);
1063  void MergeFrom(const ::google::protobuf::Message& from);
1064  void CopyFrom(const ChallengeResultRequest& from);
1065  void MergeFrom(const ChallengeResultRequest& from);
1066  void Clear();
1067  bool IsInitialized() const;
1068 
1069  int ByteSize() const;
1070  bool MergePartialFromCodedStream(
1072  void SerializeWithCachedSizes(
1074  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1075  int GetCachedSize() const { return _cached_size_; }
1076  private:
1077  void SharedCtor();
1078  void SharedDtor();
1079  void SetCachedSize(int size) const;
1080  public:
1081  ::google::protobuf::Metadata GetMetadata() const;
1082 
1083  // nested types ----------------------------------------------------
1084 
1085  // accessors -------------------------------------------------------
1086 
1087  // optional uint32 id = 1;
1088  inline bool has_id() const;
1089  inline void clear_id();
1090  static const int kIdFieldNumber = 1;
1092  inline void set_id(::google::protobuf::uint32 value);
1093 
1094  // optional fixed32 type = 2;
1095  inline bool has_type() const;
1096  inline void clear_type();
1097  static const int kTypeFieldNumber = 2;
1098  inline ::google::protobuf::uint32 type() const;
1099  inline void set_type(::google::protobuf::uint32 value);
1100 
1101  // optional uint32 error_id = 3;
1102  inline bool has_error_id() const;
1103  inline void clear_error_id();
1104  static const int kErrorIdFieldNumber = 3;
1105  inline ::google::protobuf::uint32 error_id() const;
1106  inline void set_error_id(::google::protobuf::uint32 value);
1107 
1108  // optional bytes answer = 4;
1109  inline bool has_answer() const;
1110  inline void clear_answer();
1111  static const int kAnswerFieldNumber = 4;
1112  inline const ::std::string& answer() const;
1113  inline void set_answer(const ::std::string& value);
1114  inline void set_answer(const char* value);
1115  inline void set_answer(const void* value, size_t size);
1116  inline ::std::string* mutable_answer();
1117  inline ::std::string* release_answer();
1118  inline void set_allocated_answer(::std::string* answer);
1119 
1120  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeResultRequest)
1121  private:
1122  inline void set_has_id();
1123  inline void clear_has_id();
1124  inline void set_has_type();
1125  inline void clear_has_type();
1126  inline void set_has_error_id();
1127  inline void clear_has_error_id();
1128  inline void set_has_answer();
1129  inline void clear_has_answer();
1130 
1132 
1134  mutable int _cached_size_;
1137  ::std::string* answer_;
1142 
1143  void InitAsDefaultInstance();
1145 };
1146 // -------------------------------------------------------------------
1147 
1149  public:
1151  virtual ~ChallengeExternalRequest();
1152 
1154 
1156  CopyFrom(from);
1157  return *this;
1158  }
1159 
1160  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1161  return _unknown_fields_;
1162  }
1163 
1164  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1165  return &_unknown_fields_;
1166  }
1167 
1168  static const ::google::protobuf::Descriptor* descriptor();
1169  static const ChallengeExternalRequest& default_instance();
1170 
1171  void Swap(ChallengeExternalRequest* other);
1172 
1173  // implements Message ----------------------------------------------
1174 
1175  ChallengeExternalRequest* New() const;
1176  void CopyFrom(const ::google::protobuf::Message& from);
1177  void MergeFrom(const ::google::protobuf::Message& from);
1178  void CopyFrom(const ChallengeExternalRequest& from);
1179  void MergeFrom(const ChallengeExternalRequest& from);
1180  void Clear();
1181  bool IsInitialized() const;
1182 
1183  int ByteSize() const;
1184  bool MergePartialFromCodedStream(
1186  void SerializeWithCachedSizes(
1188  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1189  int GetCachedSize() const { return _cached_size_; }
1190  private:
1191  void SharedCtor();
1192  void SharedDtor();
1193  void SetCachedSize(int size) const;
1194  public:
1195  ::google::protobuf::Metadata GetMetadata() const;
1196 
1197  // nested types ----------------------------------------------------
1198 
1199  // accessors -------------------------------------------------------
1200 
1201  // optional string request_token = 1;
1202  inline bool has_request_token() const;
1203  inline void clear_request_token();
1204  static const int kRequestTokenFieldNumber = 1;
1205  inline const ::std::string& request_token() const;
1206  inline void set_request_token(const ::std::string& value);
1207  inline void set_request_token(const char* value);
1208  inline void set_request_token(const char* value, size_t size);
1209  inline ::std::string* mutable_request_token();
1210  inline ::std::string* release_request_token();
1211  inline void set_allocated_request_token(::std::string* request_token);
1212 
1213  // optional string payload_type = 2;
1214  inline bool has_payload_type() const;
1215  inline void clear_payload_type();
1216  static const int kPayloadTypeFieldNumber = 2;
1217  inline const ::std::string& payload_type() const;
1218  inline void set_payload_type(const ::std::string& value);
1219  inline void set_payload_type(const char* value);
1220  inline void set_payload_type(const char* value, size_t size);
1221  inline ::std::string* mutable_payload_type();
1222  inline ::std::string* release_payload_type();
1223  inline void set_allocated_payload_type(::std::string* payload_type);
1224 
1225  // optional bytes payload = 3;
1226  inline bool has_payload() const;
1227  inline void clear_payload();
1228  static const int kPayloadFieldNumber = 3;
1229  inline const ::std::string& payload() const;
1230  inline void set_payload(const ::std::string& value);
1231  inline void set_payload(const char* value);
1232  inline void set_payload(const void* value, size_t size);
1233  inline ::std::string* mutable_payload();
1234  inline ::std::string* release_payload();
1235  inline void set_allocated_payload(::std::string* payload);
1236 
1237  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeExternalRequest)
1238  private:
1239  inline void set_has_request_token();
1240  inline void clear_has_request_token();
1241  inline void set_has_payload_type();
1242  inline void clear_has_payload_type();
1243  inline void set_has_payload();
1244  inline void clear_has_payload();
1245 
1247 
1249  mutable int _cached_size_;
1250  ::std::string* request_token_;
1251  ::std::string* payload_type_;
1252  ::std::string* payload_;
1256 
1257  void InitAsDefaultInstance();
1259 };
1260 // -------------------------------------------------------------------
1261 
1263  public:
1265  virtual ~ChallengeExternalResult();
1266 
1268 
1270  CopyFrom(from);
1271  return *this;
1272  }
1273 
1274  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1275  return _unknown_fields_;
1276  }
1277 
1278  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1279  return &_unknown_fields_;
1280  }
1281 
1282  static const ::google::protobuf::Descriptor* descriptor();
1283  static const ChallengeExternalResult& default_instance();
1284 
1285  void Swap(ChallengeExternalResult* other);
1286 
1287  // implements Message ----------------------------------------------
1288 
1289  ChallengeExternalResult* New() const;
1290  void CopyFrom(const ::google::protobuf::Message& from);
1291  void MergeFrom(const ::google::protobuf::Message& from);
1292  void CopyFrom(const ChallengeExternalResult& from);
1293  void MergeFrom(const ChallengeExternalResult& from);
1294  void Clear();
1295  bool IsInitialized() const;
1296 
1297  int ByteSize() const;
1298  bool MergePartialFromCodedStream(
1300  void SerializeWithCachedSizes(
1302  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1303  int GetCachedSize() const { return _cached_size_; }
1304  private:
1305  void SharedCtor();
1306  void SharedDtor();
1307  void SetCachedSize(int size) const;
1308  public:
1309  ::google::protobuf::Metadata GetMetadata() const;
1310 
1311  // nested types ----------------------------------------------------
1312 
1313  // accessors -------------------------------------------------------
1314 
1315  // optional string request_token = 1;
1316  inline bool has_request_token() const;
1317  inline void clear_request_token();
1318  static const int kRequestTokenFieldNumber = 1;
1319  inline const ::std::string& request_token() const;
1320  inline void set_request_token(const ::std::string& value);
1321  inline void set_request_token(const char* value);
1322  inline void set_request_token(const char* value, size_t size);
1323  inline ::std::string* mutable_request_token();
1324  inline ::std::string* release_request_token();
1325  inline void set_allocated_request_token(::std::string* request_token);
1326 
1327  // optional bool passed = 2 [default = true];
1328  inline bool has_passed() const;
1329  inline void clear_passed();
1330  static const int kPassedFieldNumber = 2;
1331  inline bool passed() const;
1332  inline void set_passed(bool value);
1333 
1334  // @@protoc_insertion_point(class_scope:bgs.protocol.challenge.v1.ChallengeExternalResult)
1335  private:
1336  inline void set_has_request_token();
1337  inline void clear_has_request_token();
1338  inline void set_has_passed();
1339  inline void clear_has_passed();
1340 
1342 
1344  mutable int _cached_size_;
1345  ::std::string* request_token_;
1346  bool passed_;
1350 
1351  void InitAsDefaultInstance();
1353 };
1354 // ===================================================================
1355 
1357 {
1358  public:
1359 
1360  explicit ChallengeService(bool use_original_hash);
1361  virtual ~ChallengeService();
1362 
1363  typedef std::integral_constant<uint32, 0xDBBF6F19u> OriginalHash;
1364  typedef std::integral_constant<uint32, 0x71BB6833u> NameHash;
1365 
1366  static google::protobuf::ServiceDescriptor const* descriptor();
1367 
1368  // client methods --------------------------------------------------
1369 
1370  void ChallengePicked(::bgs::protocol::challenge::v1::ChallengePickedRequest const* request, std::function<void(::bgs::protocol::challenge::v1::ChallengePickedResponse const*)> responseCallback);
1371  void ChallengeAnswered(::bgs::protocol::challenge::v1::ChallengeAnsweredRequest const* request, std::function<void(::bgs::protocol::challenge::v1::ChallengeAnsweredResponse const*)> responseCallback);
1372  void ChallengeCancelled(::bgs::protocol::challenge::v1::ChallengeCancelledRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
1373  void SendChallengeToUser(::bgs::protocol::challenge::v1::SendChallengeToUserRequest const* request, std::function<void(::bgs::protocol::challenge::v1::SendChallengeToUserResponse const*)> responseCallback);
1374  // server methods --------------------------------------------------
1375 
1376  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
1377 
1378  protected:
1381  virtual uint32 HandleChallengeCancelled(::bgs::protocol::challenge::v1::ChallengeCancelledRequest const* request, ::bgs::protocol::NoData* response);
1383 
1384  private:
1386 
1388 };
1389 
1390 // -------------------------------------------------------------------
1391 
1393 {
1394  public:
1395 
1396  explicit ChallengeListener(bool use_original_hash);
1397  virtual ~ChallengeListener();
1398 
1399  typedef std::integral_constant<uint32, 0xBBDA171Fu> OriginalHash;
1400  typedef std::integral_constant<uint32, 0xC6D90AB8u> NameHash;
1401 
1402  static google::protobuf::ServiceDescriptor const* descriptor();
1403 
1404  // client methods --------------------------------------------------
1405 
1406  void OnChallengeUser(::bgs::protocol::challenge::v1::ChallengeUserRequest const* request);
1407  void OnChallengeResult(::bgs::protocol::challenge::v1::ChallengeResultRequest const* request);
1408  void OnExternalChallenge(::bgs::protocol::challenge::v1::ChallengeExternalRequest const* request);
1409  void OnExternalChallengeResult(::bgs::protocol::challenge::v1::ChallengeExternalResult const* request);
1410  // server methods --------------------------------------------------
1411 
1412  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
1413 
1414  protected:
1415  virtual uint32 HandleOnChallengeUser(::bgs::protocol::challenge::v1::ChallengeUserRequest const* request);
1416  virtual uint32 HandleOnChallengeResult(::bgs::protocol::challenge::v1::ChallengeResultRequest const* request);
1417  virtual uint32 HandleOnExternalChallenge(::bgs::protocol::challenge::v1::ChallengeExternalRequest const* request);
1418  virtual uint32 HandleOnExternalChallengeResult(::bgs::protocol::challenge::v1::ChallengeExternalResult const* request);
1419 
1420  private:
1422 
1424 };
1425 
1426 // ===================================================================
1427 
1428 
1429 // ===================================================================
1430 
1431 // Challenge
1432 
1433 // required fixed32 type = 1;
1434 inline bool Challenge::has_type() const {
1435  return (_has_bits_[0] & 0x00000001u) != 0;
1436 }
1438  _has_bits_[0] |= 0x00000001u;
1439 }
1441  _has_bits_[0] &= ~0x00000001u;
1442 }
1443 inline void Challenge::clear_type() {
1444  type_ = 0u;
1445  clear_has_type();
1446 }
1448  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.Challenge.type)
1449  return type_;
1450 }
1452  set_has_type();
1453  type_ = value;
1454  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.Challenge.type)
1455 }
1456 
1457 // optional string info = 2;
1458 inline bool Challenge::has_info() const {
1459  return (_has_bits_[0] & 0x00000002u) != 0;
1460 }
1462  _has_bits_[0] |= 0x00000002u;
1463 }
1465  _has_bits_[0] &= ~0x00000002u;
1466 }
1467 inline void Challenge::clear_info() {
1469  info_->clear();
1470  }
1471  clear_has_info();
1472 }
1473 inline const ::std::string& Challenge::info() const {
1474  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.Challenge.info)
1475  return *info_;
1476 }
1477 inline void Challenge::set_info(const ::std::string& value) {
1478  set_has_info();
1480  info_ = new ::std::string;
1481  }
1482  info_->assign(value);
1483  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.Challenge.info)
1484 }
1485 inline void Challenge::set_info(const char* value) {
1486  set_has_info();
1488  info_ = new ::std::string;
1489  }
1490  info_->assign(value);
1491  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.Challenge.info)
1492 }
1493 inline void Challenge::set_info(const char* value, size_t size) {
1494  set_has_info();
1496  info_ = new ::std::string;
1497  }
1498  info_->assign(reinterpret_cast<const char*>(value), size);
1499  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.Challenge.info)
1500 }
1501 inline ::std::string* Challenge::mutable_info() {
1502  set_has_info();
1504  info_ = new ::std::string;
1505  }
1506  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.Challenge.info)
1507  return info_;
1508 }
1509 inline ::std::string* Challenge::release_info() {
1510  clear_has_info();
1512  return NULL;
1513  } else {
1514  ::std::string* temp = info_;
1515  info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1516  return temp;
1517  }
1518 }
1519 inline void Challenge::set_allocated_info(::std::string* info) {
1521  delete info_;
1522  }
1523  if (info) {
1524  set_has_info();
1525  info_ = info;
1526  } else {
1527  clear_has_info();
1528  info_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1529  }
1530  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.Challenge.info)
1531 }
1532 
1533 // optional string answer = 3;
1534 inline bool Challenge::has_answer() const {
1535  return (_has_bits_[0] & 0x00000004u) != 0;
1536 }
1538  _has_bits_[0] |= 0x00000004u;
1539 }
1541  _has_bits_[0] &= ~0x00000004u;
1542 }
1545  answer_->clear();
1546  }
1547  clear_has_answer();
1548 }
1549 inline const ::std::string& Challenge::answer() const {
1550  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.Challenge.answer)
1551  return *answer_;
1552 }
1553 inline void Challenge::set_answer(const ::std::string& value) {
1554  set_has_answer();
1556  answer_ = new ::std::string;
1557  }
1558  answer_->assign(value);
1559  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.Challenge.answer)
1560 }
1561 inline void Challenge::set_answer(const char* value) {
1562  set_has_answer();
1564  answer_ = new ::std::string;
1565  }
1566  answer_->assign(value);
1567  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.Challenge.answer)
1568 }
1569 inline void Challenge::set_answer(const char* value, size_t size) {
1570  set_has_answer();
1572  answer_ = new ::std::string;
1573  }
1574  answer_->assign(reinterpret_cast<const char*>(value), size);
1575  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.Challenge.answer)
1576 }
1577 inline ::std::string* Challenge::mutable_answer() {
1578  set_has_answer();
1580  answer_ = new ::std::string;
1581  }
1582  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.Challenge.answer)
1583  return answer_;
1584 }
1585 inline ::std::string* Challenge::release_answer() {
1586  clear_has_answer();
1588  return NULL;
1589  } else {
1590  ::std::string* temp = answer_;
1591  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1592  return temp;
1593  }
1594 }
1595 inline void Challenge::set_allocated_answer(::std::string* answer) {
1597  delete answer_;
1598  }
1599  if (answer) {
1600  set_has_answer();
1601  answer_ = answer;
1602  } else {
1603  clear_has_answer();
1604  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1605  }
1606  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.Challenge.answer)
1607 }
1608 
1609 // optional uint32 retries = 4;
1610 inline bool Challenge::has_retries() const {
1611  return (_has_bits_[0] & 0x00000008u) != 0;
1612 }
1614  _has_bits_[0] |= 0x00000008u;
1615 }
1617  _has_bits_[0] &= ~0x00000008u;
1618 }
1620  retries_ = 0u;
1622 }
1624  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.Challenge.retries)
1625  return retries_;
1626 }
1628  set_has_retries();
1629  retries_ = value;
1630  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.Challenge.retries)
1631 }
1632 
1633 // -------------------------------------------------------------------
1634 
1635 // ChallengePickedRequest
1636 
1637 // required fixed32 challenge = 1;
1639  return (_has_bits_[0] & 0x00000001u) != 0;
1640 }
1642  _has_bits_[0] |= 0x00000001u;
1643 }
1645  _has_bits_[0] &= ~0x00000001u;
1646 }
1648  challenge_ = 0u;
1650 }
1652  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengePickedRequest.challenge)
1653  return challenge_;
1654 }
1657  challenge_ = value;
1658  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengePickedRequest.challenge)
1659 }
1660 
1661 // optional uint32 id = 2;
1662 inline bool ChallengePickedRequest::has_id() const {
1663  return (_has_bits_[0] & 0x00000002u) != 0;
1664 }
1666  _has_bits_[0] |= 0x00000002u;
1667 }
1669  _has_bits_[0] &= ~0x00000002u;
1670 }
1672  id_ = 0u;
1673  clear_has_id();
1674 }
1676  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengePickedRequest.id)
1677  return id_;
1678 }
1680  set_has_id();
1681  id_ = value;
1682  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengePickedRequest.id)
1683 }
1684 
1685 // optional bool new_challenge_protocol = 3 [default = false];
1687  return (_has_bits_[0] & 0x00000004u) != 0;
1688 }
1690  _has_bits_[0] |= 0x00000004u;
1691 }
1693  _has_bits_[0] &= ~0x00000004u;
1694 }
1696  new_challenge_protocol_ = false;
1698 }
1700  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengePickedRequest.new_challenge_protocol)
1701  return new_challenge_protocol_;
1702 }
1706  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengePickedRequest.new_challenge_protocol)
1707 }
1708 
1709 // -------------------------------------------------------------------
1710 
1711 // ChallengePickedResponse
1712 
1713 // optional bytes data = 1;
1715  return (_has_bits_[0] & 0x00000001u) != 0;
1716 }
1718  _has_bits_[0] |= 0x00000001u;
1719 }
1721  _has_bits_[0] &= ~0x00000001u;
1722 }
1725  data_->clear();
1726  }
1727  clear_has_data();
1728 }
1729 inline const ::std::string& ChallengePickedResponse::data() const {
1730  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1731  return *data_;
1732 }
1733 inline void ChallengePickedResponse::set_data(const ::std::string& value) {
1734  set_has_data();
1736  data_ = new ::std::string;
1737  }
1738  data_->assign(value);
1739  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1740 }
1741 inline void ChallengePickedResponse::set_data(const char* value) {
1742  set_has_data();
1744  data_ = new ::std::string;
1745  }
1746  data_->assign(value);
1747  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1748 }
1749 inline void ChallengePickedResponse::set_data(const void* value, size_t size) {
1750  set_has_data();
1752  data_ = new ::std::string;
1753  }
1754  data_->assign(reinterpret_cast<const char*>(value), size);
1755  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1756 }
1757 inline ::std::string* ChallengePickedResponse::mutable_data() {
1758  set_has_data();
1760  data_ = new ::std::string;
1761  }
1762  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1763  return data_;
1764 }
1765 inline ::std::string* ChallengePickedResponse::release_data() {
1766  clear_has_data();
1768  return NULL;
1769  } else {
1770  ::std::string* temp = data_;
1771  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1772  return temp;
1773  }
1774 }
1775 inline void ChallengePickedResponse::set_allocated_data(::std::string* data) {
1777  delete data_;
1778  }
1779  if (data) {
1780  set_has_data();
1781  data_ = data;
1782  } else {
1783  clear_has_data();
1784  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1785  }
1786  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengePickedResponse.data)
1787 }
1788 
1789 // -------------------------------------------------------------------
1790 
1791 // ChallengeAnsweredRequest
1792 
1793 // required string answer = 1;
1795  return (_has_bits_[0] & 0x00000001u) != 0;
1796 }
1798  _has_bits_[0] |= 0x00000001u;
1799 }
1801  _has_bits_[0] &= ~0x00000001u;
1802 }
1805  answer_->clear();
1806  }
1807  clear_has_answer();
1808 }
1809 inline const ::std::string& ChallengeAnsweredRequest::answer() const {
1810  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1811  return *answer_;
1812 }
1813 inline void ChallengeAnsweredRequest::set_answer(const ::std::string& value) {
1814  set_has_answer();
1816  answer_ = new ::std::string;
1817  }
1818  answer_->assign(value);
1819  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1820 }
1822  set_has_answer();
1824  answer_ = new ::std::string;
1825  }
1826  answer_->assign(value);
1827  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1828 }
1829 inline void ChallengeAnsweredRequest::set_answer(const char* value, size_t size) {
1830  set_has_answer();
1832  answer_ = new ::std::string;
1833  }
1834  answer_->assign(reinterpret_cast<const char*>(value), size);
1835  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1836 }
1838  set_has_answer();
1840  answer_ = new ::std::string;
1841  }
1842  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1843  return answer_;
1844 }
1846  clear_has_answer();
1848  return NULL;
1849  } else {
1850  ::std::string* temp = answer_;
1851  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1852  return temp;
1853  }
1854 }
1855 inline void ChallengeAnsweredRequest::set_allocated_answer(::std::string* answer) {
1857  delete answer_;
1858  }
1859  if (answer) {
1860  set_has_answer();
1861  answer_ = answer;
1862  } else {
1863  clear_has_answer();
1864  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1865  }
1866  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.answer)
1867 }
1868 
1869 // optional bytes data = 2;
1871  return (_has_bits_[0] & 0x00000002u) != 0;
1872 }
1874  _has_bits_[0] |= 0x00000002u;
1875 }
1877  _has_bits_[0] &= ~0x00000002u;
1878 }
1881  data_->clear();
1882  }
1883  clear_has_data();
1884 }
1885 inline const ::std::string& ChallengeAnsweredRequest::data() const {
1886  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1887  return *data_;
1888 }
1889 inline void ChallengeAnsweredRequest::set_data(const ::std::string& value) {
1890  set_has_data();
1892  data_ = new ::std::string;
1893  }
1894  data_->assign(value);
1895  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1896 }
1897 inline void ChallengeAnsweredRequest::set_data(const char* value) {
1898  set_has_data();
1900  data_ = new ::std::string;
1901  }
1902  data_->assign(value);
1903  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1904 }
1905 inline void ChallengeAnsweredRequest::set_data(const void* value, size_t size) {
1906  set_has_data();
1908  data_ = new ::std::string;
1909  }
1910  data_->assign(reinterpret_cast<const char*>(value), size);
1911  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1912 }
1914  set_has_data();
1916  data_ = new ::std::string;
1917  }
1918  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1919  return data_;
1920 }
1922  clear_has_data();
1924  return NULL;
1925  } else {
1926  ::std::string* temp = data_;
1927  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1928  return temp;
1929  }
1930 }
1931 inline void ChallengeAnsweredRequest::set_allocated_data(::std::string* data) {
1933  delete data_;
1934  }
1935  if (data) {
1936  set_has_data();
1937  data_ = data;
1938  } else {
1939  clear_has_data();
1940  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1941  }
1942  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.data)
1943 }
1944 
1945 // optional uint32 id = 3;
1947  return (_has_bits_[0] & 0x00000004u) != 0;
1948 }
1950  _has_bits_[0] |= 0x00000004u;
1951 }
1953  _has_bits_[0] &= ~0x00000004u;
1954 }
1956  id_ = 0u;
1957  clear_has_id();
1958 }
1960  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.id)
1961  return id_;
1962 }
1964  set_has_id();
1965  id_ = value;
1966  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredRequest.id)
1967 }
1968 
1969 // -------------------------------------------------------------------
1970 
1971 // ChallengeAnsweredResponse
1972 
1973 // optional bytes data = 1;
1975  return (_has_bits_[0] & 0x00000001u) != 0;
1976 }
1978  _has_bits_[0] |= 0x00000001u;
1979 }
1981  _has_bits_[0] &= ~0x00000001u;
1982 }
1985  data_->clear();
1986  }
1987  clear_has_data();
1988 }
1989 inline const ::std::string& ChallengeAnsweredResponse::data() const {
1990  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
1991  return *data_;
1992 }
1993 inline void ChallengeAnsweredResponse::set_data(const ::std::string& value) {
1994  set_has_data();
1996  data_ = new ::std::string;
1997  }
1998  data_->assign(value);
1999  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
2000 }
2001 inline void ChallengeAnsweredResponse::set_data(const char* value) {
2002  set_has_data();
2004  data_ = new ::std::string;
2005  }
2006  data_->assign(value);
2007  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
2008 }
2009 inline void ChallengeAnsweredResponse::set_data(const void* value, size_t size) {
2010  set_has_data();
2012  data_ = new ::std::string;
2013  }
2014  data_->assign(reinterpret_cast<const char*>(value), size);
2015  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
2016 }
2018  set_has_data();
2020  data_ = new ::std::string;
2021  }
2022  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
2023  return data_;
2024 }
2026  clear_has_data();
2028  return NULL;
2029  } else {
2030  ::std::string* temp = data_;
2031  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2032  return temp;
2033  }
2034 }
2035 inline void ChallengeAnsweredResponse::set_allocated_data(::std::string* data) {
2037  delete data_;
2038  }
2039  if (data) {
2040  set_has_data();
2041  data_ = data;
2042  } else {
2043  clear_has_data();
2044  data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2045  }
2046  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.data)
2047 }
2048 
2049 // optional bool do_retry = 2;
2051  return (_has_bits_[0] & 0x00000002u) != 0;
2052 }
2054  _has_bits_[0] |= 0x00000002u;
2055 }
2057  _has_bits_[0] &= ~0x00000002u;
2058 }
2060  do_retry_ = false;
2062 }
2064  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.do_retry)
2065  return do_retry_;
2066 }
2068  set_has_do_retry();
2069  do_retry_ = value;
2070  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.do_retry)
2071 }
2072 
2073 // optional bool record_not_found = 3;
2075  return (_has_bits_[0] & 0x00000004u) != 0;
2076 }
2078  _has_bits_[0] |= 0x00000004u;
2079 }
2081  _has_bits_[0] &= ~0x00000004u;
2082 }
2084  record_not_found_ = false;
2086 }
2088  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.record_not_found)
2089  return record_not_found_;
2090 }
2094  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeAnsweredResponse.record_not_found)
2095 }
2096 
2097 // -------------------------------------------------------------------
2098 
2099 // ChallengeCancelledRequest
2100 
2101 // optional uint32 id = 1;
2103  return (_has_bits_[0] & 0x00000001u) != 0;
2104 }
2106  _has_bits_[0] |= 0x00000001u;
2107 }
2109  _has_bits_[0] &= ~0x00000001u;
2110 }
2112  id_ = 0u;
2113  clear_has_id();
2114 }
2116  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeCancelledRequest.id)
2117  return id_;
2118 }
2120  set_has_id();
2121  id_ = value;
2122  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeCancelledRequest.id)
2123 }
2124 
2125 // -------------------------------------------------------------------
2126 
2127 // SendChallengeToUserRequest
2128 
2129 // optional .bgs.protocol.ProcessId peer_id = 1;
2131  return (_has_bits_[0] & 0x00000001u) != 0;
2132 }
2134  _has_bits_[0] |= 0x00000001u;
2135 }
2137  _has_bits_[0] &= ~0x00000001u;
2138 }
2140  if (peer_id_ != NULL) peer_id_->::bgs::protocol::ProcessId::Clear();
2142 }
2143 inline const ::bgs::protocol::ProcessId& SendChallengeToUserRequest::peer_id() const {
2144  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.peer_id)
2145  return peer_id_ != NULL ? *peer_id_ : *default_instance_->peer_id_;
2146 }
2147 inline ::bgs::protocol::ProcessId* SendChallengeToUserRequest::mutable_peer_id() {
2148  set_has_peer_id();
2149  if (peer_id_ == NULL) peer_id_ = new ::bgs::protocol::ProcessId;
2150  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.peer_id)
2151  return peer_id_;
2152 }
2153 inline ::bgs::protocol::ProcessId* SendChallengeToUserRequest::release_peer_id() {
2156  peer_id_ = NULL;
2157  return temp;
2158 }
2160  delete peer_id_;
2161  peer_id_ = peer_id;
2162  if (peer_id) {
2163  set_has_peer_id();
2164  } else {
2166  }
2167  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.SendChallengeToUserRequest.peer_id)
2168 }
2169 
2170 // optional .bgs.protocol.EntityId game_account_id = 2;
2172  return (_has_bits_[0] & 0x00000002u) != 0;
2173 }
2175  _has_bits_[0] |= 0x00000002u;
2176 }
2178  _has_bits_[0] &= ~0x00000002u;
2179 }
2181  if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
2183 }
2184 inline const ::bgs::protocol::EntityId& SendChallengeToUserRequest::game_account_id() const {
2185  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.game_account_id)
2187 }
2188 inline ::bgs::protocol::EntityId* SendChallengeToUserRequest::mutable_game_account_id() {
2190  if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
2191  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.game_account_id)
2192  return game_account_id_;
2193 }
2194 inline ::bgs::protocol::EntityId* SendChallengeToUserRequest::release_game_account_id() {
2198  return temp;
2199 }
2201  delete game_account_id_;
2203  if (game_account_id) {
2205  } else {
2207  }
2208  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.SendChallengeToUserRequest.game_account_id)
2209 }
2210 
2211 // repeated .bgs.protocol.challenge.v1.Challenge challenges = 3;
2213  return challenges_.size();
2214 }
2216  challenges_.Clear();
2217 }
2218 inline const ::bgs::protocol::challenge::v1::Challenge& SendChallengeToUserRequest::challenges(int index) const {
2219  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.challenges)
2220  return challenges_.Get(index);
2221 }
2222 inline ::bgs::protocol::challenge::v1::Challenge* SendChallengeToUserRequest::mutable_challenges(int index) {
2223  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.challenges)
2224  return challenges_.Mutable(index);
2225 }
2226 inline ::bgs::protocol::challenge::v1::Challenge* SendChallengeToUserRequest::add_challenges() {
2227  // @@protoc_insertion_point(field_add:bgs.protocol.challenge.v1.SendChallengeToUserRequest.challenges)
2228  return challenges_.Add();
2229 }
2230 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >&
2232  // @@protoc_insertion_point(field_list:bgs.protocol.challenge.v1.SendChallengeToUserRequest.challenges)
2233  return challenges_;
2234 }
2235 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >*
2237  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.challenge.v1.SendChallengeToUserRequest.challenges)
2238  return &challenges_;
2239 }
2240 
2241 // required fixed32 context = 4;
2243  return (_has_bits_[0] & 0x00000008u) != 0;
2244 }
2246  _has_bits_[0] |= 0x00000008u;
2247 }
2249  _has_bits_[0] &= ~0x00000008u;
2250 }
2252  context_ = 0u;
2254 }
2256  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.context)
2257  return context_;
2258 }
2260  set_has_context();
2261  context_ = value;
2262  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.SendChallengeToUserRequest.context)
2263 }
2264 
2265 // optional uint64 timeout = 5;
2267  return (_has_bits_[0] & 0x00000010u) != 0;
2268 }
2270  _has_bits_[0] |= 0x00000010u;
2271 }
2273  _has_bits_[0] &= ~0x00000010u;
2274 }
2278 }
2280  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.timeout)
2281  return timeout_;
2282 }
2284  set_has_timeout();
2285  timeout_ = value;
2286  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.SendChallengeToUserRequest.timeout)
2287 }
2288 
2289 // repeated .bgs.protocol.Attribute attributes = 6;
2291  return attributes_.size();
2292 }
2294  attributes_.Clear();
2295 }
2296 inline const ::bgs::protocol::Attribute& SendChallengeToUserRequest::attributes(int index) const {
2297  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.attributes)
2298  return attributes_.Get(index);
2299 }
2300 inline ::bgs::protocol::Attribute* SendChallengeToUserRequest::mutable_attributes(int index) {
2301  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.attributes)
2302  return attributes_.Mutable(index);
2303 }
2304 inline ::bgs::protocol::Attribute* SendChallengeToUserRequest::add_attributes() {
2305  // @@protoc_insertion_point(field_add:bgs.protocol.challenge.v1.SendChallengeToUserRequest.attributes)
2306  return attributes_.Add();
2307 }
2308 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
2310  // @@protoc_insertion_point(field_list:bgs.protocol.challenge.v1.SendChallengeToUserRequest.attributes)
2311  return attributes_;
2312 }
2313 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
2315  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.challenge.v1.SendChallengeToUserRequest.attributes)
2316  return &attributes_;
2317 }
2318 
2319 // optional .bgs.protocol.ProcessId host = 7;
2321  return (_has_bits_[0] & 0x00000040u) != 0;
2322 }
2324  _has_bits_[0] |= 0x00000040u;
2325 }
2327  _has_bits_[0] &= ~0x00000040u;
2328 }
2330  if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
2331  clear_has_host();
2332 }
2333 inline const ::bgs::protocol::ProcessId& SendChallengeToUserRequest::host() const {
2334  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.host)
2335  return host_ != NULL ? *host_ : *default_instance_->host_;
2336 }
2337 inline ::bgs::protocol::ProcessId* SendChallengeToUserRequest::mutable_host() {
2338  set_has_host();
2339  if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
2340  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.host)
2341  return host_;
2342 }
2343 inline ::bgs::protocol::ProcessId* SendChallengeToUserRequest::release_host() {
2344  clear_has_host();
2346  host_ = NULL;
2347  return temp;
2348 }
2350  delete host_;
2351  host_ = host;
2352  if (host) {
2353  set_has_host();
2354  } else {
2355  clear_has_host();
2356  }
2357  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.SendChallengeToUserRequest.host)
2358 }
2359 
2360 // optional .bgs.protocol.EntityId account_id = 8;
2362  return (_has_bits_[0] & 0x00000080u) != 0;
2363 }
2365  _has_bits_[0] |= 0x00000080u;
2366 }
2368  _has_bits_[0] &= ~0x00000080u;
2369 }
2371  if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
2373 }
2374 inline const ::bgs::protocol::EntityId& SendChallengeToUserRequest::account_id() const {
2375  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserRequest.account_id)
2377 }
2378 inline ::bgs::protocol::EntityId* SendChallengeToUserRequest::mutable_account_id() {
2380  if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
2381  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.SendChallengeToUserRequest.account_id)
2382  return account_id_;
2383 }
2384 inline ::bgs::protocol::EntityId* SendChallengeToUserRequest::release_account_id() {
2387  account_id_ = NULL;
2388  return temp;
2389 }
2391  delete account_id_;
2393  if (account_id) {
2395  } else {
2397  }
2398  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.SendChallengeToUserRequest.account_id)
2399 }
2400 
2401 // -------------------------------------------------------------------
2402 
2403 // SendChallengeToUserResponse
2404 
2405 // optional uint32 id = 1;
2407  return (_has_bits_[0] & 0x00000001u) != 0;
2408 }
2410  _has_bits_[0] |= 0x00000001u;
2411 }
2413  _has_bits_[0] &= ~0x00000001u;
2414 }
2416  id_ = 0u;
2417  clear_has_id();
2418 }
2420  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.SendChallengeToUserResponse.id)
2421  return id_;
2422 }
2424  set_has_id();
2425  id_ = value;
2426  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.SendChallengeToUserResponse.id)
2427 }
2428 
2429 // -------------------------------------------------------------------
2430 
2431 // ChallengeUserRequest
2432 
2433 // repeated .bgs.protocol.challenge.v1.Challenge challenges = 1;
2435  return challenges_.size();
2436 }
2438  challenges_.Clear();
2439 }
2440 inline const ::bgs::protocol::challenge::v1::Challenge& ChallengeUserRequest::challenges(int index) const {
2441  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.challenges)
2442  return challenges_.Get(index);
2443 }
2444 inline ::bgs::protocol::challenge::v1::Challenge* ChallengeUserRequest::mutable_challenges(int index) {
2445  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeUserRequest.challenges)
2446  return challenges_.Mutable(index);
2447 }
2448 inline ::bgs::protocol::challenge::v1::Challenge* ChallengeUserRequest::add_challenges() {
2449  // @@protoc_insertion_point(field_add:bgs.protocol.challenge.v1.ChallengeUserRequest.challenges)
2450  return challenges_.Add();
2451 }
2452 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >&
2454  // @@protoc_insertion_point(field_list:bgs.protocol.challenge.v1.ChallengeUserRequest.challenges)
2455  return challenges_;
2456 }
2457 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge >*
2459  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.challenge.v1.ChallengeUserRequest.challenges)
2460  return &challenges_;
2461 }
2462 
2463 // required fixed32 context = 2;
2465  return (_has_bits_[0] & 0x00000002u) != 0;
2466 }
2468  _has_bits_[0] |= 0x00000002u;
2469 }
2471  _has_bits_[0] &= ~0x00000002u;
2472 }
2474  context_ = 0u;
2476 }
2478  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.context)
2479  return context_;
2480 }
2482  set_has_context();
2483  context_ = value;
2484  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeUserRequest.context)
2485 }
2486 
2487 // optional uint32 id = 3;
2488 inline bool ChallengeUserRequest::has_id() const {
2489  return (_has_bits_[0] & 0x00000004u) != 0;
2490 }
2492  _has_bits_[0] |= 0x00000004u;
2493 }
2495  _has_bits_[0] &= ~0x00000004u;
2496 }
2498  id_ = 0u;
2499  clear_has_id();
2500 }
2502  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.id)
2503  return id_;
2504 }
2506  set_has_id();
2507  id_ = value;
2508  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeUserRequest.id)
2509 }
2510 
2511 // optional uint64 deadline = 4;
2513  return (_has_bits_[0] & 0x00000008u) != 0;
2514 }
2516  _has_bits_[0] |= 0x00000008u;
2517 }
2519  _has_bits_[0] &= ~0x00000008u;
2520 }
2524 }
2526  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.deadline)
2527  return deadline_;
2528 }
2530  set_has_deadline();
2531  deadline_ = value;
2532  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeUserRequest.deadline)
2533 }
2534 
2535 // repeated .bgs.protocol.Attribute attributes = 5;
2537  return attributes_.size();
2538 }
2540  attributes_.Clear();
2541 }
2542 inline const ::bgs::protocol::Attribute& ChallengeUserRequest::attributes(int index) const {
2543  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.attributes)
2544  return attributes_.Get(index);
2545 }
2546 inline ::bgs::protocol::Attribute* ChallengeUserRequest::mutable_attributes(int index) {
2547  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeUserRequest.attributes)
2548  return attributes_.Mutable(index);
2549 }
2550 inline ::bgs::protocol::Attribute* ChallengeUserRequest::add_attributes() {
2551  // @@protoc_insertion_point(field_add:bgs.protocol.challenge.v1.ChallengeUserRequest.attributes)
2552  return attributes_.Add();
2553 }
2554 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
2556  // @@protoc_insertion_point(field_list:bgs.protocol.challenge.v1.ChallengeUserRequest.attributes)
2557  return attributes_;
2558 }
2559 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
2561  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.challenge.v1.ChallengeUserRequest.attributes)
2562  return &attributes_;
2563 }
2564 
2565 // optional .bgs.protocol.EntityId game_account_id = 6;
2567  return (_has_bits_[0] & 0x00000020u) != 0;
2568 }
2570  _has_bits_[0] |= 0x00000020u;
2571 }
2573  _has_bits_[0] &= ~0x00000020u;
2574 }
2576  if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
2578 }
2579 inline const ::bgs::protocol::EntityId& ChallengeUserRequest::game_account_id() const {
2580  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeUserRequest.game_account_id)
2582 }
2583 inline ::bgs::protocol::EntityId* ChallengeUserRequest::mutable_game_account_id() {
2585  if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
2586  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeUserRequest.game_account_id)
2587  return game_account_id_;
2588 }
2589 inline ::bgs::protocol::EntityId* ChallengeUserRequest::release_game_account_id() {
2593  return temp;
2594 }
2596  delete game_account_id_;
2598  if (game_account_id) {
2600  } else {
2602  }
2603  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeUserRequest.game_account_id)
2604 }
2605 
2606 // -------------------------------------------------------------------
2607 
2608 // ChallengeResultRequest
2609 
2610 // optional uint32 id = 1;
2611 inline bool ChallengeResultRequest::has_id() const {
2612  return (_has_bits_[0] & 0x00000001u) != 0;
2613 }
2615  _has_bits_[0] |= 0x00000001u;
2616 }
2618  _has_bits_[0] &= ~0x00000001u;
2619 }
2621  id_ = 0u;
2622  clear_has_id();
2623 }
2625  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeResultRequest.id)
2626  return id_;
2627 }
2629  set_has_id();
2630  id_ = value;
2631  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeResultRequest.id)
2632 }
2633 
2634 // optional fixed32 type = 2;
2636  return (_has_bits_[0] & 0x00000002u) != 0;
2637 }
2639  _has_bits_[0] |= 0x00000002u;
2640 }
2642  _has_bits_[0] &= ~0x00000002u;
2643 }
2645  type_ = 0u;
2646  clear_has_type();
2647 }
2649  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeResultRequest.type)
2650  return type_;
2651 }
2653  set_has_type();
2654  type_ = value;
2655  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeResultRequest.type)
2656 }
2657 
2658 // optional uint32 error_id = 3;
2660  return (_has_bits_[0] & 0x00000004u) != 0;
2661 }
2663  _has_bits_[0] |= 0x00000004u;
2664 }
2666  _has_bits_[0] &= ~0x00000004u;
2667 }
2669  error_id_ = 0u;
2671 }
2673  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeResultRequest.error_id)
2674  return error_id_;
2675 }
2677  set_has_error_id();
2678  error_id_ = value;
2679  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeResultRequest.error_id)
2680 }
2681 
2682 // optional bytes answer = 4;
2684  return (_has_bits_[0] & 0x00000008u) != 0;
2685 }
2687  _has_bits_[0] |= 0x00000008u;
2688 }
2690  _has_bits_[0] &= ~0x00000008u;
2691 }
2694  answer_->clear();
2695  }
2696  clear_has_answer();
2697 }
2698 inline const ::std::string& ChallengeResultRequest::answer() const {
2699  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2700  return *answer_;
2701 }
2702 inline void ChallengeResultRequest::set_answer(const ::std::string& value) {
2703  set_has_answer();
2705  answer_ = new ::std::string;
2706  }
2707  answer_->assign(value);
2708  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2709 }
2710 inline void ChallengeResultRequest::set_answer(const char* value) {
2711  set_has_answer();
2713  answer_ = new ::std::string;
2714  }
2715  answer_->assign(value);
2716  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2717 }
2718 inline void ChallengeResultRequest::set_answer(const void* value, size_t size) {
2719  set_has_answer();
2721  answer_ = new ::std::string;
2722  }
2723  answer_->assign(reinterpret_cast<const char*>(value), size);
2724  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2725 }
2727  set_has_answer();
2729  answer_ = new ::std::string;
2730  }
2731  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2732  return answer_;
2733 }
2735  clear_has_answer();
2737  return NULL;
2738  } else {
2739  ::std::string* temp = answer_;
2740  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2741  return temp;
2742  }
2743 }
2744 inline void ChallengeResultRequest::set_allocated_answer(::std::string* answer) {
2746  delete answer_;
2747  }
2748  if (answer) {
2749  set_has_answer();
2750  answer_ = answer;
2751  } else {
2752  clear_has_answer();
2753  answer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2754  }
2755  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeResultRequest.answer)
2756 }
2757 
2758 // -------------------------------------------------------------------
2759 
2760 // ChallengeExternalRequest
2761 
2762 // optional string request_token = 1;
2764  return (_has_bits_[0] & 0x00000001u) != 0;
2765 }
2767  _has_bits_[0] |= 0x00000001u;
2768 }
2770  _has_bits_[0] &= ~0x00000001u;
2771 }
2774  request_token_->clear();
2775  }
2777 }
2778 inline const ::std::string& ChallengeExternalRequest::request_token() const {
2779  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2780  return *request_token_;
2781 }
2782 inline void ChallengeExternalRequest::set_request_token(const ::std::string& value) {
2785  request_token_ = new ::std::string;
2786  }
2787  request_token_->assign(value);
2788  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2789 }
2793  request_token_ = new ::std::string;
2794  }
2795  request_token_->assign(value);
2796  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2797 }
2798 inline void ChallengeExternalRequest::set_request_token(const char* value, size_t size) {
2801  request_token_ = new ::std::string;
2802  }
2803  request_token_->assign(reinterpret_cast<const char*>(value), size);
2804  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2805 }
2809  request_token_ = new ::std::string;
2810  }
2811  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2812  return request_token_;
2813 }
2817  return NULL;
2818  } else {
2819  ::std::string* temp = request_token_;
2821  return temp;
2822  }
2823 }
2824 inline void ChallengeExternalRequest::set_allocated_request_token(::std::string* request_token) {
2826  delete request_token_;
2827  }
2828  if (request_token) {
2831  } else {
2834  }
2835  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeExternalRequest.request_token)
2836 }
2837 
2838 // optional string payload_type = 2;
2840  return (_has_bits_[0] & 0x00000002u) != 0;
2841 }
2843  _has_bits_[0] |= 0x00000002u;
2844 }
2846  _has_bits_[0] &= ~0x00000002u;
2847 }
2850  payload_type_->clear();
2851  }
2853 }
2854 inline const ::std::string& ChallengeExternalRequest::payload_type() const {
2855  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2856  return *payload_type_;
2857 }
2858 inline void ChallengeExternalRequest::set_payload_type(const ::std::string& value) {
2861  payload_type_ = new ::std::string;
2862  }
2863  payload_type_->assign(value);
2864  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2865 }
2869  payload_type_ = new ::std::string;
2870  }
2871  payload_type_->assign(value);
2872  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2873 }
2874 inline void ChallengeExternalRequest::set_payload_type(const char* value, size_t size) {
2877  payload_type_ = new ::std::string;
2878  }
2879  payload_type_->assign(reinterpret_cast<const char*>(value), size);
2880  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2881 }
2885  payload_type_ = new ::std::string;
2886  }
2887  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2888  return payload_type_;
2889 }
2893  return NULL;
2894  } else {
2895  ::std::string* temp = payload_type_;
2897  return temp;
2898  }
2899 }
2900 inline void ChallengeExternalRequest::set_allocated_payload_type(::std::string* payload_type) {
2902  delete payload_type_;
2903  }
2904  if (payload_type) {
2907  } else {
2910  }
2911  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload_type)
2912 }
2913 
2914 // optional bytes payload = 3;
2916  return (_has_bits_[0] & 0x00000004u) != 0;
2917 }
2919  _has_bits_[0] |= 0x00000004u;
2920 }
2922  _has_bits_[0] &= ~0x00000004u;
2923 }
2926  payload_->clear();
2927  }
2929 }
2930 inline const ::std::string& ChallengeExternalRequest::payload() const {
2931  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2932  return *payload_;
2933 }
2934 inline void ChallengeExternalRequest::set_payload(const ::std::string& value) {
2935  set_has_payload();
2937  payload_ = new ::std::string;
2938  }
2939  payload_->assign(value);
2940  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2941 }
2943  set_has_payload();
2945  payload_ = new ::std::string;
2946  }
2947  payload_->assign(value);
2948  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2949 }
2950 inline void ChallengeExternalRequest::set_payload(const void* value, size_t size) {
2951  set_has_payload();
2953  payload_ = new ::std::string;
2954  }
2955  payload_->assign(reinterpret_cast<const char*>(value), size);
2956  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2957 }
2959  set_has_payload();
2961  payload_ = new ::std::string;
2962  }
2963  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2964  return payload_;
2965 }
2969  return NULL;
2970  } else {
2971  ::std::string* temp = payload_;
2972  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2973  return temp;
2974  }
2975 }
2976 inline void ChallengeExternalRequest::set_allocated_payload(::std::string* payload) {
2978  delete payload_;
2979  }
2980  if (payload) {
2981  set_has_payload();
2982  payload_ = payload;
2983  } else {
2985  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2986  }
2987  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeExternalRequest.payload)
2988 }
2989 
2990 // -------------------------------------------------------------------
2991 
2992 // ChallengeExternalResult
2993 
2994 // optional string request_token = 1;
2996  return (_has_bits_[0] & 0x00000001u) != 0;
2997 }
2999  _has_bits_[0] |= 0x00000001u;
3000 }
3002  _has_bits_[0] &= ~0x00000001u;
3003 }
3006  request_token_->clear();
3007  }
3009 }
3010 inline const ::std::string& ChallengeExternalResult::request_token() const {
3011  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3012  return *request_token_;
3013 }
3014 inline void ChallengeExternalResult::set_request_token(const ::std::string& value) {
3017  request_token_ = new ::std::string;
3018  }
3019  request_token_->assign(value);
3020  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3021 }
3025  request_token_ = new ::std::string;
3026  }
3027  request_token_->assign(value);
3028  // @@protoc_insertion_point(field_set_char:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3029 }
3030 inline void ChallengeExternalResult::set_request_token(const char* value, size_t size) {
3033  request_token_ = new ::std::string;
3034  }
3035  request_token_->assign(reinterpret_cast<const char*>(value), size);
3036  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3037 }
3041  request_token_ = new ::std::string;
3042  }
3043  // @@protoc_insertion_point(field_mutable:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3044  return request_token_;
3045 }
3049  return NULL;
3050  } else {
3051  ::std::string* temp = request_token_;
3053  return temp;
3054  }
3055 }
3056 inline void ChallengeExternalResult::set_allocated_request_token(::std::string* request_token) {
3058  delete request_token_;
3059  }
3060  if (request_token) {
3063  } else {
3066  }
3067  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.challenge.v1.ChallengeExternalResult.request_token)
3068 }
3069 
3070 // optional bool passed = 2 [default = true];
3072  return (_has_bits_[0] & 0x00000002u) != 0;
3073 }
3075  _has_bits_[0] |= 0x00000002u;
3076 }
3078  _has_bits_[0] &= ~0x00000002u;
3079 }
3081  passed_ = true;
3082  clear_has_passed();
3083 }
3084 inline bool ChallengeExternalResult::passed() const {
3085  // @@protoc_insertion_point(field_get:bgs.protocol.challenge.v1.ChallengeExternalResult.passed)
3086  return passed_;
3087 }
3089  set_has_passed();
3090  passed_ = value;
3091  // @@protoc_insertion_point(field_set:bgs.protocol.challenge.v1.ChallengeExternalResult.passed)
3092 }
3093 
3094 
3095 // @@protoc_insertion_point(namespace_scope)
3096 
3097 } // namespace v1
3098 } // namespace challenge
3099 } // namespace protocol
3100 } // namespace bgs
3101 
3102 #ifndef SWIG
3103 namespace google {
3104 namespace protobuf {
3105 
3106 
3107 } // namespace google
3108 } // namespace protobuf
3109 #endif // SWIG
3110 
3111 // @@protoc_insertion_point(global_scope)
3112 
3113 #endif // PROTOBUF_challenge_5fservice_2eproto__INCLUDED
int GetCachedSize() const
Definition: challenge_service.pb.h:102
void set_context(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2259
void clear_has_challenge()
Definition: challenge_service.pb.h:1644
inline::google::protobuf::uint32 retries() const
Definition: challenge_service.pb.h:1623
void clear_has_answer()
Definition: challenge_service.pb.h:1540
void clear_has_game_account_id()
Definition: challenge_service.pb.h:2177
::google::protobuf::uint32 context_
Definition: challenge_service.pb.h:1020
bool has_request_token() const
Definition: challenge_service.pb.h:2763
::google::protobuf::uint32 type_
Definition: challenge_service.pb.h:1136
int _cached_size_
Definition: challenge_service.pb.h:459
void set_has_id()
Definition: challenge_service.pb.h:1665
const ::bgs::protocol::ProcessId & peer_id() const
Definition: challenge_service.pb.h:2143
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:562
inline::bgs::protocol::Attribute * add_attributes()
Definition: challenge_service.pb.h:2550
bool has_deadline() const
Definition: challenge_service.pb.h:2512
::std::string * data_
Definition: challenge_service.pb.h:564
void set_challenge(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:1655
bool has_game_account_id() const
Definition: challenge_service.pb.h:2171
int _cached_size_
Definition: challenge_service.pb.h:166
int _cached_size_
Definition: challenge_service.pb.h:1018
::std::string * payload_type_
Definition: challenge_service.pb.h:1251
void clear_record_not_found()
Definition: challenge_service.pb.h:2083
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:887
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:2624
void clear_attributes()
Definition: challenge_service.pb.h:2539
std::integral_constant< uint32, 0xDBBF6F19u > OriginalHash
Definition: challenge_service.pb.h:1363
bool has_id() const
Definition: challenge_service.pb.h:2406
inline::bgs::protocol::EntityId * mutable_account_id()
Definition: challenge_service.pb.h:2378
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:484
inline::bgs::protocol::ProcessId * mutable_peer_id()
Definition: challenge_service.pb.h:2147
void clear_has_new_challenge_protocol()
Definition: challenge_service.pb.h:1692
Definition: entity_types.pb.h:45
void set_has_game_account_id()
Definition: challenge_service.pb.h:2569
void clear_data()
Definition: challenge_service.pb.h:1879
void set_has_type()
Definition: challenge_service.pb.h:1437
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:73
bool has_context() const
Definition: challenge_service.pb.h:2464
void clear_id()
Definition: challenge_service.pb.h:1671
void set_allocated_answer(::std::string *answer)
Definition: challenge_service.pb.h:1855
void clear_game_account_id()
Definition: challenge_service.pb.h:2575
void set_passed(bool value)
Definition: challenge_service.pb.h:3088
void clear_host()
Definition: challenge_service.pb.h:2329
inline::std::string * mutable_payload()
Definition: challenge_service.pb.h:2958
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:291
::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > challenges_
Definition: challenge_service.pb.h:1019
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:1343
::std::string * data_
Definition: challenge_service.pb.h:353
void set_request_token(const ::std::string &value)
Definition: challenge_service.pb.h:3014
void clear_has_id()
Definition: challenge_service.pb.h:2412
const ::bgs::protocol::EntityId & game_account_id() const
Definition: challenge_service.pb.h:2184
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:913
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:834
void clear_id()
Definition: challenge_service.pb.h:2415
void set_allocated_answer(::std::string *answer)
Definition: challenge_service.pb.h:1595
inline::bgs::protocol::EntityId * release_game_account_id()
Definition: challenge_service.pb.h:2589
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:797
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:263
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:462
Definition: Session.h:36
void clear_has_answer()
Definition: challenge_service.pb.h:1800
inline::google::protobuf::uint32 error_id() const
Definition: challenge_service.pb.h:2672
Definition: challenge_service.pb.h:1148
void clear_has_game_account_id()
Definition: challenge_service.pb.h:2572
inline::std::string * mutable_answer()
Definition: challenge_service.pb.h:1577
void set_context(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2481
void clear_type()
Definition: challenge_service.pb.h:2644
void clear_request_token()
Definition: challenge_service.pb.h:2772
void set_new_challenge_protocol(bool value)
Definition: challenge_service.pb.h:1703
static ChallengePickedRequest * default_instance_
Definition: challenge_service.pb.h:275
::google::protobuf::uint32 context_
Definition: challenge_service.pb.h:808
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > * mutable_challenges()
Definition: challenge_service.pb.h:2236
bool has_payload() const
Definition: challenge_service.pb.h:2915
void clear_id()
Definition: challenge_service.pb.h:2111
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:163
inline::std::string * release_payload()
Definition: challenge_service.pb.h:2966
static ChallengeCancelledRequest * default_instance_
Definition: challenge_service.pb.h:651
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:196
inline::google::protobuf::uint32 context() const
Definition: challenge_service.pb.h:2477
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:379
int _cached_size_
Definition: challenge_service.pb.h:352
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:1675
bool has_host() const
Definition: challenge_service.pb.h:2320
inline::std::string * mutable_answer()
Definition: challenge_service.pb.h:1837
Definition: challenge_service.pb.h:180
std::integral_constant< uint32, 0x71BB6833u > NameHash
Definition: challenge_service.pb.h:1364
::std::string * data_
Definition: challenge_service.pb.h:461
Definition: unknown_field_set.h:74
void set_has_id()
Definition: challenge_service.pb.h:2491
void set_has_do_retry()
Definition: challenge_service.pb.h:2053
bool has_record_not_found() const
Definition: challenge_service.pb.h:2074
inline::bgs::protocol::EntityId * release_game_account_id()
Definition: challenge_service.pb.h:2194
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:1248
bool has_info() const
Definition: challenge_service.pb.h:1458
int GetCachedSize() const
Definition: challenge_service.pb.h:938
void clear_has_payload_type()
Definition: challenge_service.pb.h:2845
uint8_t uint8
Definition: common.h:175
inline::google::protobuf::uint32 context() const
Definition: challenge_service.pb.h:2255
inline::std::string * release_request_token()
Definition: challenge_service.pb.h:2814
::std::string * info_
Definition: challenge_service.pb.h:167
ChallengeExternalResult & operator=(const ChallengeExternalResult &from)
Definition: challenge_service.pb.h:1269
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:645
void set_data(const ::std::string &value)
Definition: challenge_service.pb.h:1993
void set_has_passed()
Definition: challenge_service.pb.h:3074
::bgs::protocol::EntityId * game_account_id_
Definition: challenge_service.pb.h:802
bool has_type() const
Definition: challenge_service.pb.h:1434
void set_allocated_info(::std::string *info)
Definition: challenge_service.pb.h:1519
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:1046
bool has_answer() const
Definition: challenge_service.pb.h:2683
arena_t NULL
Definition: jemalloc_internal.h:624
void set_type(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2652
Definition: message.h:147
int GetCachedSize() const
Definition: challenge_service.pb.h:1303
int GetCachedSize() const
Definition: challenge_service.pb.h:696
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
inline::std::string * mutable_info()
Definition: challenge_service.pb.h:1501
inline::bgs::protocol::Attribute * add_attributes()
Definition: challenge_service.pb.h:2304
void set_has_game_account_id()
Definition: challenge_service.pb.h:2174
static ChallengeExternalRequest * default_instance_
Definition: challenge_service.pb.h:1258
void set_do_retry(bool value)
Definition: challenge_service.pb.h:2067
::std::string * request_token_
Definition: challenge_service.pb.h:1345
void clear_has_passed()
Definition: challenge_service.pb.h:3077
::bgs::protocol::ProcessId * host_
Definition: challenge_service.pb.h:806
::std::string * answer_
Definition: challenge_service.pb.h:1137
inline::google::protobuf::uint64 timeout() const
Definition: challenge_service.pb.h:2279
void set_allocated_answer(::std::string *answer)
Definition: challenge_service.pb.h:2744
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void protobuf_AssignDesc_challenge_5fservice_2eproto()
void set_has_deadline()
Definition: challenge_service.pb.h:2515
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:1015
inline::std::string * mutable_data()
Definition: challenge_service.pb.h:1913
void set_answer(const ::std::string &value)
Definition: challenge_service.pb.h:1553
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:1246
void clear_payload_type()
Definition: challenge_service.pb.h:2848
void set_has_challenge()
Definition: challenge_service.pb.h:1641
uint64_t uint64
Definition: g3dmath.h:170
int _cached_size_
Definition: challenge_service.pb.h:1134
bool do_retry_
Definition: challenge_service.pb.h:565
Definition: descriptor.h:846
int challenges_size() const
Definition: challenge_service.pb.h:2434
ChallengeAnsweredResponse & operator=(const ChallengeAnsweredResponse &from)
Definition: challenge_service.pb.h:479
int GetCachedSize() const
Definition: challenge_service.pb.h:404
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:799
std::integral_constant< uint32, 0xBBDA171Fu > OriginalHash
Definition: challenge_service.pb.h:1399
void clear_new_challenge_protocol()
Definition: challenge_service.pb.h:1695
void clear_answer()
Definition: challenge_service.pb.h:2692
static ChallengeResultRequest * default_instance_
Definition: challenge_service.pb.h:1144
Definition: challenge_service.pb.h:897
Definition: challenge_service.pb.h:1392
void clear_has_peer_id()
Definition: challenge_service.pb.h:2136
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
Definition: challenge_service.pb.h:2200
void clear_game_account_id()
Definition: challenge_service.pb.h:2180
inline::std::string * mutable_data()
Definition: challenge_service.pb.h:2017
void clear_data()
Definition: challenge_service.pb.h:1983
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:1959
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
Definition: challenge_service.pb.h:2390
void set_has_new_challenge_protocol()
Definition: challenge_service.pb.h:1689
SendChallengeToUserRequest & operator=(const SendChallengeToUserRequest &from)
Definition: challenge_service.pb.h:662
::std::string * answer_
Definition: challenge_service.pb.h:170
void clear_error_id()
Definition: challenge_service.pb.h:2668
void clear_timeout()
Definition: challenge_service.pb.h:2275
void clear_challenges()
Definition: challenge_service.pb.h:2437
bool has_passed() const
Definition: challenge_service.pb.h:3071
void clear_has_request_token()
Definition: challenge_service.pb.h:2769
Definition: challenge_service.pb.h:655
Definition: message.h:165
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:295
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:2115
void set_has_context()
Definition: challenge_service.pb.h:2467
void set_allocated_payload_type(::std::string *payload_type)
Definition: challenge_service.pb.h:2900
void set_timeout(::google::protobuf::uint64 value)
Definition: challenge_service.pb.h:2283
#define output
Definition: wire_format_lite.h:381
void set_has_answer()
Definition: challenge_service.pb.h:2686
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:1679
bool has_id() const
Definition: challenge_service.pb.h:2102
void set_allocated_host(::bgs::protocol::ProcessId *host)
Definition: challenge_service.pb.h:2349
::google::protobuf::uint32 retries_
Definition: challenge_service.pb.h:169
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:671
const ::std::string & data() const
Definition: challenge_service.pb.h:1989
Definition: challenge_service.pb.h:818
bool has_answer() const
Definition: challenge_service.pb.h:1794
int _cached_size_
Definition: challenge_service.pb.h:1344
bool has_id() const
Definition: challenge_service.pb.h:2488
void clear_has_retries()
Definition: challenge_service.pb.h:1616
bool has_game_account_id() const
Definition: challenge_service.pb.h:2566
bool has_data() const
Definition: challenge_service.pb.h:1870
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:488
inline::bgs::protocol::EntityId * mutable_game_account_id()
Definition: challenge_service.pb.h:2188
void set_has_id()
Definition: challenge_service.pb.h:1949
Definition: coded_stream.h:156
void set_allocated_peer_id(::bgs::protocol::ProcessId *peer_id)
Definition: challenge_service.pb.h:2159
uint32 service_hash_
Definition: challenge_service.pb.h:1385
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:1021
int GetCachedSize() const
Definition: challenge_service.pb.h:513
static ChallengeAnsweredResponse * default_instance_
Definition: challenge_service.pb.h:572
inline::bgs::protocol::ProcessId * mutable_host()
Definition: challenge_service.pb.h:2337
void set_payload(const ::std::string &value)
Definition: challenge_service.pb.h:2934
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2423
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2628
Definition: challenge_service.pb.h:279
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:1278
inline::std::string * mutable_data()
Definition: challenge_service.pb.h:1757
void clear_context()
Definition: challenge_service.pb.h:2251
const ::std::string & data() const
Definition: challenge_service.pb.h:1885
inline::std::string * release_info()
Definition: challenge_service.pb.h:1509
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
Definition: challenge_service.pb.h:2595
const ::std::string & answer() const
Definition: challenge_service.pb.h:1549
void clear_id()
Definition: challenge_service.pb.h:2497
void set_info(const ::std::string &value)
Definition: challenge_service.pb.h:1477
void clear_has_id()
Definition: challenge_service.pb.h:1668
void clear_answer()
Definition: challenge_service.pb.h:1803
Definition: challenge_service.pb.h:576
Definition: coded_stream.h:621
void clear_has_id()
Definition: challenge_service.pb.h:2494
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:265
inline::bgs::protocol::EntityId * mutable_game_account_id()
Definition: challenge_service.pb.h:2583
int _cached_size_
Definition: challenge_service.pb.h:266
uint32 service_hash_
Definition: challenge_service.pb.h:1421
void clear_request_token()
Definition: challenge_service.pb.h:3004
Definition: challenge_service.pb.h:472
Definition: challenge_service.pb.h:363
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:268
int attributes_size() const
Definition: challenge_service.pb.h:2290
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:830
inline::std::string * release_request_token()
Definition: challenge_service.pb.h:3046
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2505
void clear_has_data()
Definition: challenge_service.pb.h:1876
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:192
Challenge & operator=(const Challenge &from)
Definition: challenge_service.pb.h:68
void set_has_id()
Definition: challenge_service.pb.h:2409
static ChallengePickedResponse * default_instance_
Definition: challenge_service.pb.h:359
void clear_has_info()
Definition: challenge_service.pb.h:1464
void TC_SHARED_API protobuf_AddDesc_challenge_5fservice_2eproto()
int GetCachedSize() const
Definition: challenge_service.pb.h:320
void set_has_host()
Definition: challenge_service.pb.h:2323
Definition: message.h:150
void clear_has_type()
Definition: challenge_service.pb.h:2641
int GetCachedSize() const
Definition: challenge_service.pb.h:1189
void set_has_data()
Definition: challenge_service.pb.h:1977
void clear_payload()
Definition: challenge_service.pb.h:2924
Definition: challenge_service.pb.h:1356
void set_error_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2676
static ChallengeUserRequest * default_instance_
Definition: challenge_service.pb.h:1030
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attributes() const
Definition: challenge_service.pb.h:2309
void clear_has_data()
Definition: challenge_service.pb.h:1980
Definition: challenge_service.pb.h:61
bool has_retries() const
Definition: challenge_service.pb.h:1610
void set_allocated_request_token(::std::string *request_token)
Definition: challenge_service.pb.h:2824
void set_has_type()
Definition: challenge_service.pb.h:2638
#define input
Definition: wire_format_lite.h:242
inline::std::string * mutable_answer()
Definition: challenge_service.pb.h:2726
const ::std::string & request_token() const
Definition: challenge_service.pb.h:3010
void protobuf_ShutdownFile_challenge_5fservice_2eproto()
ChallengeUserRequest & operator=(const ChallengeUserRequest &from)
Definition: challenge_service.pb.h:904
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:2119
bool has_id() const
Definition: challenge_service.pb.h:1662
void set_allocated_data(::std::string *data)
Definition: challenge_service.pb.h:1775
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:165
void set_answer(const ::std::string &value)
Definition: challenge_service.pb.h:1813
uint32_t uint32
Definition: common.h:177
uint32_t uint32
Definition: Define.h:150
int GetCachedSize() const
Definition: challenge_service.pb.h:859
bool has_payload_type() const
Definition: challenge_service.pb.h:2839
int _cached_size_
Definition: challenge_service.pb.h:800
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:1131
static ChallengeAnsweredRequest * default_instance_
Definition: challenge_service.pb.h:468
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:588
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:2419
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:349
#define TC_SHARED_API
Definition: Define.h:128
bool record_not_found() const
Definition: challenge_service.pb.h:2087
inline::bgs::protocol::challenge::v1::Challenge * add_challenges()
Definition: challenge_service.pb.h:2226
void clear_id()
Definition: challenge_service.pb.h:1955
inline::std::string * release_data()
Definition: challenge_service.pb.h:1765
static ChallengeExternalResult * default_instance_
Definition: challenge_service.pb.h:1352
bool has_peer_id() const
Definition: challenge_service.pb.h:2130
inline::std::string * release_answer()
Definition: challenge_service.pb.h:1585
void clear_has_deadline()
Definition: challenge_service.pb.h:2518
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attributes() const
Definition: challenge_service.pb.h:2555
static Challenge * default_instance_
Definition: challenge_service.pb.h:176
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:883
inline::google::protobuf::uint32 id() const
Definition: challenge_service.pb.h:2501
void clear_has_id()
Definition: challenge_service.pb.h:2617
const ::bgs::protocol::EntityId & game_account_id() const
Definition: challenge_service.pb.h:2579
uint64_t uint64
Definition: common.h:178
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attributes()
Definition: challenge_service.pb.h:2314
inline::std::string * release_answer()
Definition: challenge_service.pb.h:1845
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:351
void set_has_answer()
Definition: challenge_service.pb.h:1537
void set_has_id()
Definition: challenge_service.pb.h:2614
void clear_has_error_id()
Definition: challenge_service.pb.h:2665
void clear_has_record_not_found()
Definition: challenge_service.pb.h:2080
void set_has_data()
Definition: challenge_service.pb.h:1873
bool has_error_id() const
Definition: challenge_service.pb.h:2659
void set_has_record_not_found()
Definition: challenge_service.pb.h:2077
int GetCachedSize() const
Definition: challenge_service.pb.h:617
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:458
inline::std::string * release_payload_type()
Definition: challenge_service.pb.h:2890
const ::std::string & answer() const
Definition: challenge_service.pb.h:1809
void set_has_info()
Definition: challenge_service.pb.h:1461
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:643
Definition: challenge_service.pb.h:1262
inline::bgs::protocol::ProcessId * release_peer_id()
Definition: challenge_service.pb.h:2153
bool do_retry() const
Definition: challenge_service.pb.h:2063
::std::string * request_token_
Definition: challenge_service.pb.h:1250
bool has_data() const
Definition: challenge_service.pb.h:1974
void set_has_error_id()
Definition: challenge_service.pb.h:2662
Definition: rpc_types.pb.h:394
bool has_context() const
Definition: challenge_service.pb.h:2242
void clear_has_data()
Definition: challenge_service.pb.h:1720
inline::std::string * release_data()
Definition: challenge_service.pb.h:2025
void set_has_data()
Definition: challenge_service.pb.h:1717
ChallengePickedResponse & operator=(const ChallengePickedResponse &from)
Definition: challenge_service.pb.h:286
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:375
void set_has_request_token()
Definition: challenge_service.pb.h:2766
const ::std::string & payload() const
Definition: challenge_service.pb.h:2930
bool has_id() const
Definition: challenge_service.pb.h:1946
ChallengeCancelledRequest & operator=(const ChallengeCancelledRequest &from)
Definition: challenge_service.pb.h:583
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:667
Definition: ServiceBase.h:34
void set_request_token(const ::std::string &value)
Definition: challenge_service.pb.h:2782
void set_has_payload()
Definition: challenge_service.pb.h:2918
bool has_challenge() const
Definition: challenge_service.pb.h:1638
inline::std::string * release_answer()
Definition: challenge_service.pb.h:2734
::std::string * answer_
Definition: challenge_service.pb.h:460
void clear_info()
Definition: challenge_service.pb.h:1467
int _cached_size_
Definition: challenge_service.pb.h:1249
inline::std::string * mutable_request_token()
Definition: challenge_service.pb.h:2806
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:560
bool has_do_retry() const
Definition: challenge_service.pb.h:2050
inline::bgs::protocol::ProcessId * release_host()
Definition: challenge_service.pb.h:2343
void clear_has_payload()
Definition: challenge_service.pb.h:2921
void clear_retries()
Definition: challenge_service.pb.h:1619
::bgs::protocol::EntityId * game_account_id_
Definition: challenge_service.pb.h:1024
const ::bgs::protocol::EntityId & account_id() const
Definition: challenge_service.pb.h:2374
bool passed_
Definition: challenge_service.pb.h:1346
void set_deadline(::google::protobuf::uint64 value)
Definition: challenge_service.pb.h:2529
SendChallengeToUserResponse & operator=(const SendChallengeToUserResponse &from)
Definition: challenge_service.pb.h:825
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:885
Definition: challenge_service.pb.h:1034
::google::protobuf::uint32 id_
Definition: challenge_service.pb.h:1135
void set_payload_type(const ::std::string &value)
Definition: challenge_service.pb.h:2858
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:592
void clear_data()
Definition: challenge_service.pb.h:1723
const ::std::string & payload_type() const
Definition: challenge_service.pb.h:2854
void clear_peer_id()
Definition: challenge_service.pb.h:2139
void set_has_payload_type()
Definition: challenge_service.pb.h:2842
void clear_challenges()
Definition: challenge_service.pb.h:2215
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:1133
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > & challenges() const
Definition: challenge_service.pb.h:2231
static SendChallengeToUserRequest * default_instance_
Definition: challenge_service.pb.h:814
void clear_has_request_token()
Definition: challenge_service.pb.h:3001
::google::protobuf::uint32 type_
Definition: challenge_service.pb.h:168
::google::protobuf::uint64 timeout_
Definition: challenge_service.pb.h:804
bool has_timeout() const
Definition: challenge_service.pb.h:2266
static SendChallengeToUserResponse * default_instance_
Definition: challenge_service.pb.h:893
::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > challenges_
Definition: challenge_service.pb.h:803
bool has_new_challenge_protocol() const
Definition: challenge_service.pb.h:1686
inline::bgs::protocol::challenge::v1::Challenge * add_challenges()
Definition: challenge_service.pb.h:2448
void clear_has_id()
Definition: challenge_service.pb.h:2108
bool has_id() const
Definition: challenge_service.pb.h:2611
void clear_deadline()
Definition: challenge_service.pb.h:2521
bool has_data() const
Definition: challenge_service.pb.h:1714
void set_allocated_data(::std::string *data)
Definition: challenge_service.pb.h:1931
void set_has_context()
Definition: challenge_service.pb.h:2245
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attributes_
Definition: challenge_service.pb.h:805
void clear_has_context()
Definition: challenge_service.pb.h:2470
void set_retries(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:1627
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:641
void set_has_answer()
Definition: challenge_service.pb.h:1797
void set_has_peer_id()
Definition: challenge_service.pb.h:2133
inline::bgs::protocol::EntityId * release_account_id()
Definition: challenge_service.pb.h:2384
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > & challenges() const
Definition: challenge_service.pb.h:2453
bool new_challenge_protocol_
Definition: challenge_service.pb.h:269
void set_data(const ::std::string &value)
Definition: challenge_service.pb.h:1733
::google::protobuf::uint32 challenge_
Definition: challenge_service.pb.h:267
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:1160
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:1050
inline::std::string * mutable_request_token()
Definition: challenge_service.pb.h:3038
void set_record_not_found(bool value)
Definition: challenge_service.pb.h:2091
void set_allocated_request_token(::std::string *request_token)
Definition: challenge_service.pb.h:3056
bool has_answer() const
Definition: challenge_service.pb.h:1534
bool passed() const
Definition: challenge_service.pb.h:3084
void clear_account_id()
Definition: challenge_service.pb.h:2370
void clear_type()
Definition: challenge_service.pb.h:1443
inline::google::protobuf::uint32 type() const
Definition: challenge_service.pb.h:1447
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:909
bool has_type() const
Definition: challenge_service.pb.h:2635
bool new_challenge_protocol() const
Definition: challenge_service.pb.h:1699
inline::std::string * release_data()
Definition: challenge_service.pb.h:1921
void set_has_request_token()
Definition: challenge_service.pb.h:2998
::std::string * payload_
Definition: challenge_service.pb.h:1252
void clear_id()
Definition: challenge_service.pb.h:2620
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:456
Definition: BnetFileGenerator.h:47
const ::std::string & answer() const
Definition: challenge_service.pb.h:2698
inline::google::protobuf::uint32 type() const
Definition: challenge_service.pb.h:2648
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attributes()
Definition: challenge_service.pb.h:2560
int GetCachedSize() const
Definition: challenge_service.pb.h:1075
const FieldDescriptor value
Definition: descriptor.h:1522
void clear_has_timeout()
Definition: challenge_service.pb.h:2272
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
void clear_has_context()
Definition: challenge_service.pb.h:2248
ChallengeResultRequest & operator=(const ChallengeResultRequest &from)
Definition: challenge_service.pb.h:1041
void clear_passed()
Definition: challenge_service.pb.h:3080
void clear_has_type()
Definition: challenge_service.pb.h:1440
const ::std::string & data() const
Definition: challenge_service.pb.h:1729
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:1164
uint32_t uint32
Definition: g3dmath.h:168
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: challenge_service.pb.h:1341
::bgs::protocol::EntityId * account_id_
Definition: challenge_service.pb.h:807
std::integral_constant< uint32, 0xC6D90AB8u > NameHash
Definition: challenge_service.pb.h:1400
ChallengeExternalRequest & operator=(const ChallengeExternalRequest &from)
Definition: challenge_service.pb.h:1155
bool record_not_found_
Definition: challenge_service.pb.h:566
void clear_has_do_retry()
Definition: challenge_service.pb.h:2056
bool has_request_token() const
Definition: challenge_service.pb.h:2995
void clear_has_host()
Definition: challenge_service.pb.h:2326
void clear_has_account_id()
Definition: challenge_service.pb.h:2367
void clear_context()
Definition: challenge_service.pb.h:2473
int attributes_size() const
Definition: challenge_service.pb.h:2536
::bgs::protocol::ProcessId * peer_id_
Definition: challenge_service.pb.h:801
void clear_challenge()
Definition: challenge_service.pb.h:1647
void set_type(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:1451
::google::protobuf::uint32 error_id_
Definition: challenge_service.pb.h:1138
void set_has_timeout()
Definition: challenge_service.pb.h:2269
void set_has_account_id()
Definition: challenge_service.pb.h:2364
Definition: rpc_types.pb.h:214
void set_allocated_payload(::std::string *payload)
Definition: challenge_service.pb.h:2976
int _cached_size_
Definition: challenge_service.pb.h:886
int _cached_size_
Definition: challenge_service.pb.h:563
int GetCachedSize() const
Definition: challenge_service.pb.h:221
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: challenge_service.pb.h:77
inline::std::string * mutable_payload_type()
Definition: challenge_service.pb.h:2882
void clear_answer()
Definition: challenge_service.pb.h:1543
void set_allocated_data(::std::string *data)
Definition: challenge_service.pb.h:2035
void set_has_id()
Definition: challenge_service.pb.h:2105
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::challenge::v1::Challenge > * mutable_challenges()
Definition: challenge_service.pb.h:2458
void clear_attributes()
Definition: challenge_service.pb.h:2293
ChallengeAnsweredRequest & operator=(const ChallengeAnsweredRequest &from)
Definition: challenge_service.pb.h:370
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: challenge_service.pb.h:1274
void set_data(const ::std::string &value)
Definition: challenge_service.pb.h:1889
Definition: MessageBuffer.h:24
const ::bgs::protocol::ProcessId & host() const
Definition: challenge_service.pb.h:2333
const ::std::string & info() const
Definition: challenge_service.pb.h:1473
void set_id(::google::protobuf::uint32 value)
Definition: challenge_service.pb.h:1963
int _cached_size_
Definition: challenge_service.pb.h:644
inline::google::protobuf::uint64 deadline() const
Definition: challenge_service.pb.h:2525
const ::std::string & request_token() const
Definition: challenge_service.pb.h:2778
void clear_has_id()
Definition: challenge_service.pb.h:1952
::google::protobuf::uint32 _has_bits_[1]
Definition: challenge_service.pb.h:1017
void clear_has_answer()
Definition: challenge_service.pb.h:2689
ChallengePickedRequest & operator=(const ChallengePickedRequest &from)
Definition: challenge_service.pb.h:187
inline::google::protobuf::uint32 challenge() const
Definition: challenge_service.pb.h:1651
void clear_do_retry()
Definition: challenge_service.pb.h:2059
void set_answer(const ::std::string &value)
Definition: challenge_service.pb.h:2702
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attributes_
Definition: challenge_service.pb.h:1023
void set_has_retries()
Definition: challenge_service.pb.h:1613
int challenges_size() const
Definition: challenge_service.pb.h:2212
::google::protobuf::uint64 deadline_
Definition: challenge_service.pb.h:1022
bool has_account_id() const
Definition: challenge_service.pb.h:2361