TrinityCore
Loading...
Searching...
No Matches
club_member.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_member.proto
3
4#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_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>
27#include "api/common/v1/club_member_id.pb.h" // IWYU pragma: export
30#include "rpc_types.pb.h"
31#include "Define.h" // for TC_PROTO_API
32// @@protoc_insertion_point(includes)
33
34namespace bgs {
35namespace protocol {
36namespace club {
37namespace v1 {
38namespace client {
39
40// Internal implementation detail -- do not call these.
44
45class Member;
46class MemberResult;
53class RoleOptions;
54class RoleAssignment;
60
61// ===================================================================
62
63class TC_PROTO_API Member : public ::google::protobuf::Message {
64 public:
66 virtual ~Member();
67
68 Member(const Member& from);
69
70 inline Member& operator=(const Member& from) {
71 CopyFrom(from);
72 return *this;
73 }
74
75 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
76 return _unknown_fields_;
77 }
78
79 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
80 return &_unknown_fields_;
81 }
82
83 static const ::google::protobuf::Descriptor* descriptor();
84 static const Member& default_instance();
85
86 void Swap(Member* other);
87
88 // implements Message ----------------------------------------------
89
90 Member* New() const;
91 int GetCachedSize() const { return _cached_size_; }
92 private:
93 void SharedCtor();
94 void SharedDtor();
95 void SetCachedSize(int size) const;
96 public:
97 ::google::protobuf::Metadata GetMetadata() const;
98
99 // nested types ----------------------------------------------------
100
101 // accessors -------------------------------------------------------
102
103 // optional .bgs.protocol.club.v1.MemberId id = 1;
104 inline bool has_id() const;
105 inline void clear_id();
106 static const int kIdFieldNumber = 1;
107 inline const ::bgs::protocol::club::v1::MemberId& id() const;
108 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
109 inline ::bgs::protocol::club::v1::MemberId* release_id();
110 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
111
112 // optional string battle_tag = 2;
113 inline bool has_battle_tag() const;
114 inline void clear_battle_tag();
115 static const int kBattleTagFieldNumber = 2;
116 inline const ::std::string& battle_tag() const;
117 inline void set_battle_tag(const ::std::string& value);
118 inline void set_battle_tag(const char* value);
119 inline void set_battle_tag(const char* value, size_t size);
120 inline ::std::string* mutable_battle_tag();
121 inline ::std::string* release_battle_tag();
122 inline void set_allocated_battle_tag(::std::string* battle_tag);
123
124 // repeated uint32 role = 3 [packed = true];
125 inline int role_size() const;
126 inline void clear_role();
127 static const int kRoleFieldNumber = 3;
128 inline ::google::protobuf::uint32 role(int index) const;
129 inline void set_role(int index, ::google::protobuf::uint32 value);
130 inline void add_role(::google::protobuf::uint32 value);
131 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
132 role() const;
133 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
134 mutable_role();
135
136 // repeated .bgs.protocol.v2.Attribute attribute = 4;
137 inline int attribute_size() const;
138 inline void clear_attribute();
139 static const int kAttributeFieldNumber = 4;
140 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
141 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
142 inline ::bgs::protocol::v2::Attribute* add_attribute();
143 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
144 attribute() const;
145 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
146 mutable_attribute();
147
148 // optional uint64 join_time = 5;
149 inline bool has_join_time() const;
150 inline void clear_join_time();
151 static const int kJoinTimeFieldNumber = 5;
152 inline ::google::protobuf::uint64 join_time() const;
153 inline void set_join_time(::google::protobuf::uint64 value);
154
155 // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6;
156 inline bool has_presence_level() const;
157 inline void clear_presence_level();
158 static const int kPresenceLevelFieldNumber = 6;
159 inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const;
160 inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value);
161
162 // optional bool moderator_mute = 7;
163 inline bool has_moderator_mute() const;
164 inline void clear_moderator_mute();
165 static const int kModeratorMuteFieldNumber = 7;
166 inline bool moderator_mute() const;
167 inline void set_moderator_mute(bool value);
168
169 // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8;
170 inline bool has_whisper_level() const;
171 inline void clear_whisper_level();
172 static const int kWhisperLevelFieldNumber = 8;
173 inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const;
174 inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value);
175
176 // optional string note = 9;
177 inline bool has_note() const;
178 inline void clear_note();
179 static const int kNoteFieldNumber = 9;
180 inline const ::std::string& note() const;
181 inline void set_note(const ::std::string& value);
182 inline void set_note(const char* value);
183 inline void set_note(const char* value, size_t size);
184 inline ::std::string* mutable_note();
185 inline ::std::string* release_note();
186 inline void set_allocated_note(::std::string* note);
187
188 // optional bool active = 50;
189 inline bool has_active() const;
190 inline void clear_active();
191 static const int kActiveFieldNumber = 50;
192 inline bool active() const;
193 inline void set_active(bool value);
194
195 // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51;
196 inline bool has_voice() const;
197 inline void clear_voice();
198 static const int kVoiceFieldNumber = 51;
199 inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const;
200 inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice();
201 inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice();
202 inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice);
203
204 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Member)
205 private:
206 inline void set_has_id();
207 inline void clear_has_id();
208 inline void set_has_battle_tag();
209 inline void clear_has_battle_tag();
210 inline void set_has_join_time();
211 inline void clear_has_join_time();
212 inline void set_has_presence_level();
213 inline void clear_has_presence_level();
214 inline void set_has_moderator_mute();
215 inline void clear_has_moderator_mute();
216 inline void set_has_whisper_level();
217 inline void clear_has_whisper_level();
218 inline void set_has_note();
219 inline void clear_has_note();
220 inline void set_has_active();
221 inline void clear_has_active();
222 inline void set_has_voice();
223 inline void clear_has_voice();
224
225 ::google::protobuf::UnknownFieldSet _unknown_fields_;
226
227 ::google::protobuf::uint32 _has_bits_[1];
228 mutable int _cached_size_;
230 ::std::string* battle_tag_;
231 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
232 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
233 ::google::protobuf::uint64 join_time_;
236 ::std::string* note_;
243
246};
247// -------------------------------------------------------------------
248
249class TC_PROTO_API MemberResult : public ::google::protobuf::Message {
250 public:
252 virtual ~MemberResult();
253
255
256 inline MemberResult& operator=(const MemberResult& from) {
257 CopyFrom(from);
258 return *this;
259 }
260
261 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
262 return _unknown_fields_;
263 }
264
265 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
266 return &_unknown_fields_;
267 }
268
269 static const ::google::protobuf::Descriptor* descriptor();
271
272 void Swap(MemberResult* other);
273
274 // implements Message ----------------------------------------------
275
277 int GetCachedSize() const { return _cached_size_; }
278 private:
281 void SetCachedSize(int size) const;
282 public:
283 ::google::protobuf::Metadata GetMetadata() const;
284
285 // nested types ----------------------------------------------------
286
287 // accessors -------------------------------------------------------
288
289 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
290 inline bool has_member_id() const;
291 inline void clear_member_id();
292 static const int kMemberIdFieldNumber = 1;
293 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
294 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
295 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
296 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
297
298 // optional uint32 status = 2;
299 inline bool has_status() const;
300 inline void clear_status();
301 static const int kStatusFieldNumber = 2;
302 inline ::google::protobuf::uint32 status() const;
303 inline void set_status(::google::protobuf::uint32 value);
304
305 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberResult)
306 private:
307 inline void set_has_member_id();
308 inline void clear_has_member_id();
309 inline void set_has_status();
310 inline void clear_has_status();
311
312 ::google::protobuf::UnknownFieldSet _unknown_fields_;
313
314 ::google::protobuf::uint32 _has_bits_[1];
315 mutable int _cached_size_;
317 ::google::protobuf::uint32 status_;
321
324};
325// -------------------------------------------------------------------
326
327class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message {
328 public:
331
333
335 CopyFrom(from);
336 return *this;
337 }
338
339 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
340 return _unknown_fields_;
341 }
342
343 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
344 return &_unknown_fields_;
345 }
346
347 static const ::google::protobuf::Descriptor* descriptor();
349
351
352 // implements Message ----------------------------------------------
353
355 int GetCachedSize() const { return _cached_size_; }
356 private:
359 void SetCachedSize(int size) const;
360 public:
361 ::google::protobuf::Metadata GetMetadata() const;
362
363 // nested types ----------------------------------------------------
364
365 // accessors -------------------------------------------------------
366
367 // optional .bgs.protocol.club.v1.MemberId id = 1;
368 inline bool has_id() const;
369 inline void clear_id();
370 static const int kIdFieldNumber = 1;
371 inline const ::bgs::protocol::club::v1::MemberId& id() const;
372 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
373 inline ::bgs::protocol::club::v1::MemberId* release_id();
374 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
375
376 // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2;
377 inline bool has_reason() const;
378 inline void clear_reason();
379 static const int kReasonFieldNumber = 2;
380 inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const;
381 inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value);
382
383 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveMemberOptions)
384 private:
385 inline void set_has_id();
386 inline void clear_has_id();
387 inline void set_has_reason();
388 inline void clear_has_reason();
389
390 ::google::protobuf::UnknownFieldSet _unknown_fields_;
391
392 ::google::protobuf::uint32 _has_bits_[1];
393 mutable int _cached_size_;
399
402};
403// -------------------------------------------------------------------
404
405class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message {
406 public:
409
411
413 CopyFrom(from);
414 return *this;
415 }
416
417 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
418 return _unknown_fields_;
419 }
420
421 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
422 return &_unknown_fields_;
423 }
424
425 static const ::google::protobuf::Descriptor* descriptor();
427
429
430 // implements Message ----------------------------------------------
431
433 int GetCachedSize() const { return _cached_size_; }
434 private:
437 void SetCachedSize(int size) const;
438 public:
439 ::google::protobuf::Metadata GetMetadata() const;
440
441 // nested types ----------------------------------------------------
442
443 // accessors -------------------------------------------------------
444
445 // optional .bgs.protocol.club.v1.MemberId id = 1;
446 inline bool has_id() const;
447 inline void clear_id();
448 static const int kIdFieldNumber = 1;
449 inline const ::bgs::protocol::club::v1::MemberId& id() const;
450 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
451 inline ::bgs::protocol::club::v1::MemberId* release_id();
452 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
453
454 // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2;
455 inline bool has_reason() const;
456 inline void clear_reason();
457 static const int kReasonFieldNumber = 2;
458 inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const;
459 inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value);
460
461 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedAssignment)
462 private:
463 inline void set_has_id();
464 inline void clear_has_id();
465 inline void set_has_reason();
466 inline void clear_has_reason();
467
468 ::google::protobuf::UnknownFieldSet _unknown_fields_;
469
470 ::google::protobuf::uint32 _has_bits_[1];
471 mutable int _cached_size_;
477
480};
481// -------------------------------------------------------------------
482
483class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message {
484 public:
487
489
491 CopyFrom(from);
492 return *this;
493 }
494
495 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
496 return _unknown_fields_;
497 }
498
499 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
500 return &_unknown_fields_;
501 }
502
503 static const ::google::protobuf::Descriptor* descriptor();
505
507
508 // implements Message ----------------------------------------------
509
511 int GetCachedSize() const { return _cached_size_; }
512 private:
515 void SetCachedSize(int size) const;
516 public:
517 ::google::protobuf::Metadata GetMetadata() const;
518
519 // nested types ----------------------------------------------------
520
521 // accessors -------------------------------------------------------
522
523 // optional uint64 stream_id = 1;
524 inline bool has_stream_id() const;
525 inline void clear_stream_id();
526 static const int kStreamIdFieldNumber = 1;
527 inline ::google::protobuf::uint64 stream_id() const;
528 inline void set_stream_id(::google::protobuf::uint64 value);
529
530 // optional bool joined = 2;
531 inline bool has_joined() const;
532 inline void clear_joined();
533 static const int kJoinedFieldNumber = 2;
534 inline bool joined() const;
535 inline void set_joined(bool value);
536
537 // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3;
538 inline bool has_microphone() const;
539 inline void clear_microphone();
540 static const int kMicrophoneFieldNumber = 3;
541 inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const;
542 inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value);
543
544 // optional bool active = 4;
545 inline bool has_active() const;
546 inline void clear_active();
547 static const int kActiveFieldNumber = 4;
548 inline bool active() const;
549 inline void set_active(bool value);
550
551 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceOptions)
552 private:
553 inline void set_has_stream_id();
554 inline void clear_has_stream_id();
555 inline void set_has_joined();
556 inline void clear_has_joined();
557 inline void set_has_microphone();
558 inline void clear_has_microphone();
559 inline void set_has_active();
560 inline void clear_has_active();
561
562 ::google::protobuf::UnknownFieldSet _unknown_fields_;
563
564 ::google::protobuf::uint32 _has_bits_[1];
565 mutable int _cached_size_;
566 ::google::protobuf::uint64 stream_id_;
573
576};
577// -------------------------------------------------------------------
578
579class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message {
580 public:
583
585
587 CopyFrom(from);
588 return *this;
589 }
590
591 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
592 return _unknown_fields_;
593 }
594
595 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
596 return &_unknown_fields_;
597 }
598
599 static const ::google::protobuf::Descriptor* descriptor();
601
602 void Swap(MemberVoiceState* other);
603
604 // implements Message ----------------------------------------------
605
607 int GetCachedSize() const { return _cached_size_; }
608 private:
611 void SetCachedSize(int size) const;
612 public:
613 ::google::protobuf::Metadata GetMetadata() const;
614
615 // nested types ----------------------------------------------------
616
617 // accessors -------------------------------------------------------
618
619 // optional string id = 1;
620 inline bool has_id() const;
621 inline void clear_id();
622 static const int kIdFieldNumber = 1;
623 inline const ::std::string& id() const;
624 inline void set_id(const ::std::string& value);
625 inline void set_id(const char* value);
626 inline void set_id(const char* value, size_t size);
627 inline ::std::string* mutable_id();
628 inline ::std::string* release_id();
629 inline void set_allocated_id(::std::string* id);
630
631 // optional uint64 stream_id = 2;
632 inline bool has_stream_id() const;
633 inline void clear_stream_id();
634 static const int kStreamIdFieldNumber = 2;
635 inline ::google::protobuf::uint64 stream_id() const;
636 inline void set_stream_id(::google::protobuf::uint64 value);
637
638 // optional bool joined = 3;
639 inline bool has_joined() const;
640 inline void clear_joined();
641 static const int kJoinedFieldNumber = 3;
642 inline bool joined() const;
643 inline void set_joined(bool value);
644
645 // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4;
646 inline bool has_microphone() const;
647 inline void clear_microphone();
648 static const int kMicrophoneFieldNumber = 4;
649 inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const;
650 inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value);
651
652 // optional bool active = 5;
653 inline bool has_active() const;
654 inline void clear_active();
655 static const int kActiveFieldNumber = 5;
656 inline bool active() const;
657 inline void set_active(bool value);
658
659 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceState)
660 private:
661 inline void set_has_id();
662 inline void clear_has_id();
663 inline void set_has_stream_id();
664 inline void clear_has_stream_id();
665 inline void set_has_joined();
666 inline void clear_has_joined();
667 inline void set_has_microphone();
668 inline void clear_has_microphone();
669 inline void set_has_active();
670 inline void clear_has_active();
671
672 ::google::protobuf::UnknownFieldSet _unknown_fields_;
673
674 ::google::protobuf::uint32 _has_bits_[1];
675 mutable int _cached_size_;
676 ::std::string* id_;
677 ::google::protobuf::uint64 stream_id_;
684
687};
688// -------------------------------------------------------------------
689
690class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message {
691 public:
694
696
698 CopyFrom(from);
699 return *this;
700 }
701
702 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
703 return _unknown_fields_;
704 }
705
706 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
707 return &_unknown_fields_;
708 }
709
710 static const ::google::protobuf::Descriptor* descriptor();
712
714
715 // implements Message ----------------------------------------------
716
718 int GetCachedSize() const { return _cached_size_; }
719 private:
722 void SetCachedSize(int size) const;
723 public:
724 ::google::protobuf::Metadata GetMetadata() const;
725
726 // nested types ----------------------------------------------------
727
728 // accessors -------------------------------------------------------
729
730 // optional .bgs.protocol.club.v1.MemberId id = 1;
731 inline bool has_id() const;
732 inline void clear_id();
733 static const int kIdFieldNumber = 1;
734 inline const ::bgs::protocol::club::v1::MemberId& id() const;
735 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
736 inline ::bgs::protocol::club::v1::MemberId* release_id();
737 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
738
739 // repeated .bgs.protocol.v2.Attribute attribute = 2;
740 inline int attribute_size() const;
741 inline void clear_attribute();
742 static const int kAttributeFieldNumber = 2;
743 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
744 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
745 inline ::bgs::protocol::v2::Attribute* add_attribute();
746 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
747 attribute() const;
748 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
749 mutable_attribute();
750
751 // optional uint32 join_club_source = 3;
752 inline bool has_join_club_source() const;
753 inline void clear_join_club_source();
754 static const int kJoinClubSourceFieldNumber = 3;
755 inline ::google::protobuf::uint32 join_club_source() const;
756 inline void set_join_club_source(::google::protobuf::uint32 value);
757
758 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMemberOptions)
759 private:
760 inline void set_has_id();
761 inline void clear_has_id();
762 inline void set_has_join_club_source();
763 inline void clear_has_join_club_source();
764
765 ::google::protobuf::UnknownFieldSet _unknown_fields_;
766
767 ::google::protobuf::uint32 _has_bits_[1];
768 mutable int _cached_size_;
770 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
771 ::google::protobuf::uint32 join_club_source_;
775
778};
779// -------------------------------------------------------------------
780
781class TC_PROTO_API MemberDescription : public ::google::protobuf::Message {
782 public:
785
787
789 CopyFrom(from);
790 return *this;
791 }
792
793 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
794 return _unknown_fields_;
795 }
796
797 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
798 return &_unknown_fields_;
799 }
800
801 static const ::google::protobuf::Descriptor* descriptor();
803
805
806 // implements Message ----------------------------------------------
807
809 int GetCachedSize() const { return _cached_size_; }
810 private:
813 void SetCachedSize(int size) const;
814 public:
815 ::google::protobuf::Metadata GetMetadata() const;
816
817 // nested types ----------------------------------------------------
818
819 // accessors -------------------------------------------------------
820
821 // optional .bgs.protocol.club.v1.MemberId id = 1;
822 inline bool has_id() const;
823 inline void clear_id();
824 static const int kIdFieldNumber = 1;
825 inline const ::bgs::protocol::club::v1::MemberId& id() const;
826 inline ::bgs::protocol::club::v1::MemberId* mutable_id();
827 inline ::bgs::protocol::club::v1::MemberId* release_id();
828 inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id);
829
830 // optional string battle_tag = 2;
831 inline bool has_battle_tag() const;
832 inline void clear_battle_tag();
833 static const int kBattleTagFieldNumber = 2;
834 inline const ::std::string& battle_tag() const;
835 inline void set_battle_tag(const ::std::string& value);
836 inline void set_battle_tag(const char* value);
837 inline void set_battle_tag(const char* value, size_t size);
838 inline ::std::string* mutable_battle_tag();
839 inline ::std::string* release_battle_tag();
840 inline void set_allocated_battle_tag(::std::string* battle_tag);
841
842 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberDescription)
843 private:
844 inline void set_has_id();
845 inline void clear_has_id();
846 inline void set_has_battle_tag();
847 inline void clear_has_battle_tag();
848
849 ::google::protobuf::UnknownFieldSet _unknown_fields_;
850
851 ::google::protobuf::uint32 _has_bits_[1];
852 mutable int _cached_size_;
854 ::std::string* battle_tag_;
858
861};
862// -------------------------------------------------------------------
863
864class TC_PROTO_API RoleOptions : public ::google::protobuf::Message {
865 public:
867 virtual ~RoleOptions();
868
870
871 inline RoleOptions& operator=(const RoleOptions& from) {
872 CopyFrom(from);
873 return *this;
874 }
875
876 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
877 return _unknown_fields_;
878 }
879
880 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
881 return &_unknown_fields_;
882 }
883
884 static const ::google::protobuf::Descriptor* descriptor();
886
887 void Swap(RoleOptions* other);
888
889 // implements Message ----------------------------------------------
890
891 RoleOptions* New() const;
892 int GetCachedSize() const { return _cached_size_; }
893 private:
896 void SetCachedSize(int size) const;
897 public:
898 ::google::protobuf::Metadata GetMetadata() const;
899
900 // nested types ----------------------------------------------------
901
902 // accessors -------------------------------------------------------
903
904 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
905 inline bool has_member_id() const;
906 inline void clear_member_id();
907 static const int kMemberIdFieldNumber = 1;
908 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
909 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
910 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
911 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
912
913 // repeated uint32 role = 2 [packed = true];
914 inline int role_size() const;
915 inline void clear_role();
916 static const int kRoleFieldNumber = 2;
917 inline ::google::protobuf::uint32 role(int index) const;
918 inline void set_role(int index, ::google::protobuf::uint32 value);
919 inline void add_role(::google::protobuf::uint32 value);
920 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
921 role() const;
922 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
923 mutable_role();
924
925 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleOptions)
926 private:
927 inline void set_has_member_id();
928 inline void clear_has_member_id();
929
930 ::google::protobuf::UnknownFieldSet _unknown_fields_;
931
932 ::google::protobuf::uint32 _has_bits_[1];
933 mutable int _cached_size_;
935 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
939
942};
943// -------------------------------------------------------------------
944
945class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message {
946 public:
949
951
953 CopyFrom(from);
954 return *this;
955 }
956
957 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
958 return _unknown_fields_;
959 }
960
961 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
962 return &_unknown_fields_;
963 }
964
965 static const ::google::protobuf::Descriptor* descriptor();
967
968 void Swap(RoleAssignment* other);
969
970 // implements Message ----------------------------------------------
971
973 int GetCachedSize() const { return _cached_size_; }
974 private:
977 void SetCachedSize(int size) const;
978 public:
979 ::google::protobuf::Metadata GetMetadata() const;
980
981 // nested types ----------------------------------------------------
982
983 // accessors -------------------------------------------------------
984
985 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
986 inline bool has_member_id() const;
987 inline void clear_member_id();
988 static const int kMemberIdFieldNumber = 1;
989 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
990 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
991 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
992 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
993
994 // repeated uint32 role = 2 [packed = true];
995 inline int role_size() const;
996 inline void clear_role();
997 static const int kRoleFieldNumber = 2;
998 inline ::google::protobuf::uint32 role(int index) const;
999 inline void set_role(int index, ::google::protobuf::uint32 value);
1000 inline void add_role(::google::protobuf::uint32 value);
1001 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1002 role() const;
1003 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1004 mutable_role();
1005
1006 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleAssignment)
1007 private:
1008 inline void set_has_member_id();
1009 inline void clear_has_member_id();
1010
1011 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1012
1013 ::google::protobuf::uint32 _has_bits_[1];
1014 mutable int _cached_size_;
1016 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
1020
1023};
1024// -------------------------------------------------------------------
1025
1026class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Message {
1027 public:
1030
1032
1034 CopyFrom(from);
1035 return *this;
1036 }
1037
1038 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1039 return _unknown_fields_;
1040 }
1041
1042 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1043 return &_unknown_fields_;
1044 }
1045
1046 static const ::google::protobuf::Descriptor* descriptor();
1048
1050
1051 // implements Message ----------------------------------------------
1052
1054 int GetCachedSize() const { return _cached_size_; }
1055 private:
1058 void SetCachedSize(int size) const;
1059 public:
1060 ::google::protobuf::Metadata GetMetadata() const;
1061
1062 // nested types ----------------------------------------------------
1063
1064 // accessors -------------------------------------------------------
1065
1066 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
1067 inline bool has_member_id() const;
1068 inline void clear_member_id();
1069 static const int kMemberIdFieldNumber = 1;
1070 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
1071 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
1072 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
1073 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
1074
1075 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1076 inline int attribute_size() const;
1077 inline void clear_attribute();
1078 static const int kAttributeFieldNumber = 2;
1079 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1080 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1081 inline ::bgs::protocol::v2::Attribute* add_attribute();
1082 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1083 attribute() const;
1084 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1085 mutable_attribute();
1086
1087 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAttributeAssignment)
1088 private:
1089 inline void set_has_member_id();
1090 inline void clear_has_member_id();
1091
1092 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1093
1094 ::google::protobuf::uint32 _has_bits_[1];
1095 mutable int _cached_size_;
1097 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1101
1104};
1105// -------------------------------------------------------------------
1106
1107class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message {
1108 public:
1111
1113
1115 CopyFrom(from);
1116 return *this;
1117 }
1118
1119 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1120 return _unknown_fields_;
1121 }
1122
1123 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1124 return &_unknown_fields_;
1125 }
1126
1127 static const ::google::protobuf::Descriptor* descriptor();
1129
1131
1132 // implements Message ----------------------------------------------
1133
1135 int GetCachedSize() const { return _cached_size_; }
1136 private:
1139 void SetCachedSize(int size) const;
1140 public:
1141 ::google::protobuf::Metadata GetMetadata() const;
1142
1143 // nested types ----------------------------------------------------
1144
1145 // accessors -------------------------------------------------------
1146
1147 // optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1;
1148 inline bool has_voice() const;
1149 inline void clear_voice();
1150 static const int kVoiceFieldNumber = 1;
1151 inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& voice() const;
1152 inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* mutable_voice();
1153 inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* release_voice();
1154 inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice);
1155
1156 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateOptions)
1157 private:
1158 inline void set_has_voice();
1159 inline void clear_has_voice();
1160
1161 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1162
1163 ::google::protobuf::uint32 _has_bits_[1];
1164 mutable int _cached_size_;
1169
1172};
1173// -------------------------------------------------------------------
1174
1175class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Message {
1176 public:
1179
1181
1183 CopyFrom(from);
1184 return *this;
1185 }
1186
1187 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1188 return _unknown_fields_;
1189 }
1190
1191 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1192 return &_unknown_fields_;
1193 }
1194
1195 static const ::google::protobuf::Descriptor* descriptor();
1197
1199
1200 // implements Message ----------------------------------------------
1201
1203 int GetCachedSize() const { return _cached_size_; }
1204 private:
1207 void SetCachedSize(int size) const;
1208 public:
1209 ::google::protobuf::Metadata GetMetadata() const;
1210
1211 // nested types ----------------------------------------------------
1212
1213 // accessors -------------------------------------------------------
1214
1215 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
1216 inline bool has_member_id() const;
1217 inline void clear_member_id();
1218 static const int kMemberIdFieldNumber = 1;
1219 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
1220 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
1221 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
1222 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
1223
1224 // optional bool active = 2;
1225 inline bool has_active() const;
1226 inline void clear_active();
1227 static const int kActiveFieldNumber = 2;
1228 inline bool active() const;
1229 inline void set_active(bool value);
1230
1231 // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3;
1232 inline bool has_voice() const;
1233 inline void clear_voice();
1234 static const int kVoiceFieldNumber = 3;
1235 inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const;
1236 inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice();
1237 inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice();
1238 inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice);
1239
1240 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateAssignment)
1241 private:
1242 inline void set_has_member_id();
1243 inline void clear_has_member_id();
1244 inline void set_has_active();
1245 inline void clear_has_active();
1246 inline void set_has_voice();
1247 inline void clear_has_voice();
1248
1249 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1250
1251 ::google::protobuf::uint32 _has_bits_[1];
1252 mutable int _cached_size_;
1259
1262};
1263// -------------------------------------------------------------------
1264
1265class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message {
1266 public:
1269
1271
1273 CopyFrom(from);
1274 return *this;
1275 }
1276
1277 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1278 return _unknown_fields_;
1279 }
1280
1281 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1282 return &_unknown_fields_;
1283 }
1284
1285 static const ::google::protobuf::Descriptor* descriptor();
1287
1289
1290 // implements Message ----------------------------------------------
1291
1293 int GetCachedSize() const { return _cached_size_; }
1294 private:
1297 void SetCachedSize(int size) const;
1298 public:
1299 ::google::protobuf::Metadata GetMetadata() const;
1300
1301 // nested types ----------------------------------------------------
1302
1303 // accessors -------------------------------------------------------
1304
1305 // repeated .bgs.protocol.v2.Attribute attribute = 1;
1306 inline int attribute_size() const;
1307 inline void clear_attribute();
1308 static const int kAttributeFieldNumber = 1;
1309 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1310 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1311 inline ::bgs::protocol::v2::Attribute* add_attribute();
1312 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1313 attribute() const;
1314 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1315 mutable_attribute();
1316
1317 // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2;
1318 inline bool has_presence_level() const;
1319 inline void clear_presence_level();
1320 static const int kPresenceLevelFieldNumber = 2;
1321 inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const;
1322 inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value);
1323
1324 // optional bool moderator_mute = 3;
1325 inline bool has_moderator_mute() const;
1326 inline void clear_moderator_mute();
1327 static const int kModeratorMuteFieldNumber = 3;
1328 inline bool moderator_mute() const;
1329 inline void set_moderator_mute(bool value);
1330
1331 // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4;
1332 inline bool has_whisper_level() const;
1333 inline void clear_whisper_level();
1334 static const int kWhisperLevelFieldNumber = 4;
1335 inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const;
1336 inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value);
1337
1338 // optional string note = 5;
1339 inline bool has_note() const;
1340 inline void clear_note();
1341 static const int kNoteFieldNumber = 5;
1342 inline const ::std::string& note() const;
1343 inline void set_note(const ::std::string& value);
1344 inline void set_note(const char* value);
1345 inline void set_note(const char* value, size_t size);
1346 inline ::std::string* mutable_note();
1347 inline ::std::string* release_note();
1348 inline void set_allocated_note(::std::string* note);
1349
1350 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateOptions)
1351 private:
1352 inline void set_has_presence_level();
1353 inline void clear_has_presence_level();
1354 inline void set_has_moderator_mute();
1355 inline void clear_has_moderator_mute();
1356 inline void set_has_whisper_level();
1357 inline void clear_has_whisper_level();
1358 inline void set_has_note();
1359 inline void clear_has_note();
1360
1361 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1362
1363 ::google::protobuf::uint32 _has_bits_[1];
1364 mutable int _cached_size_;
1365 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1368 ::std::string* note_;
1373
1376};
1377// -------------------------------------------------------------------
1378
1379class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message {
1380 public:
1383
1385
1387 CopyFrom(from);
1388 return *this;
1389 }
1390
1391 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1392 return _unknown_fields_;
1393 }
1394
1395 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1396 return &_unknown_fields_;
1397 }
1398
1399 static const ::google::protobuf::Descriptor* descriptor();
1401
1403
1404 // implements Message ----------------------------------------------
1405
1407 int GetCachedSize() const { return _cached_size_; }
1408 private:
1411 void SetCachedSize(int size) const;
1412 public:
1413 ::google::protobuf::Metadata GetMetadata() const;
1414
1415 // nested types ----------------------------------------------------
1416
1417 // accessors -------------------------------------------------------
1418
1419 // optional .bgs.protocol.club.v1.MemberId member_id = 1;
1420 inline bool has_member_id() const;
1421 inline void clear_member_id();
1422 static const int kMemberIdFieldNumber = 1;
1423 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
1424 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
1425 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
1426 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
1427
1428 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1429 inline int attribute_size() const;
1430 inline void clear_attribute();
1431 static const int kAttributeFieldNumber = 2;
1432 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1433 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1434 inline ::bgs::protocol::v2::Attribute* add_attribute();
1435 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1436 attribute() const;
1437 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1438 mutable_attribute();
1439
1440 // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3;
1441 inline bool has_presence_level() const;
1442 inline void clear_presence_level();
1443 static const int kPresenceLevelFieldNumber = 3;
1444 inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const;
1445 inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value);
1446
1447 // optional bool moderator_mute = 4;
1448 inline bool has_moderator_mute() const;
1449 inline void clear_moderator_mute();
1450 static const int kModeratorMuteFieldNumber = 4;
1451 inline bool moderator_mute() const;
1452 inline void set_moderator_mute(bool value);
1453
1454 // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5;
1455 inline bool has_whisper_level() const;
1456 inline void clear_whisper_level();
1457 static const int kWhisperLevelFieldNumber = 5;
1458 inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const;
1459 inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value);
1460
1461 // optional string note = 6;
1462 inline bool has_note() const;
1463 inline void clear_note();
1464 static const int kNoteFieldNumber = 6;
1465 inline const ::std::string& note() const;
1466 inline void set_note(const ::std::string& value);
1467 inline void set_note(const char* value);
1468 inline void set_note(const char* value, size_t size);
1469 inline ::std::string* mutable_note();
1470 inline ::std::string* release_note();
1471 inline void set_allocated_note(::std::string* note);
1472
1473 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateAssignment)
1474 private:
1475 inline void set_has_member_id();
1476 inline void clear_has_member_id();
1477 inline void set_has_presence_level();
1478 inline void clear_has_presence_level();
1479 inline void set_has_moderator_mute();
1480 inline void clear_has_moderator_mute();
1481 inline void set_has_whisper_level();
1482 inline void clear_has_whisper_level();
1483 inline void set_has_note();
1484 inline void clear_has_note();
1485
1486 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1487
1488 ::google::protobuf::uint32 _has_bits_[1];
1489 mutable int _cached_size_;
1491 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1494 ::std::string* note_;
1499
1502};
1503// ===================================================================
1504
1505// ===================================================================
1506
1507// ===================================================================
1508
1509// Member
1510
1511// optional .bgs.protocol.club.v1.MemberId id = 1;
1512inline bool Member::has_id() const {
1513 return (_has_bits_[0] & 0x00000001u) != 0;
1514}
1515inline void Member::set_has_id() {
1516 _has_bits_[0] |= 0x00000001u;
1517}
1519 _has_bits_[0] &= ~0x00000001u;
1520}
1521inline void Member::clear_id() {
1522 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
1523 clear_has_id();
1524}
1525inline const ::bgs::protocol::club::v1::MemberId& Member::id() const {
1526 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.id)
1527 return id_ != NULL ? *id_ : *default_instance_->id_;
1528}
1529inline ::bgs::protocol::club::v1::MemberId* Member::mutable_id() {
1530 set_has_id();
1531 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
1532 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.id)
1533 return id_;
1534}
1535inline ::bgs::protocol::club::v1::MemberId* Member::release_id() {
1536 clear_has_id();
1538 id_ = NULL;
1539 return temp;
1540}
1542 delete id_;
1543 id_ = id;
1544 if (id) {
1545 set_has_id();
1546 } else {
1547 clear_has_id();
1548 }
1549 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.id)
1550}
1551
1552// optional string battle_tag = 2;
1553inline bool Member::has_battle_tag() const {
1554 return (_has_bits_[0] & 0x00000002u) != 0;
1555}
1557 _has_bits_[0] |= 0x00000002u;
1558}
1560 _has_bits_[0] &= ~0x00000002u;
1561}
1563 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1564 battle_tag_->clear();
1565 }
1567}
1568inline const ::std::string& Member::battle_tag() const {
1569 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.battle_tag)
1570 return *battle_tag_;
1571}
1572inline void Member::set_battle_tag(const ::std::string& value) {
1574 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1575 battle_tag_ = new ::std::string;
1576 }
1577 battle_tag_->assign(value);
1578 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.battle_tag)
1579}
1580inline void Member::set_battle_tag(const char* value) {
1582 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1583 battle_tag_ = new ::std::string;
1584 }
1585 battle_tag_->assign(value);
1586 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.battle_tag)
1587}
1588inline void Member::set_battle_tag(const char* value, size_t size) {
1590 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1591 battle_tag_ = new ::std::string;
1592 }
1593 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
1594 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.battle_tag)
1595}
1596inline ::std::string* Member::mutable_battle_tag() {
1598 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1599 battle_tag_ = new ::std::string;
1600 }
1601 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.battle_tag)
1602 return battle_tag_;
1603}
1604inline ::std::string* Member::release_battle_tag() {
1606 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1607 return NULL;
1608 } else {
1609 ::std::string* temp = battle_tag_;
1610 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1611 return temp;
1612 }
1613}
1614inline void Member::set_allocated_battle_tag(::std::string* battle_tag) {
1615 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1616 delete battle_tag_;
1617 }
1618 if (battle_tag) {
1621 } else {
1623 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1624 }
1625 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.battle_tag)
1626}
1627
1628// repeated uint32 role = 3 [packed = true];
1629inline int Member::role_size() const {
1630 return role_.size();
1631}
1632inline void Member::clear_role() {
1633 role_.Clear();
1634}
1635inline ::google::protobuf::uint32 Member::role(int index) const {
1636 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.role)
1637 return role_.Get(index);
1638}
1639inline void Member::set_role(int index, ::google::protobuf::uint32 value) {
1640 role_.Set(index, value);
1641 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.role)
1642}
1643inline void Member::add_role(::google::protobuf::uint32 value) {
1644 role_.Add(value);
1645 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.role)
1646}
1647inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1649 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.role)
1650 return role_;
1651}
1652inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1654 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.role)
1655 return &role_;
1656}
1657
1658// repeated .bgs.protocol.v2.Attribute attribute = 4;
1659inline int Member::attribute_size() const {
1660 return attribute_.size();
1661}
1663 attribute_.Clear();
1664}
1665inline const ::bgs::protocol::v2::Attribute& Member::attribute(int index) const {
1666 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.attribute)
1667 return attribute_.Get(index);
1668}
1669inline ::bgs::protocol::v2::Attribute* Member::mutable_attribute(int index) {
1670 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.attribute)
1671 return attribute_.Mutable(index);
1672}
1673inline ::bgs::protocol::v2::Attribute* Member::add_attribute() {
1674 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.attribute)
1675 return attribute_.Add();
1676}
1677inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1679 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.attribute)
1680 return attribute_;
1681}
1682inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1684 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.attribute)
1685 return &attribute_;
1686}
1687
1688// optional uint64 join_time = 5;
1689inline bool Member::has_join_time() const {
1690 return (_has_bits_[0] & 0x00000010u) != 0;
1691}
1693 _has_bits_[0] |= 0x00000010u;
1694}
1696 _has_bits_[0] &= ~0x00000010u;
1697}
1699 join_time_ = GOOGLE_ULONGLONG(0);
1701}
1702inline ::google::protobuf::uint64 Member::join_time() const {
1703 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.join_time)
1704 return join_time_;
1705}
1706inline void Member::set_join_time(::google::protobuf::uint64 value) {
1708 join_time_ = value;
1709 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.join_time)
1710}
1711
1712// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6;
1713inline bool Member::has_presence_level() const {
1714 return (_has_bits_[0] & 0x00000020u) != 0;
1715}
1717 _has_bits_[0] |= 0x00000020u;
1718}
1720 _has_bits_[0] &= ~0x00000020u;
1721}
1726inline ::bgs::protocol::club::v1::client::PresenceLevel Member::presence_level() const {
1727 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.presence_level)
1729}
1733 presence_level_ = value;
1734 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.presence_level)
1735}
1736
1737// optional bool moderator_mute = 7;
1738inline bool Member::has_moderator_mute() const {
1739 return (_has_bits_[0] & 0x00000040u) != 0;
1740}
1742 _has_bits_[0] |= 0x00000040u;
1743}
1745 _has_bits_[0] &= ~0x00000040u;
1746}
1751inline bool Member::moderator_mute() const {
1752 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.moderator_mute)
1753 return moderator_mute_;
1754}
1755inline void Member::set_moderator_mute(bool value) {
1757 moderator_mute_ = value;
1758 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.moderator_mute)
1759}
1760
1761// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8;
1762inline bool Member::has_whisper_level() const {
1763 return (_has_bits_[0] & 0x00000080u) != 0;
1764}
1766 _has_bits_[0] |= 0x00000080u;
1767}
1769 _has_bits_[0] &= ~0x00000080u;
1770}
1775inline ::bgs::protocol::club::v1::client::WhisperLevel Member::whisper_level() const {
1776 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.whisper_level)
1778}
1782 whisper_level_ = value;
1783 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.whisper_level)
1784}
1785
1786// optional string note = 9;
1787inline bool Member::has_note() const {
1788 return (_has_bits_[0] & 0x00000100u) != 0;
1789}
1791 _has_bits_[0] |= 0x00000100u;
1792}
1794 _has_bits_[0] &= ~0x00000100u;
1795}
1796inline void Member::clear_note() {
1797 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1798 note_->clear();
1799 }
1801}
1802inline const ::std::string& Member::note() const {
1803 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.note)
1804 return *note_;
1805}
1806inline void Member::set_note(const ::std::string& value) {
1807 set_has_note();
1808 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1809 note_ = new ::std::string;
1810 }
1811 note_->assign(value);
1812 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.note)
1813}
1814inline void Member::set_note(const char* value) {
1815 set_has_note();
1816 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1817 note_ = new ::std::string;
1818 }
1819 note_->assign(value);
1820 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.note)
1821}
1822inline void Member::set_note(const char* value, size_t size) {
1823 set_has_note();
1824 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1825 note_ = new ::std::string;
1826 }
1827 note_->assign(reinterpret_cast<const char*>(value), size);
1828 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.note)
1829}
1830inline ::std::string* Member::mutable_note() {
1831 set_has_note();
1832 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1833 note_ = new ::std::string;
1834 }
1835 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.note)
1836 return note_;
1837}
1838inline ::std::string* Member::release_note() {
1840 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1841 return NULL;
1842 } else {
1843 ::std::string* temp = note_;
1844 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1845 return temp;
1846 }
1847}
1848inline void Member::set_allocated_note(::std::string* note) {
1849 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1850 delete note_;
1851 }
1852 if (note) {
1853 set_has_note();
1854 note_ = note;
1855 } else {
1857 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1858 }
1859 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.note)
1860}
1861
1862// optional bool active = 50;
1863inline bool Member::has_active() const {
1864 return (_has_bits_[0] & 0x00000200u) != 0;
1865}
1867 _has_bits_[0] |= 0x00000200u;
1868}
1870 _has_bits_[0] &= ~0x00000200u;
1871}
1873 active_ = false;
1875}
1876inline bool Member::active() const {
1877 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.active)
1878 return active_;
1879}
1880inline void Member::set_active(bool value) {
1882 active_ = value;
1883 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.active)
1884}
1885
1886// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51;
1887inline bool Member::has_voice() const {
1888 return (_has_bits_[0] & 0x00000400u) != 0;
1889}
1891 _has_bits_[0] |= 0x00000400u;
1892}
1894 _has_bits_[0] &= ~0x00000400u;
1895}
1896inline void Member::clear_voice() {
1897 if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear();
1899}
1900inline const ::bgs::protocol::club::v1::client::MemberVoiceState& Member::voice() const {
1901 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.voice)
1902 return voice_ != NULL ? *voice_ : *default_instance_->voice_;
1903}
1904inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::mutable_voice() {
1905 set_has_voice();
1906 if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState;
1907 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.voice)
1908 return voice_;
1909}
1910inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::release_voice() {
1913 voice_ = NULL;
1914 return temp;
1915}
1917 delete voice_;
1918 voice_ = voice;
1919 if (voice) {
1920 set_has_voice();
1921 } else {
1923 }
1924 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.voice)
1925}
1926
1927// -------------------------------------------------------------------
1928
1929// MemberResult
1930
1931// optional .bgs.protocol.club.v1.MemberId member_id = 1;
1932inline bool MemberResult::has_member_id() const {
1933 return (_has_bits_[0] & 0x00000001u) != 0;
1934}
1936 _has_bits_[0] |= 0x00000001u;
1937}
1939 _has_bits_[0] &= ~0x00000001u;
1940}
1942 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
1944}
1945inline const ::bgs::protocol::club::v1::MemberId& MemberResult::member_id() const {
1946 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.member_id)
1947 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
1948}
1949inline ::bgs::protocol::club::v1::MemberId* MemberResult::mutable_member_id() {
1951 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
1952 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberResult.member_id)
1953 return member_id_;
1954}
1955inline ::bgs::protocol::club::v1::MemberId* MemberResult::release_member_id() {
1958 member_id_ = NULL;
1959 return temp;
1960}
1962 delete member_id_;
1964 if (member_id) {
1966 } else {
1968 }
1969 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberResult.member_id)
1970}
1971
1972// optional uint32 status = 2;
1973inline bool MemberResult::has_status() const {
1974 return (_has_bits_[0] & 0x00000002u) != 0;
1975}
1977 _has_bits_[0] |= 0x00000002u;
1978}
1980 _has_bits_[0] &= ~0x00000002u;
1981}
1983 status_ = 0u;
1985}
1986inline ::google::protobuf::uint32 MemberResult::status() const {
1987 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.status)
1988 return status_;
1989}
1990inline void MemberResult::set_status(::google::protobuf::uint32 value) {
1992 status_ = value;
1993 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberResult.status)
1994}
1995
1996// -------------------------------------------------------------------
1997
1998// RemoveMemberOptions
1999
2000// optional .bgs.protocol.club.v1.MemberId id = 1;
2001inline bool RemoveMemberOptions::has_id() const {
2002 return (_has_bits_[0] & 0x00000001u) != 0;
2003}
2005 _has_bits_[0] |= 0x00000001u;
2006}
2008 _has_bits_[0] &= ~0x00000001u;
2009}
2011 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
2012 clear_has_id();
2013}
2014inline const ::bgs::protocol::club::v1::MemberId& RemoveMemberOptions::id() const {
2015 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.id)
2016 return id_ != NULL ? *id_ : *default_instance_->id_;
2017}
2018inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::mutable_id() {
2019 set_has_id();
2020 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
2021 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveMemberOptions.id)
2022 return id_;
2023}
2024inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::release_id() {
2025 clear_has_id();
2027 id_ = NULL;
2028 return temp;
2029}
2031 delete id_;
2032 id_ = id;
2033 if (id) {
2034 set_has_id();
2035 } else {
2036 clear_has_id();
2037 }
2038 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveMemberOptions.id)
2039}
2040
2041// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2;
2043 return (_has_bits_[0] & 0x00000002u) != 0;
2044}
2046 _has_bits_[0] |= 0x00000002u;
2047}
2049 _has_bits_[0] &= ~0x00000002u;
2050}
2052 reason_ = 0;
2054}
2055inline ::bgs::protocol::club::v1::client::ClubRemovedReason RemoveMemberOptions::reason() const {
2056 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.reason)
2058}
2062 reason_ = value;
2063 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveMemberOptions.reason)
2064}
2065
2066// -------------------------------------------------------------------
2067
2068// MemberRemovedAssignment
2069
2070// optional .bgs.protocol.club.v1.MemberId id = 1;
2072 return (_has_bits_[0] & 0x00000001u) != 0;
2073}
2075 _has_bits_[0] |= 0x00000001u;
2076}
2078 _has_bits_[0] &= ~0x00000001u;
2079}
2081 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
2082 clear_has_id();
2083}
2084inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedAssignment::id() const {
2085 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.id)
2086 return id_ != NULL ? *id_ : *default_instance_->id_;
2087}
2088inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::mutable_id() {
2089 set_has_id();
2090 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
2091 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedAssignment.id)
2092 return id_;
2093}
2094inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::release_id() {
2095 clear_has_id();
2097 id_ = NULL;
2098 return temp;
2099}
2101 delete id_;
2102 id_ = id;
2103 if (id) {
2104 set_has_id();
2105 } else {
2106 clear_has_id();
2107 }
2108 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedAssignment.id)
2109}
2110
2111// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2;
2113 return (_has_bits_[0] & 0x00000002u) != 0;
2114}
2116 _has_bits_[0] |= 0x00000002u;
2117}
2119 _has_bits_[0] &= ~0x00000002u;
2120}
2125inline ::bgs::protocol::club::v1::client::ClubRemovedReason MemberRemovedAssignment::reason() const {
2126 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason)
2128}
2132 reason_ = value;
2133 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason)
2134}
2135
2136// -------------------------------------------------------------------
2137
2138// MemberVoiceOptions
2139
2140// optional uint64 stream_id = 1;
2142 return (_has_bits_[0] & 0x00000001u) != 0;
2143}
2145 _has_bits_[0] |= 0x00000001u;
2146}
2148 _has_bits_[0] &= ~0x00000001u;
2149}
2151 stream_id_ = GOOGLE_ULONGLONG(0);
2153}
2154inline ::google::protobuf::uint64 MemberVoiceOptions::stream_id() const {
2155 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id)
2156 return stream_id_;
2157}
2158inline void MemberVoiceOptions::set_stream_id(::google::protobuf::uint64 value) {
2160 stream_id_ = value;
2161 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id)
2162}
2163
2164// optional bool joined = 2;
2166 return (_has_bits_[0] & 0x00000002u) != 0;
2167}
2169 _has_bits_[0] |= 0x00000002u;
2170}
2172 _has_bits_[0] &= ~0x00000002u;
2173}
2175 joined_ = false;
2177}
2178inline bool MemberVoiceOptions::joined() const {
2179 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.joined)
2180 return joined_;
2181}
2182inline void MemberVoiceOptions::set_joined(bool value) {
2184 joined_ = value;
2185 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.joined)
2186}
2187
2188// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3;
2190 return (_has_bits_[0] & 0x00000004u) != 0;
2191}
2193 _has_bits_[0] |= 0x00000004u;
2194}
2196 _has_bits_[0] &= ~0x00000004u;
2197}
2202inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceOptions::microphone() const {
2203 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone)
2205}
2209 microphone_ = value;
2210 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone)
2211}
2212
2213// optional bool active = 4;
2215 return (_has_bits_[0] & 0x00000008u) != 0;
2216}
2218 _has_bits_[0] |= 0x00000008u;
2219}
2221 _has_bits_[0] &= ~0x00000008u;
2222}
2224 active_ = false;
2226}
2227inline bool MemberVoiceOptions::active() const {
2228 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.active)
2229 return active_;
2230}
2231inline void MemberVoiceOptions::set_active(bool value) {
2233 active_ = value;
2234 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.active)
2235}
2236
2237// -------------------------------------------------------------------
2238
2239// MemberVoiceState
2240
2241// optional string id = 1;
2242inline bool MemberVoiceState::has_id() const {
2243 return (_has_bits_[0] & 0x00000001u) != 0;
2244}
2246 _has_bits_[0] |= 0x00000001u;
2247}
2249 _has_bits_[0] &= ~0x00000001u;
2250}
2252 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2253 id_->clear();
2254 }
2255 clear_has_id();
2256}
2257inline const ::std::string& MemberVoiceState::id() const {
2258 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.id)
2259 return *id_;
2260}
2261inline void MemberVoiceState::set_id(const ::std::string& value) {
2262 set_has_id();
2263 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2264 id_ = new ::std::string;
2265 }
2266 id_->assign(value);
2267 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.id)
2268}
2269inline void MemberVoiceState::set_id(const char* value) {
2270 set_has_id();
2271 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2272 id_ = new ::std::string;
2273 }
2274 id_->assign(value);
2275 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberVoiceState.id)
2276}
2277inline void MemberVoiceState::set_id(const char* value, size_t size) {
2278 set_has_id();
2279 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2280 id_ = new ::std::string;
2281 }
2282 id_->assign(reinterpret_cast<const char*>(value), size);
2283 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberVoiceState.id)
2284}
2285inline ::std::string* MemberVoiceState::mutable_id() {
2286 set_has_id();
2287 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2288 id_ = new ::std::string;
2289 }
2290 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberVoiceState.id)
2291 return id_;
2292}
2293inline ::std::string* MemberVoiceState::release_id() {
2294 clear_has_id();
2295 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2296 return NULL;
2297 } else {
2298 ::std::string* temp = id_;
2299 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2300 return temp;
2301 }
2302}
2303inline void MemberVoiceState::set_allocated_id(::std::string* id) {
2304 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2305 delete id_;
2306 }
2307 if (id) {
2308 set_has_id();
2309 id_ = id;
2310 } else {
2311 clear_has_id();
2312 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2313 }
2314 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberVoiceState.id)
2315}
2316
2317// optional uint64 stream_id = 2;
2319 return (_has_bits_[0] & 0x00000002u) != 0;
2320}
2322 _has_bits_[0] |= 0x00000002u;
2323}
2325 _has_bits_[0] &= ~0x00000002u;
2326}
2328 stream_id_ = GOOGLE_ULONGLONG(0);
2330}
2331inline ::google::protobuf::uint64 MemberVoiceState::stream_id() const {
2332 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.stream_id)
2333 return stream_id_;
2334}
2335inline void MemberVoiceState::set_stream_id(::google::protobuf::uint64 value) {
2337 stream_id_ = value;
2338 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.stream_id)
2339}
2340
2341// optional bool joined = 3;
2342inline bool MemberVoiceState::has_joined() const {
2343 return (_has_bits_[0] & 0x00000004u) != 0;
2344}
2346 _has_bits_[0] |= 0x00000004u;
2347}
2349 _has_bits_[0] &= ~0x00000004u;
2350}
2352 joined_ = false;
2354}
2355inline bool MemberVoiceState::joined() const {
2356 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.joined)
2357 return joined_;
2358}
2359inline void MemberVoiceState::set_joined(bool value) {
2361 joined_ = value;
2362 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.joined)
2363}
2364
2365// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4;
2367 return (_has_bits_[0] & 0x00000008u) != 0;
2368}
2370 _has_bits_[0] |= 0x00000008u;
2371}
2373 _has_bits_[0] &= ~0x00000008u;
2374}
2379inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceState::microphone() const {
2380 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.microphone)
2382}
2386 microphone_ = value;
2387 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.microphone)
2388}
2389
2390// optional bool active = 5;
2391inline bool MemberVoiceState::has_active() const {
2392 return (_has_bits_[0] & 0x00000010u) != 0;
2393}
2395 _has_bits_[0] |= 0x00000010u;
2396}
2398 _has_bits_[0] &= ~0x00000010u;
2399}
2401 active_ = false;
2403}
2404inline bool MemberVoiceState::active() const {
2405 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.active)
2406 return active_;
2407}
2408inline void MemberVoiceState::set_active(bool value) {
2410 active_ = value;
2411 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.active)
2412}
2413
2414// -------------------------------------------------------------------
2415
2416// CreateMemberOptions
2417
2418// optional .bgs.protocol.club.v1.MemberId id = 1;
2419inline bool CreateMemberOptions::has_id() const {
2420 return (_has_bits_[0] & 0x00000001u) != 0;
2421}
2423 _has_bits_[0] |= 0x00000001u;
2424}
2426 _has_bits_[0] &= ~0x00000001u;
2427}
2429 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
2430 clear_has_id();
2431}
2432inline const ::bgs::protocol::club::v1::MemberId& CreateMemberOptions::id() const {
2433 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.id)
2434 return id_ != NULL ? *id_ : *default_instance_->id_;
2435}
2436inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::mutable_id() {
2437 set_has_id();
2438 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
2439 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.id)
2440 return id_;
2441}
2442inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::release_id() {
2443 clear_has_id();
2445 id_ = NULL;
2446 return temp;
2447}
2449 delete id_;
2450 id_ = id;
2451 if (id) {
2452 set_has_id();
2453 } else {
2454 clear_has_id();
2455 }
2456 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMemberOptions.id)
2457}
2458
2459// repeated .bgs.protocol.v2.Attribute attribute = 2;
2461 return attribute_.size();
2462}
2464 attribute_.Clear();
2465}
2466inline const ::bgs::protocol::v2::Attribute& CreateMemberOptions::attribute(int index) const {
2467 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.attribute)
2468 return attribute_.Get(index);
2469}
2470inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::mutable_attribute(int index) {
2471 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.attribute)
2472 return attribute_.Mutable(index);
2473}
2474inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::add_attribute() {
2475 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateMemberOptions.attribute)
2476 return attribute_.Add();
2477}
2478inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2480 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute)
2481 return attribute_;
2482}
2483inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2485 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute)
2486 return &attribute_;
2487}
2488
2489// optional uint32 join_club_source = 3;
2491 return (_has_bits_[0] & 0x00000004u) != 0;
2492}
2494 _has_bits_[0] |= 0x00000004u;
2495}
2497 _has_bits_[0] &= ~0x00000004u;
2498}
2503inline ::google::protobuf::uint32 CreateMemberOptions::join_club_source() const {
2504 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source)
2505 return join_club_source_;
2506}
2507inline void CreateMemberOptions::set_join_club_source(::google::protobuf::uint32 value) {
2509 join_club_source_ = value;
2510 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source)
2511}
2512
2513// -------------------------------------------------------------------
2514
2515// MemberDescription
2516
2517// optional .bgs.protocol.club.v1.MemberId id = 1;
2518inline bool MemberDescription::has_id() const {
2519 return (_has_bits_[0] & 0x00000001u) != 0;
2520}
2522 _has_bits_[0] |= 0x00000001u;
2523}
2525 _has_bits_[0] &= ~0x00000001u;
2526}
2528 if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear();
2529 clear_has_id();
2530}
2531inline const ::bgs::protocol::club::v1::MemberId& MemberDescription::id() const {
2532 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.id)
2533 return id_ != NULL ? *id_ : *default_instance_->id_;
2534}
2535inline ::bgs::protocol::club::v1::MemberId* MemberDescription::mutable_id() {
2536 set_has_id();
2537 if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId;
2538 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.id)
2539 return id_;
2540}
2541inline ::bgs::protocol::club::v1::MemberId* MemberDescription::release_id() {
2542 clear_has_id();
2544 id_ = NULL;
2545 return temp;
2546}
2548 delete id_;
2549 id_ = id;
2550 if (id) {
2551 set_has_id();
2552 } else {
2553 clear_has_id();
2554 }
2555 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.id)
2556}
2557
2558// optional string battle_tag = 2;
2560 return (_has_bits_[0] & 0x00000002u) != 0;
2561}
2563 _has_bits_[0] |= 0x00000002u;
2564}
2566 _has_bits_[0] &= ~0x00000002u;
2567}
2569 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2570 battle_tag_->clear();
2571 }
2573}
2574inline const ::std::string& MemberDescription::battle_tag() const {
2575 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2576 return *battle_tag_;
2577}
2578inline void MemberDescription::set_battle_tag(const ::std::string& value) {
2580 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2581 battle_tag_ = new ::std::string;
2582 }
2583 battle_tag_->assign(value);
2584 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2585}
2586inline void MemberDescription::set_battle_tag(const char* value) {
2588 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2589 battle_tag_ = new ::std::string;
2590 }
2591 battle_tag_->assign(value);
2592 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2593}
2594inline void MemberDescription::set_battle_tag(const char* value, size_t size) {
2596 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2597 battle_tag_ = new ::std::string;
2598 }
2599 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
2600 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2601}
2604 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2605 battle_tag_ = new ::std::string;
2606 }
2607 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2608 return battle_tag_;
2609}
2612 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2613 return NULL;
2614 } else {
2615 ::std::string* temp = battle_tag_;
2616 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2617 return temp;
2618 }
2619}
2620inline void MemberDescription::set_allocated_battle_tag(::std::string* battle_tag) {
2621 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2622 delete battle_tag_;
2623 }
2624 if (battle_tag) {
2627 } else {
2629 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2630 }
2631 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.battle_tag)
2632}
2633
2634// -------------------------------------------------------------------
2635
2636// RoleOptions
2637
2638// optional .bgs.protocol.club.v1.MemberId member_id = 1;
2639inline bool RoleOptions::has_member_id() const {
2640 return (_has_bits_[0] & 0x00000001u) != 0;
2641}
2643 _has_bits_[0] |= 0x00000001u;
2644}
2646 _has_bits_[0] &= ~0x00000001u;
2647}
2649 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
2651}
2652inline const ::bgs::protocol::club::v1::MemberId& RoleOptions::member_id() const {
2653 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.member_id)
2654 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
2655}
2656inline ::bgs::protocol::club::v1::MemberId* RoleOptions::mutable_member_id() {
2658 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
2659 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleOptions.member_id)
2660 return member_id_;
2661}
2662inline ::bgs::protocol::club::v1::MemberId* RoleOptions::release_member_id() {
2665 member_id_ = NULL;
2666 return temp;
2667}
2669 delete member_id_;
2671 if (member_id) {
2673 } else {
2675 }
2676 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleOptions.member_id)
2677}
2678
2679// repeated uint32 role = 2 [packed = true];
2680inline int RoleOptions::role_size() const {
2681 return role_.size();
2682}
2684 role_.Clear();
2685}
2686inline ::google::protobuf::uint32 RoleOptions::role(int index) const {
2687 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.role)
2688 return role_.Get(index);
2689}
2690inline void RoleOptions::set_role(int index, ::google::protobuf::uint32 value) {
2691 role_.Set(index, value);
2692 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleOptions.role)
2693}
2694inline void RoleOptions::add_role(::google::protobuf::uint32 value) {
2695 role_.Add(value);
2696 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleOptions.role)
2697}
2698inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2700 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleOptions.role)
2701 return role_;
2702}
2703inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2705 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleOptions.role)
2706 return &role_;
2707}
2708
2709// -------------------------------------------------------------------
2710
2711// RoleAssignment
2712
2713// optional .bgs.protocol.club.v1.MemberId member_id = 1;
2715 return (_has_bits_[0] & 0x00000001u) != 0;
2716}
2718 _has_bits_[0] |= 0x00000001u;
2719}
2721 _has_bits_[0] &= ~0x00000001u;
2722}
2724 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
2726}
2727inline const ::bgs::protocol::club::v1::MemberId& RoleAssignment::member_id() const {
2728 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.member_id)
2729 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
2730}
2731inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::mutable_member_id() {
2733 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
2734 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleAssignment.member_id)
2735 return member_id_;
2736}
2737inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::release_member_id() {
2740 member_id_ = NULL;
2741 return temp;
2742}
2744 delete member_id_;
2746 if (member_id) {
2748 } else {
2750 }
2751 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleAssignment.member_id)
2752}
2753
2754// repeated uint32 role = 2 [packed = true];
2755inline int RoleAssignment::role_size() const {
2756 return role_.size();
2757}
2759 role_.Clear();
2760}
2761inline ::google::protobuf::uint32 RoleAssignment::role(int index) const {
2762 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.role)
2763 return role_.Get(index);
2764}
2765inline void RoleAssignment::set_role(int index, ::google::protobuf::uint32 value) {
2766 role_.Set(index, value);
2767 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleAssignment.role)
2768}
2769inline void RoleAssignment::add_role(::google::protobuf::uint32 value) {
2770 role_.Add(value);
2771 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleAssignment.role)
2772}
2773inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2775 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleAssignment.role)
2776 return role_;
2777}
2778inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2780 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleAssignment.role)
2781 return &role_;
2782}
2783
2784// -------------------------------------------------------------------
2785
2786// MemberAttributeAssignment
2787
2788// optional .bgs.protocol.club.v1.MemberId member_id = 1;
2790 return (_has_bits_[0] & 0x00000001u) != 0;
2791}
2793 _has_bits_[0] |= 0x00000001u;
2794}
2796 _has_bits_[0] &= ~0x00000001u;
2797}
2799 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
2801}
2802inline const ::bgs::protocol::club::v1::MemberId& MemberAttributeAssignment::member_id() const {
2803 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id)
2804 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
2805}
2806inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::mutable_member_id() {
2808 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
2809 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id)
2810 return member_id_;
2811}
2812inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::release_member_id() {
2815 member_id_ = NULL;
2816 return temp;
2817}
2819 delete member_id_;
2821 if (member_id) {
2823 } else {
2825 }
2826 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id)
2827}
2828
2829// repeated .bgs.protocol.v2.Attribute attribute = 2;
2831 return attribute_.size();
2832}
2834 attribute_.Clear();
2835}
2836inline const ::bgs::protocol::v2::Attribute& MemberAttributeAssignment::attribute(int index) const {
2837 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute)
2838 return attribute_.Get(index);
2839}
2840inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::mutable_attribute(int index) {
2841 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute)
2842 return attribute_.Mutable(index);
2843}
2844inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::add_attribute() {
2845 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute)
2846 return attribute_.Add();
2847}
2848inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2850 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute)
2851 return attribute_;
2852}
2853inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2855 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute)
2856 return &attribute_;
2857}
2858
2859// -------------------------------------------------------------------
2860
2861// SubscriberStateOptions
2862
2863// optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1;
2865 return (_has_bits_[0] & 0x00000001u) != 0;
2866}
2868 _has_bits_[0] |= 0x00000001u;
2869}
2871 _has_bits_[0] &= ~0x00000001u;
2872}
2874 if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceOptions::Clear();
2876}
2877inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& SubscriberStateOptions::voice() const {
2878 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateOptions.voice)
2879 return voice_ != NULL ? *voice_ : *default_instance_->voice_;
2880}
2881inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::mutable_voice() {
2882 set_has_voice();
2883 if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceOptions;
2884 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateOptions.voice)
2885 return voice_;
2886}
2887inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::release_voice() {
2890 voice_ = NULL;
2891 return temp;
2892}
2894 delete voice_;
2895 voice_ = voice;
2896 if (voice) {
2897 set_has_voice();
2898 } else {
2900 }
2901 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateOptions.voice)
2902}
2903
2904// -------------------------------------------------------------------
2905
2906// SubscriberStateAssignment
2907
2908// optional .bgs.protocol.club.v1.MemberId member_id = 1;
2910 return (_has_bits_[0] & 0x00000001u) != 0;
2911}
2913 _has_bits_[0] |= 0x00000001u;
2914}
2916 _has_bits_[0] &= ~0x00000001u;
2917}
2919 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
2921}
2922inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateAssignment::member_id() const {
2923 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id)
2924 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
2925}
2926inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::mutable_member_id() {
2928 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
2929 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id)
2930 return member_id_;
2931}
2932inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::release_member_id() {
2935 member_id_ = NULL;
2936 return temp;
2937}
2939 delete member_id_;
2941 if (member_id) {
2943 } else {
2945 }
2946 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id)
2947}
2948
2949// optional bool active = 2;
2951 return (_has_bits_[0] & 0x00000002u) != 0;
2952}
2954 _has_bits_[0] |= 0x00000002u;
2955}
2957 _has_bits_[0] &= ~0x00000002u;
2958}
2960 active_ = false;
2962}
2964 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.active)
2965 return active_;
2966}
2969 active_ = value;
2970 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateAssignment.active)
2971}
2972
2973// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3;
2975 return (_has_bits_[0] & 0x00000004u) != 0;
2976}
2978 _has_bits_[0] |= 0x00000004u;
2979}
2981 _has_bits_[0] &= ~0x00000004u;
2982}
2984 if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear();
2986}
2987inline const ::bgs::protocol::club::v1::client::MemberVoiceState& SubscriberStateAssignment::voice() const {
2988 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice)
2989 return voice_ != NULL ? *voice_ : *default_instance_->voice_;
2990}
2991inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::mutable_voice() {
2992 set_has_voice();
2993 if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState;
2994 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice)
2995 return voice_;
2996}
2997inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::release_voice() {
3000 voice_ = NULL;
3001 return temp;
3002}
3004 delete voice_;
3005 voice_ = voice;
3006 if (voice) {
3007 set_has_voice();
3008 } else {
3010 }
3011 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice)
3012}
3013
3014// -------------------------------------------------------------------
3015
3016// MemberStateOptions
3017
3018// repeated .bgs.protocol.v2.Attribute attribute = 1;
3020 return attribute_.size();
3021}
3023 attribute_.Clear();
3024}
3025inline const ::bgs::protocol::v2::Attribute& MemberStateOptions::attribute(int index) const {
3026 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.attribute)
3027 return attribute_.Get(index);
3028}
3029inline ::bgs::protocol::v2::Attribute* MemberStateOptions::mutable_attribute(int index) {
3030 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.attribute)
3031 return attribute_.Mutable(index);
3032}
3033inline ::bgs::protocol::v2::Attribute* MemberStateOptions::add_attribute() {
3034 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateOptions.attribute)
3035 return attribute_.Add();
3036}
3037inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3039 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute)
3040 return attribute_;
3041}
3042inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3044 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute)
3045 return &attribute_;
3046}
3047
3048// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2;
3050 return (_has_bits_[0] & 0x00000002u) != 0;
3051}
3053 _has_bits_[0] |= 0x00000002u;
3054}
3056 _has_bits_[0] &= ~0x00000002u;
3057}
3062inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateOptions::presence_level() const {
3063 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.presence_level)
3065}
3069 presence_level_ = value;
3070 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.presence_level)
3071}
3072
3073// optional bool moderator_mute = 3;
3075 return (_has_bits_[0] & 0x00000004u) != 0;
3076}
3078 _has_bits_[0] |= 0x00000004u;
3079}
3081 _has_bits_[0] &= ~0x00000004u;
3082}
3088 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute)
3089 return moderator_mute_;
3090}
3093 moderator_mute_ = value;
3094 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute)
3095}
3096
3097// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4;
3099 return (_has_bits_[0] & 0x00000008u) != 0;
3100}
3102 _has_bits_[0] |= 0x00000008u;
3103}
3105 _has_bits_[0] &= ~0x00000008u;
3106}
3111inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateOptions::whisper_level() const {
3112 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level)
3114}
3118 whisper_level_ = value;
3119 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level)
3120}
3121
3122// optional string note = 5;
3123inline bool MemberStateOptions::has_note() const {
3124 return (_has_bits_[0] & 0x00000010u) != 0;
3125}
3127 _has_bits_[0] |= 0x00000010u;
3128}
3130 _has_bits_[0] &= ~0x00000010u;
3131}
3133 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3134 note_->clear();
3135 }
3137}
3138inline const ::std::string& MemberStateOptions::note() const {
3139 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.note)
3140 return *note_;
3141}
3142inline void MemberStateOptions::set_note(const ::std::string& value) {
3143 set_has_note();
3144 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3145 note_ = new ::std::string;
3146 }
3147 note_->assign(value);
3148 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.note)
3149}
3150inline void MemberStateOptions::set_note(const char* value) {
3151 set_has_note();
3152 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3153 note_ = new ::std::string;
3154 }
3155 note_->assign(value);
3156 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateOptions.note)
3157}
3158inline void MemberStateOptions::set_note(const char* value, size_t size) {
3159 set_has_note();
3160 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3161 note_ = new ::std::string;
3162 }
3163 note_->assign(reinterpret_cast<const char*>(value), size);
3164 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateOptions.note)
3165}
3166inline ::std::string* MemberStateOptions::mutable_note() {
3167 set_has_note();
3168 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3169 note_ = new ::std::string;
3170 }
3171 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.note)
3172 return note_;
3173}
3174inline ::std::string* MemberStateOptions::release_note() {
3176 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3177 return NULL;
3178 } else {
3179 ::std::string* temp = note_;
3180 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3181 return temp;
3182 }
3183}
3184inline void MemberStateOptions::set_allocated_note(::std::string* note) {
3185 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3186 delete note_;
3187 }
3188 if (note) {
3189 set_has_note();
3190 note_ = note;
3191 } else {
3193 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3194 }
3195 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateOptions.note)
3196}
3197
3198// -------------------------------------------------------------------
3199
3200// MemberStateAssignment
3201
3202// optional .bgs.protocol.club.v1.MemberId member_id = 1;
3204 return (_has_bits_[0] & 0x00000001u) != 0;
3205}
3207 _has_bits_[0] |= 0x00000001u;
3208}
3210 _has_bits_[0] &= ~0x00000001u;
3211}
3213 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
3215}
3216inline const ::bgs::protocol::club::v1::MemberId& MemberStateAssignment::member_id() const {
3217 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.member_id)
3218 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
3219}
3220inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::mutable_member_id() {
3222 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
3223 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.member_id)
3224 return member_id_;
3225}
3226inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::release_member_id() {
3229 member_id_ = NULL;
3230 return temp;
3231}
3233 delete member_id_;
3235 if (member_id) {
3237 } else {
3239 }
3240 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.member_id)
3241}
3242
3243// repeated .bgs.protocol.v2.Attribute attribute = 2;
3245 return attribute_.size();
3246}
3248 attribute_.Clear();
3249}
3250inline const ::bgs::protocol::v2::Attribute& MemberStateAssignment::attribute(int index) const {
3251 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.attribute)
3252 return attribute_.Get(index);
3253}
3254inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::mutable_attribute(int index) {
3255 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.attribute)
3256 return attribute_.Mutable(index);
3257}
3258inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::add_attribute() {
3259 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateAssignment.attribute)
3260 return attribute_.Add();
3261}
3262inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3264 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute)
3265 return attribute_;
3266}
3267inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3269 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute)
3270 return &attribute_;
3271}
3272
3273// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3;
3275 return (_has_bits_[0] & 0x00000004u) != 0;
3276}
3278 _has_bits_[0] |= 0x00000004u;
3279}
3281 _has_bits_[0] &= ~0x00000004u;
3282}
3287inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateAssignment::presence_level() const {
3288 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level)
3290}
3294 presence_level_ = value;
3295 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level)
3296}
3297
3298// optional bool moderator_mute = 4;
3300 return (_has_bits_[0] & 0x00000008u) != 0;
3301}
3303 _has_bits_[0] |= 0x00000008u;
3304}
3306 _has_bits_[0] &= ~0x00000008u;
3307}
3313 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute)
3314 return moderator_mute_;
3315}
3318 moderator_mute_ = value;
3319 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute)
3320}
3321
3322// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5;
3324 return (_has_bits_[0] & 0x00000010u) != 0;
3325}
3327 _has_bits_[0] |= 0x00000010u;
3328}
3330 _has_bits_[0] &= ~0x00000010u;
3331}
3336inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateAssignment::whisper_level() const {
3337 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level)
3339}
3343 whisper_level_ = value;
3344 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level)
3345}
3346
3347// optional string note = 6;
3349 return (_has_bits_[0] & 0x00000020u) != 0;
3350}
3352 _has_bits_[0] |= 0x00000020u;
3353}
3355 _has_bits_[0] &= ~0x00000020u;
3356}
3358 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3359 note_->clear();
3360 }
3362}
3363inline const ::std::string& MemberStateAssignment::note() const {
3364 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3365 return *note_;
3366}
3367inline void MemberStateAssignment::set_note(const ::std::string& value) {
3368 set_has_note();
3369 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3370 note_ = new ::std::string;
3371 }
3372 note_->assign(value);
3373 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3374}
3375inline void MemberStateAssignment::set_note(const char* value) {
3376 set_has_note();
3377 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3378 note_ = new ::std::string;
3379 }
3380 note_->assign(value);
3381 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3382}
3383inline void MemberStateAssignment::set_note(const char* value, size_t size) {
3384 set_has_note();
3385 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3386 note_ = new ::std::string;
3387 }
3388 note_->assign(reinterpret_cast<const char*>(value), size);
3389 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3390}
3392 set_has_note();
3393 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3394 note_ = new ::std::string;
3395 }
3396 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3397 return note_;
3398}
3401 if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3402 return NULL;
3403 } else {
3404 ::std::string* temp = note_;
3405 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3406 return temp;
3407 }
3408}
3409inline void MemberStateAssignment::set_allocated_note(::std::string* note) {
3410 if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3411 delete note_;
3412 }
3413 if (note) {
3414 set_has_note();
3415 note_ = note;
3416 } else {
3418 note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3419 }
3420 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.note)
3421}
3422
3423// @@protoc_insertion_point(namespace_scope)
3424
3425} // namespace client
3426} // namespace v1
3427} // namespace club
3428} // namespace protocol
3429} // namespace bgs
3430
3431#ifndef SWIG
3432namespace google {
3433namespace protobuf {
3434} // namespace google
3435} // namespace protobuf
3436#endif // SWIG
3437
3438// @@protoc_insertion_point(global_scope)
3439
3440#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::bgs::protocol::club::v1::MemberId * release_id()
CreateMemberOptions & operator=(const CreateMemberOptions &from)
inline ::bgs::protocol::v2::Attribute * add_attribute()
inline ::google::protobuf::uint32 join_club_source() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
void set_join_club_source(::google::protobuf::uint32 value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
::bgs::protocol::club::v1::MemberId * id_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
static const CreateMemberOptions & default_instance()
const ::bgs::protocol::club::v1::MemberId & id() const
CreateMemberOptions(const CreateMemberOptions &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
MemberAttributeAssignment(const MemberAttributeAssignment &from)
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
MemberAttributeAssignment & operator=(const MemberAttributeAssignment &from)
void Swap(MemberAttributeAssignment *other)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
const ::bgs::protocol::club::v1::MemberId & member_id() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
static const MemberAttributeAssignment & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
inline ::bgs::protocol::v2::Attribute * add_attribute()
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
MemberDescription(const MemberDescription &from)
void set_battle_tag(const ::std::string &value)
::google::protobuf::Metadata GetMetadata() const
const ::bgs::protocol::club::v1::MemberId & id() const
::bgs::protocol::club::v1::MemberId * id_
void set_allocated_battle_tag(::std::string *battle_tag)
inline ::bgs::protocol::club::v1::MemberId * release_id()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
static const MemberDescription & default_instance()
MemberDescription & operator=(const MemberDescription &from)
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value)
inline ::bgs::protocol::club::v1::MemberId * release_id()
MemberRemovedAssignment(const MemberRemovedAssignment &from)
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
MemberRemovedAssignment & operator=(const MemberRemovedAssignment &from)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const MemberRemovedAssignment & default_instance()
inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
const ::bgs::protocol::club::v1::MemberId & id() const
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::club::v1::MemberId * member_id_
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 status() const
static const MemberResult & default_instance()
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
MemberResult & operator=(const MemberResult &from)
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
const ::bgs::protocol::club::v1::MemberId & member_id() const
void set_status(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const MemberStateAssignment & default_instance()
void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
inline ::bgs::protocol::v2::Attribute * add_attribute()
MemberStateAssignment & operator=(const MemberStateAssignment &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value)
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
::bgs::protocol::club::v1::MemberId * member_id_
const ::bgs::protocol::club::v1::MemberId & member_id() const
MemberStateAssignment(const MemberStateAssignment &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value)
static const MemberStateOptions & default_instance()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
MemberStateOptions & operator=(const MemberStateOptions &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
MemberStateOptions(const MemberStateOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::v2::Attribute * add_attribute()
void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value)
inline ::google::protobuf::uint64 stream_id() const
void set_stream_id(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
MemberVoiceOptions(const MemberVoiceOptions &from)
MemberVoiceOptions & operator=(const MemberVoiceOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
static const MemberVoiceOptions & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const
inline ::google::protobuf::uint64 stream_id() const
void set_stream_id(::google::protobuf::uint64 value)
void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value)
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
MemberVoiceState(const MemberVoiceState &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
static const MemberVoiceState & default_instance()
MemberVoiceState & operator=(const MemberVoiceState &from)
inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value)
Member & operator=(const Member &from)
inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const
void add_role(::google::protobuf::uint32 value)
inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const
::bgs::protocol::club::v1::MemberId * id_
const ::bgs::protocol::club::v1::MemberId & id() const
inline ::google::protobuf::uint64 join_time() const
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
static const Member & default_instance()
void set_battle_tag(const ::std::string &value)
inline ::bgs::protocol::club::v1::client::MemberVoiceState * release_voice()
void set_allocated_battle_tag(::std::string *battle_tag)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
const ::bgs::protocol::club::v1::client::MemberVoiceState & voice() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::client::MemberVoiceState * mutable_voice()
void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
::google::protobuf::uint64 join_time_
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
const ::std::string & note() const
void set_allocated_note(::std::string *note)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_role(int index, ::google::protobuf::uint32 value)
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState *voice)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
inline ::bgs::protocol::club::v1::MemberId * release_id()
::bgs::protocol::club::v1::client::MemberVoiceState * voice_
const ::std::string & battle_tag() const
void set_join_time(::google::protobuf::uint64 value)
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::v2::Attribute * add_attribute()
inline ::std::string * release_battle_tag()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
void set_note(const ::std::string &value)
inline ::std::string * mutable_battle_tag()
inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const
inline ::bgs::protocol::club::v1::MemberId * release_id()
void set_allocated_id(::bgs::protocol::club::v1::MemberId *id)
void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value)
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::club::v1::MemberId * id_
::google::protobuf::Metadata GetMetadata() const
RemoveMemberOptions(const RemoveMemberOptions &from)
static const RemoveMemberOptions & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
RemoveMemberOptions & operator=(const RemoveMemberOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::MemberId * mutable_id()
const ::bgs::protocol::club::v1::MemberId & id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
static const ::google::protobuf::Descriptor * descriptor()
static const RoleAssignment & default_instance()
RoleAssignment(const RoleAssignment &from)
RoleAssignment & operator=(const RoleAssignment &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void add_role(::google::protobuf::uint32 value)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
::bgs::protocol::club::v1::MemberId * member_id_
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_role(int index, ::google::protobuf::uint32 value)
const ::bgs::protocol::club::v1::MemberId & member_id() const
void add_role(::google::protobuf::uint32 value)
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
::google::protobuf::uint32 _has_bits_[1]
static const RoleOptions & default_instance()
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
RoleOptions & operator=(const RoleOptions &from)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
void set_role(int index, ::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
const ::bgs::protocol::club::v1::MemberId & member_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
::bgs::protocol::club::v1::MemberId * member_id_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
const ::bgs::protocol::club::v1::client::MemberVoiceState & voice() const
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
inline ::bgs::protocol::club::v1::client::MemberVoiceState * release_voice()
static const ::google::protobuf::Descriptor * descriptor()
void Swap(SubscriberStateAssignment *other)
const ::bgs::protocol::club::v1::MemberId & member_id() const
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState *voice)
inline ::bgs::protocol::club::v1::client::MemberVoiceState * mutable_voice()
SubscriberStateAssignment & operator=(const SubscriberStateAssignment &from)
static const SubscriberStateAssignment & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
SubscriberStateAssignment(const SubscriberStateAssignment &from)
::bgs::protocol::club::v1::client::MemberVoiceState * voice_
::google::protobuf::Metadata GetMetadata() const
SubscriberStateOptions(const SubscriberStateOptions &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::client::MemberVoiceOptions * mutable_voice()
void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions *voice)
SubscriberStateOptions & operator=(const SubscriberStateOptions &from)
inline ::bgs::protocol::club::v1::client::MemberVoiceOptions * release_voice()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const SubscriberStateOptions & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
::bgs::protocol::club::v1::client::MemberVoiceOptions * voice_
const ::bgs::protocol::club::v1::client::MemberVoiceOptions & voice() const
::google::protobuf::Metadata GetMetadata() const
TC_PROTO_API bool ClubRemovedReason_IsValid(int value)
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto()
void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto()
TC_PROTO_API bool VoiceMicrophoneState_IsValid(int value)
TC_PROTO_API bool PresenceLevel_IsValid(int value)
TC_PROTO_API bool WhisperLevel_IsValid(int value)
Definition Session.h:37