TrinityCore
Loading...
Searching...
No Matches
club_ban.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: api/client/v1/club_ban.proto
3
4#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
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
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>
30#include "Define.h" // for TC_PROTO_API
31// @@protoc_insertion_point(includes)
32
33namespace bgs {
34namespace protocol {
35namespace club {
36namespace v1 {
37namespace client {
38
39// Internal implementation detail -- do not call these.
43
44class AddBanOptions;
45class ClubBan;
46
47// ===================================================================
48
49class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message {
50 public:
52 virtual ~AddBanOptions();
53
55
56 inline AddBanOptions& operator=(const AddBanOptions& from) {
57 CopyFrom(from);
58 return *this;
59 }
60
61 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
62 return _unknown_fields_;
63 }
64
65 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
66 return &_unknown_fields_;
67 }
68
69 static const ::google::protobuf::Descriptor* descriptor();
71
72 void Swap(AddBanOptions* other);
73
74 // implements Message ----------------------------------------------
75
77 int GetCachedSize() const { return _cached_size_; }
78 private:
79 void SharedCtor();
80 void SharedDtor();
81 void SetCachedSize(int size) const;
82 public:
83 ::google::protobuf::Metadata GetMetadata() const;
84
85 // nested types ----------------------------------------------------
86
87 // accessors -------------------------------------------------------
88
89 // optional .bgs.protocol.club.v1.MemberId target_id = 1;
90 inline bool has_target_id() const;
91 inline void clear_target_id();
92 static const int kTargetIdFieldNumber = 1;
93 inline const ::bgs::protocol::club::v1::MemberId& target_id() const;
94 inline ::bgs::protocol::club::v1::MemberId* mutable_target_id();
95 inline ::bgs::protocol::club::v1::MemberId* release_target_id();
96 inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id);
97
98 // repeated .bgs.protocol.v2.Attribute attribute = 2;
99 inline int attribute_size() const;
100 inline void clear_attribute();
101 static const int kAttributeFieldNumber = 2;
102 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
103 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
104 inline ::bgs::protocol::v2::Attribute* add_attribute();
105 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
106 attribute() const;
107 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
108 mutable_attribute();
109
110 // optional string reason = 3;
111 inline bool has_reason() const;
112 inline void clear_reason();
113 static const int kReasonFieldNumber = 3;
114 inline const ::std::string& reason() const;
115 inline void set_reason(const ::std::string& value);
116 inline void set_reason(const char* value);
117 inline void set_reason(const char* value, size_t size);
118 inline ::std::string* mutable_reason();
119 inline ::std::string* release_reason();
120 inline void set_allocated_reason(::std::string* reason);
121
122 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanOptions)
123 private:
124 inline void set_has_target_id();
125 inline void clear_has_target_id();
126 inline void set_has_reason();
127 inline void clear_has_reason();
128
129 ::google::protobuf::UnknownFieldSet _unknown_fields_;
130
131 ::google::protobuf::uint32 _has_bits_[1];
132 mutable int _cached_size_;
134 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
135 ::std::string* reason_;
139
142};
143// -------------------------------------------------------------------
144
145class TC_PROTO_API ClubBan : public ::google::protobuf::Message {
146 public:
148 virtual ~ClubBan();
149
150 ClubBan(const ClubBan& from);
151
152 inline ClubBan& operator=(const ClubBan& from) {
153 CopyFrom(from);
154 return *this;
155 }
156
157 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
158 return _unknown_fields_;
159 }
160
161 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
162 return &_unknown_fields_;
163 }
164
165 static const ::google::protobuf::Descriptor* descriptor();
166 static const ClubBan& default_instance();
167
168 void Swap(ClubBan* other);
169
170 // implements Message ----------------------------------------------
171
172 ClubBan* New() const;
173 int GetCachedSize() const { return _cached_size_; }
174 private:
177 void SetCachedSize(int size) const;
178 public:
179 ::google::protobuf::Metadata GetMetadata() const;
180
181 // nested types ----------------------------------------------------
182
183 // accessors -------------------------------------------------------
184
185 // optional .bgs.protocol.club.v1.MemberId id = 1;
186 inline bool has_id() const;
187 inline void clear_id();
188 static const int kIdFieldNumber = 1;
189 inline const ::bgs::protocol::club::v1::MemberId& id() const;
190 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
191 inline ::bgs::protocol::club::v1::MemberId* release_id();
192 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
193
194 // optional string battle_tag = 2;
195 inline bool has_battle_tag() const;
196 inline void clear_battle_tag();
197 static const int kBattleTagFieldNumber = 2;
198 inline const ::std::string& battle_tag() const;
199 inline void set_battle_tag(const ::std::string& value);
200 inline void set_battle_tag(const char* value);
201 inline void set_battle_tag(const char* value, size_t size);
202 inline ::std::string* mutable_battle_tag();
203 inline ::std::string* release_battle_tag();
204 inline void set_allocated_battle_tag(::std::string* battle_tag);
205
206 // optional .bgs.protocol.club.v1.client.MemberDescription creator = 3;
207 inline bool has_creator() const;
208 inline void clear_creator();
209 static const int kCreatorFieldNumber = 3;
210 inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const;
211 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator();
212 inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator();
213 inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator);
214
215 // repeated .bgs.protocol.v2.Attribute attribute = 4;
216 inline int attribute_size() const;
217 inline void clear_attribute();
218 static const int kAttributeFieldNumber = 4;
219 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
220 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
221 inline ::bgs::protocol::v2::Attribute* add_attribute();
222 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
223 attribute() const;
224 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
225 mutable_attribute();
226
227 // optional string reason = 5;
228 inline bool has_reason() const;
229 inline void clear_reason();
230 static const int kReasonFieldNumber = 5;
231 inline const ::std::string& reason() const;
232 inline void set_reason(const ::std::string& value);
233 inline void set_reason(const char* value);
234 inline void set_reason(const char* value, size_t size);
235 inline ::std::string* mutable_reason();
236 inline ::std::string* release_reason();
237 inline void set_allocated_reason(::std::string* reason);
238
239 // optional uint64 creation_time = 6;
240 inline bool has_creation_time() const;
241 inline void clear_creation_time();
242 static const int kCreationTimeFieldNumber = 6;
243 inline ::google::protobuf::uint64 creation_time() const;
244 inline void set_creation_time(::google::protobuf::uint64 value);
245
246 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBan)
247 private:
248 inline void set_has_id();
249 inline void clear_has_id();
250 inline void set_has_battle_tag();
251 inline void clear_has_battle_tag();
252 inline void set_has_creator();
253 inline void clear_has_creator();
254 inline void set_has_reason();
255 inline void clear_has_reason();
256 inline void set_has_creation_time();
257 inline void clear_has_creation_time();
258
259 ::google::protobuf::UnknownFieldSet _unknown_fields_;
260
261 ::google::protobuf::uint32 _has_bits_[1];
262 mutable int _cached_size_;
264 ::std::string* battle_tag_;
266 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
267 ::std::string* reason_;
268 ::google::protobuf::uint64 creation_time_;
272
275};
276// ===================================================================
277
278// ===================================================================
279
280// ===================================================================
281
282// AddBanOptions
283
284// optional .bgs.protocol.club.v1.MemberId target_id = 1;
285inline bool AddBanOptions::has_target_id() const {
286 return (_has_bits_[0] & 0x00000001u) != 0;
287}
289 _has_bits_[0] |= 0x00000001u;
290}
292 _has_bits_[0] &= ~0x00000001u;
293}
295 if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear();
297}
298inline const ::bgs::protocol::club::v1::MemberId& AddBanOptions::target_id() const {
299 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.target_id)
301}
302inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::mutable_target_id() {
304 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId;
305 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.target_id)
306 return target_id_;
307}
308inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::release_target_id() {
311 target_id_ = NULL;
312 return temp;
313}
315 delete target_id_;
317 if (target_id) {
319 } else {
321 }
322 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.target_id)
323}
324
325// repeated .bgs.protocol.v2.Attribute attribute = 2;
327 return attribute_.size();
328}
330 attribute_.Clear();
331}
332inline const ::bgs::protocol::v2::Attribute& AddBanOptions::attribute(int index) const {
333 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.attribute)
334 return attribute_.Get(index);
335}
336inline ::bgs::protocol::v2::Attribute* AddBanOptions::mutable_attribute(int index) {
337 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.attribute)
338 return attribute_.Mutable(index);
339}
340inline ::bgs::protocol::v2::Attribute* AddBanOptions::add_attribute() {
341 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.AddBanOptions.attribute)
342 return attribute_.Add();
343}
344inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
346 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.AddBanOptions.attribute)
347 return attribute_;
348}
349inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
351 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AddBanOptions.attribute)
352 return &attribute_;
353}
354
355// optional string reason = 3;
356inline bool AddBanOptions::has_reason() const {
357 return (_has_bits_[0] & 0x00000004u) != 0;
358}
360 _has_bits_[0] |= 0x00000004u;
361}
363 _has_bits_[0] &= ~0x00000004u;
364}
366 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
367 reason_->clear();
368 }
370}
371inline const ::std::string& AddBanOptions::reason() const {
372 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.reason)
373 return *reason_;
374}
375inline void AddBanOptions::set_reason(const ::std::string& value) {
377 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
378 reason_ = new ::std::string;
379 }
380 reason_->assign(value);
381 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanOptions.reason)
382}
383inline void AddBanOptions::set_reason(const char* value) {
385 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
386 reason_ = new ::std::string;
387 }
388 reason_->assign(value);
389 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.AddBanOptions.reason)
390}
391inline void AddBanOptions::set_reason(const char* value, size_t size) {
393 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
394 reason_ = new ::std::string;
395 }
396 reason_->assign(reinterpret_cast<const char*>(value), size);
397 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.AddBanOptions.reason)
398}
399inline ::std::string* AddBanOptions::mutable_reason() {
401 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
402 reason_ = new ::std::string;
403 }
404 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.reason)
405 return reason_;
406}
407inline ::std::string* AddBanOptions::release_reason() {
409 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
410 return NULL;
411 } else {
412 ::std::string* temp = reason_;
413 reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
414 return temp;
415 }
416}
417inline void AddBanOptions::set_allocated_reason(::std::string* reason) {
418 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
419 delete reason_;
420 }
421 if (reason) {
423 reason_ = reason;
424 } else {
426 reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
427 }
428 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.reason)
429}
430
431// -------------------------------------------------------------------
432
433// ClubBan
434
435// optional .bgs.protocol.club.v1.MemberId id = 1;
436inline bool ClubBan::has_id() const {
437 return (_has_bits_[0] & 0x00000001u) != 0;
438}
439inline void ClubBan::set_has_id() {
440 _has_bits_[0] |= 0x00000001u;
441}
443 _has_bits_[0] &= ~0x00000001u;
444}
445inline void ClubBan::clear_id() {
446 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
447 clear_has_id();
448}
449inline const ::bgs::protocol::club::v1::MemberId& ClubBan::id() const {
450 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.id)
451 return id_ != NULL ? *id_ : *default_instance_->id_;
452}
453inline ::bgs::protocol::club::v1::MemberId* ClubBan::mutable_id() {
454 set_has_id();
455 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
456 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.id)
457 return id_;
458}
459inline ::bgs::protocol::club::v1::MemberId* ClubBan::release_id() {
460 clear_has_id();
462 id_ = NULL;
463 return temp;
464}
466 delete id_;
467 id_ = id;
468 if (id) {
469 set_has_id();
470 } else {
471 clear_has_id();
472 }
473 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.id)
474}
475
476// optional string battle_tag = 2;
477inline bool ClubBan::has_battle_tag() const {
478 return (_has_bits_[0] & 0x00000002u) != 0;
479}
481 _has_bits_[0] |= 0x00000002u;
482}
484 _has_bits_[0] &= ~0x00000002u;
485}
487 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
488 battle_tag_->clear();
489 }
491}
492inline const ::std::string& ClubBan::battle_tag() const {
493 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.battle_tag)
494 return *battle_tag_;
495}
496inline void ClubBan::set_battle_tag(const ::std::string& value) {
498 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
499 battle_tag_ = new ::std::string;
500 }
501 battle_tag_->assign(value);
502 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.battle_tag)
503}
504inline void ClubBan::set_battle_tag(const char* value) {
506 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
507 battle_tag_ = new ::std::string;
508 }
509 battle_tag_->assign(value);
510 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.battle_tag)
511}
512inline void ClubBan::set_battle_tag(const char* value, size_t size) {
514 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
515 battle_tag_ = new ::std::string;
516 }
517 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
518 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.battle_tag)
519}
520inline ::std::string* ClubBan::mutable_battle_tag() {
522 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
523 battle_tag_ = new ::std::string;
524 }
525 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.battle_tag)
526 return battle_tag_;
527}
528inline ::std::string* ClubBan::release_battle_tag() {
530 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
531 return NULL;
532 } else {
533 ::std::string* temp = battle_tag_;
534 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
535 return temp;
536 }
537}
538inline void ClubBan::set_allocated_battle_tag(::std::string* battle_tag) {
539 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
540 delete battle_tag_;
541 }
542 if (battle_tag) {
545 } else {
547 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
548 }
549 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.battle_tag)
550}
551
552// optional .bgs.protocol.club.v1.client.MemberDescription creator = 3;
553inline bool ClubBan::has_creator() const {
554 return (_has_bits_[0] & 0x00000004u) != 0;
555}
557 _has_bits_[0] |= 0x00000004u;
558}
560 _has_bits_[0] &= ~0x00000004u;
561}
563 if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear();
565}
566inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubBan::creator() const {
567 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creator)
568 return creator_ != NULL ? *creator_ : *default_instance_->creator_;
569}
570inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::mutable_creator() {
572 if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription;
573 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.creator)
574 return creator_;
575}
576inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::release_creator() {
579 creator_ = NULL;
580 return temp;
581}
583 delete creator_;
585 if (creator) {
587 } else {
589 }
590 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.creator)
591}
592
593// repeated .bgs.protocol.v2.Attribute attribute = 4;
594inline int ClubBan::attribute_size() const {
595 return attribute_.size();
596}
598 attribute_.Clear();
599}
600inline const ::bgs::protocol::v2::Attribute& ClubBan::attribute(int index) const {
601 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.attribute)
602 return attribute_.Get(index);
603}
604inline ::bgs::protocol::v2::Attribute* ClubBan::mutable_attribute(int index) {
605 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.attribute)
606 return attribute_.Mutable(index);
607}
608inline ::bgs::protocol::v2::Attribute* ClubBan::add_attribute() {
609 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubBan.attribute)
610 return attribute_.Add();
611}
612inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
614 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubBan.attribute)
615 return attribute_;
616}
617inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
619 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubBan.attribute)
620 return &attribute_;
621}
622
623// optional string reason = 5;
624inline bool ClubBan::has_reason() const {
625 return (_has_bits_[0] & 0x00000010u) != 0;
626}
628 _has_bits_[0] |= 0x00000010u;
629}
631 _has_bits_[0] &= ~0x00000010u;
632}
634 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
635 reason_->clear();
636 }
638}
639inline const ::std::string& ClubBan::reason() const {
640 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.reason)
641 return *reason_;
642}
643inline void ClubBan::set_reason(const ::std::string& value) {
645 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
646 reason_ = new ::std::string;
647 }
648 reason_->assign(value);
649 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.reason)
650}
651inline void ClubBan::set_reason(const char* value) {
653 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
654 reason_ = new ::std::string;
655 }
656 reason_->assign(value);
657 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.reason)
658}
659inline void ClubBan::set_reason(const char* value, size_t size) {
661 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
662 reason_ = new ::std::string;
663 }
664 reason_->assign(reinterpret_cast<const char*>(value), size);
665 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.reason)
666}
667inline ::std::string* ClubBan::mutable_reason() {
669 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
670 reason_ = new ::std::string;
671 }
672 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.reason)
673 return reason_;
674}
675inline ::std::string* ClubBan::release_reason() {
677 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
678 return NULL;
679 } else {
680 ::std::string* temp = reason_;
681 reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
682 return temp;
683 }
684}
685inline void ClubBan::set_allocated_reason(::std::string* reason) {
686 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
687 delete reason_;
688 }
689 if (reason) {
691 reason_ = reason;
692 } else {
694 reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
695 }
696 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.reason)
697}
698
699// optional uint64 creation_time = 6;
700inline bool ClubBan::has_creation_time() const {
701 return (_has_bits_[0] & 0x00000020u) != 0;
702}
704 _has_bits_[0] |= 0x00000020u;
705}
707 _has_bits_[0] &= ~0x00000020u;
708}
710 creation_time_ = GOOGLE_ULONGLONG(0);
712}
713inline ::google::protobuf::uint64 ClubBan::creation_time() const {
714 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creation_time)
715 return creation_time_;
716}
717inline void ClubBan::set_creation_time(::google::protobuf::uint64 value) {
719 creation_time_ = value;
720 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.creation_time)
721}
722
723// @@protoc_insertion_point(namespace_scope)
724
725} // namespace client
726} // namespace v1
727} // namespace club
728} // namespace protocol
729} // namespace bgs
730
731#ifndef SWIG
732namespace google {
733namespace protobuf {
734} // namespace google
735} // namespace protobuf
736#endif // SWIG
737
738// @@protoc_insertion_point(global_scope)
739
740#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_allocated_reason(::std::string *reason)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
::google::protobuf::uint32 _has_bits_[1]
void set_allocated_target_id(::bgs::protocol::club::v1::MemberId *target_id)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition club_ban.pb.h:65
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto()
::bgs::protocol::club::v1::MemberId * target_id_
void set_reason(const ::std::string &value)
static const AddBanOptions & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::MemberId * release_target_id()
AddBanOptions & operator=(const AddBanOptions &from)
Definition club_ban.pb.h:56
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition club_ban.pb.h:61
inline ::bgs::protocol::club::v1::MemberId * mutable_target_id()
inline ::bgs::protocol::v2::Attribute * add_attribute()
const ::bgs::protocol::club::v1::MemberId & target_id() const
inline ::bgs::protocol::v2::Attribute * add_attribute()
const ::bgs::protocol::club::v1::client::MemberDescription & creator() const
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::client::MemberDescription * creator_
inline ::bgs::protocol::club::v1::client::MemberDescription * release_creator()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
ClubBan & operator=(const ClubBan &from)
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::uint64 creation_time() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
void set_battle_tag(const ::std::string &value)
void set_allocated_reason(::std::string *reason)
const ::std::string & battle_tag() const
static const ClubBan & default_instance()
inline ::std::string * release_battle_tag()
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto()
inline ::std::string * mutable_battle_tag()
inline ::bgs::protocol::club::v1::client::MemberDescription * mutable_creator()
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
inline ::std::string * mutable_reason()
const ::bgs::protocol::club::v1::MemberId & id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_battle_tag(::std::string *battle_tag)
::google::protobuf::uint64 creation_time_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * release_reason()
void set_creation_time(::google::protobuf::uint64 value)
void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription *creator)
const ::std::string & reason() const
::bgs::protocol::club::v1::MemberId * id_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
inline ::bgs::protocol::club::v1::MemberId * release_id()
void set_reason(const ::std::string &value)
void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto()
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto()
Definition Session.h:37