4#ifndef PROTOBUF_club_5fban_2eproto__INCLUDED
5#define PROTOBUF_club_5fban_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>
61 return _unknown_fields_;
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor*
descriptor();
89 inline bool has_target_id()
const;
90 inline void clear_target_id();
91 static const int kTargetIdFieldNumber = 1;
92 inline const ::bgs::protocol::club::v1::MemberId& target_id()
const;
93 inline ::bgs::protocol::club::v1::MemberId* mutable_target_id();
94 inline ::bgs::protocol::club::v1::MemberId* release_target_id();
98 inline int attribute_size()
const;
99 inline void clear_attribute();
100 static const int kAttributeFieldNumber = 2;
101 inline const ::bgs::protocol::v2::Attribute& attribute(
int index)
const;
102 inline ::bgs::protocol::v2::Attribute* mutable_attribute(
int index);
103 inline ::bgs::protocol::v2::Attribute* add_attribute();
104 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
106 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
110 inline bool has_reason()
const;
111 inline void clear_reason();
112 static const int kReasonFieldNumber = 3;
113 inline const ::std::string& reason()
const;
114 inline void set_reason(const ::std::string& value);
115 inline void set_reason(
const char* value);
116 inline void set_reason(
const char* value,
size_t size);
117 inline ::std::string* mutable_reason();
118 inline ::std::string* release_reason();
119 inline void set_allocated_reason(::std::string* reason);
123 inline void set_has_target_id();
124 inline void clear_has_target_id();
125 inline void set_has_reason();
126 inline void clear_has_reason();
133 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >
attribute_;
157 return _unknown_fields_;
161 return &_unknown_fields_;
185 inline bool has_id()
const;
186 inline void clear_id();
187 static const int kIdFieldNumber = 1;
188 inline const ::bgs::protocol::club::v1::MemberId& id()
const;
189 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
190 inline ::bgs::protocol::club::v1::MemberId* release_id();
194 inline bool has_battle_tag()
const;
195 inline void clear_battle_tag();
196 static const int kBattleTagFieldNumber = 2;
197 inline const ::std::string& battle_tag()
const;
198 inline void set_battle_tag(const ::std::string& value);
199 inline void set_battle_tag(
const char* value);
200 inline void set_battle_tag(
const char* value,
size_t size);
201 inline ::std::string* mutable_battle_tag();
202 inline ::std::string* release_battle_tag();
203 inline void set_allocated_battle_tag(::std::string* battle_tag);
206 inline bool has_creator()
const;
207 inline void clear_creator();
208 static const int kCreatorFieldNumber = 3;
209 inline const ::bgs::protocol::club::v1::MemberDescription& creator()
const;
210 inline ::bgs::protocol::club::v1::MemberDescription* mutable_creator();
211 inline ::bgs::protocol::club::v1::MemberDescription* release_creator();
215 inline int attribute_size()
const;
216 inline void clear_attribute();
217 static const int kAttributeFieldNumber = 4;
218 inline const ::bgs::protocol::v2::Attribute& attribute(
int index)
const;
219 inline ::bgs::protocol::v2::Attribute* mutable_attribute(
int index);
220 inline ::bgs::protocol::v2::Attribute* add_attribute();
221 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
223 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
227 inline bool has_reason()
const;
228 inline void clear_reason();
229 static const int kReasonFieldNumber = 5;
230 inline const ::std::string& reason()
const;
231 inline void set_reason(const ::std::string& value);
232 inline void set_reason(
const char* value);
233 inline void set_reason(
const char* value,
size_t size);
234 inline ::std::string* mutable_reason();
235 inline ::std::string* release_reason();
236 inline void set_allocated_reason(::std::string* reason);
239 inline bool has_creation_time()
const;
240 inline void clear_creation_time();
241 static const int kCreationTimeFieldNumber = 6;
247 inline void set_has_id();
248 inline void clear_has_id();
249 inline void set_has_battle_tag();
250 inline void clear_has_battle_tag();
251 inline void set_has_creator();
252 inline void clear_has_creator();
253 inline void set_has_reason();
254 inline void clear_has_reason();
255 inline void set_has_creation_time();
256 inline void clear_has_creation_time();
265 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >
attribute_;
343inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
348inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
365 if (
reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
376 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
384 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
392 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
395 reason_->assign(
reinterpret_cast<const char*
>(value),
size);
400 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
408 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
412 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
417 if (
reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
425 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
445 if (
id_ != NULL)
id_->::bgs::protocol::club::v1::MemberId::Clear();
448inline const ::bgs::protocol::club::v1::MemberId&
ClubBan::id()
const {
454 if (
id_ == NULL)
id_ = new ::bgs::protocol::club::v1::MemberId;
486 if (
battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
497 if (
battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
505 if (
battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
513 if (
battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
521 if (
battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
529 if (
battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
533 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
538 if (
battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
546 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
562 if (
creator_ != NULL)
creator_->::bgs::protocol::club::v1::MemberDescription::Clear();
571 if (
creator_ == NULL)
creator_ = new ::bgs::protocol::club::v1::MemberDescription;
611inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
616inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
633 if (
reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
644 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
652 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
660 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
663 reason_->assign(
reinterpret_cast<const char*
>(value),
size);
668 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
676 if (
reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
680 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
685 if (
reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
693 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
static AddBanOptions * default_instance_
bool has_target_id() const
::bgs::protocol::club::v1::MemberId * target_id_
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto()
static const AddBanOptions & default_instance()
::google::protobuf::uint32 _has_bits_[1]
void set_allocated_target_id(::bgs::protocol::club::v1::MemberId *target_id)
AddBanOptions & operator=(const AddBanOptions &from)
void SetCachedSize(int size) const
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
int attribute_size() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void InitAsDefaultInstance()
inline ::std::string * mutable_reason()
inline ::bgs::protocol::club::v1::MemberId * mutable_target_id()
inline ::std::string * release_reason()
friend void protobuf_AssignDesc_club_5fban_2eproto()
AddBanOptions * New() const
const ::bgs::protocol::club::v1::MemberId & target_id() const
AddBanOptions(const AddBanOptions &from)
void clear_has_target_id()
const ::std::string & reason() const
friend void protobuf_ShutdownFile_club_5fban_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
inline ::bgs::protocol::v2::Attribute * add_attribute()
inline ::bgs::protocol::club::v1::MemberId * release_target_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_reason(::std::string *reason)
void set_reason(const ::std::string &value)
void Swap(AddBanOptions *other)
ClubBan(const ClubBan &from)
inline ::bgs::protocol::v2::Attribute * add_attribute()
void SetCachedSize(int size) const
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
ClubBan & operator=(const ClubBan &from)
const ::bgs::protocol::club::v1::MemberDescription & creator() const
int attribute_size() const
void clear_creation_time()
::bgs::protocol::club::v1::MemberDescription * creator_
::google::protobuf::uint32 _has_bits_[1]
friend void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto()
void set_creation_time(::google::protobuf::uint64 value)
void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription *creator)
::std::string * battle_tag_
void InitAsDefaultInstance()
bool has_battle_tag() const
const ::std::string & reason() const
const ::std::string & battle_tag() const
bool has_creation_time() const
int GetCachedSize() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
::bgs::protocol::club::v1::MemberId * id_
void clear_has_battle_tag()
inline ::std::string * release_reason()
inline ::std::string * release_battle_tag()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::google::protobuf::uint64 creation_time() const
friend void protobuf_AssignDesc_club_5fban_2eproto()
void set_has_creation_time()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint64 creation_time_
inline ::bgs::protocol::club::v1::MemberDescription * mutable_creator()
static const ::google::protobuf::Descriptor * descriptor()
void set_battle_tag(const ::std::string &value)
static ClubBan * default_instance_
void set_has_battle_tag()
inline ::bgs::protocol::club::v1::MemberId * release_id()
void set_allocated_battle_tag(::std::string *battle_tag)
inline ::std::string * mutable_battle_tag()
friend void protobuf_ShutdownFile_club_5fban_2eproto()
static const ClubBan & default_instance()
inline ::bgs::protocol::club::v1::MemberDescription * release_creator()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void clear_has_creation_time()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::club::v1::MemberId & id() const
inline ::std::string * mutable_reason()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_reason(const ::std::string &value)
void Swap(ClubBan *other)
void set_allocated_reason(::std::string *reason)
constexpr std::size_t size()
void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto()
void protobuf_ShutdownFile_club_5fban_2eproto()
void protobuf_AssignDesc_club_5fban_2eproto()