4#ifndef PROTOBUF_challenge_5fservice_2eproto__INCLUDED
5#define PROTOBUF_challenge_5fservice_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
62 return _unknown_fields_;
66 return &_unknown_fields_;
69 static const ::google::protobuf::Descriptor*
descriptor();
90 inline bool has_request_token()
const;
91 inline void clear_request_token();
92 static const int kRequestTokenFieldNumber = 1;
93 inline const ::std::string& request_token()
const;
94 inline void set_request_token(const ::std::string& value);
95 inline void set_request_token(
const char* value);
96 inline void set_request_token(
const char* value,
size_t size);
97 inline ::std::string* mutable_request_token();
98 inline ::std::string* release_request_token();
99 inline void set_allocated_request_token(::std::string* request_token);
102 inline bool has_payload_type()
const;
103 inline void clear_payload_type();
104 static const int kPayloadTypeFieldNumber = 2;
105 inline const ::std::string& payload_type()
const;
106 inline void set_payload_type(const ::std::string& value);
107 inline void set_payload_type(
const char* value);
108 inline void set_payload_type(
const char* value,
size_t size);
109 inline ::std::string* mutable_payload_type();
110 inline ::std::string* release_payload_type();
111 inline void set_allocated_payload_type(::std::string* payload_type);
114 inline bool has_payload()
const;
115 inline void clear_payload();
116 static const int kPayloadFieldNumber = 3;
117 inline const ::std::string& payload()
const;
118 inline void set_payload(const ::std::string& value);
119 inline void set_payload(
const char* value);
120 inline void set_payload(
const void* value,
size_t size);
121 inline ::std::string* mutable_payload();
122 inline ::std::string* release_payload();
123 inline void set_allocated_payload(::std::string* payload);
127 inline void set_has_request_token();
128 inline void clear_has_request_token();
129 inline void set_has_payload_type();
130 inline void clear_has_payload_type();
131 inline void set_has_payload();
132 inline void clear_has_payload();
163 return _unknown_fields_;
167 return &_unknown_fields_;
191 inline bool has_request_token()
const;
192 inline void clear_request_token();
193 static const int kRequestTokenFieldNumber = 1;
194 inline const ::std::string& request_token()
const;
195 inline void set_request_token(const ::std::string& value);
196 inline void set_request_token(
const char* value);
197 inline void set_request_token(
const char* value,
size_t size);
198 inline ::std::string* mutable_request_token();
199 inline ::std::string* release_request_token();
200 inline void set_allocated_request_token(::std::string* request_token);
203 inline bool has_passed()
const;
204 inline void clear_passed();
205 static const int kPassedFieldNumber = 2;
206 inline bool passed()
const;
207 inline void set_passed(
bool value);
211 inline void set_has_request_token();
212 inline void clear_has_request_token();
213 inline void set_has_passed();
214 inline void clear_has_passed();
243 typedef std::integral_constant<uint32, 0xC6D90AB8u>
NameHash;
245 static google::protobuf::ServiceDescriptor
const*
descriptor();
271 if (
request_token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
282 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
290 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
298 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
306 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
314 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
318 request_token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
323 if (
request_token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
331 request_token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
347 if (
payload_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
358 if (
payload_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
366 if (
payload_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
374 if (
payload_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
382 if (
payload_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
390 if (
payload_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
394 payload_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
399 if (
payload_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
407 payload_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
423 if (
payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
434 if (
payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
442 if (
payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
450 if (
payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
453 payload_->assign(
reinterpret_cast<const char*
>(value),
size);
458 if (
payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
466 if (
payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
470 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
475 if (
payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
483 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
503 if (
request_token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
514 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
522 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
530 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
538 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
546 if (
request_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
550 request_token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
555 if (
request_token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
563 request_token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
friend void protobuf_AssignDesc_challenge_5fservice_2eproto()
bool has_payload_type() const
void SetCachedSize(int size) const
void set_payload_type(const ::std::string &value)
void set_payload(const ::std::string &value)
void clear_has_payload_type()
void set_request_token(const ::std::string &value)
void set_allocated_payload(::std::string *payload)
void Swap(ChallengeExternalRequest *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * mutable_payload_type()
friend void TC_PROTO_API protobuf_AddDesc_challenge_5fservice_2eproto()
ChallengeExternalRequest()
::std::string * payload_type_
void set_allocated_request_token(::std::string *request_token)
ChallengeExternalRequest * New() const
inline ::std::string * release_request_token()
inline ::std::string * mutable_payload()
ChallengeExternalRequest & operator=(const ChallengeExternalRequest &from)
static const ChallengeExternalRequest & default_instance()
virtual ~ChallengeExternalRequest()
const ::std::string & payload() const
void clear_has_request_token()
const ::std::string & payload_type() const
void clear_payload_type()
ChallengeExternalRequest(const ChallengeExternalRequest &from)
friend void protobuf_ShutdownFile_challenge_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::std::string * mutable_request_token()
inline ::std::string * release_payload()
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static ChallengeExternalRequest * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_has_payload_type()
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
void clear_request_token()
void set_allocated_payload_type(::std::string *payload_type)
void set_has_request_token()
::std::string * request_token_
inline ::std::string * release_payload_type()
bool has_request_token() const
const ::std::string & request_token() const
void InitAsDefaultInstance()
void set_passed(bool value)
friend void protobuf_AssignDesc_challenge_5fservice_2eproto()
int GetCachedSize() const
ChallengeExternalResult & operator=(const ChallengeExternalResult &from)
inline ::std::string * mutable_request_token()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::std::string * release_request_token()
bool has_request_token() const
ChallengeExternalResult(const ChallengeExternalResult &from)
void SetCachedSize(int size) const
friend void TC_PROTO_API protobuf_AddDesc_challenge_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::std::string * request_token_
void Swap(ChallengeExternalResult *other)
void set_request_token(const ::std::string &value)
::google::protobuf::Metadata GetMetadata() const
void set_has_request_token()
::google::protobuf::uint32 _has_bits_[1]
static const ChallengeExternalResult & default_instance()
const ::std::string & request_token() const
void InitAsDefaultInstance()
ChallengeExternalResult * New() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_challenge_5fservice_2eproto()
void clear_has_request_token()
static ChallengeExternalResult * default_instance_
void clear_request_token()
void set_allocated_request_token(::std::string *request_token)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
ChallengeExternalResult()
virtual ~ChallengeExternalResult()
ChallengeListener & operator=(ChallengeListener &&)=delete
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
ChallengeListener(bool use_original_hash)
virtual ~ChallengeListener()
static google::protobuf::ServiceDescriptor const * descriptor()
void OnExternalChallenge(::bgs::protocol::challenge::v1::ChallengeExternalRequest const *request, bool client=false, bool server=false)
ChallengeListener & operator=(ChallengeListener const &)=delete
std::integral_constant< uint32, 0xC6D90AB8u > NameHash
ChallengeListener(ChallengeListener &&)=delete
ChallengeListener(ChallengeListener const &)=delete
void OnExternalChallengeResult(::bgs::protocol::challenge::v1::ChallengeExternalResult const *request, bool client=false, bool server=false)
std::integral_constant< uint32, 0xBBDA171Fu > OriginalHash
constexpr std::size_t size()
void protobuf_ShutdownFile_challenge_5fservice_2eproto()
void protobuf_AssignDesc_challenge_5fservice_2eproto()
void TC_PROTO_API protobuf_AddDesc_challenge_5fservice_2eproto()